:root {
  --olive-950: #1a1f0d;
  --olive-900: #252b12;
  --olive-800: #313916;
  --olive-700: #3a4119;
  --olive-600: #4b5320;
  --gold: #cfb53b;
  --gold-light: #e5c969;
  --gold-soft: #f3e5ad;
  --red: #8b0000;
  --parchment: #fdfaf4;
  --paper: #f2e8d6;
  --paper-dark: #e3d5bb;
  --ink: #171711;
  --muted: #5c584c;
  --line: rgba(75, 83, 32, 0.28);
  --shadow: 0 22px 60px rgba(18, 20, 9, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(207, 181, 59, 0.2), transparent 30rem),
    linear-gradient(180deg, #fff9ec, var(--parchment) 36%, #e7dcc8);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(75, 83, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 83, 32, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(26, 31, 13, 0.95);
  color: var(--parchment);
  border-bottom: 3px solid var(--gold);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.section,
.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--olive-950);
  background: linear-gradient(145deg, #f5d474, #947624);
  border: 2px solid rgba(245, 212, 116, 0.66);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.34), 0 8px 18px rgba(0, 0, 0, 0.28);
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-title {
  color: var(--gold-light);
  font-family: "Oswald", sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 4px;
  color: rgba(253, 250, 244, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 3px;
  border: 1.5px solid rgba(207, 181, 59, 0.85);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.nav a {
  color: rgba(253, 250, 244, 0.92);
}

.button.primary,
.nav a.primary {
  color: var(--olive-950);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.button.ghost {
  color: var(--olive-900);
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(75, 83, 32, 0.42);
}

.button.dark {
  color: var(--gold-light);
  background: var(--olive-900);
  border-color: var(--olive-900);
}

button.button {
  font-family: "Oswald", sans-serif;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: var(--parchment);
  background:
    linear-gradient(90deg, rgba(26, 31, 13, 0.97) 0%, rgba(37, 43, 18, 0.9) 45%, rgba(37, 43, 18, 0.34) 100%),
    url("preview-assets/business-card-no-phone.png") center / cover no-repeat;
  border-bottom: 6px solid var(--gold);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.58));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.64fr);
  gap: 46px;
  align-items: center;
  padding: 72px 0 86px;
}

.eyebrow,
.kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--gold-soft);
  background: rgba(139, 0, 0, 0.92);
  border: 1px solid rgba(245, 212, 116, 0.42);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kicker {
  color: var(--red);
  background: transparent;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  line-height: 1.05;
}

h1 {
  margin-top: 18px;
  max-width: 760px;
  color: var(--gold-light);
  font-size: clamp(46px, 7.4vw, 86px);
  letter-spacing: 1px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(253, 250, 244, 0.92);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.coin-panel {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(207, 181, 59, 0.42);
  background: rgba(253, 250, 244, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.coin-panel img {
  width: 100%;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.42));
}

.coin-panel strong {
  display: block;
  margin-top: 16px;
  color: var(--gold-light);
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 76px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.44fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

h2 {
  margin-top: 8px;
  color: var(--olive-900);
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0.5px;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.panel,
.card,
.metric,
.stage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 234, 216, 0.95));
  box-shadow: 0 12px 30px rgba(58, 65, 25, 0.11);
}

.panel::before,
.card::before,
.metric::before,
.stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--olive-600));
}

.panel,
.card,
.stage-card {
  padding: 22px;
}

.panel.dark,
.card.dark {
  color: var(--parchment);
  background: linear-gradient(145deg, var(--olive-900), var(--olive-950));
  border-color: rgba(207, 181, 59, 0.48);
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.panel-title h3,
.card h3,
.stage-card h3 {
  color: inherit;
  font-size: 25px;
}

.card h3,
.stage-card h3 {
  color: var(--olive-900);
}

.card.dark h3 {
  color: var(--gold-light);
}

.card p,
.stage-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.card.dark p {
  color: rgba(253, 250, 244, 0.78);
}

.card ul,
.stage-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.card li::before,
.stage-card li::before {
  content: "★";
  margin-right: 8px;
  color: var(--gold);
}

.price-label {
  margin-top: 12px;
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}

.card.dark .price-label {
  color: var(--gold-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(207, 181, 59, 0.16);
  border: 1px solid rgba(207, 181, 59, 0.45);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge.light {
  color: var(--olive-900);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 116px;
  padding: 18px;
}

.metric .label {
  color: var(--muted);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.metric .value {
  margin-top: 6px;
  color: var(--olive-900);
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.metric .sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dark .metric {
  background: rgba(253, 250, 244, 0.1);
}

.dark .metric .label,
.dark .metric .sub {
  color: rgba(253, 250, 244, 0.74);
}

.dark .metric .value {
  color: var(--gold-light);
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-row,
.leader-row,
.contact-row,
.payment-row {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid rgba(75, 83, 32, 0.18);
  background: rgba(255, 255, 255, 0.56);
}

.solution-box,
.fallback-box {
  display: none;
  margin-top: 10px;
  padding: 13px;
  border-radius: 5px;
  border: 1px solid rgba(207, 181, 59, 0.35);
  background: rgba(207, 181, 59, 0.12);
  color: var(--muted);
  font-weight: 700;
}

.solution-box.open,
.fallback-box.open {
  display: block;
}

.solution-box strong,
.fallback-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--olive-900);
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.flow-row {
  grid-template-columns: 72px 1fr auto;
}

.leader-row {
  grid-template-columns: 44px 1fr 92px 80px;
}

.contact-row,
.payment-row {
  grid-template-columns: 1fr auto;
}

.flow-number,
.medal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--olive-950);
  background: radial-gradient(circle at 30% 20%, #ffe290, #b08c2c 68%, #4d3a10);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.34);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.flow-row strong,
.contact-row strong,
.payment-row strong,
.leader-row strong {
  display: block;
  color: var(--olive-900);
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}

.flow-row span,
.contact-row span,
.payment-row span,
.leader-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--olive-900);
  background: var(--paper-dark);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag.green {
  color: #245421;
  background: #dfe9d5;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--olive-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid rgba(75, 83, 32, 0.4);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

textarea {
  min-height: 106px;
  resize: vertical;
}

.checkline {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(75, 83, 32, 0.12);
  border-radius: 4px;
  background: rgba(75, 83, 32, 0.07);
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.checkline input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive-600);
}

.note {
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid var(--red);
  background: rgba(139, 0, 0, 0.07);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--parchment);
  border: 1px solid rgba(207, 181, 59, 0.52);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 35%, rgba(207, 181, 59, 0.34), transparent 14rem),
    linear-gradient(90deg, rgba(26, 31, 13, 0.94), rgba(26, 31, 13, 0.68)),
    url("preview-assets/challenge-coin.png") right center / min(42vw, 460px) auto no-repeat,
    linear-gradient(135deg, var(--olive-950), var(--olive-700));
  box-shadow: var(--shadow);
}

.report-card h2 {
  max-width: 620px;
  color: var(--gold-light);
}

.footer {
  padding: 32px 16px 42px;
  color: rgba(253, 250, 244, 0.82);
  text-align: center;
  background: var(--olive-950);
  border-top: 4px solid var(--gold);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .hero-inner {
    min-height: unset;
  }

  .hero-inner,
  .section-header,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .coin-panel {
    max-width: 430px;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    justify-content: stretch;
  }

  .nav a {
    flex: 1 1 140px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(26, 31, 13, 0.94), rgba(37, 43, 18, 0.82)),
      url("preview-assets/business-card-no-phone.png") center / cover no-repeat;
  }

  .section,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 52px 0;
  }

  .flow-row,
  .leader-row,
  .contact-row,
  .payment-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}
