/* nimu — shared landing shell (Traced). Locked design system:
 * Bricolage + Outfit + Geist Mono, warm near-black, signal-green, node-kind
 * colours, warm grain, faithful .rf-node/.rf-edge-label canvas vocabulary,
 * and the section flow animations. Pages link this file. */

/* ==================================================================
 *  nimu · landing — evolved from "Spotlight Dark", 3 alternatives that
 *  read as OURS, not a Linear clone. Same layout throughout.
 *
 *  Shared nimu DNA (all three): Bricolage display + Outfit body (not
 *  Inter), warm paper grain, the brand route mark, warm near-black,
 *  signal-green, and the node-kind colour family.
 *
 *  D  TRACED      — the route threads the page: numbered "stops",
 *                   hand-drawn trace dividers, a trace into the hero.
 *  E  KIND SYSTEM — the 5 node-kind colours become the accent system;
 *                   the hero flow is mid-PLAY (a lit path travels).
 *  F  WARM EDITORIAL — oversized display + big ghost numerals, heavier
 *                   grain, generous, magazine-like.
 * ================================================================== */

:root {
  --bg:#0f0f0c; --surface:#151410; --text:#f4f1ea; --muted:#a49c8a; --faint:#726c5c;
  --line:rgba(255,255,255,.08); --line-2:rgba(255,255,255,.13);
  --accent:#5fc9a3; --accent-2:#4fb894; --accent-strong:#86dcb8;
  --btn-bg:#f4f1ea; --btn-fg:#0f0f0c;
  --kc-start:#4fd39a; --kc-step:#a48cf0; --kc-decision:#7c84f0; --kc-event:#e0b45a; --kc-end:#e07a68;
  --glow: radial-gradient(58% 80% at 50% 0%, rgba(95,201,163,.16), transparent 70%);
  --grain-op:.5;
  --font-h:'Bricolage Grotesque',sans-serif; --font-b:'Outfit',sans-serif; --font-m:'Geist Mono',monospace;
  --h1w:800; --h1:clamp(2.7rem,5.4vw,4.4rem);
  --ease:cubic-bezier(.16,1,.3,1);
}
/* E — kind-colour accent system + play energy */
[data-style="e"] { --accent:#a48cf0; --accent-2:#8b6cf0; --accent-strong:#c9b8ff; --glow: radial-gradient(58% 80% at 50% 0%, rgba(139,108,240,.18), transparent 68%); --grain-op:.42; }
/* F — warm editorial */
[data-style="f"] { --bg:#100f0b; --text:#f6f2e8; --muted:#a89f8b; --glow: radial-gradient(60% 82% at 50% 0%, rgba(201,154,63,.13), rgba(95,201,163,.06) 40%, transparent 72%); --grain-op:.72; --h1:clamp(3rem,6.4vw,5.4rem); }

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--text); font-family:var(--font-b); line-height:1.55; -webkit-font-smoothing:antialiased; padding-top:0; }
a { color:inherit; text-decoration:none; } svg { display:block; }
.wrap { max-width:1140px; margin:0 auto; padding:0 40px; }
h1,h2,h3 { font-family:var(--font-h); letter-spacing:-.03em; font-weight:var(--h1w); line-height:1.04; }
.mono { font-family:var(--font-m); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); }
.ey { font-family:var(--font-m); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-2); display:inline-flex; align-items:center; gap:9px; }
.ey::before { content:""; width:7px; height:7px; border-radius:2px; background:currentColor; }

/* warm grain overlay — the nimu tactility Linear doesn't have */
.grain { position:fixed; inset:0; z-index:60; pointer-events:none; mix-blend-mode:soft-light; opacity:var(--grain-op);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }

.btn { display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 22px; border-radius:10px; font-family:var(--font-b); font-size:.92rem; font-weight:600; cursor:pointer; border:1px solid transparent; transition:all .2s; }
.btn-primary { background:var(--btn-bg); color:var(--btn-fg); }
[data-style="e"] .btn-primary { background:var(--accent); color:#0f0f0c; }
.btn-primary:hover { transform:translateY(-1px); box-shadow:0 10px 30px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost { border-color:var(--line-2); color:var(--text); } .btn-ghost:hover { background:rgba(255,255,255,.05); }
.btn-sm { height:36px; padding:0 15px; font-size:.83rem; }

/* meta */
.meta { position:fixed; top:0; left:0; right:0; height:44px; z-index:3000; display:flex; align-items:center; gap:12px; padding:0 16px; background:#0b0c0e; border-bottom:1px solid #1e2024; font-family:var(--font-m); color:#7d828b; font-size:11px; }
.meta .brand { color:#d9dce1; } .meta .brand b { color:#7fe3c0; } .meta .gl { font-size:8.5px; letter-spacing:.14em; text-transform:uppercase; color:#565a62; }
.meta button { font:inherit; border:none; background:none; padding:5px 11px; border-radius:6px; color:#8a8f98; cursor:pointer; } .meta button:hover { background:#16171a; color:#c7cbd2; } .meta button.on { background:#1d1e22; color:#7fe3c0; }
.meta .div { width:1px; height:20px; background:#23252a; } .meta .spacer { flex:1; } .meta .hint { font-size:9.5px; color:#4c5058; }

/* nav */
.nav { position:sticky; top:0; z-index:200; background:color-mix(in srgb, var(--bg) 76%, transparent); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
.nav-in { max-width:1140px; margin:0 auto; padding:0 40px; height:62px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.nav-in .logo { justify-self:start; } .nav-in .nav-links { justify-self:center; } .nav-in .nav-right { justify-self:end; }
.logo { display:flex; align-items:center; gap:9px; font-family:var(--font-h); font-weight:700; font-size:1.06rem; letter-spacing:-.02em; }
.logo svg { width:23px; height:23px; color:var(--accent); }
.nav-links { display:flex; gap:28px; align-items:center; } .nav-links > a, .nav-drop > a { font-size:.86rem; color:var(--muted); line-height:1; } .nav-links a:hover { color:var(--text); }
.nav-right { display:flex; align-items:center; gap:16px; } .nav-right .si { font-size:.86rem; color:var(--muted); }

/* hero */
.hero { text-align:center; padding:92px 0 0; position:relative; }
.pill { display:inline-flex; align-items:center; gap:8px; height:30px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); font-size:.78rem; color:var(--muted); }
.pill .n { color:var(--accent-2); font-weight:600; }
.hero h1 { margin:26px auto 0; max-width:15ch; font-size:var(--h1); }
.hero p.sub { margin:22px auto 0; max-width:52ch; font-size:1.14rem; color:var(--muted); }
.hero .cta { margin-top:30px; display:flex; gap:12px; justify-content:center; }
.hero-shot { position:relative; margin:60px auto 0; max-width:1000px; padding-bottom:80px; }

/* logo cloud */
.logos { padding:38px 0 68px; text-align:center; }
.logos .lbl { margin-bottom:22px; }
.logo-row { display:flex; flex-wrap:wrap; gap:14px 32px; justify-content:center; align-items:center; }
.logo-row span { font-family:var(--font-h); font-weight:600; font-size:1.02rem; color:var(--faint); letter-spacing:-.01em; }
[data-style="e"] .logo-row span:nth-child(5n+1){color:var(--kc-start)} [data-style="e"] .logo-row span:nth-child(5n+2){color:var(--kc-step)} [data-style="e"] .logo-row span:nth-child(5n+3){color:var(--kc-decision)} [data-style="e"] .logo-row span:nth-child(5n+4){color:var(--kc-event)} [data-style="e"] .logo-row span:nth-child(5n+5){color:var(--kc-end)}

/* sections */
.sec { padding:86px 0; border-top:1px solid var(--line); }
.sec-head { max-width:760px; } .sec-head h2 { font-size:clamp(1.9rem,3.6vw,2.8rem); } .sec-head p { margin-top:14px; color:var(--muted); font-size:1.06rem; }
/* D — trace divider instead of a flat rule */
.sec, .feat { border-top:none; background-repeat:no-repeat; background-position:center top; background-size:1200px 14px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='14'%3E%3Cpath d='M0 7 C 120 2 200 12 320 7 C 440 2 520 12 640 7 C 760 2 840 12 960 7 C 1080 2 1140 10 1200 6' fill='none' stroke='%235fc9a3' stroke-opacity='0.32' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* 3-up */
.three { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin-top:50px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.cell { background:var(--bg); padding:34px 28px; } .cell .iso { height:104px; display:grid; place-items:center; margin-bottom:20px; color:var(--faint); }
.cell h3 { font-size:1.12rem; } .cell p { margin-top:8px; color:var(--muted); font-size:.94rem; }
[data-style="e"] .cell:nth-child(1) .iso{color:var(--kc-start)} [data-style="e"] .cell:nth-child(2) .iso{color:var(--kc-step)} [data-style="e"] .cell:nth-child(3) .iso{color:var(--kc-decision)}

/* feature */
.feat { padding:94px 0; border-top:1px solid var(--line); position:relative; }
.feat-head { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:end; margin-bottom:38px; position:relative; z-index:1; }
.feat-head .lt .ey { margin-bottom:14px; }
.feat-head h2 { font-size:clamp(1.9rem,3.8vw,2.9rem); max-width:15ch; }
.feat-head .rt p { color:var(--muted); font-size:1.04rem; }
.feat-head .rt .links { margin-top:16px; display:flex; flex-wrap:wrap; gap:10px 20px; }
.feat-head .rt .links a { font-size:.85rem; color:var(--accent-2); display:inline-flex; gap:6px; } .feat-head .rt .links a::before { content:"→"; color:var(--faint); }
/* E — eyebrow colour per node-kind */
[data-style="e"] [data-kind="step"] .ey{color:var(--kc-step)} [data-style="e"] [data-kind="decision"] .ey{color:var(--kc-decision)} [data-style="e"] [data-kind="end"] .ey{color:var(--kc-end)}
/* F — oversized ghost numeral behind each feature */
.bignum { display:none; }
[data-style="f"] .bignum { display:block; position:absolute; top:40px; right:0; font-family:var(--font-h); font-weight:800; font-size:13rem; line-height:1; color:color-mix(in srgb, var(--text) 5%, transparent); z-index:0; pointer-events:none; }
[data-style="f"] .feat-head h2 { font-size:clamp(2.2rem,4.4vw,3.4rem); }

/* device (real canvas, always dark) — carried over */
.device { --d-bg:#0f0f0c; --d-text:#f4f1ea; --d-muted:#a49c8a; --d-faint:#726c5c;
  --d-card:rgba(30,29,21,.86); --d-brd:rgba(255,255,255,.09); --d-glass:rgba(26,25,18,.86); --d-glass-brd:rgba(255,255,255,.1);
  --d-edge:rgba(220,210,180,.28); --d-sel:#5fc9a3; --d-accent:#4fb894; --d-accent-2:#86dcb8; --d-accent-sub:rgba(79,184,148,.16);
  --d-surface2:#1c1c13; --d-diffadd:#4fd39a; --d-warn:#e0b45a;
  --kc-start:#4fd39a; --kc-step:#a48cf0; --kc-decision:#7c84f0; --kc-event:#e0b45a; --kc-end:#e07a68;
  position:relative; border:1px solid var(--line-2); border-radius:16px; overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); box-shadow:0 50px 120px -50px rgba(0,0,0,.7); }
.device-bar { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--d-brd); background:rgba(20,20,15,.6); }
.device-bar .dots { display:flex; gap:6px; } .device-bar .dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.12); }
.device-bar .t { font-family:var(--font-m); font-size:.68rem; color:var(--d-faint); } .device-bar .m { margin-left:auto; font-family:var(--font-m); font-size:.64rem; letter-spacing:.1em; color:var(--d-accent-2); }
.canvas { position:relative; overflow:hidden; background-color:var(--d-bg); background-image:radial-gradient(rgba(240,235,220,.05) 1px, transparent 1px); background-size:22px 22px; }
.canvas .edges { position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.edge { fill:none; stroke:var(--d-edge); stroke-width:2; stroke-linecap:round; } .edge.live { stroke:var(--d-sel); stroke-width:2.6; }
.edge.old { stroke:rgba(255,255,255,.1); stroke-width:1.6; stroke-dasharray:5 5; } .edge.blocked { stroke:var(--d-faint); stroke-width:2; stroke-dasharray:5 5; opacity:.8; }
.handle { fill:var(--d-bg); stroke:var(--d-edge); stroke-width:1.5; } .handle.live { stroke:var(--d-sel); }
.rf-node { --kc:var(--kc-step); position:absolute; z-index:2; width:170px; border-radius:10px; background:var(--d-card); backdrop-filter:blur(8px); border:1px solid var(--d-brd); box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc) 14%, transparent); }
.rf-node .head { display:flex; align-items:center; gap:7px; padding:10px 13px 5px; } .rf-node .kind-dot { width:9px; height:9px; border-radius:2px; background:var(--kc); }
.rf-node .kindname { font-size:9.5px; text-transform:uppercase; letter-spacing:.1em; font-weight:600; color:color-mix(in srgb, var(--kc) 62%, var(--d-muted)); }
.rf-node .label { padding:0 13px 11px; font-size:13.5px; font-weight:500; color:var(--d-text); letter-spacing:-.01em; }
.rf-node .meta { display:flex; gap:5px; padding:0 13px 11px; } .rf-node .pill2 { display:inline-flex; align-items:center; height:19px; padding:0 7px; border-radius:6px; font-size:9.5px; background:var(--d-surface2); color:var(--d-muted); box-shadow:inset 0 0 0 1px var(--d-brd); }
.rf-node.k-start{--kc:var(--kc-start)} .rf-node.k-step{--kc:var(--kc-step)} .rf-node.k-decision{--kc:var(--kc-decision)} .rf-node.k-event{--kc:var(--kc-event)} .rf-node.k-end{--kc:var(--kc-end)}
.rf-node.ghost { border-style:dashed; border-color:color-mix(in srgb, var(--d-accent) 55%, transparent); background:color-mix(in srgb, var(--d-accent) 8%, transparent); box-shadow:none; } .rf-node.ghost .label { color:var(--d-accent-2); }
.rf-node .nstatus { position:absolute; top:-9px; left:12px; font-family:var(--font-m); font-size:9px; color:#0f0f0c; padding:2px 7px; border-radius:5px; background:var(--d-diffadd); }
.rf-node.current { border-color:var(--d-accent); box-shadow:0 0 0 3px var(--d-accent-sub), 0 18px 40px -24px rgba(0,0,0,.82); }
.rf-node.dim { opacity:.32; filter:saturate(.4); } .rf-node.spot { box-shadow:0 0 0 3px var(--d-accent-sub), 0 0 34px -6px rgba(95,201,163,.5); }
.rf-elabel { position:absolute; z-index:3; transform:translate(-50%,-50%); display:inline-flex; align-items:center; gap:5px; padding:3px 9px; font-size:11px; font-weight:500; background:var(--d-glass); backdrop-filter:blur(8px); border:1px solid var(--d-glass-brd); border-radius:999px; color:var(--d-muted); white-space:nowrap; }
.rf-elabel .etag { font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; padding:1px 5px; border-radius:4px; } .rf-elabel .etag.guard { background:color-mix(in srgb, var(--d-warn) 18%, transparent); color:var(--d-warn); }
.rf-elabel.available { color:var(--d-accent-2); border-color:color-mix(in srgb, var(--d-accent) 45%, transparent); } .rf-elabel.blocked { color:#e07a68; border-color:rgba(224,122,104,.4); } .rf-elabel .lock { display:inline-grid; place-items:center; }
.d-rail { position:absolute; left:12px; top:12px; z-index:4; display:flex; flex-direction:column; gap:3px; padding:6px 5px; background:var(--d-glass); border:1px solid var(--d-glass-brd); border-radius:11px; } .d-rail .b { width:30px; height:30px; display:grid; place-items:center; border-radius:7px; color:var(--d-muted); } .d-rail .b.add { color:var(--d-accent-2); } .d-rail .b svg { width:15px; height:15px; }
.d-mode { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); z-index:4; display:flex; gap:3px; padding:3px; background:var(--d-glass); border:1px solid var(--d-glass-brd); border-radius:11px; } .d-mode .m { display:flex; align-items:center; gap:6px; padding:6px 15px; border-radius:7px; font-size:12px; font-weight:500; color:var(--d-muted); } .d-mode .m.on { background:var(--d-accent); color:#0c130f; }
.d-inspect { position:absolute; top:12px; right:12px; z-index:4; display:flex; gap:2px; padding:3px 4px; background:var(--d-glass); border:1px solid var(--d-glass-brd); border-radius:11px; } .d-inspect .c { padding:5px 10px; border-radius:7px; font-size:11px; color:var(--d-muted); } .d-inspect .c.on { background:var(--d-accent-sub); color:var(--d-accent-2); }
.d-tiny { position:absolute; z-index:3; font-family:var(--font-m); font-size:9px; color:var(--d-faint); }
/* =================== ANIMATED SECTION VISUALS ===================
 * CSS-only, looping, in-view-gated (.playing added by IntersectionObserver).
 * Base (non-playing / reduced-motion) state = the meaningful resolved frame.
 * Motion primitives mirror the app: comet light sweeps a path (edge-comet),
 * node arrive-glow (arrivePop), current ring, dashed+lock for blocked. */
.device .comet { fill:none; stroke:#7fe3c0; stroke-width:3; stroke-linecap:round; stroke-dasharray:6 100; stroke-dashoffset:100; opacity:0; filter:drop-shadow(0 0 5px rgba(95,201,163,.55)); }
.device .draw-in { stroke-dasharray:100 100; }
/* build agent prompt bubble */
.d-prompt { position:absolute; z-index:5; padding:10px 12px; border-radius:12px 12px 12px 4px; background:var(--d-glass); border:1px solid var(--d-glass-brd); backdrop-filter:blur(8px); font-size:11.5px; color:var(--d-text); max-width:230px; line-height:1.35; }
.d-prompt .who { font-family:var(--font-m); font-size:8.5px; letter-spacing:.1em; color:var(--kc-step); margin-bottom:4px; }
.d-prompt .car { display:inline-block; width:1.5px; height:12px; background:var(--d-accent-2); vertical-align:-2px; margin-left:1px; }
.rewind-chip { position:absolute; z-index:5; top:14px; left:50%; transform:translateX(-50%); display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:999px; background:var(--d-glass); border:1px solid var(--d-glass-brd); backdrop-filter:blur(8px); font-family:var(--font-m); font-size:10px; letter-spacing:.12em; color:var(--d-accent-2); opacity:0; }

@media (prefers-reduced-motion: no-preference) {
  /* ---- HERO (playthrough, 6s) ---- */
  .anim-hero.playing .cH1 { animation:cH1 6s linear infinite; }
  .anim-hero.playing .cH2 { animation:cH2 6s linear infinite; }
  .anim-hero.playing .cH3 { animation:cH3 6s linear infinite; }
  .anim-hero.playing .nArr { animation:heroArrive 6s var(--ease) infinite; }
  /* ---- BUILD (describe -> pending diff, 7.5s) ---- */
  .anim-build.playing .d-prompt { animation:bPrompt 7.5s var(--ease) infinite; }
  .anim-build.playing .d-prompt .car { animation:caret 1s step-end infinite; }
  .anim-build.playing .nGhost { animation:bGhost 7.5s var(--ease) infinite; }
  .anim-build.playing .dB1 { animation:dB1 7.5s var(--ease) infinite; }
  .anim-build.playing .dB2 { animation:dB2 7.5s var(--ease) infinite; }
  .anim-build.playing .nLabelB { animation:bLabel 7.5s var(--ease) infinite; }
  /* ---- PLAY (blocked reason, 6.5s) ---- */
  .anim-play.playing .cP1 { animation:cP1 6.5s linear infinite; }
  .anim-play.playing .cP2 { animation:cP2 6.5s linear infinite; }
  .anim-play.playing .nCur { animation:playRing 6.5s var(--ease) infinite; }
  .anim-play.playing .nApp { animation:playApproved 6.5s var(--ease) infinite; }
  .anim-play.playing .nLock { animation:lockNudge 6.5s var(--ease) infinite; }
  /* ---- TIME TRAVEL (rewind & replay, 7s) ---- */
  .anim-time.playing .dT2 { animation:dT2 7s var(--ease) infinite; }
  .anim-time.playing .dT3 { animation:dT3 7s var(--ease) infinite; }
  .anim-time.playing .nT3 { animation:nT3 7s var(--ease) infinite; }
  .anim-time.playing .nT4 { animation:nT4 7s var(--ease) infinite; }
  .anim-time.playing .rewindPill { animation:rewindPill 7s var(--ease) infinite; }
}
/* comet sweeps (windowed so a single light runs each edge in sequence) */
@keyframes cH1 { 0%{stroke-dashoffset:100;opacity:0} 3%{opacity:1} 20%{stroke-dashoffset:0;opacity:1} 24%{stroke-dashoffset:0;opacity:0} 100%{stroke-dashoffset:0;opacity:0} }
@keyframes cH2 { 0%,20%{stroke-dashoffset:100;opacity:0} 24%{opacity:1} 39%{stroke-dashoffset:0;opacity:1} 43%{opacity:0} 100%{opacity:0} }
@keyframes cH3 { 0%,40%{stroke-dashoffset:100;opacity:0} 44%{opacity:1} 58%{stroke-dashoffset:0;opacity:1} 62%{opacity:0} 100%{opacity:0} }
@keyframes heroArrive {
  0%,54% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
  64% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px var(--d-accent), 0 0 34px -6px rgba(95,201,163,.6); }
  82% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px var(--d-accent-sub), 0 0 18px -8px rgba(95,201,163,.4); }
  100% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
}
/* build reveal */
@keyframes bPrompt { 0%,3%{opacity:0; transform:translateY(6px)} 9%{opacity:1; transform:none} 92%{opacity:1} 98%,100%{opacity:0} }
@keyframes caret { 0%,49%{opacity:1} 50%,100%{opacity:0} }
@keyframes bGhost { 0%,16%{opacity:0; transform:translateY(8px) scale(.96)} 24%{opacity:1; transform:none} 92%{opacity:1} 98%,100%{opacity:0} }
@keyframes dB1 { 0%,24%{stroke-dashoffset:100} 40%{stroke-dashoffset:0} 92%{stroke-dashoffset:0} 98%,100%{stroke-dashoffset:100} }
@keyframes dB2 { 0%,42%{stroke-dashoffset:100} 58%{stroke-dashoffset:0} 92%{stroke-dashoffset:0} 98%,100%{stroke-dashoffset:100} }
@keyframes bLabel { 0%,40%{opacity:0; transform:translate(-50%,-50%) scale(.9)} 47%{opacity:1; transform:translate(-50%,-50%) scale(1)} 92%{opacity:1} 98%,100%{opacity:0} }
/* play */
@keyframes cP1 { 0%{stroke-dashoffset:100;opacity:0} 4%{opacity:1} 20%{stroke-dashoffset:0;opacity:1} 24%{opacity:0} 100%{opacity:0} }
@keyframes cP2 { 0%,32%{stroke-dashoffset:100;opacity:0} 36%{opacity:1} 50%{stroke-dashoffset:0;opacity:1} 54%{opacity:0} 100%{opacity:0} }
@keyframes playRing {
  0%,14% { box-shadow:0 0 0 3px var(--d-accent-sub), 0 18px 40px -24px rgba(0,0,0,.82); }
  24% { box-shadow:0 0 0 3px var(--d-accent), 0 0 26px -6px rgba(95,201,163,.5), 0 18px 40px -24px rgba(0,0,0,.82); }
  38%,100% { box-shadow:0 0 0 3px var(--d-accent-sub), 0 18px 40px -24px rgba(0,0,0,.82); }
}
@keyframes playApproved {
  0%,46% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
  58% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px var(--d-accent), 0 0 30px -6px rgba(95,201,163,.55); }
  100% { box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
}
@keyframes lockNudge { 0%,52%{transform:translate(-50%,-50%)} 56%{transform:translate(calc(-50% - 3px),-50%)} 60%{transform:translate(calc(-50% + 3px),-50%)} 64%,100%{transform:translate(-50%,-50%)} }
/* time travel: path retracts from the end (rewind), then replays forward */
@keyframes dT3 { 0%,6%{stroke-dashoffset:0} 20%{stroke-dashoffset:100} 64%{stroke-dashoffset:100} 78%{stroke-dashoffset:0} 100%{stroke-dashoffset:0} }
@keyframes dT2 { 0%,22%{stroke-dashoffset:0} 36%{stroke-dashoffset:100} 50%{stroke-dashoffset:100} 62%{stroke-dashoffset:0} 100%{stroke-dashoffset:0} }
@keyframes nT4 {
  0%,12% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
  22%,72% { opacity:.34; filter:saturate(.4); box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
  80% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px var(--d-accent), 0 0 30px -6px rgba(95,201,163,.55); }
  92%,100% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-end) 14%, transparent); }
}
@keyframes nT3 {
  0%,26% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-step) 14%, transparent); }
  38%,58% { opacity:.34; filter:saturate(.4); box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-step) 14%, transparent); }
  64% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px var(--d-accent), 0 0 26px -6px rgba(95,201,163,.5); }
  76%,100% { opacity:1; filter:none; box-shadow:0 18px 40px -24px rgba(0,0,0,.82), 0 0 0 3px color-mix(in srgb, var(--kc-step) 14%, transparent); }
}
@keyframes rewindPill { 0%,3%{opacity:0} 7%{opacity:1} 40%{opacity:1} 46%,100%{opacity:0} }

/* features grid (links out to dedicated feature pages) */
.fgrid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:44px; }
.fcard { display:flex; flex-direction:column; padding:26px 22px; border:1px solid var(--line); border-radius:14px; background:var(--surface); transition:transform .2s var(--ease), border-color .2s; }
.fcard:hover { transform:translateY(-3px); border-color:var(--line-2); }
.fcard:hover .more { color:var(--accent-strong); }
.fcard .fic { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; margin-bottom:16px; color:var(--c); background:color-mix(in srgb, var(--c) 15%, transparent); font-size:1rem; }
.fcard h3 { font-size:1.06rem; } .fcard p { color:var(--muted); font-size:.9rem; margin-top:7px; flex:1; }
.fcard .more { margin-top:16px; font-size:.83rem; font-weight:600; color:var(--accent-2); }

/* closing */
.closing { text-align:center; padding:130px 0; position:relative; }
.closing { border-top:none; background:no-repeat center top/1200px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='14'%3E%3Cpath d='M0 7 C 120 2 200 12 320 7 C 440 2 520 12 640 7 C 760 2 840 12 960 7 C 1080 2 1140 10 1200 6' fill='none' stroke='%235fc9a3' stroke-opacity='0.32' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.closing h2 { font-size:clamp(2.6rem,5.4vw,4.2rem); } .closing .cta { margin-top:30px; display:flex; gap:12px; justify-content:center; }

/* footer */
.footer { border-top:1px solid var(--line); padding:56px 0 40px; }
.foot-grid { display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:30px; }
.foot-grid .col h5 { font-size:.78rem; color:var(--faint); text-transform:uppercase; letter-spacing:.1em; margin-bottom:14px; }
.foot-grid .col a { display:block; font-size:.88rem; color:var(--muted); margin-bottom:10px; } .foot-grid .col a:hover { color:var(--text); }
.foot-brand .logo { margin-bottom:12px; } .foot-brand p { color:var(--faint); font-size:.86rem; max-width:28ch; }
.foot-bottom { margin-top:40px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; color:var(--faint); }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s var(--ease); } .reveal.vis { opacity:1; transform:none; }
@media (max-width:900px){ .three{grid-template-columns:1fr} .feat-head{grid-template-columns:1fr; gap:16px} .fgrid{grid-template-columns:repeat(2,1fr)} .foot-grid{grid-template-columns:1fr 1fr} .nav-links{display:none} .rf-node{width:150px} [data-style="f"] .bignum{display:none} }

/* ---- SHARE / PRESENT (spotlight advances) — used on the Share page ---- */
.share-bar { position:absolute; z-index:5; top:14px; left:50%; transform:translateX(-50%); display:inline-flex; align-items:center; gap:9px; max-width:78%;
  padding:6px 8px 6px 13px; border-radius:999px; background:var(--d-glass); border:1px solid var(--d-glass-brd); backdrop-filter:blur(8px); font-family:var(--font-m); font-size:11px; color:var(--d-muted); }
.share-bar .u { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.share-bar .pw { flex:none; display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; background:var(--d-accent-sub); color:var(--d-accent-2); font-size:9.5px; letter-spacing:.06em; }
@media (prefers-reduced-motion: no-preference) {
  .anim-share.playing .cS1 { animation:cS1 5.5s linear infinite; }
  .anim-share.playing .nSpotA { animation:spotA 5.5s var(--ease) infinite; }
  .anim-share.playing .nSpotB { animation:spotB 5.5s var(--ease) infinite; }
}
@keyframes cS1 { 0%,34%{stroke-dashoffset:100;opacity:0} 38%{opacity:1} 52%{stroke-dashoffset:0;opacity:1} 56%{opacity:0} 100%{opacity:0} }
@keyframes spotA { 0%,36%{opacity:1; box-shadow:0 0 0 3px var(--d-accent-sub), 0 0 34px -6px rgba(95,201,163,.55)} 54%,92%{opacity:.4; box-shadow:none} 100%{opacity:1; box-shadow:0 0 0 3px var(--d-accent-sub), 0 0 34px -6px rgba(95,201,163,.55)} }
@keyframes spotB { 0%,46%{opacity:.4; box-shadow:none} 60%,88%{opacity:1; box-shadow:0 0 0 3px var(--d-accent-sub), 0 0 34px -6px rgba(95,201,163,.55)} 100%{opacity:.4; box-shadow:none} }

/* cross-page feature grid (shared) */
.fgrid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:44px; }
.fcard { display:flex; flex-direction:column; padding:26px 22px; border:1px solid var(--line); border-radius:14px; background:var(--surface); transition:transform .2s var(--ease), border-color .2s; }
.fcard:hover { transform:translateY(-3px); border-color:var(--line-2); } .fcard:hover .more { color:var(--accent-strong); }
.fcard .fic { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; margin-bottom:16px; color:var(--c); background:color-mix(in srgb, var(--c) 15%, transparent); font-size:1rem; }
.fcard h3 { font-size:1.06rem; } .fcard p { color:var(--muted); font-size:.9rem; margin-top:7px; flex:1; } .fcard .more { margin-top:16px; font-size:.83rem; font-weight:600; color:var(--accent-2); }
.fcard.cur { border-color:color-mix(in srgb, var(--accent) 40%, transparent); background:color-mix(in srgb, var(--accent) 6%, var(--surface)); }
/* closing */
.closing { text-align:center; padding:130px 0; position:relative; }
.closing h2 { font-size:clamp(2.6rem,5.4vw,4.2rem); } .closing .cta { margin-top:30px; display:flex; gap:12px; justify-content:center; }
/* footer */
.footer { border-top:1px solid var(--line); padding:56px 0 40px; }
.foot-grid { display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:30px; }
.foot-grid .col h5 { font-size:.78rem; color:var(--faint); text-transform:uppercase; letter-spacing:.1em; margin-bottom:14px; }
.foot-grid .col a { display:block; font-size:.88rem; color:var(--muted); margin-bottom:10px; } .foot-grid .col a:hover { color:var(--text); }
.foot-brand .logo { margin-bottom:12px; } .foot-brand p { color:var(--faint); font-size:.86rem; max-width:28ch; }
.foot-bottom { margin-top:40px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; color:var(--faint); }
/* feature-page hero device width */
.page-shot { position:relative; margin:52px auto 0; max-width:1000px; }
@media (max-width:900px){ .fgrid{grid-template-columns:repeat(2,1fr)} }

/* nav Product dropdown */
.nav-drop { position:relative; }
.nav-drop > a { display:inline-flex; align-items:center; gap:6px; }
.caret { font-size:.58rem; color:var(--faint); transition:transform .2s; }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform:rotate(180deg); }
.drop { position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%) translateY(6px); width:344px; padding:10px;
  border:1px solid var(--line-2); border-radius:16px; background:color-mix(in srgb, var(--surface) 88%, #000);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); box-shadow:0 34px 80px -34px rgba(0,0,0,.75);
  opacity:0; visibility:hidden; transition:opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index:220; }
.drop::before { content:""; position:absolute; top:-16px; left:0; right:0; height:16px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.drop-item { display:flex; gap:12px; padding:11px 12px; border-radius:11px; align-items:flex-start; transition:background .18s; }
.drop-item:hover { background:rgba(255,255,255,.05); }
.drop-item .ic { width:32px; height:32px; border-radius:9px; flex:none; display:grid; place-items:center; color:var(--c); background:color-mix(in srgb, var(--c) 15%, transparent); font-size:.85rem; }
.drop-item .t { font-size:.88rem; font-weight:600; color:var(--text); display:block; }
.drop-item .d { font-size:.74rem; color:var(--muted); display:block; margin-top:2px; line-height:1.4; }
