:root {
  color-scheme: light dark;
  --ink: #17211d;
  --ink-soft: #3b4943;
  --surface: #f1f2ed;
  --surface-raised: #fafbf7;
  --surface-tint: #e4ebe5;
  --signal: #1f654c;
  --signal-strong: #164735;
  --accent: #a84f30;
  --accent-soft: #eed8ce;
  --line: rgba(23, 33, 29, 0.2);
  --line-strong: rgba(23, 33, 29, 0.48);
  --button-bg: #164735;
  --button-text: #f7faf5;
  --focus: #0a6f95;
  --display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", Georgia, serif;
  --radius: 0.25rem;
  --shadow: 0 20px 60px rgba(23, 33, 29, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf2ec;
    --ink-soft: #bac6bd;
    --surface: #111814;
    --surface-raised: #1a241e;
    --surface-tint: #202e27;
    --signal: #78c6a5;
    --signal-strong: #a2ddc3;
    --accent: #e08b68;
    --accent-soft: #4c2d24;
    --line: rgba(237, 242, 236, 0.18);
    --line-strong: rgba(237, 242, 236, 0.42);
    --button-bg: #9bd8bd;
    --button-text: #102019;
    --focus: #7ec8e5;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  color: var(--button-text);
  background: var(--button-bg);
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  color: var(--button-text);
  background: var(--button-bg);
  border-radius: var(--radius);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

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

.site-nav > a:not(.button) {
  padding-block: 0.7rem;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease-out, color 160ms ease-out;
}

.site-nav > a:not(.button):hover {
  color: var(--signal-strong);
  border-bottom-color: var(--signal);
}

.button,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  padding: 0.9rem 1.25rem;
  color: var(--button-text);
  background: var(--button-bg);
  border: 1px solid var(--button-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--button-bg) 22%, transparent);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, filter 160ms ease-out;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--button-bg) 28%, transparent);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: wait;
  filter: saturate(0.65);
  opacity: 0.72;
  transform: none;
}

.button-small {
  min-height: 44px;
  padding: 0.72rem 1rem;
}

.text-link {
  color: var(--signal-strong);
  border-bottom: 1px solid currentColor;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}

.text-link:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.25rem, 5.7vw, 5rem);
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 4.8vw, 4.65rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

p {
  text-wrap: pretty;
}

.eyebrow,
.offer-label,
.sample-type,
.decision-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  min-height: calc(100dvh - 76px);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5.5rem);
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  align-items: center;
  margin-top: 2rem;
}

.decision-preview {
  margin: 0;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.preview-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  color: #f5faf5;
  background: #173f32;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.preview-header strong {
  color: #ffe1d5;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.preview-main {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}

.preview-title {
  max-width: 16ch;
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
}

.preview-summary {
  max-width: 46ch;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.preview-facts,
.sample-meta,
.offer-terms {
  margin: 0;
}

.preview-facts {
  display: grid;
  gap: 0.5rem;
}

.preview-facts div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--signal-strong);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.preview-unknown {
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-size: 0.9rem;
}

.decision-preview figcaption {
  padding: 0.7rem 1.2rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.service-rail {
  color: #f4f8f3;
  background: #173f32;
}

.service-rail-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-rail-inner div {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid rgba(244, 248, 243, 0.17);
}

.service-rail-inner div:last-child {
  border-right: 0;
}

.service-rail strong,
.service-rail span {
  display: block;
}

.service-rail strong {
  color: #ffd9c9;
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.035em;
}

.service-rail span {
  margin-top: 0.2rem;
  color: rgba(244, 248, 243, 0.78);
  font-size: 0.84rem;
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.section-heading p,
.problem-copy p,
.offer-intro > p,
.final-cta p {
  max-width: 65ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.sample-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sample-decision {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3.2vw, 2.5rem);
  color: #f4f8f3;
  background: #173f32;
}

.sample-decision .decision-label {
  color: #ffd9c9;
}

.decision-value {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
}

.decision-reason {
  max-width: 18ch;
  margin-top: auto;
  padding-top: 3rem;
  color: rgba(244, 248, 243, 0.76);
  font-size: 0.9rem;
}

.sample-body {
  padding: clamp(1.8rem, 4vw, 3.5rem);
}

.sample-body > p {
  max-width: 68ch;
}

.sample-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-block: 2rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-meta dt {
  margin-bottom: 0.35rem;
}

.unknown-note {
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
  margin-top: 1.6rem;
}

.problem-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--surface-tint);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.before-after {
  display: grid;
  gap: 2.5rem;
}

.outcome-section {
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.outcome-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.outcome-flow article {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line-strong);
}

.outcome-flow article:first-child {
  padding-left: 0;
}

.outcome-flow article:last-child {
  padding-right: 0;
  border-right: 0;
}

.flow-step {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.outcome-flow h3 {
  max-width: 16ch;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
}

.outcome-flow p {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.before-after > div {
  padding-top: 1.35rem;
  border-top: 2px solid var(--line-strong);
}

.before-after h3 {
  font-size: 1.6rem;
}

.before-after p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.after-block {
  color: var(--signal-strong);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  max-width: 870px;
  padding-block: 2rem;
  border-top: 1px solid var(--line-strong);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.process-number {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
}

.process-list h3 {
  margin-bottom: 0.45rem;
}

.process-list p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(2.2rem, 6vw, 5.5rem);
  color: #f3f8f3;
  background: #173f32;
  border-radius: var(--radius);
}

.offer h2 {
  color: #f3f8f3;
}

.offer-label {
  color: #ffd9c9;
}

.offer-intro > p {
  color: rgba(243, 248, 243, 0.79);
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin-top: 2rem;
}

.offer-price strong {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 1;
}

.offer-price span {
  color: rgba(243, 248, 243, 0.68);
}

.offer-intro .price-anchor {
  max-width: 52ch;
  margin-top: 1rem;
  color: rgba(243, 248, 243, 0.9);
  font-size: 0.98rem;
}

.button-light {
  color: #123125;
  background: #f3f8f3;
  border-color: #f3f8f3;
  box-shadow: none;
}

.text-link-light {
  color: #ffd9c9;
}

.offer-terms {
  display: grid;
  align-content: start;
}

.offer-terms div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(243, 248, 243, 0.22);
}

.offer-terms div:last-child {
  border-bottom: 1px solid rgba(243, 248, 243, 0.22);
}

.offer-terms dt {
  color: #ffd9c9;
}

.faq-list {
  max-width: 880px;
}

.faq-list details {
  border-top: 1px solid var(--line-strong);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 1.45rem 3.5rem 1.45rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.5rem;
  color: var(--signal-strong);
  font-size: 1.8rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 68ch;
  margin: -0.4rem 3rem 1.6rem 0;
  color: var(--ink-soft);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.68fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: var(--radius);
}

.final-cta h2 {
  max-width: 18ch;
  margin-bottom: 0.6rem;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.request-fallback {
  margin-top: 1.4rem !important;
  font-size: 0.95rem !important;
}

.request-fallback a,
.form-privacy a {
  color: var(--signal-strong);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.sample-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--ink) 10%, transparent);
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 800;
}

.field-hint {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
}

.form-field input:hover {
  border-color: var(--signal-strong);
}

.form-field input:focus-visible {
  border-color: var(--focus);
}

.form-privacy,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status:not(:empty) {
  padding: 0.8rem;
  color: var(--signal-strong);
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.form-target {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding-block: 3.5rem;
  color: #f1f6f1;
  background: #111a16;
}

.site-footer .brand-mark {
  color: #111a16;
  background: #9bd8bd;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.75fr);
  gap: 3rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
}

.footer-links a {
  color: #9bd8bd;
}

.fine-print {
  max-width: 650px;
  color: rgba(241, 246, 241, 0.7);
  font-size: 0.85rem;
}

.footer-meta .fine-print {
  max-width: 470px;
  text-align: right;
}

.legal-page {
  max-width: 820px;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

.legal-page h2 {
  max-width: none;
  margin-top: 3.5rem;
  font-size: 2.3rem;
}

.legal-page h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.notice {
  margin-block: 2rem;
  padding: 1.3rem 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

@media (max-width: 960px) {
  .site-nav > a:not(.button) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 2.5rem;
  }

  h1 {
    font-size: clamp(3rem, 7vw, 4.75rem);
  }

  .service-rail-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-rail-inner div:nth-child(2) {
    border-right: 0;
  }

  .service-rail-inner div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(244, 248, 243, 0.17);
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .site-nav .button {
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero,
  .problem-layout,
  .offer,
  .outcome-flow,
  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 3.5rem 4.5rem;
  }

  .decision-preview {
    max-width: 560px;
  }

  .sample-card {
    grid-template-columns: 1fr;
  }

  .outcome-flow {
    border-bottom: 0;
  }

  .outcome-flow article,
  .outcome-flow article:first-child,
  .outcome-flow article:last-child {
    padding: 1.6rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .sample-decision {
    min-height: auto;
  }

  .decision-reason {
    max-width: 36ch;
    margin-top: 0.8rem;
    padding-top: 0;
  }

  .sample-meta {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .process-list li {
    grid-template-columns: 55px minmax(0, 1fr);
  }

  .process-number {
    font-size: 2.5rem;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-meta .fine-print {
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .site-nav .button {
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    font-size: 0.72rem;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link,
  .final-cta .button {
    width: 100%;
  }

  .service-rail-inner {
    grid-template-columns: 1fr;
  }

  .service-rail-inner div {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 248, 243, 0.17);
  }

  .service-rail-inner div:last-child {
    border-bottom: 0;
  }

  .preview-facts div,
  .offer-terms div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
