:root {
  --ink: #07182b;
  --ink-deep: #04111f;
  --paper: #ffffff;
  --paper-soft: #f4f7fa;
  --blue: #72afd0;
  --blue-deep: #205b7b;
  --coral: #f2484b;
  --coral-dark: #d6363a;
  --muted: #657488;
  --line: #c8d4df;
  --dark-line: rgba(195, 217, 233, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --section-space: clamp(5rem, 8vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.5rem, 6vw, 5.75rem); line-height: .94; letter-spacing: -.055em; }
h2 { font-size: clamp(2.55rem, 5vw, 4.75rem); line-height: .98; letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-label, .eyebrow {
  margin-bottom: 1.15rem;
  color: var(--blue-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .21em;
  line-height: 1.2;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 4px; }
.hero :focus-visible, .sprint :focus-visible, .beyond :focus-visible, .closing :focus-visible { outline-color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e2e8ee;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2.25rem; }
.brand { display: grid; grid-template-columns: 39.03px auto; grid-template-rows: auto auto; align-content: center; column-gap: 10.4px; width: max-content; text-decoration: none; }
.brand-logo { grid-row: 1 / 3; display: block; width: auto; height: 38px; align-self: center; }
.footer-logo { display: block; width: 64px; height: auto; }
.brand-name { align-self: end; font-family: var(--serif); font-size: 1.25rem; line-height: 1; letter-spacing: .11em; }
.brand-long { align-self: start; padding-top: .25rem; font-size: .52rem; font-weight: 600; letter-spacing: .19em; line-height: 1; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
nav a { position: relative; font-size: .84rem; text-decoration: none; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--coral); transition: right .2s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.35rem;
  border: 1px solid var(--coral-dark);
  background: var(--coral-dark);
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: .65rem 1rem; font-size: .76rem; }

.hero { position: relative; overflow: hidden; padding: clamp(3.7rem, 5vw, 5.25rem) 0 0; background: var(--ink-deep); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(3.8rem, 5vw, 5rem); }
.hero .eyebrow { color: var(--blue); }
.hero h1 { max-width: 760px; }
.hero h1 + .eyebrow { margin-top: 1.25rem; }
.offer-summary { margin-top: 1.25rem; color: #d5e1e9; font-size: .94rem; }
.offer-summary a { text-underline-offset: 4px; }
.sample-intro { max-width: 800px; margin-bottom: 1.5rem; color: #445568; }
.sample-work { margin-top: 2.5rem; }
.sample { border-top: 1px solid var(--line); border-bottom: 0; }
.sample:last-child { border-bottom: 1px solid var(--line); }
.sample-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; }
.sample-grid h3 { margin-bottom: 1rem; }
.sample-grid p { padding: 0; }
.sample-grid .sample-source { margin-top: 1rem; font-size: .85rem; }
.sample-output { padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.sample-output blockquote { margin: 1rem 0; color: #263f54; }
.sample-output ul { padding-left: 1.2rem; color: #263f54; }
.sample-output li + li { margin-top: .6rem; }
.sample-output .sample-check { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.offer-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0 0; }
.offer-facts > div { padding-top: 1rem; border-top: 1px solid var(--dark-line); }
.offer-facts dt { color: #b7c7d6; font-size: .9rem; }
.offer-facts dd { margin: .6rem 0; font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.offer-facts p { color: #c7d4df; font-size: .9rem; }
.review-intro { margin-top: 1.5rem; color: #cbd7e2; }
.review-contact { margin-top: 1.5rem; }
.review-contact a { text-underline-offset: 4px; }
.review-panel { padding: 1.75rem; background: var(--paper); color: var(--ink); }
.review-panel .field { margin-bottom: 1.1rem; }
.review-panel label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.review-panel label span { font-weight: 400; }
.review-panel input, .review-panel textarea { display: block; width: 100%; padding: .75rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid #879aab; border-radius: 0; }
.review-panel textarea { resize: vertical; }
.review-panel .button { width: 100%; cursor: pointer; }
.review-panel .button:disabled { cursor: wait; opacity: .65; transform: none; }
.review-panel .form-note { font-size: .84rem; line-height: 1.5; margin: .8rem 0 1.2rem; color: #48596b; }
.review-panel [hidden] { display: none; }
#review-status:not([hidden]) { margin-top: 1rem; padding: 1rem; border: 1px solid #879aab; }
#review-status[data-state="error"] { border-color: #b32428; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#review { scroll-margin-top: 90px; }
.review-panel :focus-visible { outline-color: var(--blue-deep); }
.hero-intro { max-width: 700px; margin-top: 2rem; color: #c9d5e0; font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.6; }
.definition { max-width: 710px; margin-top: 1.35rem; padding-left: 1.25rem; border-left: 2px solid var(--blue); color: #9fb0c1; font-size: .97rem; }
.hero-action { display: grid; grid-template-columns: max-content minmax(150px, 280px); align-items: center; gap: .55rem 1.1rem; margin-top: 2.2rem; }
.hero-action > p:not(.email-note) { color: #b5c3cf; font-size: .83rem; line-height: 1.45; }
.email-note { grid-column: 1 / -1; color: #8798a9; font-size: .73rem; line-height: 1.4; }
.hero-signal { position: relative; min-height: 480px; }
.signal-lines { position: absolute; inset: 55px -65px auto -25px; width: calc(100% + 90px); height: 380px; overflow: visible; }
.signal-lines path { fill: none; stroke: #9cc4dd; stroke-width: 1.5; }
.signal-lines path:not(.arrow) { stroke-dasharray: 4 5; }
.signal-lines .alert { stroke: var(--coral); }
.signal-lines circle { fill: #b5d4e8; stroke: var(--ink-deep); stroke-width: 3; }
.signal-lines .alert-dot { fill: var(--coral); }
.signal-lines .arrow { stroke: var(--coral); stroke-width: 2; }
.signal-labels { fill: #adc0d0; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.signal-labels .signal-alert { fill: #ff7678; }
.signal-outcome { position: absolute; right: -8px; bottom: 34px; display: grid; padding-left: 1rem; border-left: 1px solid var(--coral); }
.signal-outcome span { color: #8298aa; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.signal-outcome strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.hero-edge { height: 12px; background: var(--coral); clip-path: polygon(0 0, 38% 0, 42% 100%, 100% 100%, 100% 100%, 0 100%); opacity: .85; }

.problem { background: var(--paper); }
.problem-grid, .mechanism-grid, .approach-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(3rem, 8vw, 9rem); }
.problem h2, .mechanism h2, .approach h2 { max-width: 620px; }
.problem-body { padding-top: 2.2rem; }
.problem-body > p { color: #3f4d5d; font-size: 1.08rem; }
.editorial-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.editorial-list li { position: relative; padding: 1rem 1rem 1rem 2.2rem; border-top: 1px solid var(--line); color: #22354a; }
.editorial-list li:last-child { border-bottom: 1px solid var(--line); }
.editorial-list li::before { content: ""; position: absolute; left: .25rem; top: 1.62rem; width: 7px; height: 7px; background: var(--coral); }

.workflow { background: var(--paper-soft); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.workflow-heading h2 { max-width: 900px; }
.workflow-summary { max-width: 820px; margin-top: 1.5rem; color: #47586a; line-height: 1.65; }
.example-label { align-self: start; max-width: 220px; margin-top: 2.2rem; color: #59697d; font-size: .72rem; letter-spacing: .12em; line-height: 1.45; text-align: right; text-transform: uppercase; }
.workflow-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 4.5rem 0 0; padding: 0; border: 1px solid #aac0d2; background: #aac0d2; list-style: none; }
.workflow-map > li { position: relative; min-height: 410px; padding: 1.4rem; background: rgba(255,255,255,.94); }
.workflow-map > li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: -10px; width: 18px; height: 18px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); background: var(--paper-soft); transform: translateY(-50%) rotate(45deg); }
.stage-number { display: block; margin-bottom: 1.25rem; color: var(--blue-deep); font-family: var(--serif); font-size: 1.15rem; }
.workflow-map h3 { min-height: 4.1rem; }
.workflow-map p { margin-top: 1.35rem; color: #47586a; font-size: .88rem; line-height: 1.55; }
.input-stack { display: grid; gap: .45rem; margin-top: 1.2rem; }
.input-stack span { padding: .65rem .8rem; border: 1px solid var(--line); color: #40556a; font-size: .72rem; }
.review-sheet { display: grid; gap: .7rem; margin-top: 1.2rem; padding: 1rem; border: 1px solid var(--line); }
.review-sheet i { display: block; height: 1px; background: #9db1c2; }
.review-sheet i:nth-child(2) { width: 78%; }
.review-sheet i:nth-child(3) { width: 58%; }
.exception-box { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding: .8rem; border: 1px solid #f09b9d; background: #fff4f4; color: #853134; font-size: .73rem; }
.exception-box b { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--coral); color: #fff; }
.decision-line { display: grid; gap: .75rem; margin-top: 1.2rem; padding: 1rem; border-left: 2px solid var(--blue-deep); background: #f7fafc; color: #23384d; }
.decision-line span { width: 42px; height: 1px; background: var(--coral); }
.decision-line b { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.workflow-notes { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-notes > div { padding: 1.5rem 1.5rem 1.7rem 0; }
.workflow-notes > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.workflow-notes h3 { margin-bottom: .85rem; color: var(--blue-deep); font-family: var(--sans); font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.workflow-notes p { color: #445568; font-size: .86rem; }

.sprint { background: var(--ink); color: #fff; }
.sprint .section-label { color: var(--blue); }
.sprint-intro { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 3.5rem; }
.sprint-intro .section-label { grid-column: 1 / -1; }
.sprint-intro p:last-child { align-self: end; color: #bdc9d4; font-size: 1.03rem; }
.phase-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin: 5rem 0 0; padding: 0; list-style: none; }
.phase-list li { padding-top: 1.4rem; border-top: 1px solid var(--dark-line); }
.phase-list span { display: block; margin-bottom: 1.6rem; color: var(--coral); font-family: var(--serif); font-size: 2.65rem; line-height: 1; }
.phase-list p { margin-top: 1rem; color: #b5c2ce; font-size: .92rem; }
.deliverables { margin-top: 4rem; padding: 1.5rem 0 0 2rem; border-top: 1px solid var(--dark-line); border-left: 2px solid var(--coral); color: #d8e1e8; }

.mechanism { background: var(--paper); }
.mechanism-copy { display: grid; gap: 2.4rem; padding-top: 2.2rem; }
.mechanism-copy p { padding: 0 0 2.4rem 2rem; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #3f5061; font-size: 1.05rem; }
.approach { border-top: 1px solid var(--line); background: var(--paper); }
.approach-grid > div:last-child { display: grid; gap: 1.5rem; padding-top: 2.2rem; color: #3f5061; }
.beyond { background: var(--ink); color: #fff; }
.beyond .section-label { color: var(--blue); }
.beyond-grid { display: grid; grid-template-columns: .55fr 1.2fr .85fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.beyond p:last-child { padding-top: 1rem; color: #b9c5cf; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.faq-grid > div:first-child { position: sticky; top: 130px; align-self: start; }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.65rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.32rem; line-height: 1.3; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
summary span::before, summary span::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: var(--ink); transition: transform .2s ease; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 660px; padding: 0 2.5rem 1.75rem 0; color: #48596b; }

.closing { padding-block: clamp(5.5rem, 9vw, 9rem); background: var(--ink-deep); color: #fff; }
.closing .section-label { color: var(--blue); }
.closing-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(3rem, 8vw, 9rem); }
.closing h2 { max-width: 700px; }
.closing-action { display: grid; justify-items: start; gap: 1.25rem; padding-left: 2.2rem; border-left: 1px solid var(--dark-line); }
.closing-action > p:first-child { color: #c0ccd6; }
.closing-action .email-note { color: #8496a6; }
footer { border-top: 4px solid var(--coral); background: var(--paper); }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.5rem; color: #536477; font-size: .72rem; }
.footer-inner a { text-decoration: none; }
.footer-brand { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .16em; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-inner .button-small { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-signal { min-height: 390px; max-width: 680px; width: 100%; margin-inline: auto; }
  .signal-lines { inset: 0 -30px auto -15px; }
  .signal-outcome { bottom: 0; }
  .workflow-map { grid-template-columns: repeat(2, 1fr); }
  .workflow-map > li:not(:last-child)::after { display: none; }
  .workflow-notes { grid-template-columns: repeat(2, 1fr); }
  .workflow-notes > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-notes > div:nth-child(4) { border-top: 1px solid var(--line); }
  .beyond-grid { grid-template-columns: .55fr 1.15fr; }
  .beyond-grid p:last-child { grid-column: 2; }
  .footer-inner { grid-template-columns: auto 1fr auto; }
  .footer-inner p:last-child { grid-column: 1 / -1; margin-top: -1.5rem; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 620px); --section-space: 4.6rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.65rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .site-header { position: relative; }
  .header-inner { min-height: auto; grid-template-columns: 1fr; gap: 1rem; padding-block: 1rem; }
  nav { justify-content: space-between; gap: .7rem; padding-top: .8rem; border-top: 1px solid var(--line); }
  nav a { font-size: .72rem; }
  .hero { padding-top: 2.5rem; }
  .sample-grid, .offer-facts { grid-template-columns: 1fr; }
  .review-panel { padding: 1.25rem; }
  #review { scroll-margin-top: 0; }
  .hero-grid { gap: 3rem; padding-bottom: 4rem; }
  .hero-intro { font-size: 1rem; }
  .definition { font-size: .9rem; }
  .hero-action { grid-template-columns: 1fr; align-items: start; }
  .hero-action .button { width: 100%; }
  .hero-signal { min-height: 270px; }
  .signal-lines { inset: -28px -60px auto -35px; height: 300px; }
  .signal-outcome { bottom: -7px; }
  .problem-grid, .mechanism-grid, .approach-grid, .faq-grid, .closing-grid, .sprint-intro { grid-template-columns: 1fr; gap: 2rem; }
  .problem-body, .mechanism-copy, .approach-grid > div:last-child { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .example-label { margin-top: 0; text-align: left; }
  .workflow-map { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .workflow-map > li { min-height: auto; }
  .workflow-map h3 { min-height: auto; }
  .workflow-notes { grid-template-columns: 1fr; }
  .workflow-notes > div, .workflow-notes > div + div { padding: 1.35rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .workflow-notes > div:first-child { border-top: 0; }
  .phase-list { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
  .deliverables { margin-top: 2.5rem; }
  .beyond-grid { grid-template-columns: 1fr; }
  .beyond-grid p:last-child { grid-column: auto; }
  .faq-grid > div:first-child { position: static; }
  .closing-action { padding-left: 0; border-left: 0; }
  .closing-action .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: .55rem; padding-block: 1.6rem; }
  .footer-inner p:last-child { grid-column: auto; margin-top: .5rem; }
}

@media (max-width: 390px) {
  nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  nav a { padding-block: .2rem; }
  .signal-outcome { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header { position: static; }
  .button { border-color: var(--ink); background: transparent; color: var(--ink); }
  .hero, .sprint, .beyond, .closing { background: #fff; color: var(--ink); }
}
