:root {
  --bg: #090606;
  --bg-soft: #130a0a;
  --panel: rgba(20, 12, 12, 0.9);
  --panel-strong: #140d0d;
  --panel-gloss: rgba(39, 19, 19, 0.92);
  --ink: #f7efe4;
  --muted: #d1bbac;
  --line: rgba(255, 255, 255, 0.1);
  --red: #cc2416;
  --red-deep: #7d100d;
  --brown: #6b3a1f;
  --rust: #d2631f;
  --gold: #d59b2c;
  --cream: #efe3c7;
  --stone: #a7907c;
  --slate: #232325;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(204, 36, 22, 0.25), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(213, 155, 44, 0.14), transparent 16%),
    radial-gradient(circle at bottom right, rgba(125, 16, 13, 0.4), transparent 28%),
    linear-gradient(180deg, #0b0707 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.045), transparent 1.2px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04), transparent 1px);
  background-size: 22px 22px, 30px 30px;
  opacity: 0.45;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.thank-you-page {
  min-height: calc(100vh - 5rem);
  display: grid;
  place-items: center;
}

.thank-you-content {
  width: min(100%, 42rem);
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding-top: 1rem;
}

.thank-you-content .brand-logo {
  width: clamp(7rem, 16vw, 10rem);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.5rem clamp(1.2rem, 3vw, 2rem) 2.5rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(29, 13, 13, 0.94), rgba(10, 7, 7, 0.98)),
    rgba(10, 7, 7, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -20% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(204, 36, 22, 0.24), transparent 68%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.025) 32%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%);
  pointer-events: none;
}

.topbar,
.hero-grid,
.section,
.marquee {
  position: relative;
  z-index: 1;
}

.hero-flag-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 -12px 20px rgba(0, 0, 0, 0.18);
}

.hero-flag-bar span {
  display: block;
  height: 0.5rem;
}

.hero-flag-bar span:nth-child(1) { background: #6a4024; }
.hero-flag-bar span:nth-child(2) { background: #a76128; }
.hero-flag-bar span:nth-child(3) { background: #deaf46; }
.hero-flag-bar span:nth-child(4) { background: #f1e6ce; }
.hero-flag-bar span:nth-child(5) { background: #ffffff; }
.hero-flag-bar span:nth-child(6) { background: #9f9f9f; }
.hero-flag-bar span:nth-child(7) { background: #262626; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(5.8rem, 12vw, 8.5rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-color: rgba(204, 36, 22, 0.8);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding-top: 3.4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  text-shadow: 0 0 18px rgba(210, 99, 31, 0.18);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  line-height: 0.95;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  color: #fff7ec;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.35);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.4rem;
}

.lede,
.product-card p,
.signup-copy p,
.card-body p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

.headline-accent {
  display: inline;
  color: #ffefe1;
  text-shadow:
    0 0 0 rgba(0, 0, 0, 0),
    0 0 24px rgba(204, 36, 22, 0.28);
}

.hero-copy .lede {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, #db2d1d, #98130f);
  color: #fff6e6;
  box-shadow: 0 14px 28px rgba(125, 16, 13, 0.35);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-points li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--rust));
  flex: none;
}

.hero-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(35, 15, 15, 0.96), rgba(14, 9, 9, 0.98)),
    var(--panel-strong);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 1.2rem 0.9rem;
  background:
    radial-gradient(circle at top, rgba(204, 36, 22, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(16, 10, 10, 0.92), rgba(7, 6, 6, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5));
}

.flag-stripes span {
  display: block;
  height: 0.85rem;
}

.flag-stripes span:nth-child(1) { background: #6a4024; }
.flag-stripes span:nth-child(2) { background: #a76128; }
.flag-stripes span:nth-child(3) { background: #deaf46; }
.flag-stripes span:nth-child(4) { background: #f1e6ce; }
.flag-stripes span:nth-child(5) { background: #ffffff; }
.flag-stripes span:nth-child(6) { background: #9f9f9f; }
.flag-stripes span:nth-child(7) { background: #262626; }

.card-body {
  padding: 1.5rem;
}

.card-label,
.product-tag {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.card-body h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.card-stats div {
  padding: 0.85rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-stats strong {
  display: block;
  font-family: "League Spartan", sans-serif;
  font-size: 1.6rem;
  color: #fff4e5;
}

.card-stats span {
  font-size: 0.92rem;
  color: var(--muted);
}

.marquee {
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(204, 36, 22, 0.08), rgba(255, 255, 255, 0.02), rgba(204, 36, 22, 0.08)),
    rgba(20, 12, 12, 0.72);
}

.marquee-track {
  display: flex;
  gap: 1.75rem;
  padding: 0.95rem 1.2rem;
  min-width: max-content;
  font-family: "League Spartan", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f2dfd0;
  animation: slide 22s linear infinite;
}

.section {
  margin-top: 1rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(22, 13, 13, 0.92), rgba(11, 9, 9, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  max-width: 54rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  border-radius: 24px;
  padding: 1.3rem;
}

.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff7ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-card p,
.product-card span {
  color: inherit;
}

.product-card span {
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
}

.tone-brown { background: linear-gradient(160deg, #281311, #6d2819 70%, #251110); }
.tone-rust { background: linear-gradient(160deg, #391816, #a02617 68%, #451513); }
.tone-gold { background: linear-gradient(160deg, #3a2311, #945913 70%, #2f1b0e); color: #fff0dd; }
.tone-charcoal { background: linear-gradient(160deg, #101011, #2b1b1a 70%, #0d0d0e); }

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(125, 16, 13, 0.22), rgba(213, 155, 44, 0.12)),
    rgba(20, 12, 12, 0.9);
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 0.8rem;
  font: inherit;
  color: var(--ink);
}

.signup-form input::placeholder {
  color: var(--stone);
}

.signup-form input:focus {
  outline: none;
}

.signup-form button {
  border: 0;
  border-radius: 999px;
  min-height: 3rem;
  padding: 0 1.2rem;
  font: inherit;
  font-weight: 700;
  color: #fff7ea;
  background: linear-gradient(180deg, #db2d1d, #98130f);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(125, 16, 13, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .signup-section,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 100%);
  }

  .hero {
    padding-top: 4.1rem;
    padding-inline: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero-grid {
    padding-top: 2.4rem;
  }

  .signup-form {
    flex-direction: column;
    border-radius: 24px;
  }

  .signup-form button {
    width: 100%;
  }
}
