:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f5f4;
  --ink: #191c1b;
  --muted: #626966;
  --line: #d9ddda;
  --accent: #bb432d;
  --gutter: 48px;
  --section: 104px;
  --group: 56px;
  --row: 32px;
  --h1: 80px;
  --h2: 48px;
  --h3: 24px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; overflow-wrap: anywhere; text-wrap: pretty; }
h1 { font-size: var(--h1); line-height: 1.08; max-width: 1100px; }
h2 { font-size: var(--h2); line-height: 1.16; max-width: 1050px; }
h3 { font-size: var(--h3); line-height: 1.3; }
p { overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.shell *, article > * { min-width: 0; }
.quiet { color: var(--muted); }

/* Full navigation on larger screens; language controls on mobile. */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 80px; }
.brand { font-size: 26px; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.language-switch { display: flex; gap: 2px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 600; text-decoration: none; }
.language-switch a[aria-current="page"] { color: #fff; background: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; }
.button:hover { background: #39433e; }

/* Each section owns its space; headings share one hierarchy. */
main > section { padding-block: var(--section); }
.hero { padding-bottom: var(--group); }
.hero-bottom { display: grid; grid-template-columns: minmax(0,760px) auto; align-items: end; gap: 48px; margin-top: var(--group); }
.hero-lead { font-size: 20px; color: var(--muted); }
.hero-cta { justify-self: end; }
.proof { padding-block: 0 var(--section); }
.section-intro, .section-head, .why-intro, .pipeline-head { margin-bottom: var(--group); }
.section-label, .plan-name { margin-bottom: 20px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.lead, .section-copy, .pipeline-head > p, .pricing-copy > p:not(.section-label) { margin-top: 24px; max-width: 760px; color: var(--muted); font-size: 18px; }
.why-section, .investor-thesis { background: var(--surface); }
.proof-grid, .why-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.proof-item, .why-item { padding: var(--row); }
.proof-item:first-child, .why-item:first-child { padding-left: 0; }
.proof-item:last-child, .why-item:last-child { padding-right: 0; }
.proof-item + .proof-item, .why-item + .why-item { border-left: 1px solid var(--line); }
.proof-number { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.proof-copy, .why-item p, .why-proof-item p, .principle p, .thesis-point p, .pipeline-content p, .plan p { color: var(--muted); }
.why-number, .principle-index, .pipeline-index { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.why-number { margin-bottom: 24px; }
.why-item p, .pipeline-content p { margin-top: 16px; }
.why-punch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--group); padding-top: var(--group); align-items: start; }
.why-punch h3, .thesis-close h3 { font-size: 32px; }
.why-punch p { color: var(--muted); }
.why-proof { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: var(--group); border-block: 1px solid var(--line); }
.why-proof-item { padding: var(--row); }
.why-proof-item:first-child { padding-left: 0; }
.why-proof-item:last-child { padding-right: 0; }
.why-proof-item + .why-proof-item { border-left: 1px solid var(--line); }
.why-proof-item strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.why-proof-item p { font-size: 14px; }
.principles, .thesis-points, .plans { border-top: 1px solid var(--line); }
.principle, .thesis-point, .plan { display: grid; align-items: start; gap: 32px; padding-block: var(--row); border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0 }
.principle { grid-template-columns: 48px minmax(0,.7fr) minmax(0,1fr); }
.statement { background: var(--ink); color: #fff; }
.statement-inner { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: end; gap: var(--group); }
.statement p, .statement .quiet { color: #c4cdc7; }
.thesis-point { grid-template-columns: 120px minmax(0,1fr); }
.thesis-stat { font-size: 40px; line-height: 1.2; font-weight: 500; }
.thesis-point p { margin-top: 16px; max-width: 850px; }
.thesis-point a { display: inline-block; margin-top: 16px; font-size: 14px; overflow-wrap: anywhere; }
.thesis-close { margin-top: var(--group); max-width: 960px; }

/* Process grid */
.pipeline-visual { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pipeline-visual::after { content: ""; min-height: 240px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.pipeline-node { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pipeline-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pipeline-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; }
.pipeline-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pipeline-icon text { fill: currentColor; stroke: none; font-size: 10px; font-weight: 600; }
.pipeline-content { display: block; }
.pipeline-content p { margin-top: 22px; }
.pipeline-arrow { display: none; }
.pipeline-note { margin-top: 24px; max-width: 850px; font-size: 14px; color: var(--muted); }
.pipeline-section { padding-bottom: 0; }
.pricing-wrap { display: grid; gap: var(--group); }
.plan { grid-template-columns: minmax(0,1fr) minmax(180px,auto); gap: 48px; }
.plan-name { margin-bottom: 12px; }
.plan-main p { margin-top: 16px; max-width: 780px; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.plan-price { font-size: 32px; font-weight: 500; text-align: right; }
.plan-price > span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.featured .plan-name { color: var(--accent); }
.final { padding-top: 0; }
.final-box { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: var(--group); align-items: end; border-top: 1px solid var(--line); padding-top: var(--section); }
footer { padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer-layout { border-top: 1px solid var(--line); padding-top: 24px; }
.footer-main-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-main-row > span:first-child { color: var(--ink); font-weight: 700; }
.brand-ownership { margin-top: 24px; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; --section: 80px; --group: 48px; --h1: 64px; --h2: 40px; }
  html { scroll-padding-top: 136px; }
  .nav { grid-template-columns: 1fr auto; gap: 0 24px; padding-top: 8px; }
  .nav-links { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: 0 24px; padding-block: 4px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .hero-bottom, .statement-inner, .final-box { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { justify-self: start; }
  .why-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-proof-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .why-proof-item:nth-child(even) { padding-right: 0; }
  .why-proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pipeline-visual { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pipeline-visual::after { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --section: 64px; --group: 40px; --row: 24px; --h1: 44px; --h2: 32px; --h3: 22px; }
  html { scroll-padding-top: 88px; }
  .nav { min-height: 64px; padding-top: 0; }
  .nav-links { display: none; }
  .hero-lead, .lead, .section-copy, .pipeline-head > p, .pricing-copy > p:not(.section-label) { font-size: 17px; }
  .proof-grid, .why-grid, .why-proof, .why-punch { grid-template-columns: 1fr; }
  .proof-item, .why-item, .why-proof-item { padding-inline: 0; }
  .proof-item + .proof-item, .why-item + .why-item, .why-proof-item + .why-proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .why-punch h3, .thesis-close h3 { font-size: 26px; }
  .principle { grid-template-columns: 32px minmax(0,1fr); gap: 16px; }
  .principle p { grid-column: 2; }
  .thesis-point { grid-template-columns: 1fr; gap: 20px; }
  .thesis-stat { font-size: 32px; }
  .pipeline-visual { grid-template-columns: 1fr; }
  .pipeline-visual { border-left: 0; }
  .pipeline-node { min-height: 0; gap: 44px; padding: 28px 0 32px; border-right: 0; }
  .pipeline-top { justify-content: flex-start; gap: 24px; }
  .plan { grid-template-columns: 1fr; gap: 24px; }
  .plan-price { text-align: left; }
  .footer-main-row { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
