:root {
  --ink: #f8fafc;
  --muted: #b7c1d0;
  --panel: #111925;
  --line: #304055;
  --red: #ed1c2e;
  --gold: #ffc247;
  --green: #48d8a3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0, #42180e 0, transparent 32%), #05090e;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 24px 28px;
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand > b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 52px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-size: 20px;
}
.brand span {
  font-weight: 950;
  letter-spacing: 0.09em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 20px 28px 80px;
}
.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(115deg, #0a111be8, #3e1711d9),
    url(assets/firehouse-community-hero.png) center/cover;
}
.hero em,
.heading em,
aside > em {
  color: var(--gold);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 780px;
  margin: 13px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero p {
  max-width: 720px;
  color: #d4dce8;
  line-height: 1.6;
}
.trust {
  display: grid;
  min-width: 230px;
  gap: 5px;
  padding: 18px;
  border: 1px solid #ffffff29;
  border-radius: 17px;
  background: #05090edb;
}
.trust strong {
  color: var(--green);
}
.trust span,
.notice,
aside small {
  color: var(--muted);
}
.notice {
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.shop {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 22px;
  align-items: start;
}
.heading h2,
aside h2 {
  margin: 8px 0 20px;
  font-size: 30px;
}
.offers {
  display: grid;
  gap: 14px;
}
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.offer h3 {
  margin: 7px 0;
  font-size: 22px;
}
.offer p {
  margin: 0;
  color: var(--muted);
}
.kind {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.offer-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}
.offer-actions strong {
  font-size: 23px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stepper button {
  width: 38px;
  height: 38px;
  border: 1px solid #4a5b72;
  border-radius: 10px;
  background: #08111b;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.stepper output {
  min-width: 24px;
  text-align: center;
  font-weight: 950;
}
aside {
  position: sticky;
  top: 20px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.basket {
  display: grid;
  gap: 10px;
}
.basket-line,
.total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.basket-line small {
  display: block;
}
.total {
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}
.total strong {
  font-size: 26px;
}
#checkout {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  padding: 15px;
  font-weight: 950;
  cursor: pointer;
}
#checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.buyer-fields {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.buyer-fields label {
  font-weight: 900;
}
.buyer-fields input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08111b;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}
.buyer-fields input:focus-visible {
  border-color: var(--gold);
  outline: 3px solid #ffc24745;
  outline-offset: 2px;
}
.buyer-fields a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  font-weight: 900;
  text-align: center;
}
.buyer-fields strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.buyer-fields strong.connected {
  color: var(--green);
}
aside > small {
  display: block;
  margin-top: 13px;
  line-height: 1.5;
}
@media (max-width: 780px) {
  header {
    align-items: flex-start;
    padding: 18px 16px;
  }
  .brand span {
    font-size: 12px;
  }
  .brand small {
    display: none;
  }
  main {
    padding: 8px 16px 70px;
  }
  .hero {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }
  .trust {
    min-width: 0;
  }
  .shop,
  .offer {
    grid-template-columns: 1fr;
  }
  .offer-actions {
    justify-items: start;
  }
  aside {
    position: static;
  }
}
