@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600&display=swap");

:root {
  --ink: #0f0e0c;
  --ink-elevated: #1b1916;
  --ink-deeper: #08070a;
  --cream: #f4f1ea;
  --cream-soft: #e8e3d7;
  --text-mid: #c9c2b6;
  --text-low: #8b847a;
  --line: #292622;
  --accent: #ff5631;
  --font-brand: "Archivo";
  --font-sans: "IBM Plex Sans";
  --font-mono: "IBM Plex Mono";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--font-sans), sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wordmark { color: var(--cream); font-family: var(--font-brand), sans-serif; font-weight: 800; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.period, .accent { color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .wordmark { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-mid); font-size: 14px; text-decoration: none; }
.nav-link:hover { color: var(--cream); }

.button { border: 0; border-radius: 6px; padding: 14px 18px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: var(--cream); }
.button-primary:hover { background: var(--cream); color: var(--ink); }
.button-secondary { background: var(--ink-elevated); color: var(--cream); border: 1px solid var(--line); }
.button-small { min-height: 40px; padding: 10px 14px; font-size: 13px; }
.button-wide { width: 100%; }
.arrow { font-size: 19px; line-height: 1; }

.hero { min-height: 700px; padding: clamp(72px, 10vw, 132px) 0 90px; border-bottom: 1px solid var(--line); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .65fr); align-items: end; gap: clamp(48px, 8vw, 110px); }
.eyebrow, .section-label, .card-index, .micro { font-family: var(--font-mono), monospace; font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin-bottom: 24px; }
h1, h2, h3 { font-family: var(--font-brand), sans-serif; margin: 0; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 900px; font-size: clamp(48px, 6.6vw, 88px); font-weight: 800; }
h1 .display-number { display: block; color: var(--accent); font-size: 1.18em; line-height: .8; margin-bottom: 18px; }
.hero-copy { max-width: 670px; margin: 30px 0 0; color: var(--text-mid); font-size: 19px; line-height: 1.6; }
.hero-outcomes { max-width: 670px; margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--cream-soft); }
.hero-outcomes li { display: flex; align-items: baseline; gap: 12px; line-height: 1.5; }
.hero-outcomes li::before { content: "—"; color: var(--accent); font-family: var(--font-mono); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.guide-spec { padding: 28px; background: var(--ink-elevated); border: 1px solid var(--line); border-radius: 12px; }
.guide-spec .micro { color: var(--text-low); }
.spec-number { color: var(--accent); font-family: var(--font-brand); font-size: 96px; font-weight: 800; letter-spacing: -.07em; line-height: .9; margin: 34px 0 28px; }
.spec-list { padding: 0; margin: 0; list-style: none; display: grid; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--text-mid); font-size: 14px; }
.spec-list strong { color: var(--cream); font-weight: 600; }

.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.problem-section { padding: 72px 0; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 100px); align-items: start; }
.problem-section .section-label { color: #746d62; }
.problem-heading { font-size: clamp(38px, 5vw, 62px); }
.problem-copy { color: #514c45; font-size: 18px; line-height: 1.65; }
.problem-copy p { margin: 0 0 20px; }
.problem-shift { margin-top: 30px; padding: 22px; border-left: 4px solid var(--accent); background: #e8e3d7; color: var(--ink); font-weight: 600; }
.problem-shift span, .problem-shift strong { display: block; margin-bottom: 5px; color: #746d62; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.problem-shift strong { margin: 16px 0 5px; color: var(--accent); }
.section-label { color: var(--text-low); margin-bottom: 20px; }
.section-heading { max-width: 850px; font-size: clamp(40px, 5.6vw, 74px); font-weight: 800; }
.section-intro { max-width: 700px; color: var(--text-mid); font-size: 18px; line-height: 1.65; margin: 24px 0 44px; }
.pillar-list { border: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 25px 28px; background: var(--ink-elevated); border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: 0; }
.pillar-index { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; }
.pillar h3 { font-size: clamp(20px, 2.5vw, 28px); }
.pillar-range { color: var(--text-low); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mechanism-section { background: var(--ink-deeper); }
.mechanism-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mechanism-grid article { min-height: 280px; padding: 26px; background: var(--ink-elevated); display: flex; flex-direction: column; }
.mechanism-grid span { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; }
.mechanism-grid h3 { margin-top: auto; font-size: 28px; }
.mechanism-grid p { color: var(--text-mid); line-height: 1.55; margin: 16px 0 0; }
.sample-card { min-height: 350px; padding: 26px; background: var(--ink-elevated); display: flex; flex-direction: column; }
.card-index { color: var(--accent); }
.sample-card h3 { margin-top: auto; font-size: 29px; }
.sample-card p { color: var(--text-mid); line-height: 1.58; margin: 18px 0 0; }
.sample-card:nth-child(4), .sample-card:nth-child(5) { background: var(--ink-deeper); }
.sample-card-cta { background: var(--accent); color: var(--cream); }
.sample-card-cta .card-index, .sample-card-cta p { color: rgba(244,241,234,.76); }
.sample-card-cta .button { margin-top: 24px; background: var(--cream); color: var(--ink); }

.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how-block { padding: 30px; background: var(--cream); color: var(--ink); }
.how-block h3 { font-size: 25px; margin-bottom: 18px; }
.how-block p, .how-block li { color: #514c45; line-height: 1.6; }
.how-block ol { padding-left: 22px; margin: 0; }
.how-block li + li { margin-top: 9px; }
.guardrail { background: var(--ink-deeper); color: var(--cream); }
.guardrail p { color: var(--text-mid); }
.objection-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.objection-grid article { padding: 26px; background: var(--ink-elevated); }
.objection-grid h3 { font-size: 21px; }
.objection-grid p { color: var(--text-mid); line-height: 1.55; margin: 14px 0 0; }

.final-cta { padding: 100px 0; background: var(--ink-deeper); }
.decision-section { padding: 92px 0; background: var(--cream); color: var(--ink); }
.decision-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 100px); align-items: start; }
.decision-section .section-label { color: #746d62; }
.decision-copy h2 { font-size: clamp(38px, 5vw, 62px); }
.decision-copy p { color: #514c45; font-size: 18px; line-height: 1.65; margin: 24px 0 0; }
.fit-list { border: 1px solid #cfc8ba; }
.fit-list div { padding: 24px; border-bottom: 1px solid #cfc8ba; }
.fit-list div:last-child { border-bottom: 0; }
.fit-list span { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.fit-list strong { display: block; line-height: 1.5; }
.fit-list .not-fit { background: var(--ink); color: var(--cream); }
.fit-list .not-fit span { color: var(--text-low); }
.cta-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.cta-row h2 { max-width: 850px; font-size: clamp(42px, 6vw, 78px); }
.cta-row p { color: var(--text-mid); max-width: 630px; line-height: 1.6; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--text-low); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8,7,10,.84); backdrop-filter: blur(8px); animation: fade-in .18s ease; }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(26px, 5vw, 42px); background: var(--cream); color: var(--ink); border-radius: 12px; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 27px; cursor: pointer; }
.modal .eyebrow { margin-bottom: 18px; }
.modal h2 { font-size: clamp(34px, 6vw, 48px); }
.modal-copy { color: #625c53; line-height: 1.6; margin: 18px 0 26px; }
.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #625c53; }
.field input { width: 100%; min-height: 51px; border: 1px solid #cfc8ba; border-radius: 6px; background: #fffdf8; color: var(--ink); padding: 12px 14px; outline: none; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,86,49,.13); }
.privacy { color: #746d62; font-size: 12px; line-height: 1.5; margin: 2px 0 0; }
.form-error { color: #a72910; font-size: 13px; margin: 0; }
.success-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font-size: 24px; margin-bottom: 22px; }
.success-next { margin: 20px 0 0; padding: 16px; background: var(--cream-soft); color: #514c45; font-size: 13px; line-height: 1.55; border-left: 3px solid var(--accent); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid, .problem-grid, .decision-grid, .cta-row { grid-template-columns: 1fr; }
  .guide-spec { max-width: 520px; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .mechanism-grid { grid-template-columns: 1fr 1fr; }
  .sample-card-cta { grid-column: span 2; min-height: 280px; }
}

@media (max-width: 660px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .nav-link { display: none; }
  .hero { min-height: auto; padding-top: 66px; }
  h1 { font-size: clamp(43px, 12.5vw, 66px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .section { padding: 72px 0; }
  .pillar { grid-template-columns: 42px 1fr; padding: 21px 18px; gap: 15px; }
  .pillar-range { grid-column: 2; }
  .sample-grid, .mechanism-grid, .how-grid, .objection-grid { grid-template-columns: 1fr; }
  .sample-card-cta { grid-column: auto; }
  .sample-card { min-height: 300px; }
  .cta-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
