:root {
  --ink: #17201e;
  --muted: #68716e;
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --surface-2: #ebe8df;
  --line: #d8d5cc;
  --forest: #173c36;
  --forest-2: #24564e;
  --mint: #a9d7c8;
  --mint-pale: #dfefe9;
  --coral: #eb735d;
  --coral-pale: #fde7e1;
  --amber: #d69b3b;
  --amber-pale: #faedcf;
  --blue: #487d91;
  --blue-pale: #dfecef;
  --shadow: 0 18px 50px rgba(23, 32, 30, 0.09);
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-display: Charter, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 4%, rgba(169, 215, 200, 0.28), transparent 22rem),
    var(--paper);
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid rgba(235, 115, 93, 0.42);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark-light { color: #f8f4e9; }
.mark { display: inline-flex; align-items: end; gap: 3px; width: 25px; height: 23px; }
.mark i { display: block; width: 5px; border-radius: 5px; background: var(--coral); }
.mark i:nth-child(1) { height: 9px; }
.mark i:nth-child(2) { height: 16px; background: var(--mint); }
.mark i:nth-child(3) { height: 23px; background: #f2d18e; }

.eyebrow {
  margin: 0 0 11px;
  color: var(--forest-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.eyebrow-light { color: var(--mint); }
.muted { color: var(--muted); line-height: 1.6; }

.section-shell { width: min(100% - 48px, 1240px); margin-inline: auto; }
.landing-view { overflow: hidden; background: var(--surface); }
.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  width: min(100% - 48px, 1320px);
  min-height: 86px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(23, 60, 54, .13);
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav a, .text-link { color: #4f5b57; font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .text-link:hover { color: var(--forest); }
.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.site-actions .button { min-height: 38px; padding: 9px 15px; color: white; text-decoration: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, .83fr) minmax(560px, 1.17fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding-block: 90px 112px;
}
.hero::before {
  position: absolute;
  z-index: 0;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(36, 86, 78, .08);
  border-radius: 50%;
  content: "";
  right: -330px;
  top: -150px;
  box-shadow: 0 0 0 110px rgba(169, 215, 200, .05), 0 0 0 230px rgba(169, 215, 200, .025);
}
.hero-copy, .hero-product { position: relative; z-index: 1; }
.hero h1, .section-heading h2, .calculator-copy h2, .security-copy h2, .closing-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.052em;
}
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(58px, 6vw, 82px); line-height: .97; }
.hero-lede { max-width: 620px; margin: 26px 0 0; color: #57635f; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-large { min-height: 50px; padding: 13px 20px; text-decoration: none; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 0; padding: 0; color: #5e6a66; font-size: 13px; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof span { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint-pale); font-size: 10px; font-weight: 800; }

.hero-product { perspective: 1000px; }
.preview-window { position: relative; overflow: hidden; border: 1px solid rgba(23, 60, 54, .2); border-radius: 16px; background: #fbfaf6; box-shadow: 0 35px 90px rgba(25, 49, 44, .18); }
.landing-ready .preview-window { animation: product-float 7s 1s ease-in-out infinite; }
.preview-window::after {
  position: absolute;
  z-index: 4;
  width: 28%;
  height: 160%;
  content: "";
  top: -30%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}
.landing-ready .preview-window::after { animation: preview-scan 5.5s 1.5s ease-in-out infinite; }
.preview-bar { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #e3e1d9; background: white; }
.preview-brand { display: flex; align-items: center; gap: 8px; color: #30433e; font-size: 10px; font-weight: 800; }
.preview-brand i { width: 9px; height: 14px; border-radius: 8px; background: var(--coral); box-shadow: 6px 0 0 var(--mint), 12px 0 0 #e8c778; }
.preview-layout { display: grid; min-height: 455px; grid-template-columns: 57px 1fr; }
.preview-rail { display: flex; align-items: center; flex-direction: column; gap: 17px; padding: 22px 14px; background: var(--forest); }
.preview-rail > span { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,.08); }
.preview-rail > span.is-active { margin-top: 24px; background: rgba(169,215,200,.22); box-shadow: inset 2px 0 var(--coral); }
.preview-rail .preview-rail-logo { width: 17px; height: 21px; border-radius: 10px; background: var(--mint); }
.preview-main { padding: 25px 24px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-heading > div { display: grid; gap: 5px; }
.preview-heading small { color: var(--forest-2); font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.preview-heading strong { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.health-pill { display: inline-flex; align-items: center; gap: 6px; color: #53605c; font-size: 8px; }
.health-pill i { width: 6px; height: 6px; border-radius: 50%; background: #4d9b7e; box-shadow: 0 0 0 4px rgba(77,155,126,.12); }
.preview-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; overflow: hidden; margin-top: 22px; border: 1px solid #dedbd2; border-radius: 9px; background: #dedbd2; }
.preview-kpis > div { display: grid; min-height: 106px; align-content: space-between; padding: 13px; background: white; }
.preview-kpis span { color: #6d7773; font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.preview-kpis strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.preview-kpis small { color: #818984; font-size: 7px; line-height: 1.4; }
.preview-kpis .withheld strong { color: #8b5f16; font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: 0; }
.preview-lower { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 13px; }
.preview-chart, .preview-finding { min-height: 190px; padding: 15px; border: 1px solid #dedbd2; border-radius: 9px; background: white; }
.preview-card-title { display: flex; align-items: center; justify-content: space-between; color: #76807c; font-size: 7px; }
.preview-card-title strong { color: var(--ink); font-size: 9px; }
.bar-chart { display: flex; height: 126px; align-items: end; gap: 5px; margin-top: 20px; padding: 0 2px 8px; border-bottom: 1px solid #d9d6ce; }
.bar-chart i { width: 100%; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--mint); transform-origin: bottom; animation: bars-in 1.1s cubic-bezier(.22,.75,.2,1) both; }
.bar-chart i:nth-child(3n) { background: #86bdac; }
.preview-finding { display: flex; flex-direction: column; }
.preview-finding p { margin: 32px 0 auto; font-family: var(--font-display); font-size: 15px; line-height: 1.32; }
.evidence-tag { width: fit-content; padding: 5px 7px; border-radius: 9px; color: var(--forest-2); background: var(--mint-pale); font-size: 6px; font-weight: 850; letter-spacing: .07em; }
.preview-caption { margin: 15px 0 0; color: #75807c; font-size: 9px; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
@keyframes product-float { 0%, 100% { transform: translateY(0) rotate(.1deg); } 50% { transform: translateY(-9px) rotate(-.1deg); } }
@keyframes preview-scan { 0%, 22% { left: -45%; opacity: 0; } 35% { opacity: .8; } 62%, 100% { left: 125%; opacity: 0; } }
@keyframes bars-in { from { transform: scaleY(.08); opacity: .35; } }

.trust-strip { display: flex; min-height: 74px; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 72px); padding: 18px 24px; border-top: 1px solid #dad8d0; border-bottom: 1px solid #dad8d0; color: #59645f; background: #f3f1eb; font-size: 9px; font-weight: 820; letter-spacing: .075em; text-transform: uppercase; }
.trust-strip span { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.trust-strip span + span::before { width: 3px; height: 3px; border-radius: 50%; background: var(--coral); content: ""; }

.product-section, .method-section, .evidence-section, .faq-section { padding-block: 130px; }
.section-heading { display: grid; max-width: 760px; grid-template-columns: 1fr; }
.section-heading h2, .calculator-copy h2, .security-copy h2, .closing-section h2 { margin: 0; font-size: clamp(42px, 4.4vw, 60px); line-height: 1.04; }
.section-heading > p:last-child, .calculator-copy > p, .security-copy > p, .closing-section > p { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.outcome-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--line); box-shadow: var(--shadow); }
.outcome-card { min-height: 300px; padding: 27px; background: var(--surface); }
.outcome-card:first-child { border-radius: 13px 0 0 13px; }
.outcome-card:last-child { border-radius: 0 13px 13px 0; }
.outcome-number { color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; }
.outcome-card h3 { max-width: 220px; margin: 94px 0 0; font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.outcome-card p { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.calculator-section { padding-block: 116px; background: #efede6; }
.calculator-heading { max-width: 720px; }
.calculator-card {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(34px, 5vw, 76px);
  margin-top: 52px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #d7d3ca;
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 65px rgba(23,32,30,.08);
}
.calculator-controls { display: grid; align-content: start; gap: 30px; }
.estimate-label { display: grid; gap: 7px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.estimate-label span, .estimate-primary > span { color: var(--forest-2); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.estimate-label strong { font-family: var(--font-display); font-size: 27px; font-weight: 500; }
.range-field { display: grid; gap: 16px; }
.range-field > span { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 15px; }
.range-field > span strong { color: var(--ink); font-weight: 650; }
.range-field output { color: var(--forest-2); font-size: 16px; font-weight: 750; white-space: nowrap; }
.range-field input[type="range"] {
  --range-progress: 50%;
  width: 100%;
  height: 5px;
  margin: 3px 0;
  border: 0;
  border-radius: 99px;
  outline: 0;
  appearance: none;
  background: linear-gradient(90deg, var(--forest) 0 var(--range-progress), #d9d8d1 var(--range-progress) 100%);
}
.range-field input[type="range"]::-webkit-slider-thumb {
  width: 21px;
  height: 21px;
  border: 3px solid white;
  border-radius: 50%;
  appearance: none;
  background: var(--coral);
  box-shadow: 0 0 0 1px rgba(23,32,30,.18), 0 4px 12px rgba(23,32,30,.16);
}
.range-field input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px rgba(23,32,30,.18), 0 4px 12px rgba(23,32,30,.16);
}
.calculator-footnote { margin: 0; color: #7a837f; font-size: 12px; line-height: 1.5; }
.calculator-visual { display: grid; align-content: start; padding: clamp(28px, 4vw, 46px); border-radius: 13px; color: #f8f4e9; background: var(--forest); }
.estimate-primary { display: grid; gap: 8px; }
.estimate-primary > span { color: var(--mint); }
.estimate-primary > strong { font-family: var(--font-display); font-size: clamp(54px, 6vw, 78px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.estimate-primary > small { color: #b8cac4; font-size: 14px; }
.cost-comparison { display: grid; gap: 24px; margin-top: 48px; }
.cost-row { display: grid; gap: 11px; }
.cost-row > span { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #c0d0ca; font-size: 14px; }
.cost-row > span strong { font-weight: 600; }
.cost-row output { color: white; font-weight: 700; }
.cost-track { height: 13px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.12); }
.cost-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: #f0ca7d; transition: width .55s cubic-bezier(.22,.75,.2,1); }
.cost-row-scenario .cost-track i { background: var(--mint); }
.estimate-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.estimate-summary > span { display: grid; gap: 8px; padding: 22px 18px 22px 0; }
.estimate-summary > span + span { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.16); }
.estimate-summary small { color: #a9bcb6; font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.estimate-summary strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.calculator-caveat { margin: 22px 0 0; color: #9fb4ad; font-size: 12px; line-height: 1.55; }

.demo-section { position: relative; overflow: hidden; padding-block: 130px; color: #f8f4e9; background: #102e2a; }
.demo-section::after { position: absolute; width: 680px; height: 680px; border: 1px solid rgba(169,215,200,.12); border-radius: 50%; content: ""; right: -270px; bottom: -440px; box-shadow: 0 0 0 100px rgba(169,215,200,.025); }
.section-heading-light { position: relative; z-index: 1; }
.section-heading-light > p:last-child { color: #adc0b9; }
.film-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.55fr); gap: 30px; margin-top: 60px; }
.film-frame { overflow: hidden; border: 1px solid rgba(169,215,200,.22); border-radius: 12px; background: #081b18; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #081b18; object-fit: cover; }
.film-label { display: flex; min-height: 43px; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid rgba(169,215,200,.16); color: #9db4ad; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.film-chapters { display: grid; align-content: start; gap: 9px; }
.film-chapter { display: grid; gap: 8px; padding: 21px; border: 1px solid rgba(169,215,200,.17); border-radius: 9px; color: #acc0b9; background: transparent; text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.film-chapter:hover { transform: translateX(3px); border-color: rgba(169,215,200,.35); }
.film-chapter.is-active { color: white; border-color: rgba(169,215,200,.48); background: rgba(255,255,255,.065); box-shadow: inset 3px 0 var(--coral); }
.film-chapter > span { color: var(--mint); font-size: 11px; font-weight: 780; letter-spacing: .08em; }
.film-chapter strong { font-family: var(--font-display); font-size: 23px; font-weight: 500; line-height: 1.2; }
.film-chapter small { color: inherit; opacity: .76; font-size: 13px; line-height: 1.5; }
.film-link { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding: 16px 3px; color: var(--mint); border-bottom: 1px solid rgba(169,215,200,.2); font-size: 13px; font-weight: 700; text-decoration: none; }

.method-section { background: var(--surface); }
.method-list { margin: 68px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.method-list li { display: grid; grid-template-columns: 120px minmax(0,1fr); padding: 31px 0; border-bottom: 1px solid var(--line); }
.method-list > li > span { color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; }
.method-list li div { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1fr); gap: 60px; }
.method-list h3 { margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.method-list p { max-width: 610px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.security-section { padding-block: 128px; color: #f8f4e9; background: var(--forest); }
.security-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(560px,1.25fr); align-items: center; gap: clamp(60px, 9vw, 130px); }
.security-copy > p { color: #b5c6c0; }
.button-on-dark { margin-top: 30px; border-color: rgba(169,215,200,.35); color: white; background: rgba(255,255,255,.06); text-decoration: none; }
.button-on-dark:hover { background: rgba(255,255,255,.11); }
.boundary-diagram { display: grid; grid-template-columns: 1fr 105px 1fr; align-items: stretch; }
.boundary-zone { display: grid; min-height: 275px; align-content: start; gap: 13px; padding: 27px; border: 1px solid rgba(169,215,200,.22); border-radius: 11px; }
.boundary-zone span { margin-bottom: 42px; color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.boundary-zone strong { padding: 11px 0; border-bottom: 1px solid rgba(169,215,200,.14); font-size: 14px; font-weight: 600; }
.boundary-hosted { background: rgba(255,255,255,.06); }
.boundary-flow { position: relative; display: grid; place-items: center; color: #a7bdb6; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.boundary-flow::before { position: absolute; width: 100%; height: 1px; background: rgba(169,215,200,.34); content: ""; }
.boundary-flow i { position: absolute; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: boundary-pass 2.8s ease-in-out infinite; }
.boundary-flow span { position: relative; z-index: 2; width: 78px; padding: 7px; background: var(--forest); }
@keyframes boundary-pass { 0%, 100% { transform: translateX(-42px); opacity: .35; } 50% { transform: translateX(42px); opacity: 1; } }

.evidence-section { background: #efede6; }
.evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 58px; }
.evidence-card { position: relative; display: grid; min-height: 190px; align-content: space-between; padding: 25px; border: 1px solid #d8d5cc; border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.66); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.evidence-card:hover { transform: translateY(-3px); background: white; box-shadow: var(--shadow); }
.evidence-card span { color: var(--forest-2); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.evidence-card strong { max-width: 500px; margin-top: 55px; font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.3; }
.evidence-card i { position: absolute; top: 24px; right: 24px; color: var(--coral); font-size: 15px; font-style: normal; }

.faq-section { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(520px,1.3fr); gap: clamp(60px, 9vw, 135px); background: var(--surface); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; cursor: pointer; font-family: var(--font-display); font-size: 22px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 25px; height: 25px; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--forest-2); font-family: ui-sans-serif, sans-serif; font-size: 14px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 670px; margin: -4px 50px 27px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.closing-section { width: min(100% - 48px, 1320px); padding: 88px clamp(28px, 7vw, 95px); border-radius: 16px; color: #f8f4e9; background: #102e2a; }
.closing-section > p { max-width: 700px; color: #afc2bb; }
.closing-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.button-light { color: var(--forest); background: #f7f3e8; text-decoration: none; }
.closing-link { color: var(--mint); font-size: 14px; font-weight: 700; text-decoration: none; }
.site-footer { display: grid; min-height: 150px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); }
.site-footer p { margin: 0; font-size: 12px; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 24px; }
.site-footer a { color: inherit; font-size: 12px; font-weight: 650; text-decoration: none; }
.site-footer .wordmark { color: var(--ink); font-size: 15px; }

.has-js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,.75,.2,1); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.outcome-grid .reveal:nth-child(2), .evidence-grid .reveal:nth-child(2) { transition-delay: .07s; }
.outcome-grid .reveal:nth-child(3), .evidence-grid .reveal:nth-child(3) { transition-delay: .14s; }
.outcome-grid .reveal:nth-child(4), .evidence-grid .reveal:nth-child(4) { transition-delay: .21s; }
.has-js .hero-copy .eyebrow,
.has-js .hero-copy h1,
.has-js .hero-copy .hero-lede,
.has-js .hero-copy .hero-actions,
.has-js .hero-copy .hero-proof { opacity: 0; transform: translateY(22px); }
.landing-ready .hero-copy .eyebrow,
.landing-ready .hero-copy h1,
.landing-ready .hero-copy .hero-lede,
.landing-ready .hero-copy .hero-actions,
.landing-ready .hero-copy .hero-proof { animation: hero-line-in .75s cubic-bezier(.22,.75,.2,1) forwards; }
.landing-ready .hero-copy h1 { animation-delay: .08s; }
.landing-ready .hero-copy .hero-lede { animation-delay: .18s; }
.landing-ready .hero-copy .hero-actions { animation-delay: .28s; }
.landing-ready .hero-copy .hero-proof { animation-delay: .38s; }
.landing-ready .health-pill i { animation: health-pulse 2.4s ease-out infinite; }
.bar-chart i:nth-child(2) { animation-delay: .05s; }
.bar-chart i:nth-child(3) { animation-delay: .1s; }
.bar-chart i:nth-child(4) { animation-delay: .15s; }
.bar-chart i:nth-child(5) { animation-delay: .2s; }
.bar-chart i:nth-child(6) { animation-delay: .25s; }
.bar-chart i:nth-child(7) { animation-delay: .3s; }
.bar-chart i:nth-child(8) { animation-delay: .35s; }
.bar-chart i:nth-child(9) { animation-delay: .4s; }
.bar-chart i:nth-child(10) { animation-delay: .45s; }
.bar-chart i:nth-child(11) { animation-delay: .5s; }
.bar-chart i:nth-child(12) { animation-delay: .55s; }
@keyframes hero-line-in { to { opacity: 1; transform: translateY(0); } }
@keyframes health-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(77,155,126,.12); } 50% { box-shadow: 0 0 0 10px rgba(77,155,126,0); } }

.auth-view { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.07fr) minmax(430px, 0.93fr); }
.auth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(34px, 5vw, 72px);
  color: #f8f4e9;
  background:
    linear-gradient(140deg, rgba(18, 58, 51, 0.92), rgba(16, 45, 41, 0.99)),
    repeating-linear-gradient(45deg, transparent 0 28px, rgba(255,255,255,.035) 28px 29px),
    var(--forest);
}
.auth-story::before,
.auth-story::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(169, 215, 200, 0.16);
  border-radius: 50%;
}
.auth-story::before { right: -18rem; top: -12rem; width: 42rem; height: 42rem; }
.auth-story::after { right: -7rem; top: -1rem; width: 20rem; height: 20rem; }
.auth-copy { position: relative; z-index: 1; max-width: 650px; margin: auto 0; padding: 80px 0; }
.auth-copy h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.055em;
}
.auth-copy > p:last-child { max-width: 560px; margin: 30px 0 0; color: #c8d8d2; font-size: 18px; line-height: 1.65; }
.boundary-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 17px 19px;
  border: 1px solid rgba(169, 215, 200, 0.22);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.boundary-icon { display: grid; width: 35px; height: 35px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 20px; }
.boundary-card div { display: grid; gap: 4px; }
.boundary-card strong { font-size: 13px; }
.boundary-card span:last-child { color: #aebfba; font-size: 12px; }

.auth-panel { display: grid; place-items: center; padding: 48px clamp(32px, 6vw, 90px); background: var(--surface); }
.auth-panel-inner { width: min(100%, 450px); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 78px; color: var(--forest-2); font-size: 13px; font-weight: 700; text-decoration: none; }
.auth-panel h2 { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 500; letter-spacing: -0.04em; }
.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  transition: transform .14s ease, background .14s ease, opacity .14s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; }
.button-primary { color: white; background: var(--forest); }
.button-primary:hover:not(:disabled) { background: var(--forest-2); }
.button-secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button-danger { color: #8e2e20; background: var(--coral-pale); }
.button-wide { width: 100%; justify-content: space-between; margin-top: 20px; padding: 14px 18px; }
.loading-block { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--forest); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.development-token { display: grid; gap: 9px; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.development-token label { color: var(--muted); font-size: 12px; font-weight: 700; }
.development-token input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}
.development-token .button { margin-top: 2px; }
.development-token > p { margin: 0; color: var(--muted); font-size: 13px; }
.dev-label { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 720; }
.auth-assurance { display: grid; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.auth-assurance span { margin-right: 7px; color: var(--forest-2); font-weight: 800; }
.empty-inline, .error-box { display: grid; gap: 5px; margin-top: 24px; padding: 15px; border-radius: 8px; font-size: 13px; }
.empty-inline { color: var(--muted); background: var(--surface-2); }
.error-box { color: #852b20; background: var(--coral-pale); }

.workspace { display: grid; min-height: 100vh; grid-template-columns: 255px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 28px 20px 22px;
  color: #f4f1e9;
  background: var(--forest);
}
.sidebar > .wordmark { padding: 0 10px 30px; }
.workspace-context { display: grid; gap: 7px; padding: 20px 10px 24px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.workspace-context label { margin-top: 4px; color: #a8bab5; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.workspace-context select {
  width: 100%;
  padding: 8px 26px 8px 0;
  border: 0;
  border-radius: 0;
  color: #f7f4eb;
  background: transparent;
  font-size: 14px;
  font-weight: 680;
}
.primary-nav { display: grid; gap: 5px; margin-top: 24px; }
.nav-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  color: #b5c5c0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 680;
}
.nav-item:hover, .nav-item.is-active { color: white; background: rgba(255,255,255,.09); }
.nav-item.is-active { box-shadow: inset 3px 0 var(--coral); }
.nav-icon { color: var(--mint); font-size: 16px; }
.nav-count { min-width: 22px; padding: 2px 6px; border-radius: 10px; color: var(--forest); background: var(--mint); font-size: 10px; text-align: center; }
.nav-count-alert { color: white; background: var(--coral); }
.sidebar-foot { display: grid; gap: 14px; margin-top: auto; }
.privacy-note { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(169,215,200,.18); border-radius: 9px; background: rgba(255,255,255,.045); }
.privacy-note > span { color: var(--mint); }
.privacy-note div { display: grid; gap: 2px; }
.privacy-note strong { font-size: 13px; }
.privacy-note small { color: #9eb1ab; font-size: 12px; }
.sign-out { padding: 7px; border: 0; color: #a8b9b4; background: transparent; font-size: 13px; text-align: left; }
.sign-out:hover { color: white; }

.content-shell { min-width: 0; }
.topbar { display: flex; min-height: 108px; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(25px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(244,241,234,.86); backdrop-filter: blur(14px); }
.topbar h1 { margin: 0; font-family: var(--font-display); font-size: 37px; font-weight: 500; letter-spacing: -.035em; }
.topbar .eyebrow { margin-bottom: 5px; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.global-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(214,155,59,.13); }
.global-status.is-good .status-dot { background: #4d9b7e; box-shadow: 0 0 0 4px rgba(77,155,126,.13); }
.global-status.is-bad .status-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(235,115,93,.13); }
.user-chip { display: flex; align-items: center; gap: 9px; padding-left: 15px; border-left: 1px solid var(--line); }
.user-chip div { display: grid; gap: 2px; }
.user-chip strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: 13px; white-space: nowrap; }
.user-chip span:last-child { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 11px; font-weight: 800; }
.view-panel { padding: 34px clamp(25px, 4vw, 58px) 65px; }
.notice { margin: 20px clamp(25px, 4vw, 58px) 0; padding: 13px 16px; border: 1px solid #ecc0b6; border-radius: 8px; color: #7f2b20; background: var(--coral-pale); font-size: 13px; }

.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.section-intro h2 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.section-intro p { max-width: 560px; margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.timestamp { color: var(--muted); font-size: 12px; white-space: nowrap; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--line); box-shadow: var(--shadow); }
.kpi { min-height: 145px; padding: 19px; background: var(--surface); }
.kpi-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.kpi-value { margin-top: 19px; font-family: var(--font-display); font-size: clamp(27px, 3vw, 39px); line-height: 1; letter-spacing: -.04em; }
.kpi-help { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 10px; color: var(--forest-2); background: var(--mint-pale); font-size: 10px; font-weight: 780; letter-spacing: .05em; text-transform: uppercase; }
.badge-warning { color: #80550d; background: var(--amber-pale); }
.badge-danger { color: #8e2f22; background: var(--coral-pale); }
.badge-neutral { color: #52605c; background: var(--surface-2); }
.badge-info { color: #2c6478; background: var(--blue-pale); }

.overview-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 35px rgba(23,32,30,.05); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; font-size: 14px; }
.card-head span { color: var(--muted); font-size: 12px; }
.card-body { padding: 20px; }
.alert-list { display: grid; gap: 10px; }
.health-alert { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.health-alert > i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.health-alert.warning > i { background: var(--amber); }
.health-alert.danger > i { background: var(--coral); }
.health-alert.good > i { background: #4d9b7e; }
.health-alert div { display: grid; gap: 3px; }
.health-alert strong { font-size: 13px; }
.health-alert span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.link-button { padding: 5px; border: 0; color: var(--forest-2); background: transparent; font-size: 12px; font-weight: 720; }
.source-facts { display: grid; margin: 0; }
.source-facts div { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.source-facts div:last-child { border-bottom: 0; }
.source-facts dt { color: var(--muted); font-size: 12px; }
.source-facts dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }

.state-panel { display: grid; min-height: 310px; place-items: center; padding: 50px 24px; border: 1px dashed #c8c4ba; border-radius: 12px; text-align: center; }
.state-panel div { max-width: 470px; }
.state-icon { display: grid; width: 45px; height: 45px; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: var(--forest); background: var(--mint-pale); font-size: 19px; }
.state-panel h2 { margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 500; }
.state-panel p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.state-panel .button { margin-top: 18px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.skeleton { height: 145px; border-radius: 12px; background: linear-gradient(90deg, #e7e3da 20%, #f4f1ea 45%, #e7e3da 70%); background-size: 250% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position-x: -250%; } }

.recommendation-list { display: grid; gap: 14px; }
.recommendation { display: grid; grid-template-columns: 54px minmax(0,1fr) minmax(170px,.28fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 35px rgba(23,32,30,.045); }
.recommendation-rank { padding: 22px 13px; border-right: 1px solid var(--line); color: var(--muted); font-family: var(--font-display); font-size: 25px; text-align: center; }
.recommendation-main { padding: 21px; }
.recommendation-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 10px; }
.recommendation h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.recommendation p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.recommendation-action { margin-top: 15px; padding: 13px; border-left: 3px solid var(--mint); color: var(--ink); background: var(--mint-pale); font-size: 13px; line-height: 1.5; }
.recommendation-impact { display: flex; flex-direction: column; justify-content: space-between; padding: 21px; border-left: 1px solid var(--line); background: #f9f7f1; }
.impact-label { color: var(--muted); font-size: 10px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.impact-value { margin: 8px 0; font-family: var(--font-display); font-size: 25px; line-height: 1.05; }
.quality-risk { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
.analysis-notes { display: grid; gap: 8px; margin-top: 20px; }
.analysis-note { padding: 11px 13px; border-radius: 8px; color: var(--muted); background: var(--surface-2); font-size: 12px; line-height: 1.45; }
.analysis-note.caveat { color: #79500e; background: var(--amber-pale); }

.view-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.view-tools > div { display: grid; gap: 4px; }
.view-tools strong { font-family: var(--font-display); font-size: 23px; font-weight: 500; }
.view-tools span { color: var(--muted); font-size: 12px; }
.window-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.window-control select { padding: 8px 26px 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: 13px; }
.ops-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 20px; }
.chart-wrap { min-height: 310px; padding: 15px 18px 10px; }
.volume-chart { display: block; width: 100%; height: 245px; }
.chart-label { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 11px; }
.legend { display: inline-flex; align-items: center; gap: 5px; }
.legend::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); }
.legend.errors::before { border-radius: 50%; background: var(--coral); }
.error-list { display: grid; }
.error-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.error-row:last-child { border-bottom: 0; }
.error-row span:first-child { color: var(--muted); }
.partial-note { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #ead5a5; border-radius: 8px; color: #77500f; background: var(--amber-pale); font-size: 12px; line-height: 1.5; }

.job-list { display: grid; gap: 8px; }
.job-row { display: grid; grid-template-columns: minmax(180px,1fr) 110px 85px 165px auto; align-items: center; gap: 15px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.job-id { display: grid; gap: 4px; min-width: 0; }
.job-id strong { overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: nowrap; }
.job-id span, .job-cell small { color: var(--muted); font-size: 11px; }
.job-cell { display: grid; gap: 3px; font-size: 12px; }
.job-actions { display: flex; justify-content: end; gap: 6px; }
.job-actions .button { min-height: 33px; padding: 6px 10px; font-size: 11px; }

.toast-region { position: fixed; z-index: 20; top: 18px; right: 18px; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); }
.toast { padding: 13px 15px; border-radius: 8px; color: white; background: var(--forest); box-shadow: var(--shadow); font-size: 11px; animation: toast-in .2s ease-out; }
.toast.error { background: #8c3327; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }

#tour-caption {
  position: fixed;
  z-index: 9999;
  right: 28px;
  bottom: 26px;
  display: grid;
  width: 365px;
  gap: 5px;
  padding: 17px 19px;
  border: 1px solid rgba(169, 215, 200, .34);
  border-radius: 12px;
  color: #f8f4e9;
  background: rgba(16, 46, 42, .94);
  box-shadow: 0 18px 45px rgba(11, 29, 26, .28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .38s ease, transform .38s ease;
  pointer-events: none;
}
#tour-caption.is-visible { opacity: 1; transform: translateY(0); }
#tour-caption span { color: var(--mint); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
#tour-caption strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 85px 100px; }
  .hero-copy { max-width: 780px; }
  .hero-product { width: min(100%, 780px); margin-inline: auto; }
  .outcome-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .outcome-card:first-child { border-radius: 13px 0 0; }
  .outcome-card:nth-child(2) { border-radius: 0 13px 0 0; }
  .outcome-card:nth-child(3) { border-radius: 0 0 0 13px; }
  .outcome-card:last-child { border-radius: 0 0 13px; }
  .calculator-card, .security-layout { grid-template-columns: 1fr; }
  .calculator-copy, .security-copy { max-width: 760px; }
  .film-layout { grid-template-columns: 1fr; }
  .film-chapters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .film-link { grid-column: 1 / -1; }
  .faq-section { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .ops-grid { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: minmax(150px,1fr) 100px 75px auto; }
  .job-row > :nth-child(4) { display: none; }
}

@media (max-width: 780px) {
  .section-shell { width: min(100% - 36px, 1240px); }
  .site-header { width: min(100% - 36px, 1320px); min-height: 74px; }
  .site-actions .text-link { display: none; }
  .site-actions { gap: 10px; }
  .hero { gap: 58px; padding-block: 65px 80px; }
  .hero h1 { font-size: clamp(52px, 14vw, 82px); }
  .preview-layout { min-height: 390px; grid-template-columns: 45px 1fr; }
  .preview-main { padding: 20px 16px; }
  .preview-kpis { grid-template-columns: repeat(2,1fr); }
  .preview-kpis > div { min-height: 88px; }
  .preview-kpis > div:nth-child(3), .preview-kpis > div:nth-child(4) { display: none; }
  .preview-lower { grid-template-columns: 1fr; }
  .preview-finding { display: none; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .product-section, .method-section, .evidence-section, .faq-section { padding-block: 95px; }
  .section-heading h2, .calculator-copy h2, .security-copy h2, .closing-section h2 { font-size: clamp(39px, 10vw, 58px); }
  .calculator-card { gap: 28px; }
  .boundary-diagram { grid-template-columns: 1fr; }
  .boundary-flow { min-height: 82px; }
  .boundary-flow::before { width: 1px; height: 100%; }
  .boundary-flow i { animation-name: boundary-pass-vertical; }
  .boundary-flow span { width: auto; }
  @keyframes boundary-pass-vertical { 0%, 100% { transform: translateY(-30px); opacity: .35; } 50% { transform: translateY(30px); opacity: 1; } }
  .method-list li { grid-template-columns: 60px minmax(0,1fr); }
  .method-list li div { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .auth-view { grid-template-columns: 1fr; }
  .auth-story { min-height: 52vh; }
  .auth-copy { padding: 70px 0; }
  .auth-copy h1 { font-size: clamp(48px, 14vw, 76px); }
  .workspace { display: block; }
  .sidebar { position: static; width: 100%; height: auto; }
  .primary-nav { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .nav-item { display: flex; justify-content: center; padding: 10px 5px; font-size: 0; }
  .nav-icon { font-size: 18px; }
  .workspace-context { grid-template-columns: auto 1fr auto 1fr; align-items: center; }
  .sidebar-foot { display: none; }
  .topbar { align-items: flex-start; }
  .global-status, .user-chip { display: none; }
  .recommendation { grid-template-columns: 45px 1fr; }
  .recommendation-impact { grid-column: 2; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 560px) {
  .site-header .wordmark { font-size: 13px; }
  .site-header .site-actions .button { padding-inline: 12px; font-size: 10px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; }
  .preview-window { border-radius: 10px; }
  .preview-bar .badge { display: none; }
  .preview-layout { min-height: 350px; grid-template-columns: 37px 1fr; }
  .preview-rail { padding-inline: 8px; }
  .preview-heading .health-pill { display: none; }
  .preview-chart { min-height: 160px; }
  .bar-chart { height: 103px; }
  .outcome-grid, .film-chapters, .evidence-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 245px; border-radius: 0 !important; }
  .outcome-card:first-child { border-radius: 13px 13px 0 0 !important; }
  .outcome-card:last-child { border-radius: 0 0 13px 13px !important; }
  .outcome-card h3 { margin-top: 68px; }
  .calculator-section, .demo-section, .security-section { padding-block: 90px; }
  .calculator-card { padding: 21px; }
  .calculator-visual { margin-inline: -10px; padding: 26px 21px; }
  .estimate-primary > strong { font-size: clamp(48px, 15vw, 66px); }
  .estimate-summary { grid-template-columns: 1fr; }
  .estimate-summary > span + span { padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .film-label { display: none; }
  .boundary-zone { min-height: 235px; }
  .method-list li { grid-template-columns: 40px minmax(0,1fr); gap: 7px; }
  .closing-section { width: min(100% - 24px, 1320px); padding: 62px 24px; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .site-footer { min-height: 125px; grid-template-columns: 1fr; }
  .site-footer > div { justify-content: flex-start; }
  .back-link { margin-bottom: 50px; }
  .auth-panel { padding: 42px 24px; }
  .workspace-context { grid-template-columns: 1fr; }
  .topbar { padding: 20px; }
  .topbar h1 { font-size: 29px; }
  .view-panel { padding: 24px 18px 50px; }
  .kpi-grid, .skeleton-grid { grid-template-columns: 1fr; }
  .view-tools, .section-intro { align-items: flex-start; flex-direction: column; }
  .job-row { grid-template-columns: 1fr auto; }
  .job-row > :nth-child(3) { display: none; }
  .job-actions { grid-column: 1 / -1; justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .has-js .hero-copy .eyebrow,
  .has-js .hero-copy h1,
  .has-js .hero-copy .hero-lede,
  .has-js .hero-copy .hero-actions,
  .has-js .hero-copy .hero-proof { opacity: 1; transform: none; }
}
