/* ============================================================
   Safora — Landing page
   DA: instrument de précision. Papier greige, hairlines,
   un seul accent orange. Helvetica Neue / Geist + Spline Sans Mono.
   ============================================================ */

@font-face{
  font-family:'Geist';
  src:url('fonts/Geist-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Geist';
  src:url('fonts/Geist-Medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Geist';
  src:url('fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Spline Sans Mono';
  src:url('fonts/SplineSansMono-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Spline Sans Mono';
  src:url('fonts/SplineSansMono-Medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

:root{
  --shell:#161614;
  --shell-2:#1d1c19;
  --canvas:#EBE9E2;
  --canvas-2:#E4E1D8;
  --ivory:#FBF9F2;
  --ink:#1B1A16;
  --sub:#6E6C63;
  --faint:#9C9A8F;
  --line:#C9C7BC;
  --hair:#DAD8CE;
  --accent:#F4641D;
  --red:#C72F1D;
  --green:#3A7A4E;
  --blue:#3A5FA8;

  /* on shell */
  --shell-ivory:#F4F2E9;
  --shell-sub:#A7A59B;
  --shell-faint:#76746C;
  --shell-hair:rgba(251,249,242,.14);
  --shell-line:rgba(251,249,242,.22);

  --font-sans:'Helvetica Neue',Helvetica,'Geist',Arial,sans-serif;
  --font-mono:'Spline Sans Mono',ui-monospace,'SF Mono',monospace;

  --maxw:1240px;
  --gutter:40px;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
::selection{ background:var(--accent); color:var(--ivory); }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

/* ---------- layout primitives ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.section{ position:relative; }
.divider{ height:1px; background:var(--line); border:0; margin:0; }

/* ---------- type ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:11px; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  color:var(--sub);
}
.eyebrow::before{
  content:""; width:7px; height:7px; border-radius:50%;
  border:2px solid var(--accent); flex:none;
}
.eyebrow.plain::before{ display:none; }

.display{
  font-family:var(--font-sans); font-weight:500;
  font-size:clamp(40px,6vw,72px); line-height:1.01; letter-spacing:-.035em;
  margin:0; text-wrap:balance;
}
h2.sec-title{
  font-family:var(--font-sans); font-weight:500;
  font-size:clamp(30px,4vw,46px); line-height:1.04; letter-spacing:-.03em;
  margin:0; text-wrap:balance;
}
.lead{
  font-size:clamp(17px,1.7vw,20px); line-height:1.55; color:var(--sub);
  max-width:46ch; margin:0; text-wrap:pretty;
}
.kicker{ font-size:13px; color:var(--sub); }
.mono{ font-family:var(--font-mono); }
.lbl{
  font-size:10.5px; font-weight:500; letter-spacing:.15em; text-transform:uppercase;
  color:var(--sub);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 24px; border-radius:999px; border:1px solid transparent;
  font-family:var(--font-sans); font-size:14px; font-weight:500; cursor:pointer;
  white-space:nowrap; transition:background .16s, border-color .16s, color .16s, transform .16s;
}
.btn svg{ flex:none; }
.btn.primary{ background:var(--ink); color:var(--ivory); }
.btn.primary:hover{ background:#33312a; }
.btn.on-shell{ background:var(--ivory); color:var(--ink); }
.btn.on-shell:hover{ background:#fff; }
.btn.outline{ background:transparent; border-color:#b5b3a8; color:var(--ink); }
.btn.outline:hover{ border-color:var(--ink); }
.btn.outline.on-shell{ border-color:var(--shell-line); color:var(--shell-ivory); }
.btn.outline.on-shell:hover{ background:transparent; border-color:var(--shell-ivory); color:var(--shell-ivory); }
.btn.sm{ padding:9px 16px; font-size:13px; }

.tlink{
  display:inline-flex; align-items:center; gap:7px;
  font-size:14px; font-weight:500; color:var(--ink); cursor:pointer;
  text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px;
  text-decoration-color:var(--line);
}
.tlink:hover{ text-decoration-color:var(--accent); color:var(--accent); }
.tlink.on-shell{ color:var(--shell-ivory); text-decoration-color:var(--shell-line); }
.tlink.on-shell:hover{ color:var(--accent); }

/* ---------- chips ---------- */
.chip{
  display:inline-flex; align-items:center; gap:7px;
  padding:5px 13px; border-radius:999px; font-size:12px; font-weight:500;
  border:1px solid var(--line); background:transparent; color:var(--ink);
  white-space:nowrap; line-height:1.5;
}
.chip .dot{ width:7px; height:7px; border-radius:50%; flex:none; }
.chip .dot.accent{ background:var(--accent); }
.chip .dot.green{ background:var(--green); }
.chip .faint{ color:var(--faint); }
.chip.on-shell{ border-color:var(--shell-line); color:var(--shell-ivory); }
.chip.on-shell .faint{ color:var(--shell-faint); }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:50;
  background:var(--shell);
  border-bottom:1px solid var(--shell-hair);
}
.nav .wrap{ display:flex; align-items:center; gap:28px; height:68px; }
.brand{ display:inline-flex; align-items:center; gap:11px; color:var(--shell-ivory); }
.brand .word{ font-weight:500; letter-spacing:.28em; text-transform:uppercase; font-size:15px; }
.nav-links{ display:flex; gap:30px; margin-left:18px; }
.nav-links a{ font-size:13.5px; color:var(--shell-sub); transition:color .15s; }
.nav-links a:hover{ color:var(--shell-ivory); }
.nav-right{ margin-left:auto; display:flex; align-items:center; gap:18px; }
.nav-right .signin{ font-size:13.5px; color:var(--shell-sub); }
.nav-right .signin:hover{ color:var(--shell-ivory); }
/* header CTA promotes to primary once the hero CTA scrolls out of view */
#navInstall.is-primary{ background:var(--ivory); color:var(--ink); border-color:var(--ivory); }
#navInstall.is-primary:hover{ background:#fff; }

/* ============================================================
   HERO  (shell)
   ============================================================ */
.hero{
  position:relative; overflow:hidden;
  background:var(--shell); color:var(--shell-ivory);
  padding:84px 0 0;
}
.hero-grain{ position:absolute; inset:0; opacity:.5; pointer-events:none;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(244,100,29,.05), transparent 55%);
}
.hero-fan{ position:absolute; left:-120px; top:-40px; pointer-events:none; opacity:.5; }
.hero-inner{ position:relative; z-index:2; }
.hero-copy{ max-width:760px; }
.hero h1{ margin:22px 0 0; color:var(--shell-ivory); }

/* v2 — two-column hero with abstract instrument on the right */
.hero-grid{ display:grid; grid-template-columns:1.04fr 0.96fr; gap:56px; align-items:center; }
.hero-grid .hero-copy{ max-width:600px; }
.hero-scope{ position:relative; width:100%; max-width:460px; justify-self:end; }
.scope-wrap{ position:relative; width:100%; aspect-ratio:1/1; }
.scope-wrap svg{ width:100%; height:100%; display:block; overflow:visible; }
.scope-needle{ transform-box:view-box; transform-origin:220px 220px; }
.scope-cap{ display:flex; align-items:center; gap:12px; justify-content:center; margin-top:14px; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--shell-faint); }
.scope-cap .mono{ color:var(--shell-sub); letter-spacing:.04em; }
@media (prefers-reduced-motion:no-preference){
  .scope-needle{ animation:scopeSweep 9s linear infinite; }
  .scope-dot{ animation:scopeDot 5s ease-in-out infinite; }
  @keyframes scopeSweep{ to{ transform:rotate(360deg); } }
  @keyframes scopeDot{ 0%,100%{ opacity:.5; } 50%{ opacity:1; } }
}

/* v3/v4/v5 hero instruments — same visual language, different concept */
/* full-bleed hero instrument layer (v3 alignment field, v6 rosace) */
.align-field{ position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.align-field svg{ width:100%; height:100%; display:block; }
.instr-align line.al-seg{ stroke:rgba(251,249,242,.13); stroke-width:2; stroke-linecap:round; transform-box:fill-box; transform-origin:center; }
.instr-align line.al-seg.drift{ stroke:#F4641D; transform:rotate(var(--rot)); }

.cal-slide{ transform-box:view-box; }
.cal-dim{ transform-box:view-box; transform-origin:90px 130px; }

.instr-lattice line.lat-edge{ stroke:rgba(251,249,242,.13); stroke-width:1; }
.instr-lattice circle.lat-node{ fill:rgba(251,249,242,.42); }
.instr-lattice circle.lat-find{ fill:#F4641D; transform-box:fill-box; transform-origin:center; }
.instr-lattice line.lat-heal{ stroke:#F4641D; stroke-width:1.5; stroke-linecap:round; }

@media (prefers-reduced-motion:no-preference){
  .instr-align line.al-seg.drift{ animation:alSettle 7s cubic-bezier(.5,0,.2,1) infinite; }
  @keyframes alSettle{
    0%{ transform:rotate(var(--rot)); stroke:#F4641D; }
    42%{ transform:rotate(0deg); stroke:rgba(251,249,242,.16); }
    66%{ transform:rotate(0deg); stroke:rgba(251,249,242,.16); }
    100%{ transform:rotate(var(--rot)); stroke:#F4641D; }
  }
  .instr-calib .cal-slide{ animation:calSlide 8s cubic-bezier(.4,0,.15,1) infinite; }
  @keyframes calSlide{ 0%{ transform:translateX(118px); } 42%{ transform:translateX(0); } 74%{ transform:translateX(0); } 100%{ transform:translateX(118px); } }
  .instr-calib .cal-dim{ animation:calDim 8s cubic-bezier(.4,0,.15,1) infinite; }
  @keyframes calDim{ 0%{ transform:scaleX(0); opacity:.15; } 42%{ transform:scaleX(1); opacity:1; } 74%{ transform:scaleX(1); opacity:1; } 100%{ transform:scaleX(0); opacity:.15; } }
  .instr-lattice circle.lat-find{ animation:latPulse 4s ease-in-out infinite; }
  @keyframes latPulse{ 0%,100%{ transform:scale(.8); opacity:.4; } 50%{ transform:scale(1.25); opacity:1; } }
  .instr-lattice line.lat-heal{ stroke-dasharray:var(--len); stroke-dashoffset:var(--len); animation:latHeal 6s ease-in-out infinite; }
  @keyframes latHeal{ 0%{ stroke-dashoffset:var(--len); } 45%{ stroke-dashoffset:0; } 72%{ stroke-dashoffset:0; } 100%{ stroke-dashoffset:var(--len); } }
}

/* v6 — radial rosace (strokes only), JS-driven counter-rotation + verify handoff */
.instr-rosace line{ stroke:rgba(251,249,242,.10); stroke-width:1.4; }
.hero h1 .accent{ color:var(--accent); }
.hero-sub{
  margin:24px 0 0; font-size:clamp(17px,1.8vw,20px); line-height:1.55;
  color:var(--shell-sub); max-width:54ch; text-wrap:pretty;
}
.hero-cta{ display:flex; align-items:center; gap:22px; margin:34px 0 0; flex-wrap:wrap; }
.hero-meta{
  display:flex; align-items:stretch; gap:0; flex-wrap:wrap; row-gap:18px;
  margin:52px 0 0; padding-top:28px; border-top:1px solid var(--shell-hair);
}
.hero-meta .m{ display:flex; flex-direction:column; gap:4px; padding-right:40px; }
.hero-meta .m + .m{ padding-left:40px; border-left:1px solid var(--shell-hair); }
.hero-meta .m .v{ font-size:15px; font-weight:500; color:var(--shell-ivory); white-space:nowrap; }
.hero-meta .m .v .mono{ font-size:.92em; }
.hero-meta .m .k{ font-size:11px; letter-spacing:.06em; color:var(--shell-faint); }

/* product frame — the instrument shows itself */
.product-stage{ position:relative; z-index:2; margin-top:24px; padding-bottom:0; }
.product-frame{
  background:var(--ivory);
  border-radius:18px 18px 0 0;
  padding:10px 10px 0;
  box-shadow:0 -1px 0 rgba(251,249,242,.08);
}
.product-caption{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin:78px auto 16px; max-width:var(--maxw); padding:0 var(--gutter);
  color:var(--shell-faint); font-size:12px; flex-wrap:wrap;
  position:relative; z-index:1;
}
.product-caption .mono{ color:var(--shell-sub); }

/* live indicator (TV-style) — the orange dot is the rosace centre */
.live-tag{ display:inline-flex; align-items:center; gap:11px; position:relative; }
.live-tag .mono{ white-space:nowrap; position:relative; z-index:1; }
.live-dot{ position:relative; z-index:1; width:9px; height:9px; border-radius:50%; background:var(--accent); flex:none; }
/* the rosace is anchored on the dot and rotates around it; it bleeds up behind the hero copy and is cropped by the header above and the product frame below */
.rosace{ position:absolute; left:4.5px; top:50%; width:1240px; height:1240px; transform:translate(-50%,-50%); z-index:-1; pointer-events:none; }
.rosace svg{ width:100%; height:100%; display:block; overflow:visible; }
@media (prefers-reduced-motion:no-preference){
  .live-dot::after{ content:""; position:absolute; inset:0; border-radius:50%; background:var(--accent); animation:livePulse 2.4s ease-out infinite; }
  @keyframes livePulse{ 0%{ transform:scale(1); opacity:.55; } 70%,100%{ transform:scale(2.8); opacity:0; } }
}

/* ============================================================
   PRODUCT MOCK  (faithful Command center, in-frame)
   ============================================================ */
.mock{
  --m:1;
  display:flex; background:var(--canvas);
  border:9px solid var(--ivory); border-radius:14px;
  overflow:hidden; height:560px;
  font-size:13px; color:var(--ink);
}
.mock-sb{
  width:206px; flex:none; background:var(--shell); color:#D8D6CC;
  display:flex; flex-direction:column; padding:18px 14px 14px;
}
.mock-sb .sb-logo{ display:flex; align-items:center; gap:9px; color:#F4F2E9; padding:6px 6px 18px; }
.mock-sb .sb-logo .word{ font-weight:500; letter-spacing:.26em; text-transform:uppercase; font-size:13px; }
.mock-org{ padding:9px 11px; border:1px solid rgba(255,255,255,.14); border-radius:9px; margin-bottom:16px; }
.mock-org .on{ display:flex; align-items:center; justify-content:space-between; font-weight:500; font-size:12.5px; color:#F4F2E9; }
.mock-org .os{ display:flex; align-items:center; gap:6px; margin-top:4px; font-size:10px; color:#94928a; }
.mock-nav{ display:flex; flex-direction:column; gap:1px; margin:8px 0; }
.mock-nav .it{ display:flex; align-items:center; gap:11px; padding:8px 11px; border-radius:7px; font-size:10.5px; font-weight:500; letter-spacing:.13em; text-transform:uppercase; color:#8e8c84; white-space:nowrap; }
.mock-nav .it.on{ color:#FBF9F2; }
.mock-nav .it.on svg{ color:var(--accent); }
.mock-nav .it .nb{ margin-left:auto; font-size:9.5px; padding:1px 7px; border-radius:99px; border:1px solid rgba(255,255,255,.25); color:#E8E6DD; letter-spacing:.04em; white-space:nowrap; flex:none; }
.mock-kp{ margin-top:auto; padding:10px 11px; border-radius:9px; border:1px solid rgba(255,255,255,.14); }
.mock-kp .k-l{ font-size:9px; letter-spacing:.16em; color:#807e76; font-weight:500; }
.mock-kp .k-v{ display:flex; align-items:center; gap:6px; margin-top:5px; font-size:11.5px; color:#E8E6DD; font-weight:500; }
.dot{ width:6px; height:6px; border-radius:50%; flex:none; }
.dot.ok{ background:#4C9D68; } .dot.warn{ background:var(--accent); }

.mock-ws{ flex:1; overflow:hidden; padding:26px 28px; position:relative; }
.mock-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.mock-eye{ display:inline-flex; align-items:center; gap:8px; font-size:10px; font-weight:500; letter-spacing:.15em; text-transform:uppercase; color:var(--sub); }
.mock-eye::before{ content:""; width:6px; height:6px; border-radius:50%; border:2px solid var(--accent); }
.mock-title{ font-weight:500; font-size:34px; letter-spacing:-.025em; margin:10px 0 0; }
.mock-substrip{ display:flex; align-items:center; gap:0; flex-wrap:wrap; margin-top:12px; font-size:11.5px; color:var(--sub); }
.mock-substrip .s{ position:relative; padding:0 14px; }
.mock-substrip .s:first-child{ padding-left:0; }
.mock-substrip .s + .s::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:11px; background:var(--hair); }
.mock-substrip .s.ink{ color:var(--ink); font-weight:500; }
.mock-actions{ display:flex; gap:8px; flex:none; }
.mbtn{ display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:999px; border:1px solid #b5b3a8; font-size:11.5px; font-weight:500; color:var(--ink); background:transparent; }
.mbtn.primary{ background:var(--ink); color:var(--ivory); border-color:var(--ink); }

.mock-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:14px; margin-top:22px; }
.mcard{ border:1px solid var(--line); border-radius:11px; padding:20px; }
.mcard.inverse{ background:#171713; border-color:#171713; color:#F4F2E9; position:relative; overflow:hidden; display:flex; flex-direction:column; }
.mcard.inverse .lbl{ color:#8d8b81; }
.mock-fan{ position:absolute; right:-70px; bottom:-30px; pointer-events:none; }
.mock-hero-num{ font-weight:500; font-size:66px; line-height:.95; letter-spacing:-.04em; color:var(--ivory); }
.mock-hero-num .den{ font-size:.34em; color:#6f6d64; font-weight:400; letter-spacing:-.01em; }
.mchip{ display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:999px; font-size:10.5px; font-weight:500; border:1px solid rgba(255,255,255,.22); color:#E8E6DD; }
.mchip.light{ border-color:var(--line); color:var(--ink); }
.mchip .d{ width:6px; height:6px; border-radius:50%; }
.mchip .d.green{ background:#5FAE7E; } .mchip .d.accent{ background:var(--accent); }
.sevbar{ display:flex; height:5px; border-radius:99px; overflow:hidden; gap:2px; margin-top:6px; }
.mock-metric{ font-weight:500; font-size:30px; letter-spacing:-.02em; }
.mock-cellrow{ display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); border-radius:11px; overflow:hidden; }
.mock-cellrow .c{ padding:16px 18px; }
.mock-cellrow .c + .c{ border-left:1px solid var(--hair); }
.mock-cellrow .c .n{ font-weight:500; font-size:26px; letter-spacing:-.02em; }
.mock-queue{ border:1px solid var(--line); border-radius:11px; margin-top:22px; }
.mock-queue .q{ display:flex; align-items:center; gap:13px; padding:13px 18px; }
.mock-queue .q + .q{ border-top:1px solid var(--hair); }
.mock-queue .q .qt{ font-weight:500; font-size:12.5px; }
.mock-queue .q .qs{ font-size:11px; color:var(--faint); }
.mock-queue .q .qa{ margin-left:auto; font-size:11.5px; color:var(--sub); display:inline-flex; align-items:center; gap:5px; flex:none; }

/* ============================================================
   GENERIC PAPER SECTION
   ============================================================ */
.pad{ padding-top:108px; padding-bottom:108px; }
.pad-sm{ padding-top:80px; padding-bottom:80px; }
.sec-head{ max-width:720px; }
.sec-head .eyebrow{ margin-bottom:20px; }
.sec-head h2{ margin-bottom:0; }
.sec-head .lead{ margin-top:22px; max-width:62ch; }

/* ============================================================
   GOVERNANCE LOOP
   ============================================================ */
.loop{ margin-top:64px; }
.loop-track{
  display:grid; grid-template-columns:repeat(5,1fr); gap:0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.loop-node{ padding:34px 26px 32px; position:relative; }
.loop-node + .loop-node{ border-left:1px solid var(--hair); }
.loop-node .ln-ix{
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%; border:1px solid var(--line);
  font-family:var(--font-mono); font-size:12px; color:var(--sub); margin-bottom:20px;
}
.loop-node.human .ln-ix{ border:2px solid var(--accent); color:var(--accent); }
.loop-node .ln-ill{ height:64px; margin-bottom:20px; color:var(--ink); }
.loop-node .ln-name{ font-size:11px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--sub); }
.loop-node .ln-t{ font-size:17px; font-weight:500; letter-spacing:-.01em; margin:7px 0 8px; }
.loop-node .ln-d{ font-size:13.5px; color:var(--sub); line-height:1.55; text-wrap:pretty; }
.loop-node .ln-tag{ position:absolute; top:34px; right:26px; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); font-weight:500; }
.loop-foot{ display:flex; align-items:center; gap:10px; margin-top:22px; font-size:13px; color:var(--sub); }
.loop-foot .ring{ width:11px; height:11px; border-radius:50%; border:2px solid var(--accent); flex:none; }

/* ============================================================
   HONEST SCORE  (split: copy + spec ruler card)
   ============================================================ */
.split{ display:grid; grid-template-columns:0.92fr 1.08fr; gap:72px; align-items:center; }
.score-card{
  background:var(--ivory); border:1px solid var(--line); border-radius:16px;
  padding:38px 40px;
}
.score-card .sc-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.score-card .sc-num{ font-weight:500; font-size:84px; line-height:.9; letter-spacing:-.04em; }
.score-card .sc-num .den{ font-size:.32em; color:var(--faint); font-weight:400; letter-spacing:-.01em; }
.ruler{ position:relative; height:74px; margin-top:30px; border-top:1px solid var(--hair); padding-top:30px; }
.ruler .axis{ position:absolute; left:0; right:0; top:46px; height:1px; background:var(--line); }
.ruler .tick{ position:absolute; top:42px; width:1px; height:9px; background:var(--line); }
.ruler .seg{ position:absolute; top:46px; height:2px; background:var(--ink); transform:translateY(-.5px); }
.ruler .dash{ position:absolute; top:45px; border-top:2px dashed var(--accent); }
.ruler .pt{ position:absolute; top:46px; transform:translate(-50%,-50%); border-radius:50%; box-sizing:border-box; }
.ruler .pt.prev{ width:8px; height:8px; background:var(--faint); }
.ruler .pt.now{ width:11px; height:11px; background:var(--ink); }
.ruler .pt.proj{ width:12px; height:12px; border:2px solid var(--accent); background:var(--ivory); }
.ruler .cap{ position:absolute; top:8px; transform:translateX(-50%); font-family:var(--font-mono); font-size:11px; color:var(--sub); white-space:nowrap; }
.ruler .cap.proj{ color:var(--accent); }
.score-foot{ margin-top:26px; padding-top:22px; border-top:1px solid var(--hair); font-size:13px; color:var(--sub); line-height:1.6; }
.claim-list{ list-style:none; margin:30px 0 0; padding:0; display:flex; flex-direction:column; gap:0; }
.claim-list li{ display:flex; gap:16px; padding:18px 0; border-top:1px solid var(--hair); }
.claim-list li:first-child{ border-top:0; }
.claim-list .cl-ring{ width:22px; height:22px; border-radius:50%; border:1.5px solid var(--accent); flex:none; margin-top:2px; display:grid; place-items:center; }
.claim-list .cl-ring .core{ width:7px; height:7px; border-radius:50%; background:var(--accent); }
.claim-list .cl-t{ font-size:15px; font-weight:500; }
.claim-list .cl-d{ font-size:13.5px; color:var(--sub); margin-top:3px; line-height:1.55; }

/* ============================================================
   PROOFS — spec-sheet cells
   ============================================================ */
.specsheet{
  margin-top:56px; border:1px solid var(--line); border-radius:16px; overflow:hidden;
  display:grid; grid-template-columns:repeat(3,1fr);
}
.spec-cell{ padding:38px 36px; position:relative; }
.spec-cell:not(:nth-child(3n)){ border-right:1px solid var(--hair); }
.spec-cell:nth-child(n+4){ border-top:1px solid var(--hair); }
.spec-cell .sp-l{ font-size:10.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--sub); }
.spec-cell .sp-n{ font-weight:500; font-size:54px; line-height:1; letter-spacing:-.035em; margin:18px 0 0; }
.spec-cell .sp-n .u{ font-size:.4em; color:var(--faint); letter-spacing:-.01em; margin-left:4px; }
.spec-cell .sp-d{ font-size:13px; color:var(--sub); margin-top:14px; line-height:1.55; max-width:30ch; }
.spec-cell .sp-meta{ font-family:var(--font-mono); font-size:11px; color:var(--faint); margin-top:16px; }

/* ============================================================
   SAFETY — contre-jour (ink block)
   ============================================================ */
.safety{ background:var(--shell); color:var(--shell-ivory); position:relative; overflow:hidden; }
.safety-fan{ position:absolute; right:-100px; bottom:-60px; pointer-events:none; opacity:.6; }
.safety .wrap{ position:relative; z-index:2; }
.safety-grid{ display:grid; grid-template-columns:1fr 0.85fr; gap:72px; align-items:center; }
.safety .eyebrow{ color:var(--shell-sub); }
.safety h2{ color:var(--shell-ivory); margin-top:22px; }
.safety .lead{ color:var(--shell-sub); margin-top:24px; max-width:50ch; }
.safety-cta{ margin-top:34px; display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.pr-diagram{ position:relative; }
.diff-card{
  background:var(--shell-2); border:1px solid var(--shell-line); border-radius:14px;
  padding:22px 24px; font-family:var(--font-mono); font-size:12px; line-height:1.7;
}
.diff-card .dc-head{ display:flex; align-items:center; gap:8px; margin-bottom:16px; font-size:10.5px; letter-spacing:.03em; color:var(--shell-sub); white-space:nowrap; }
.diff-card .dc-head .br{ margin-left:auto; color:var(--shell-faint); }
.diff-line{ display:flex; gap:12px; padding:2px 0; color:var(--shell-sub); white-space:nowrap; }
.diff-line .gut{ color:var(--shell-faint); width:18px; flex:none; text-align:right; }
.diff-line.del{ color:#d98b80; }
.diff-line.add{ color:#7fb894; }
.diff-foot{ display:flex; align-items:center; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid var(--shell-hair); }
.check-c{ width:26px; height:26px; border-radius:50%; background:var(--accent); display:grid; place-items:center; color:#fff; flex:none; }
.diff-foot .df-t{ font-family:var(--font-sans); font-size:12.5px; color:var(--shell-ivory); font-weight:500; }
.diff-foot .df-s{ font-family:var(--font-sans); font-size:11px; color:var(--shell-faint); margin-top:1px; letter-spacing:.1em; text-transform:uppercase; }

/* ============================================================
   KNOWLEDGE PACK — moat
   ============================================================ */
.kp-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:72px; align-items:center; margin-top:56px; }
.kp-diagram{ background:var(--ivory); border:1px solid var(--line); border-radius:16px; padding:40px; }
.kp-tokens{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.kp-sw{ aspect-ratio:1.7/1; border-radius:7px; border:1px solid rgba(0,0,0,.08); }
.kp-stat-row{ display:flex; gap:0; margin-top:26px; padding-top:24px; border-top:1px solid var(--hair); }
.kp-stat{ flex:1; }
.kp-stat + .kp-stat{ border-left:1px solid var(--hair); padding-left:20px; }
.kp-stat .n{ font-weight:500; font-size:30px; letter-spacing:-.02em; }
.kp-stat .n.accent{ color:var(--accent); }
.kp-stat .l{ font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--sub); margin-top:5px; }
.kp-feat{ list-style:none; margin:28px 0 0; padding:0; }
.kp-feat li{ display:flex; gap:14px; padding:16px 0; border-top:1px solid var(--hair); font-size:14.5px; }
.kp-feat li:first-child{ border-top:0; }
.kp-feat .num{ font-family:var(--font-mono); font-size:12px; color:var(--accent); flex:none; margin-top:3px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid{ margin-top:56px; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--hair); }
.price-cell{ padding:32px 26px; display:flex; flex-direction:column; position:relative; background:var(--canvas); }
.price-cell.feat{ background:var(--ivory); }
.price-cell.feat::before{ content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--accent); }
.price-tag-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:24px; }
.price-name{ font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--sub); }
.price-rec{ font-size:10px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); border:1px solid var(--accent); border-radius:999px; padding:3px 9px; }
.price-amt{ font-weight:500; font-size:46px; line-height:1; letter-spacing:-.03em; margin:18px 0 0; }
.price-amt .per{ font-size:.32em; color:var(--faint); font-weight:400; letter-spacing:0; margin-left:3px; }
.price-feats{ list-style:none; margin:22px 0 0; padding:0; flex:1; }
.price-feats li{ font-size:13px; color:var(--ink); padding:10px 0; border-top:1px solid var(--hair); display:flex; gap:11px; line-height:1.45; text-wrap:pretty; }
.price-feats li:first-child{ border-top:0; }
.price-feats .tick{ width:10px; height:1px; background:var(--accent); flex:none; margin-top:9px; }
.price-feats li.excl{ color:var(--faint); }
.price-feats li.excl .tick{ background:var(--faint); }
.price-feats .mono{ color:var(--ink); }
.price-tokens{ margin-top:18px; padding-top:16px; border-top:1px solid var(--hair); font-family:var(--font-mono); font-size:11px; color:var(--sub); line-height:1.5; }
.price-tokens .accent{ color:var(--ink); }
.price-tokens .mono{ color:var(--ink); }
.price-cta{ width:100%; justify-content:center; margin-top:22px; }

.ent-row{ margin-top:16px; border:1px solid var(--line); border-radius:14px; padding:24px 32px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.ent-row .ent-l{ display:flex; flex-direction:column; gap:7px; max-width:74ch; }
.ent-row .ent-name{ font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--sub); }
.ent-row .ent-d{ font-size:14px; color:var(--ink); line-height:1.5; text-wrap:pretty; }
.addons{ margin-top:24px; font-size:13px; color:var(--sub); line-height:1.7; max-width:80ch; }
.addons .mono{ color:var(--ink); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final{ background:var(--shell); color:var(--shell-ivory); position:relative; overflow:hidden; text-align:center; }
.final-fan{ position:absolute; left:50%; bottom:-180px; width:min(640px,100vw); max-width:100vw; transform:translateX(-50%); pointer-events:none; opacity:.4; overflow:hidden; }
.final-fan svg{ width:100%; height:auto; }
.final .wrap{ position:relative; z-index:2; padding:120px var(--gutter); }
.final h2{ color:var(--shell-ivory); margin:22px auto 0; max-width:18ch; }
.final .lead{ color:var(--shell-sub); margin:24px auto 0; max-width:52ch; }
.final-cta{ margin-top:40px; display:flex; gap:22px; align-items:center; justify-content:center; flex-wrap:wrap; }
.final-note{ margin-top:26px; font-size:12.5px; color:var(--shell-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--shell); color:var(--shell-sub); border-top:1px solid var(--shell-hair); }
.footer .wrap{ display:flex; align-items:flex-start; justify-content:space-between; gap:40px; padding:48px var(--gutter); flex-wrap:wrap; }
.footer .brand{ color:var(--shell-ivory); }
.footer-tag{ font-size:12.5px; color:var(--shell-faint); margin-top:14px; max-width:34ch; line-height:1.6; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--shell-faint); margin:0 0 14px; font-weight:500; }
.footer-col a{ display:block; font-size:13px; color:var(--shell-sub); padding:4px 0; }
.footer-col a:hover{ color:var(--shell-ivory); }
.footer-base{ border-top:1px solid var(--shell-hair); }
.footer-base .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px var(--gutter); font-size:12px; color:var(--shell-faint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  :root{ --gutter:32px; }
  .split, .safety-grid, .kp-grid{ grid-template-columns:1fr; gap:44px; }
  .loop-track{ grid-template-columns:repeat(2,1fr); border:1px solid var(--line); }
  .loop-node{ border-top:1px solid var(--hair); }
  .loop-node:nth-child(odd){ border-left:0; }
  .loop-node + .loop-node{ border-left:1px solid var(--hair); }
  .loop-node:nth-child(2n+1){ border-left:0; }
  .specsheet{ grid-template-columns:repeat(2,1fr); }
  .spec-cell:nth-child(3n){ border-right:1px solid var(--hair); }
  .spec-cell:nth-child(2n){ border-right:0; }
  .spec-cell:nth-child(n+3){ border-top:1px solid var(--hair); }
  .pricing-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:720px){
  :root{ --gutter:20px; }
  body{ font-size:15px; }
  .nav .wrap{ height:60px; gap:14px; }
  .nav-links{ display:none; }
  .nav-right .signin{ display:none; }
  .pad{ padding-top:72px; padding-bottom:72px; }
  .pad-sm{ padding-top:56px; padding-bottom:56px; }
  .hero{ padding:56px 0 0; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-scope{ justify-self:center; max-width:340px; }
  .hero-meta{ gap:0; }
  .hero-meta .m{ padding-right:20px; }
  .hero-meta .m + .m{ padding-left:20px; }
  .product-caption{ display:none; }
  .pricing-grid{ grid-template-columns:1fr; }
  .ent-row{ flex-direction:column; align-items:flex-start; gap:18px; }
  .ent-row .btn{ width:100%; justify-content:center; }
  .product-stage{ margin-top:44px; }
  .mock{ height:auto; flex-direction:column; }
  .mock-sb{ display:none; }
  .mock-ws{ padding:20px; }
  .mock-grid{ grid-template-columns:1fr; }
  .mock-title{ font-size:26px; }
  .mock-actions{ display:none; }
  .loop-track{ grid-template-columns:1fr; }
  .loop-node, .loop-node + .loop-node{ border-left:0; border-top:1px solid var(--hair); }
  .loop-node:first-child{ border-top:0; }
  .specsheet{ grid-template-columns:1fr; }
  .spec-cell, .spec-cell:nth-child(3n){ border-right:0; }
  .spec-cell:nth-child(n+2){ border-top:1px solid var(--hair); }
  .kp-tokens{ grid-template-columns:repeat(4,1fr); }
  .score-card{ padding:28px 24px; }
  .score-card .sc-num{ font-size:64px; }
  .spec-cell .sp-n{ font-size:46px; }
  .footer .wrap{ flex-direction:column; gap:32px; }
  .final .wrap{ padding:80px var(--gutter); }
}

@media (prefers-reduced-motion:no-preference){
  [data-reveal]{ opacity:0; transform:translateY(16px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].in{ opacity:1; transform:none; }

  /* governance loop — staggered cascade (JS adds .in per node, 160ms apart) */
  .loop-node[data-anim]{ opacity:0; transform:translateY(18px); }
  .loop-node[data-anim] .ln-ill{ opacity:0; transform:scale(.92); transform-origin:18px 32px; }
  .loop-node[data-anim].in{ opacity:1; transform:none; transition:opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
  .loop-node[data-anim].in .ln-ill{ opacity:1; transform:none; transition:opacity .5s ease .1s, transform .7s cubic-bezier(.2,.7,.2,1) .1s; }

  .draw-path{ stroke-dasharray:var(--len); stroke-dashoffset:var(--len); }
  .loop-node.in .draw-path{ animation:draw 1s cubic-bezier(.4,0,.2,1) .2s forwards; }
  @keyframes draw{ to{ stroke-dashoffset:0; } }

  /* honest-score — trajectory builds itself: ink segment draws 58→now, then
     dashed orange projection draws toward the empty (unconfirmed) ring */
  .score-card[data-reveal] .ruler .seg,
  .score-card[data-reveal] .ruler .dash{ transform:scaleX(0); transform-origin:left center; }
  .score-card[data-reveal] .ruler .pt.now,
  .score-card[data-reveal] .ruler .pt.proj,
  .score-card[data-reveal] .ruler .cap.now-cap,
  .score-card[data-reveal] .ruler .cap.proj{ opacity:0; }
  .score-card[data-reveal].in .ruler .seg{ transform:scaleX(1); transition:transform .8s cubic-bezier(.4,0,.2,1) .3s; }
  .score-card[data-reveal].in .ruler .dash{ transform:scaleX(1); transition:transform .7s cubic-bezier(.4,0,.2,1) 1.15s; }
  .score-card[data-reveal].in .ruler .pt.now{ opacity:1; transition:opacity .3s ease 1s; }
  .score-card[data-reveal].in .ruler .pt.proj{ opacity:1; transition:opacity .4s ease 1.75s; }
  .score-card[data-reveal].in .ruler .cap.now-cap{ opacity:1; transition:opacity .4s ease 1s; }
  .score-card[data-reveal].in .ruler .cap.proj{ opacity:1; transition:opacity .4s ease 1.75s; }

  /* safety diff card — lines arrive in sequence, then the orange check pops last */
  .pr-diagram[data-reveal] .diff-line,
  .pr-diagram[data-reveal] .diff-foot{ opacity:0; transform:translateY(6px); }
  .pr-diagram[data-reveal] .check-c{ opacity:0; transform:scale(.3); }
  .pr-diagram[data-reveal].in .diff-line{ opacity:1; transform:none; transition:opacity .4s ease, transform .4s ease; }
  .pr-diagram[data-reveal].in .diff-card .diff-line:nth-child(2){ transition-delay:.2s; }
  .pr-diagram[data-reveal].in .diff-card .diff-line:nth-child(3){ transition-delay:.34s; }
  .pr-diagram[data-reveal].in .diff-card .diff-line:nth-child(4){ transition-delay:.48s; }
  .pr-diagram[data-reveal].in .diff-card .diff-line:nth-child(5){ transition-delay:.62s; }
  .pr-diagram[data-reveal].in .diff-foot{ opacity:1; transform:none; transition:opacity .5s ease .9s, transform .5s ease .9s; }
  .pr-diagram[data-reveal].in .check-c{ opacity:1; transform:scale(1); transition:opacity .3s ease .95s, transform .55s cubic-bezier(.2,1.5,.4,1) .95s; }
}
