:root {
  --ink: #102124;
  --ink-soft: #385056;
  --paper: #f4f2e9;
  --paper-2: #ebe7da;
  --white: #fffef9;
  --line: #c8c8bb;
  --line-dark: #6f7e7d;
  --signal: #c8ff4d;
  --signal-dark: #507a00;
  --teal: #0d3f42;
  --teal-2: #145a5d;
  --rust: #d8572a;
  --amber: #f3c253;
  --blue: #b9dbff;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(16, 33, 36, 0.12);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(16, 33, 36, 0.15);
  background: rgba(244, 242, 233, 0.92);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 15px; letter-spacing: 0.02em; }
.brand small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--ink-soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus { color: var(--teal-2); text-decoration: underline; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 690px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px 72px;
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 40px;
  right: 10%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(13, 63, 66, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(13, 63, 66, 0.035), 0 0 0 116px rgba(13, 63, 66, 0.025);
  content: "";
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.signal-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal-dark);
  box-shadow: 0 0 0 4px rgba(80, 122, 0, 0.12);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 { max-width: 790px; font-size: clamp(50px, 6.2vw, 90px); }
h1 em { color: var(--teal-2); font-weight: 500; }
h2 { font-size: clamp(40px, 4.7vw, 68px); }
h3 { line-height: 1.15; }
.hero-lede { max-width: 700px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.65vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 9px 22px rgba(16, 33, 36, 0.18); }
.button-primary:hover { background: var(--teal); }
.button-secondary { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: var(--white); }
.button-quiet { border-color: var(--line-dark); background: transparent; color: inherit; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; color: var(--ink-soft); font-size: 13px; list-style: none; }
.trust-list li::before { margin-right: 7px; color: var(--signal-dark); content: "✓"; font-weight: 900; }

.hero-console {
  transform: rotate(1.3deg);
  border: 1px solid #263b3d;
  border-radius: 20px;
  background: var(--ink);
  color: #f5f8ef;
  box-shadow: 24px 32px 0 rgba(216, 87, 42, .16), var(--shadow);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.12); background: #172d30; }
.console-bar span { width: 9px; height: 9px; border-radius: 50%; background: #637779; }
.console-bar span:first-child { background: var(--rust); }
.console-bar span:nth-child(2) { background: var(--amber); }
.console-bar span:nth-child(3) { background: var(--signal); }
.console-bar b { margin-left: auto; color: #9db0b0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 600; }
.console-body { padding: 34px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.console-kicker { margin: 0; color: var(--signal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.console-route { margin: 9px 0 25px; font-family: Georgia, serif; font-size: clamp(31px, 3.1vw, 46px); line-height: 1; }
.console-rule { height: 1px; margin-bottom: 22px; background: rgba(255,255,255,.15); }
.console-body > p:not(.console-kicker):not(.console-route):not(.console-status) { display: flex; gap: 16px; justify-content: space-between; margin: 13px 0; font-size: 12px; }
.console-body p span { color: #89a0a2; }
.console-body p strong { max-width: 65%; text-align: right; }
.console-status { margin: 27px 0 0; color: var(--amber); font-size: 10px; font-weight: 800; letter-spacing: .04em; }

/* V13: plain-language route before the advanced decision lab */
.home-v13 .hero { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); }
.home-v13 .hero h1 { font-size: clamp(52px, 5.55vw, 82px); }
.quick-route-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #263b3d;
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 22px 28px 0 rgba(216, 87, 42, .15), var(--shadow);
}
.quick-route-heading { margin-bottom: 19px; }
.quick-route-heading .console-kicker { color: var(--signal); }
.quick-route-heading h2 {
  max-width: 520px;
  margin-top: 9px;
  color: var(--white);
  font-size: clamp(27px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.quick-route-options { display: grid; gap: 8px; }
.quick-route-option {
  display: grid;
  width: 100%;
  gap: 2px;
  padding: 13px 15px;
  border: 1px solid #496063;
  border-radius: 12px;
  background: #173033;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}
.quick-route-option:hover { border-color: #91aaac; transform: translateY(-1px); }
.quick-route-option:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.quick-route-option[aria-pressed="true"] { border-color: var(--signal); background: #254039; box-shadow: inset 4px 0 0 var(--signal); }
.quick-route-option span { color: #a8babb; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.quick-route-option strong { font-size: 15px; line-height: 1.25; }
.quick-route-option small { color: #d7dfda; font-size: 11px; }
.quick-route-result {
  margin-top: 13px;
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.quick-route-result[data-route="cloud"] { box-shadow: inset 5px 0 0 var(--blue); }
.quick-route-result[data-route="managed"] { box-shadow: inset 5px 0 0 var(--amber); }
.quick-route-result[data-route="vps"] { box-shadow: inset 5px 0 0 var(--signal-dark); }
.quick-route-kicker { margin: 0; color: var(--teal-2); font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.quick-route-result h3 { margin: 5px 0 7px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.quick-route-result > p:not(.quick-route-kicker) { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.quick-route-result dl { margin: 12px 0; }
.quick-route-result dl div { display: grid; grid-template-columns: 76px 1fr; gap: 9px; padding-top: 10px; border-top: 1px solid var(--line); }
.quick-route-result dt { color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.quick-route-result dd { margin: 0; font-size: 11px; font-weight: 750; line-height: 1.4; }
.quick-route-result .button { width: 100%; min-height: 44px; padding: 10px 15px; font-size: 12px; }
.quick-route-noscript { margin: 15px 0 0; color: #c6d1d1; font-size: 11px; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-width: 1px 0;
}
.proof-strip article { display: flex; align-items: center; gap: 16px; min-height: 105px; padding: 22px 24px; border-right: 1px solid var(--line); }
.proof-strip article:last-child { border: 0; }
.proof-strip strong { color: var(--rust); font-family: Georgia, serif; font-size: 27px; font-style: italic; }
.proof-strip span { font-size: 13px; font-weight: 750; line-height: 1.35; }

.section { max-width: var(--max); margin: 0 auto; padding: 116px 24px; }
.section-heading { max-width: 850px; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 19px; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; max-width: none; align-items: end; }
.split-heading > p:last-child { margin: 0; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model-card { position: relative; min-height: 400px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.36); overflow: hidden; }
.model-card::after { position: absolute; right: -45px; bottom: -55px; width: 160px; height: 160px; border: 24px solid rgba(16,33,36,.04); border-radius: 50%; content: ""; }
.model-number { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 20px; }
.model-label { margin: 54px 0 5px; color: var(--ink-soft); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.model-card h3 { margin: 0; font-family: Georgia, serif; font-size: 35px; font-weight: 500; }
.model-card > p:not(.model-label) { color: var(--ink-soft); }
.model-card ul { margin: 27px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 14px; list-style: none; }
.model-card li { position: relative; margin: 10px 0; padding-left: 18px; }
.model-card li::before { position: absolute; left: 0; color: var(--rust); content: "→"; }
.cloud-card { background: #e5f0ef; }
.managed-card { background: #f4e8ce; }
.vps-card { background: #e8e6f0; }

.lab-section { padding: 110px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.lab-heading { max-width: 800px; margin-bottom: 52px; }
.lab-heading .eyebrow { color: var(--signal); }
.lab-heading > p:last-child { max-width: 720px; margin: 24px 0 0; color: #b4c2c2; font-size: 18px; }
.decision-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: 24px; align-items: start; }
.input-panel { padding: clamp(24px, 4vw, 48px); border: 1px solid #4c6264; border-radius: 22px; background: #142a2d; }
fieldset { min-width: 0; margin: 0 0 42px; padding: 0 0 40px; border: 0; border-bottom: 1px solid #3b5153; }
fieldset:last-of-type { margin-bottom: 25px; }
legend { width: 100%; margin: 0 0 24px; padding: 0; font-family: Georgia, serif; font-size: 26px; }
legend span { display: inline-grid; width: 32px; height: 32px; margin-right: 9px; place-items: center; border-radius: 50%; background: var(--signal); color: var(--ink); font-family: ui-sans-serif, sans-serif; font-size: 13px; font-weight: 900; vertical-align: 4px; }
.field-grid { display: grid; gap: 20px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: block; color: #ecf3ef; font-size: 13px; font-weight: 750; }
label small { display: block; margin-top: 7px; color: #91a6a7; font-size: 11px; font-weight: 500; line-height: 1.4; }
input[type="number"], select {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #557073;
  border-radius: 9px;
  outline: 0;
  background: #0d1f21;
  color: var(--white);
}
input:focus, select:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(200,255,77,.14); }
select { color-scheme: dark; }
.check-stack { display: grid; gap: 10px; margin-top: 21px; }
.check-row { display: flex; gap: 13px; align-items: flex-start; padding: 15px; border: 1px solid #40585a; border-radius: 11px; background: rgba(255,255,255,.02); cursor: pointer; }
.check-row:hover { border-color: #728a8b; }
.check-row input { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--signal); }
.check-row strong { display: block; font-size: 13px; }
.check-row small { margin: 3px 0 0; }
.assumption-details { margin-bottom: 27px; border: 1px solid #4c6264; border-radius: 12px; background: #0d2022; }
.assumption-details summary { padding: 16px 18px; cursor: pointer; font-size: 13px; font-weight: 800; }
.assumption-details summary span { float: right; color: var(--signal); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.details-body { padding: 8px 18px 22px; border-top: 1px solid #344a4c; }
.details-body h3 { margin: 22px 0 12px; color: var(--signal); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.full-button { width: 100%; background: var(--signal); color: var(--ink); box-shadow: none; }
.full-button:hover { background: #dcff8f; }
.privacy-note { margin: 13px 0 0; color: #91a6a7; font-size: 11px; text-align: center; }

.result-panel {
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 118px);
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  background: #f5f3e8;
  color: var(--ink);
  box-shadow: 0 25px 70px rgba(0,0,0,.22);
  overflow-y: auto;
}
.result-overline { margin: 0; color: var(--rust); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.result-panel > h3 { margin: 9px 0 0; font-family: Georgia, serif; font-size: clamp(32px, 3vw, 45px); font-weight: 500; letter-spacing: -.035em; }
.route-thesis { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.result-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); font-size: 10px; font-weight: 800; }
.fx-summary { margin: 8px 0 0; color: #657678; font-size: 10px; }
.cost-stack { display: grid; gap: 9px; margin-top: 24px; }
.cost-card { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.5); }
.cost-card.is-selected { border: 2px solid var(--teal-2); background: #e2eeee; box-shadow: 4px 4px 0 rgba(13,63,66,.12); }
.cost-card p { margin: 0; font-size: 13px; font-weight: 900; }
.cost-card small { display: block; margin-top: 1px; color: #657678; font-size: 9px; }
.cost-card > strong { align-self: center; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.cost-card dl { grid-column: 1 / -1; display: flex; gap: 15px; margin: 2px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.cost-card dl div { display: flex; gap: 5px; }
.cost-card dt, .cost-card dd { margin: 0; font-size: 9px; }
.cost-card dt { color: #6f7e7d; text-transform: uppercase; }
.cost-card dd { font-weight: 800; }
.result-block { margin-top: 25px; }
.result-block h4 { margin: 0 0 9px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.result-block ul { margin: 0; padding: 0; list-style: none; }
.result-block li { position: relative; margin: 7px 0; padding-left: 18px; color: var(--ink-soft); font-size: 12px; }
.result-block li::before { position: absolute; left: 0; color: var(--signal-dark); content: "✓"; font-weight: 900; }
.warning-block { padding: 15px; border: 1px solid #e0c98d; border-radius: 10px; background: #fff3cf; }
.warning-block li::before { color: var(--rust); content: "!"; }
.memo-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 22px; }
.memo-actions .button { min-height: 42px; padding: 9px 12px; border-color: var(--line-dark); color: var(--ink); font-size: 11px; }
.memo-actions .button:last-child { grid-column: 1 / -1; }

.ownership-section { padding-bottom: 90px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
thead th { background: var(--ink); color: var(--white); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
tbody th { min-width: 210px; background: #f0eee4; font-size: 13px; }
td { min-width: 155px; color: var(--ink-soft); }
.is-route-column { background: #e8f3cd; color: var(--ink); font-weight: 850; }
.contract-callout { display: grid; grid-template-columns: .35fr 1fr .55fr; gap: 35px; align-items: center; margin-top: 25px; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.contract-callout .eyebrow { margin: 0; }
.contract-callout blockquote { margin: 0; font-family: Georgia, serif; font-size: 22px; line-height: 1.35; }
.contract-callout > p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }

.proof-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; padding: 110px max(24px, calc((100vw - var(--max)) / 2)); background: #dfe9e7; }
.proof-copy { position: sticky; top: 110px; align-self: start; }
.proof-copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; }
.evidence-note { margin-top: 28px; padding: 18px; border-left: 4px solid var(--rust); background: rgba(255,255,255,.48); font-size: 13px; }
.test-plan { margin: 0; padding: 0; list-style: none; counter-reset: plan; }
.test-plan li { position: relative; min-height: 105px; margin: 0 0 12px; padding: 24px 25px 24px 92px; border: 1px solid #aebfbd; border-radius: 14px; background: rgba(255,255,255,.65); counter-increment: plan; font-family: Georgia, serif; font-size: 20px; line-height: 1.35; }
.test-plan li::before { position: absolute; top: 21px; left: 24px; display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--signal); content: counter(plan, decimal-leading-zero); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; }

.lab-evidence-teaser { padding-top: 105px; padding-bottom: 105px; }
.evidence-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.evidence-metrics article { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 12px 30px rgba(16,33,36,.06); }
.evidence-metrics span, .evidence-metrics small { display: block; }
.evidence-metrics span { color: var(--rust); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.evidence-metrics strong { display: block; margin-top: 25px; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 38px); font-weight: 500; line-height: 1.05; }
.evidence-metrics small { margin-top: 9px; color: var(--ink-soft); font-size: 11px; }
.evidence-boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.evidence-boundary-grid article { padding: 28px; border-radius: 14px; background: var(--ink); color: var(--white); }
.evidence-boundary-grid article:last-child { background: #27383a; }
.evidence-boundary-grid .eyebrow { color: var(--signal); }
.evidence-boundary-grid ul { margin: 22px 0 0; padding: 0; list-style: none; }
.evidence-boundary-grid li { position: relative; margin-top: 10px; padding-left: 22px; color: #dce6e1; font-size: 13px; }
.evidence-boundary-grid li::before { position: absolute; left: 0; color: var(--signal); content: "•"; font-weight: 900; }
.evidence-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.evidence-actions .button-secondary { border-color: var(--line-dark); color: var(--ink); }

.evidence-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .5fr); gap: 70px; align-items: center; min-height: 690px; padding: 100px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.evidence-hero h1 { max-width: 900px; }
.evidence-hero h1 em { color: var(--signal); }
.evidence-hero .hero-lede { max-width: 800px; color: #bcc9c6; }
.evidence-hero .button-quiet { border-color: #7e9293; color: var(--white); }
.evidence-verdict { padding: 32px; border: 1px solid #5b7071; border-radius: 20px; background: #162f32; box-shadow: 14px 18px 0 rgba(200,255,77,.09); }
.evidence-verdict > p { margin: 0; color: var(--signal); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.evidence-verdict > strong { display: block; margin: 9px 0 27px; font-family: Georgia, serif; font-size: 46px; font-weight: 500; }
.evidence-verdict dl { margin: 0; }
.evidence-verdict dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid #466062; }
.evidence-verdict dt, .evidence-verdict dd { margin: 0; font-size: 12px; }
.evidence-verdict dt { color: #98acac; }
.evidence-verdict dd { font-weight: 850; text-align: right; }

.evidence-result-section { padding: 110px max(24px, calc((100vw - var(--max)) / 2)); background: #dfe9e7; }
.evidence-result-heading { max-width: 820px; }
.evidence-result-heading > p:last-child { margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; }
.result-ledger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 50px; }
.result-ledger article { min-height: 240px; padding: 26px; border: 1px solid #a7bab8; border-radius: 15px; background: rgba(255,255,255,.62); }
.result-ledger span { display: block; min-height: 33px; color: var(--ink-soft); font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.result-ledger strong { display: block; margin-top: 30px; font-family: Georgia, serif; font-size: clamp(35px, 4vw, 50px); font-weight: 500; line-height: 1; }
.result-ledger p { margin: 20px 0 0; color: var(--ink-soft); font-size: 12px; }
.assertion-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; margin-top: 14px; padding: 35px; border-radius: 16px; background: var(--ink); color: var(--white); }
.assertion-card .eyebrow { color: var(--signal); }
.assertion-card h3 { margin: 10px 0 0; font-family: Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1.15; }
.assertion-card dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: #4a6163; }
.assertion-card dl div { padding: 18px; background: #1a3335; }
.assertion-card dt, .assertion-card dd { margin: 0; }
.assertion-card dt { min-height: 35px; color: #9fb2b2; font-size: 10px; text-transform: uppercase; }
.assertion-card dd { margin-top: 13px; color: var(--signal); font-family: ui-monospace, monospace; font-size: 18px; font-weight: 850; }

.recovery-section { padding-top: 105px; padding-bottom: 105px; }
.recovery-timeline { max-width: 900px; margin: 45px 0 0 auto; padding: 0; list-style: none; }
.recovery-timeline li { display: grid; grid-template-columns: 65px 1fr; gap: 22px; margin-top: 12px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.recovery-timeline li > span { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--signal); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; }
.recovery-timeline h3 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.recovery-timeline p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }

.boundary-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; padding: 105px max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper-2); }
.boundary-copy p:last-child { color: var(--ink-soft); }
.boundary-grid { display: grid; gap: 12px; }
.boundary-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.boundary-grid .boundary-passed { border-left: 6px solid var(--signal-dark); }
.boundary-grid .boundary-not-proven { border-left: 6px solid var(--rust); }
.boundary-label { margin: 0; font-size: 11px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.boundary-grid ul { margin: 20px 0 0; padding-left: 20px; }
.boundary-grid li { margin-top: 9px; color: var(--ink-soft); font-size: 14px; }

.evidence-reproduce { padding-top: 90px; padding-bottom: 90px; }
.reproduce-card { display: grid; grid-template-columns: 1fr .45fr; gap: 60px; align-items: center; padding: clamp(30px, 5vw, 60px); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.reproduce-card p { color: var(--ink-soft); }
.hash-line { margin-top: 25px; }
.hash-line span { display: block; margin-bottom: 7px; color: var(--rust); font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.hash-line code { display: block; max-width: 100%; padding: 11px; border-radius: 7px; background: var(--paper-2); color: var(--teal); font-size: 11px; overflow-wrap: anywhere; }
.reproduce-actions { display: grid; gap: 10px; }
.reproduce-actions .button { width: 100%; }
.reproduce-actions .button-secondary { border-color: var(--line-dark); color: var(--ink); }
.evidence-caveat { margin: 18px 0 0; color: var(--ink-soft); font-size: 11px; text-align: center; }

.decision-next { padding-top: 90px; padding-bottom: 90px; }
.next-card { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: 25px; background: var(--rust); color: var(--white); box-shadow: var(--shadow); }
.next-card .eyebrow { color: #ffeebd; }
.next-card h2 { max-width: 650px; }
.next-card > div > p:last-child { max-width: 650px; color: #ffe6dc; }
.next-action { padding: 24px; border: 1px solid rgba(255,255,255,.35); border-radius: 17px; background: rgba(70,15,5,.14); text-align: center; }
.next-action .button { width: 100%; background: var(--white); color: var(--ink); box-shadow: none; }
.next-action p { margin: 13px 0 0; color: #ffe6dc; font-size: 11px; }

.sources-section { padding-top: 80px; }
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.source-grid article { display: flex; min-height: 315px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.45); }
.source-grid article > span { color: var(--rust); font-family: Georgia, serif; font-size: 24px; font-style: italic; }
.source-grid h3 { margin: 28px 0 10px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.source-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.source-grid a { margin-top: auto; padding-top: 20px; color: var(--teal-2); font-size: 12px; font-weight: 850; }
.source-caveat { margin: 22px 0 0; color: var(--ink-soft); font-size: 12px; }

.faq-section { padding: 100px max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper-2); }
.faq-section > h2 { max-width: 850px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 45px; }
.faq-grid details { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq-grid summary { cursor: pointer; font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.faq-grid p { margin: 15px 0 0; color: var(--ink-soft); font-size: 14px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 36px; padding: 65px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { background: var(--signal); color: var(--ink); }
.footer-brand small { color: #9db0b0; }
footer > div > p { margin: 18px 0 0; color: #9db0b0; font-size: 13px; }
footer nav { display: flex; gap: 22px; align-items: start; }
footer nav a { color: #d9e2dc; font-size: 13px; }
.footer-status { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid #344a4c; color: #849a9b; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.legal-main { max-width: 920px; min-height: 70vh; margin: 0 auto; padding: 90px 24px 120px; }
.legal-main h1 { font-size: clamp(48px, 6vw, 76px); }
.legal-lede { margin: 27px 0 55px; color: var(--ink-soft); font-size: 20px; }
.legal-section { margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 34px; }
.legal-section h3 { margin-top: 28px; font-family: Georgia, serif; font-size: 23px; }
.legal-section p, .legal-section li { color: var(--ink-soft); }
.legal-section code { padding: 2px 5px; border-radius: 4px; background: var(--paper-2); color: var(--teal); }
.legal-section table { margin-top: 20px; background: var(--white); }
.not-found { display: grid; min-height: 70vh; place-items: center; padding: 40px 24px; text-align: center; }
.not-found h1 { font-size: 76px; }
.not-found p { color: var(--ink-soft); }

/* V12: workload-measured n8n VPS purchase gate */
.sizer-hero h1 { font-size: clamp(48px, 5.65vw, 82px); }
.sizer-console { box-shadow: 24px 32px 0 rgba(200, 255, 77, .12), var(--shadow); }
.sizer-boundary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sizer-boundary-grid article { min-height: 390px; }
.sizer-boundary-grid h3 { margin: 17px 0 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.sizer-boundary-grid a { display: inline-block; margin-top: 18px; color: var(--teal-2); font-size: 13px; font-weight: 850; }
.field-gap-top { margin-top: 22px; }
.sizer-lab .decision-layout { grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr); }
.sizing-result[data-state="pass"] { border: 3px solid var(--signal-dark); }
.sizing-result[data-state="fail"] { border: 3px solid var(--rust); }
.sizing-result[data-state="retest"],
.sizing-result[data-state="not-ready"] { border: 3px solid #d29a22; }
.sizing-result[data-state="reference"] { border: 3px solid #7f9697; }
.sizing-result[data-state="invalid"] { border: 3px solid var(--line-dark); }
.sizing-meter { margin-top: 25px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.sizing-meter-head, .sizing-meter-foot { display: flex; justify-content: space-between; gap: 15px; }
.sizing-meter-head span { color: var(--ink-soft); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.sizing-meter-head strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; }
.sizing-track { position: relative; height: 13px; margin: 14px 0 10px; border-radius: 999px; background: #d9ded7; overflow: visible; }
.sizing-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal-2); transition: width 180ms ease; }
.sizing-result[data-state="fail"] .sizing-track span { background: var(--rust); }
.sizing-result[data-state="retest"] .sizing-track span,
.sizing-result[data-state="not-ready"] .sizing-track span { background: #d29a22; }
.sizing-track i { position: absolute; top: -5px; width: 2px; height: 23px; background: var(--ink); transform: translateX(-1px); }
.sizing-meter-foot span { color: #667879; font-size: 9px; }
.gate-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 11px; }
.gate-summary article { min-width: 0; padding: 12px 9px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.58); }
.gate-summary span, .gate-summary strong { display: block; }
.gate-summary span { min-height: 30px; color: #667879; font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.gate-summary strong { margin-top: 7px; font-size: 11px; overflow-wrap: anywhere; }
.sizing-result .result-block > p { margin: 0 0 9px; font-size: 10px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.sizing-result .result-block ul { margin: 0; padding: 0; list-style: none; }
.sizing-result .result-block li { position: relative; margin: 9px 0; padding-left: 18px; color: var(--ink-soft); font-size: 12px; }
.sizing-result .result-block ul li::before { position: absolute; left: 0; color: var(--signal-dark); content: "✓"; font-weight: 900; }
.sizing-actions { margin: 0; padding-left: 23px; }
.sizing-actions li { padding-left: 4px !important; }
.sizing-actions li::before { content: none !important; }
.sizing-result-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 25px; }
.sizing-result-actions .button { width: 100%; }
.sizing-result-actions .button-quiet { border-color: var(--line-dark); }
.sizing-disclosure { margin: 16px 0 0; color: #697b7c; font-size: 9px; line-height: 1.45; }
.test-method-section { padding-bottom: 70px; }
.sizing-runbook { max-width: 1000px; }
.route-section { padding-top: 70px; }
.route-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.route-card-grid article { display: flex; min-height: 430px; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.route-card-grid article:first-child { background: #e5f0ef; }
.route-card-grid article:last-child { background: #f4e8ce; }
.route-card-grid h2 { font-size: clamp(38px, 4vw, 57px); }
.route-card-grid article > p:not(.eyebrow) { color: var(--ink-soft); }
.route-card-grid .button { margin-top: auto; }
.route-card-grid small { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 10px; }
.route-card-grid small code { overflow-wrap: anywhere; word-break: break-all; }
.sizer-source-grid article { min-height: 350px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .home-v13 .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-console { width: min(640px, 100%); transform: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .model-grid { grid-template-columns: 1fr; }
  .model-card { min-height: 0; }
  .model-label { margin-top: 30px; }
  .decision-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; max-height: none; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-metrics, .result-ledger { grid-template-columns: repeat(2, 1fr); }
  .evidence-hero { grid-template-columns: 1fr; min-height: auto; }
  .evidence-verdict { max-width: 620px; }
  .assertion-card { grid-template-columns: 1fr; }
  .boundary-section { grid-template-columns: 1fr; }
  .sizer-boundary-grid { grid-template-columns: 1fr; }
  .sizer-boundary-grid article { min-height: 0; }
  .sizer-lab .decision-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { position: static; min-height: 66px; padding: 11px 18px; }
  .site-header nav { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { gap: 48px; padding: 60px 20px 65px; }
  .hero::before { display: none; }
  h1 { font-size: clamp(45px, 14vw, 67px); }
  h2 { font-size: clamp(38px, 11vw, 55px); }
  .hero-lede { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-console { box-shadow: 10px 14px 0 rgba(216,87,42,.14); }
  .home-v13 .hero h1 { font-size: clamp(45px, 13vw, 63px); }
  .quick-route-card { padding: 18px; box-shadow: 9px 12px 0 rgba(216,87,42,.14); }
  .quick-route-heading h2 { font-size: 29px; }
  .quick-route-option { padding: 12px; }
  .quick-route-result { padding: 16px; }
  .console-body { padding: 26px 20px; }
  .proof-strip { grid-template-columns: 1fr; margin: 0 20px; }
  .proof-strip article { min-height: 80px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .section { padding: 82px 20px; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .model-card { padding: 25px; }
  .lab-section { padding: 82px 16px; }
  .input-panel, .result-panel { padding: 23px 18px; border-radius: 17px; }
  .two-columns, .three-columns { grid-template-columns: 1fr; }
  .memo-actions { grid-template-columns: 1fr; }
  .memo-actions .button:last-child { grid-column: auto; }
  .cost-card { grid-template-columns: minmax(0,1fr) auto; }
  .contract-callout { grid-template-columns: 1fr; gap: 14px; padding: 23px; }
  .proof-section { grid-template-columns: 1fr; gap: 42px; padding: 82px 20px; }
  .proof-copy { position: static; }
  .test-plan li { padding: 78px 20px 22px; font-size: 18px; }
  .test-plan li::before { top: 19px; left: 20px; }
  .evidence-metrics, .evidence-boundary-grid, .result-ledger, .assertion-card dl { grid-template-columns: 1fr; }
  .evidence-metrics article { min-height: 150px; }
  .evidence-hero, .evidence-result-section, .boundary-section { padding: 82px 20px; }
  .evidence-hero { gap: 45px; }
  .evidence-verdict { padding: 24px; }
  .result-ledger article { min-height: 190px; }
  .assertion-card { padding: 24px 20px; gap: 28px; }
  .assertion-card dl { gap: 1px; }
  .assertion-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .assertion-card dt { min-height: 0; }
  .assertion-card dd { margin-top: 0; text-align: right; }
  .recovery-timeline li { grid-template-columns: 1fr; }
  .boundary-section { gap: 35px; }
  .reproduce-card { grid-template-columns: 1fr; gap: 30px; padding: 28px 20px; }
  .next-card { grid-template-columns: 1fr; gap: 30px; padding: 35px 24px; }
  .source-grid, .faq-grid { grid-template-columns: 1fr; }
  .source-grid article { min-height: 280px; }
  .gate-summary, .route-card-grid { grid-template-columns: 1fr; }
  .gate-summary span { min-height: 0; }
  .route-card-grid article { min-height: 360px; }
  .faq-section { padding: 82px 20px; }
  footer { grid-template-columns: 1fr; padding: 55px 20px; }
  footer nav { flex-wrap: wrap; }
  .footer-status { grid-column: auto; }
  .legal-main { padding-top: 65px; }
  th, td { padding: 15px; }
}

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