:root {
  --paper: #f5f2e9;
  --paper-deep: #e9e4d7;
  --ink: #151b18;
  --muted: #5d665f;
  --line: #cbc8bd;
  --forest: #315847;
  --forest-dark: #19372c;
  --sage: #a9c0ad;
  --white: #fffdf8;
  --serif: Iowan Old Style, Baskerville, Times New Roman, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; left: 1rem; top: 1rem; transform: translateY(-160%); background: var(--white); padding: .75rem 1rem; border: 1px solid var(--ink); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; border-bottom: 1px solid rgba(21,27,24,.16); background: rgba(245,242,233,.96); }
.nav-shell { max-width: var(--max); height: 100%; padding: 0 32px; margin: 0 auto; display: flex; align-items: center; gap: 44px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; font-weight: 600; text-decoration: none; }
.brand svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.desktop-nav a { color: #323934; font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover { color: var(--forest); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.language-link { font-family: var(--mono); font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-button { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.menu-button span { display: block; height: 1px; background: var(--ink); margin: 6px 0; }
.mobile-menu { position: fixed; inset: 72px 0 0; z-index: 19; padding: 32px; background: var(--paper); }
.mobile-menu a:not(.button) { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; text-decoration: none; }
.mobile-menu .button { margin-top: 30px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--ink); border-radius: 2px; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 160ms ease-out, background 160ms ease-out; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--forest-dark); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-large { min-height: 54px; padding: 15px 25px; font-size: 15px; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; }
.text-link.light { color: var(--white); }
.kicker { margin: 0 0 20px; color: var(--forest); font-family: var(--mono); font-size: 11px; line-height: 1.4; font-weight: 700; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.home-hero { min-height: calc(100svh - 72px); position: relative; display: grid; align-items: end; overflow: hidden; color: var(--white); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 55%; }
.hero-overlay { background: rgba(12,20,16,.58); }
.hero-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 72px 32px 74px; }
.hero-inner .kicker { color: var(--sage); }
.hero-inner h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(56px, 8vw, 112px); font-weight: 400; line-height: .91; }
.hero-inner h1 em { color: #cbd8cd; font-weight: 400; }
.hero-copy { max-width: 610px; margin: 32px 0 0; color: rgba(255,253,248,.84); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.hero-actions .button-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.intro-strip { padding: 22px 32px; border-bottom: 1px solid var(--line); text-align: center; }
.intro-strip p { margin: 0 auto; max-width: 900px; color: var(--muted); font-family: var(--serif); font-size: 19px; }

.section { max-width: var(--max); margin: 0 auto; padding: 128px 32px; }
.section-heading { max-width: 760px; }
.section-heading h2, .human-section h2, .pilot-section h2, .page-hero h1, .legal-page h1 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); line-height: 1; font-weight: 400; }
.section-heading > p:last-child { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: 18px; }

.product-window { margin-top: 70px; display: grid; grid-template-columns: 180px 1fr; min-height: 560px; overflow: hidden; border: 1px solid #202925; background: #f8f8f4; box-shadow: 0 22px 60px rgba(21,27,24,.11); }
.product-rail { padding: 30px 20px; background: #111a25; color: #c7cfda; display: flex; flex-direction: column; gap: 4px; }
.product-mark { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 36px 7px; background: #4fb588; color: #102019; border-radius: 8px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.rail-item { padding: 11px 12px; border-radius: 5px; font-size: 13px; font-weight: 600; }
.rail-item.active { background: #293346; color: white; }
.product-canvas { padding: 42px; background: #f6f5f1; }
.canvas-heading { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #d6d9dc; }
.canvas-heading small { display: block; color: #58616b; font-family: var(--mono); font-size: 10px; font-weight: 700; }
.canvas-heading strong { display: block; margin-top: 6px; font-size: clamp(22px, 3vw, 34px); }
.canvas-action { padding: 10px 14px; border-radius: 5px; background: #293d36; color: white; font-size: 12px; font-weight: 700; }
.pipeline-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.pipeline-line span { padding-bottom: 12px; border-bottom: 3px solid #d7ddd9; color: #606961; font-size: 12px; font-weight: 700; }
.pipeline-line span:first-child { border-color: #3d7460; color: #244c3c; }
.work-list { margin-top: 34px; }
.work-list span { display: block; height: 74px; margin: 12px 0; border: 1px solid #dfe1df; border-radius: 6px; background: white; }

.workflow-list { margin-top: 86px; border-top: 1px solid var(--line); }
.workflow-list a { display: grid; grid-template-columns: 70px 1fr 1.2fr 30px; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.workflow-list a:hover strong { color: var(--forest); }
.workflow-list span { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.workflow-list strong { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.workflow-list p { margin: 0; color: var(--muted); }
.workflow-list b { font-size: 23px; }

.human-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; max-width: none; padding-left: max(32px, calc((100vw - var(--max)) / 2 + 32px)); padding-right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); background: var(--ink); color: var(--white); }
.human-section .kicker { color: var(--sage); }
.human-section h2 em { color: var(--sage); font-weight: 400; }
.human-section > div:last-child { align-self: end; }
.human-section p { color: #d3d8d4; font-size: 18px; }
.human-section ul { padding: 0; margin: 34px 0 0; list-style: none; }
.human-section li { padding: 17px 0; border-top: 1px solid #46504b; }

.pilot-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.pilot-copy > p:not(.kicker) { max-width: 650px; margin: 30px 0; color: var(--muted); font-size: 18px; }
.truth-note { padding: 30px 0 0; border-top: 1px solid var(--line); }
.truth-note strong, .truth-note span { display: block; }
.truth-note strong { margin-bottom: 10px; font-family: var(--serif); font-size: 22px; }
.truth-note span { color: var(--muted); }

.page-hero { max-width: var(--max); margin: 0 auto; padding: 100px 32px 120px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.page-hero > div:first-child > p:not(.kicker) { margin: 28px 0 34px; color: var(--muted); font-size: 18px; }
.page-hero .product-window { min-height: 430px; margin: 0; grid-template-columns: 130px 1fr; }
.page-hero .product-rail { padding: 22px 12px; }
.page-hero .product-mark { margin-bottom: 22px; }
.page-hero .product-canvas { padding: 28px; }
.simple-hero { min-height: 570px; grid-template-columns: minmax(0, 900px); }
.simple-hero h1 em { color: var(--forest); font-weight: 400; }

.evidence-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); }
.evidence-section h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 58px); font-weight: 400; line-height: 1.05; }
.evidence-section ol { margin: 0; padding: 0; list-style: none; }
.evidence-section li { display: grid; grid-template-columns: 55px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.evidence-section li span { color: var(--forest); font-family: var(--mono); font-size: 11px; }
.evidence-section li strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.boundary-section { border-top: 1px solid var(--line); }
.boundary-section blockquote { max-width: 940px; margin: 0 0 70px; font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.15; }
.final-cta { padding: 110px max(32px, calc((100vw - var(--max)) / 2 + 32px)); background: var(--forest-dark); color: var(--white); display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: 1; font-weight: 400; }

.pilot-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 0; }
.pilot-steps > div { padding: 38px 38px 38px 0; border-top: 1px solid var(--line); }
.pilot-steps > div + div { padding-left: 38px; border-left: 1px solid var(--line); }
.pilot-steps span { color: var(--forest); font-family: var(--mono); font-size: 11px; }
.pilot-steps h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.pilot-steps p { color: var(--muted); }
.company-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; border-top: 1px solid var(--line); }
.company-section h2 { font-family: var(--serif); font-size: 48px; font-weight: 400; }
.company-section dl { margin: 0; }
.company-section dl div { display: grid; grid-template-columns: 180px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-section dt { color: var(--muted); }
.company-section dd { margin: 0; font-weight: 600; }

.form-layout { max-width: var(--max); min-height: calc(100svh - 72px); margin: 0 auto; padding: 100px 32px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.form-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); line-height: .98; font-weight: 400; }
.form-intro > p:not(.kicker) { color: var(--muted); font-size: 18px; }
.contact-direct { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct span, .contact-direct a { display: block; }
.contact-direct span { color: var(--muted); font-size: 13px; }
.contact-direct a { margin-top: 6px; font-family: var(--serif); font-size: 22px; }
.lead-form { padding: 46px; background: var(--white); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { display: block; margin-bottom: 22px; color: #313833; font-size: 13px; font-weight: 700; }
.lead-form input, .lead-form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #aaa99f; border-radius: 2px; background: white; color: var(--ink); }
.lead-form textarea { resize: vertical; min-height: 135px; }
.form-privacy { color: var(--muted); font-size: 12px; }
.turnstile-shell { min-height: 70px; margin: 18px 0; }
.honeypot { position: absolute; left: -10000px; }
.form-error { margin: 16px 0; padding: 12px 14px; border-left: 4px solid #a3422f; background: #f6e8e3; color: #6f281c; font-size: 14px; }
.form-success { padding: 30px; border: 1px solid var(--sage); background: #edf3ed; }
.form-success strong { display: block; font-family: var(--serif); font-size: 30px; }
.form-success p { margin-bottom: 0; }

.legal-page { max-width: 860px; margin: 0 auto; padding: 100px 32px 140px; }
.legal-page header { margin-bottom: 80px; }
.legal-page header > p:last-child { color: var(--muted); font-size: 19px; }
.legal-page section { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 34px 0; border-top: 1px solid var(--line); }
.legal-page h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.legal-page section p { margin: 0; color: #3f4741; }

.site-footer { padding: 76px max(32px, calc((100vw - var(--max)) / 2 + 32px)) 24px; background: #101714; color: #d9ddd9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .7fr; gap: 80px; }
.footer-brand { color: white; }
.footer-grid > div:first-child p { max-width: 350px; color: #98a19b; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { display: block; margin: 0 0 9px; font-size: 13px; }
.footer-heading { color: #8ba794 !important; font-family: var(--mono); font-size: 10px !important; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 20px; border-top: 1px solid #37403b; color: #808a83; font-size: 12px; }

@media (max-width: 900px) {
  .desktop-nav, .desktop-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-button { display: block; }
  .product-window { grid-template-columns: 130px 1fr; min-height: 470px; }
  .product-canvas { padding: 28px; }
  .workflow-list a { grid-template-columns: 50px 1fr 24px; }
  .workflow-list p { grid-column: 2 / 3; }
  .human-section, .pilot-section, .page-hero, .evidence-section, .company-section, .form-layout { grid-template-columns: 1fr; gap: 60px; }
  .page-hero .product-window { order: -1; }
  .pilot-steps { grid-template-columns: 1fr; }
  .pilot-steps > div + div { padding-left: 0; border-left: 0; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .nav-shell { padding: 0 20px; }
  .section, .page-hero, .form-layout, .legal-page { padding-left: 20px; padding-right: 20px; }
  .home-hero { min-height: calc(100svh - 72px); }
  .hero-image { object-position: 58% center; }
  .hero-overlay { background: rgba(12,20,16,.62); }
  .hero-inner { padding: 60px 20px 48px; }
  .hero-inner h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-copy { font-size: 16px; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .product-window, .page-hero .product-window { grid-template-columns: 1fr; min-height: 390px; }
  .product-rail { display: none; }
  .product-canvas { padding: 20px; }
  .canvas-heading { align-items: flex-start; }
  .canvas-action { display: none; }
  .pipeline-line { gap: 6px; }
  .pipeline-line span { font-size: 9px; }
  .workflow-list a { gap: 12px; }
  .workflow-list strong { font-size: 22px; }
  .human-section { padding-left: 20px; padding-right: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 25px 20px; }
  .legal-page section { grid-template-columns: 1fr; gap: 12px; }
  .company-section dl div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom { flex-direction: column; }
}

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