:root {
  --ink: #14110f;
  --ink-soft: #302a25;
  --muted: #756c61;
  --paper: #f1eee7;
  --white: #fffdf7;
  --line: #d8d0c4;
  --line-dark: rgba(255, 255, 255, 0.18);
  --teal: #6d7f7c;
  --teal-dark: #4c5b58;
  --gold: #b88746;
  --gold-soft: #d6b06b;
  --clay: #8d3329;
  --blue: #252321;
  --lime: #b88746;
  --hero: #15110f;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 34px;
  color: var(--white);
  background: rgba(20, 17, 15, 0.9);
  border-bottom: 1px solid rgba(184, 135, 70, 0.26);
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.brand span {
  color: var(--gold-soft);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 253, 247, 0.72);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-cta {
  padding: 0 18px;
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(184, 135, 70, 0.62);
}

.primary-button {
  padding: 0 24px;
  background: var(--gold);
  color: #16110d;
  border: 1px solid var(--gold);
  box-shadow: 0 22px 56px rgba(184, 135, 70, 0.18);
}

.secondary-button {
  padding: 0 22px;
  color: var(--white);
  border: 1px solid rgba(255, 253, 247, 0.32);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.secondary-button.dark {
  color: var(--ink);
  border-color: rgba(20, 17, 15, 0.32);
}

.secondary-button.dark:hover {
  color: var(--clay);
  border-color: var(--clay);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 17, 15, 0.98), rgba(20, 17, 15, 0.84)),
    var(--hero);
}

#revenue-map,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#revenue-map {
  z-index: 0;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.98) 0%, rgba(20, 17, 15, 0.74) 42%, rgba(20, 17, 15, 0.24) 68%, rgba(20, 17, 15, 0.08) 100%),
    linear-gradient(180deg, rgba(20, 17, 15, 0.06) 0%, rgba(20, 17, 15, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 168px 0 112px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--gold-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: min(760px, 100%);
  margin-bottom: 24px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 40px;
  border: 1px solid var(--line-dark);
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
}

.hero-proof span {
  color: rgba(255, 253, 247, 0.68);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
}

.split-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.narrative-block {
  color: var(--ink-soft);
  font-size: 20px;
}

.narrative-block p:last-child,
.about-copy p:last-child {
  margin-bottom: 0;
}

.signal-board {
  border: 1px solid var(--line);
  background: #fbf8f1;
  box-shadow: 0 28px 80px rgba(20, 17, 15, 0.08);
}

.signal-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 76px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
}

.signal-row:last-child {
  border-bottom: 0;
}

.row-marker {
  width: 9px;
  height: 9px;
  background: var(--clay);
  transform: rotate(45deg);
}

.target-section {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(180deg, #f1eee7 0%, #e8e0d4 100%);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.target-card,
.step-card,
.upside-card,
.proof-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f1;
}

.target-index {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}

.target-card h3 {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.target-card p,
.step-card p,
.upside-card p,
.proof-card p,
.offer-copy,
.about-copy {
  color: var(--muted);
  font-size: 16px;
}

.offer-section {
  padding-bottom: 64px;
}

.offer-shell {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #1b1714 0%, #2b211c 100%);
  color: var(--white);
  border: 1px solid rgba(184, 135, 70, 0.28);
}

.offer-shell h2 {
  margin-bottom: 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 60px;
  line-height: 1;
  font-weight: 400;
}

.offer-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.72);
  font-size: 19px;
}

.price-block {
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius);
  background: #221a16;
  color: var(--gold-soft);
  border: 1px solid rgba(184, 135, 70, 0.58);
}

.price-block span,
.price-block small,
.step-card span,
.upside-card span,
.proof-card span {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-block strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 42px;
  line-height: 1;
}

.price-block small {
  color: rgba(255, 253, 247, 0.58);
  line-height: 1.35;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-card {
  min-height: 238px;
}

.step-card span,
.upside-card span,
.proof-card span {
  margin-bottom: 28px;
  color: var(--clay);
}

.aligned-section {
  padding-top: 34px;
}

.aligned-shell {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f1;
  box-shadow: 0 22px 68px rgba(20, 17, 15, 0.06);
}

.aligned-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.aligned-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.upside-note {
  min-height: 210px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, #1b1714 0%, #2b211c 100%);
  border: 1px solid rgba(184, 135, 70, 0.32);
}

.upside-note span,
.upside-note small {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.upside-note strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--gold-soft);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 44px;
  line-height: 0.95;
  font-weight: 400;
}

.upside-note small {
  color: rgba(255, 253, 247, 0.62);
  line-height: 1.45;
}

.upside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.upside-card {
  min-height: 236px;
  border-top: 4px solid var(--gold);
}

.upside-card:nth-child(2) {
  border-top-color: #6d5d4a;
}

.upside-card:nth-child(3) {
  border-top-color: var(--clay);
}

.contrast-section {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, #201b18 0%, #33241f 52%, #171311 100%);
  border-top: 1px solid rgba(184, 135, 70, 0.22);
  border-bottom: 1px solid rgba(184, 135, 70, 0.22);
}

.contrast-section .eyebrow {
  color: var(--gold-soft);
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contrast-list {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.055);
}

.contrast-list h3 {
  margin-bottom: 22px;
}

.contrast-list ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contrast-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.contrast-list.good svg {
  color: var(--gold-soft);
}

.contrast-list.bad svg {
  color: #ffb199;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-card {
  min-height: 280px;
  border-top: 6px solid var(--gold);
  box-shadow: 0 18px 54px rgba(20, 17, 15, 0.06);
}

.proof-card:nth-child(2) {
  border-top-color: #6d5d4a;
}

.proof-card:nth-child(3) {
  border-top-color: var(--clay);
}

.proof-card span {
  margin-bottom: 36px;
}

.about-section {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbf8f1;
}

.about-copy {
  font-size: 19px;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.credential-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: #ece4d8;
  border: 1px solid #d8d0c4;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.final-cta {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 18px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
}

.final-cta p {
  width: min(620px, 100%);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 19px;
}

.final-cta .primary-button {
  color: #16110d;
}

.cta-pair {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.site-footer a {
  justify-self: end;
  text-decoration: none;
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding-top: 136px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-proof,
  .section-heading,
  .split-grid,
  .target-grid,
  .offer-shell,
  .steps-grid,
  .aligned-shell,
  .upside-grid,
  .contrast-grid,
  .proof-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 0;
  }

  .target-section,
  .contrast-section,
  .about-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .offer-shell h2,
  .final-cta h2 {
    font-size: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer a {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    max-width: 100vw;
    padding: 12px 16px;
  }

  .header-cta {
    width: auto;
    min-width: 0;
    padding: 0 12px;
    font-size: 10px;
  }

  .brand {
    font-size: 26px;
  }

  .hero-inner,
  .hero-proof,
  .section,
  .final-cta {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 72px;
  }

  h1 {
    max-width: 340px;
    font-size: 36px;
    line-height: 1.05;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  .hero-copy,
  .narrative-block,
  .offer-copy,
  .about-copy,
  .final-cta p {
    font-size: 17px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  #revenue-map {
    opacity: 0.24;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(20, 17, 15, 0.98) 0%, rgba(20, 17, 15, 0.9) 66%, rgba(20, 17, 15, 0.78) 100%),
      linear-gradient(180deg, rgba(20, 17, 15, 0.2) 0%, rgba(20, 17, 15, 0.9) 100%);
  }

  .hero-actions,
  .cta-pair,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-proof strong {
    font-size: 38px;
  }

  .target-card,
  .step-card,
  .upside-card,
  .proof-card,
  .contrast-list,
  .offer-shell,
  .aligned-shell,
  .upside-note,
  .price-block {
    padding: 22px;
  }

  .signal-row {
    grid-template-columns: 34px 1fr;
    padding: 16px;
  }
}
