/* Tayanch — Archive design system (the only theme; light + dark).
   Light: warm white paper, NEUTRAL near-black letters, clay only on links,
   buttons and accents. Dark: neutral charcoal with copper accents. The brown
   is the style, not the text. Headlines are Fraunces (self-hosted, OFL,
   optical-size variable); everything else is the system sans.
   Explicit choice via data-theme on <html>; otherwise follows the system. */
/* Fraunces — self-hosted (SIL OFL 1.1, fonts/Fraunces-OFL.txt). A variable
   optical-size axis, so one 66 KB file serves a 64px hero and a 20px card
   title correctly. Headlines only; body copy stays on the system sans, and
   nothing is fetched from a third party. */
@font-face{
  font-family:Fraunces;
  src:url(/fonts/fraunces.woff2) format("woff2");
  font-weight:500 700;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
                U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

*,*::before,*::after{box-sizing:border-box}
:root{
  --ink:#1f1e1c;--sub:#6d6a66;--line:#e9e6e1;--line2:#f3f1ed;
  --blue:#9c6236;--blue2:#b4794a;--red:#b1483a;--redbg:#fbeee9;--green:#456a43;--greenbg:#f0f5ec;
  --bg:#fffdfa;--alt:#f8f6f2;--maxw:1000px;
  --card:#ffffff;--chipbg:#f1efeb;--ctabg:#f5f3ef;--ctabg2:#ebe8e2;
  --navbg:rgba(255,253,250,.85);--navline:rgba(31,30,28,.08);--menubg:rgba(255,253,250,.97);
  --dropline:#d9d5cd;--dropdrag:#fbf6ee;--droplocked:#f6f4f0;
  --uncsig:#6d6a66;
  --navcta1:#9c6236;--navcta2:#8a5730;--navctaink:#fff;
  --acc1:#dcaf7c;--acc2:#b8804a;--accshadow:rgba(184,128,74,.22);--accshadow2:rgba(184,128,74,.34);

  /* TYPE — one scale for the whole site. Steps: 10 11 12 13 15 17 20 24 32
     plus three fluid display sizes. Nothing outside this list. */
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",
              "Segoe UI Variable Text","Segoe UI",Inter,Roboto,Cantarell,Ubuntu,
              "Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --font-mono:ui-monospace,"SF Mono","JetBrains Mono","Roboto Mono",Menlo,
              Consolas,"Liberation Mono",monospace;
  --fs-display:clamp(34px,5.6vw,64px);
  --fs-h1:clamp(30px,6.5vw,50px);
  --fs-h2:clamp(27px,4.4vw,38px);
  --fs-lead:clamp(15px,1.9vw,18px);
  --font-display:Fraunces,"Iowan Old Style","Palatino Linotype",Palatino,
                 Georgia,"Times New Roman",serif;
}
:root[data-theme="dark"]{
  --ink:#ecebe7;--sub:#a9a6a0;--line:#33312e;--line2:#282624;
  --blue:#e0aa6e;--blue2:#eec091;--red:#eda691;--redbg:#452720;--green:#a2cb98;--greenbg:#26361f;
  --bg:#171615;--alt:#1c1b19;
  --card:#222120;--chipbg:#2c2a27;--ctabg:#2c2a27;--ctabg2:#383531;
  --navbg:rgba(23,22,21,.82);--navline:rgba(233,189,133,.14);--menubg:rgba(23,22,21,.97);
  --dropline:#45423d;--dropdrag:#302a22;--droplocked:#1f1e1c;
  --uncsig:#a9a6a0;
  --navcta1:#e0aa6e;--navcta2:#c08a52;--navctaink:#2a2119;
  --acc1:#e9bd85;--acc2:#c48d55;--accshadow:rgba(233,189,133,.28);--accshadow2:rgba(233,189,133,.42);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#ecebe7;--sub:#a9a6a0;--line:#33312e;--line2:#282624;
    --blue:#e0aa6e;--blue2:#eec091;--red:#eda691;--redbg:#452720;--green:#a2cb98;--greenbg:#26361f;
    --bg:#171615;--alt:#1c1b19;
    --card:#222120;--chipbg:#2c2a27;--ctabg:#2c2a27;--ctabg2:#383531;
    --navbg:rgba(23,22,21,.82);--navline:rgba(233,189,133,.14);--menubg:rgba(23,22,21,.97);
    --dropline:#45423d;--dropdrag:#302a22;--droplocked:#1f1e1c;
    --uncsig:#a9a6a0;
    --navcta1:#e0aa6e;--navcta2:#c08a52;--navctaink:#2a2119;
    --acc1:#e9bd85;--acc2:#c48d55;--accshadow:rgba(233,189,133,.28);--accshadow2:rgba(233,189,133,.42);
  }
}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font-sans);font-size:15px;line-height:1.5;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{text-decoration:none;color:var(--blue)}
a:hover{text-decoration:underline}
::selection{background:var(--ink);color:var(--bg)}
svg{display:block}
h1,h2,p{margin:0}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.wrap.narrow{max-width:640px}

/* NAV */
.nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:0 20px;height:52px;background:var(--navbg);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--navline)}
.brand{font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.brand:hover{text-decoration:none}
.nav-links{display:none;align-items:center;gap:22px;font-size:15px}
.nav-links a{padding:8px 2px;display:inline-block}
.nav-links a{color:var(--ink)}
.nav-links a.active{color:var(--blue);font-weight:600}
.nav-cta{display:none;font-size:13px;padding:8px 16px;border-radius:980px;color:var(--navctaink);white-space:nowrap;
  background:linear-gradient(180deg,var(--navcta1),var(--navcta2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 3px 10px rgba(0,0,0,.2);transition:transform .22s ease}
.nav-cta:hover{text-decoration:none;transform:translateY(-1px)}
.theme-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer;padding:0;
  transition:background .18s ease}
.theme-btn:hover{background:var(--chipbg)}
.theme-btn .sun{display:none}.theme-btn .moon{display:block}
html.dark-active .theme-btn .sun{display:block}
html.dark-active .theme-btn .moon{display:none}
.burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;
  background:none;border:0;cursor:pointer;padding:9px;margin-right:-9px}
.burger span{height:2px;background:var(--ink);border-radius:2px;transition:transform .22s ease,opacity .18s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.menu{position:fixed;top:52px;left:0;right:0;z-index:29;display:none;flex-direction:column;
  padding:6px 24px 18px;background:var(--menubg);border-bottom:1px solid var(--line);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.menu.open{display:flex}
.menu a{color:var(--ink);font-size:17px;padding:13px 0;border-bottom:1px solid var(--line2)}
.menu a.cta{color:var(--blue);font-weight:600;border-bottom:0}

/* BUTTONS */
.btn{display:inline-block;border:0;cursor:pointer;font:inherit}
.btn-primary{padding:13px 28px;border-radius:980px;color:var(--navctaink);font-weight:500;font-size:17px;
  background:linear-gradient(180deg,var(--navcta1),var(--navcta2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 22px var(--accshadow);
  transition:transform .22s ease,box-shadow .22s ease}
.btn-primary:hover{transform:translateY(-1px);text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 12px 30px var(--accshadow2)}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.btn-link{padding:13px 12px;color:var(--blue);font-weight:500}

/* PAGE HEAD (every page except the landing) */
.page-head{text-align:center;padding:56px 24px 8px}
.page-head h1{font-family:var(--font-display);font-optical-sizing:auto;font-size:var(--fs-h1);font-weight:600;letter-spacing:-.025em;line-height:1.08;text-wrap:balance;margin-bottom:12px}
.page-head p{color:var(--sub);font-size:var(--fs-lead);line-height:1.5;max-width:560px;margin:0 auto;text-wrap:pretty}

/* SECTIONS */
.section{padding:64px 0}
.section.alt{background:var(--alt)}
.h2{font-family:var(--font-display);font-optical-sizing:auto;font-size:var(--fs-h2);font-weight:600;letter-spacing:-.02em;line-height:1.14;text-wrap:balance;text-align:center;margin-bottom:14px}
.lead{color:var(--sub);font-size:var(--fs-lead);line-height:1.55;text-align:center;max-width:520px;margin:0 auto 40px;text-wrap:pretty}

/* HOW */
.how-grid{display:grid;grid-template-columns:1fr;gap:32px}
.step-num{font-size:11px;font-weight:600;color:var(--blue);letter-spacing:.12em;
  text-transform:uppercase;margin-bottom:10px}
.step-title{font-family:var(--font-display);font-size:20px;font-weight:600;letter-spacing:-.015em;line-height:1.25;margin-bottom:8px}
.step-body{color:var(--sub);font-size:15px;line-height:1.6}

/* DEMO */
.demo-card{background:var(--card);border-radius:20px;padding:clamp(22px,5vw,40px);box-shadow:0 2px 24px rgba(0,0,0,.06);text-align:center}
.tabs{display:inline-flex;border-radius:980px;padding:3px;background:var(--chipbg);margin-bottom:24px;max-width:100%}
.tab{border:0;cursor:pointer;padding:7px 16px;border-radius:980px;font-size:13px;background:transparent;color:var(--sub);font:inherit;font-size:13px}
.tab.active{background:var(--card);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.dropzone{border:1px dashed var(--dropline);border-radius:14px;padding:34px 18px;color:var(--sub);font-size:15px;
  margin-bottom:24px;cursor:pointer;transition:border-color .18s ease,background .18s ease;word-break:break-word}
.dropzone.drag{border-color:var(--blue);background:var(--dropdrag);color:var(--blue)}
.dropzone.locked{cursor:default;border-style:solid;border-color:var(--line);background:var(--droplocked)}
.urlrow{display:flex;align-items:center;gap:10px;margin:-10px 0 6px}
.urlrow-or{color:var(--sub);font-size:12px;flex:0 0 auto}
.urlinput{flex:1;min-width:0;padding:10px 14px;border-radius:980px;border:1px solid var(--line);
  background:var(--card);color:var(--ink);font:inherit;font-size:17px;outline:none;
  transition:border-color .18s ease}
.urlinput:focus{border-color:var(--blue)}
.urlinput::placeholder{color:var(--sub)}
.urlbtn{flex:0 0 auto;padding:9px 16px;border-radius:980px;font-size:13px;font-weight:500;
  background:var(--chipbg);border:1px solid var(--line);color:var(--ink)}
.urlbtn:hover{background:var(--ctabg2)}
.urlbtn:disabled{opacity:.5;cursor:not-allowed}
.urlnote{color:var(--sub);font-size:12px;margin-bottom:18px}
.urlrow.hidden,.urlnote.hidden{display:none}
.result{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);display:none;
  flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;text-align:left}
.result .k{font-size:13px;color:var(--sub);margin-bottom:4px}
.result .v{font-weight:600;font-size:20px;letter-spacing:-.01em}
.result-left{display:flex;align-items:center;gap:14px}
.result-thumb{width:56px;height:56px;border-radius:10px;object-fit:cover;border:1px solid var(--line)}
.sigs{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.sig{padding:5px 11px;border-radius:980px;font-size:12px}
.v-ai{color:var(--red)} .v-real{color:var(--green)} .v-unc{color:var(--uncsig)} .v-err{color:var(--ink)}
.sig-ai{background:var(--redbg);color:var(--red)}
.sig-real{background:var(--greenbg);color:var(--green)}
.sig-unc{background:var(--chipbg);color:var(--sub)}
.fbrow{flex-basis:100%}
.fbpanel.hidden,.fbbtn.hidden{display:none}
.fbchoice{margin:6px 8px 0 0;font-size:13px;padding:7px 13px}
.vdisclaim{flex-basis:100%;margin:0;font-size:12px;line-height:1.5;color:var(--sub)}
.vnote{flex-basis:100%;margin:0;font-size:13px;line-height:1.5;color:var(--sub);overflow-wrap:anywhere}

/* API */
.api-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}
.statcard{background:var(--card);border-radius:20px;padding:clamp(24px,5vw,36px);box-shadow:0 2px 24px rgba(0,0,0,.06)}
.statcard-title{font-family:var(--font-display);font-size:20px;font-weight:600;letter-spacing:-.015em;line-height:1.25;margin-bottom:8px}
.statcard-sub{color:var(--sub);font-size:15px;line-height:1.6;margin:0 0 26px}
.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
.stat-n{font-size:var(--fs-h2);font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--blue);line-height:1.1}
.stat-l{color:var(--sub);font-size:13px;line-height:1.45;margin-top:4px}
.statcard-note{margin-top:24px;padding-top:16px;border-top:1px solid var(--line2);color:var(--sub);font-size:12px;line-height:1.5}
.code{background:#251d15;border-radius:18px;padding:22px;overflow-x:auto;
  font-family:var(--font-mono);font-size:13px;color:#eceae5}
.code .c{color:#8f8b84}
.code pre{margin:0;white-space:pre;line-height:1.65;font:inherit}
.points{display:flex;flex-direction:column;gap:22px}
.pt-title{font-family:var(--font-display);font-weight:600;font-size:17px;letter-spacing:-.01em;line-height:1.3;margin-bottom:4px}
.pt-body{color:var(--sub);font-size:15px;line-height:1.6}

/* PRICING */
.seg{display:flex;justify-content:center;margin-bottom:32px}
.seg-inner{display:inline-flex;border-radius:980px;padding:3px;background:var(--chipbg)}
.seg-btn{border:0;cursor:pointer;padding:8px 20px;border-radius:980px;font-size:15px;background:transparent;color:var(--sub);font:inherit;font-size:15px}
.seg-btn.active{background:var(--card);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.pricing-grid{display:grid;grid-template-columns:1fr;gap:16px}
.tier{background:var(--card);border-radius:18px;padding:30px 26px;box-shadow:0 2px 20px rgba(0,0,0,.05)}
.tier .name{font-family:var(--font-display);font-weight:600;font-size:20px;letter-spacing:-.015em;margin-bottom:6px}
.tier .price{font-size:32px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-bottom:4px}
.tier .unit{color:var(--sub);font-size:13px;margin-bottom:20px}
.tier .desc{color:var(--sub);font-size:15px;line-height:1.6;margin-bottom:24px}
.tier .cta{display:block;text-align:center;padding:10px;border-radius:980px;background:var(--ctabg);
  border:1px solid var(--line);font-size:15px;font-weight:500;color:var(--ink)}
.tier .cta:hover{text-decoration:none;background:var(--ctabg2)}
.payg{background:var(--card);border-radius:18px;padding:clamp(24px,5vw,40px);box-shadow:0 2px 20px rgba(0,0,0,.05)}
.payg-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}
.payg h3{font-family:var(--font-display);font-weight:600;font-size:20px;letter-spacing:-.015em;line-height:1.25;margin:0 0 10px}
.payg p{color:var(--sub);font-size:15px;line-height:1.6;margin:0 0 24px}
.rates{display:flex;flex-wrap:wrap;gap:24px 32px;margin-bottom:24px}
.rate .n{font-size:24px;font-weight:600;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.rate .l{color:var(--sub);font-size:13px}
.keys{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.keys-head{padding:12px 18px;background:var(--ctabg);font-size:11px;font-weight:600;color:var(--sub);
  letter-spacing:.12em;text-transform:uppercase}
.key-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid var(--line2)}
.key-row .mono{font-family:var(--font-mono);font-size:12px;color:var(--sub)}
.hidden{display:none !important}
.heatpct.check{color:#8f5d08}
html.dark-active .heatpct.check{color:#f0b64a}

/* FOOTER */
.footer{padding:28px 24px;font-size:13px;color:var(--sub);border-top:1px solid var(--line)}
.footer-inner{max-width:var(--maxw);margin:0 auto;display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between}
.footer-contact{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center}
.footer-contact a{color:var(--sub);display:inline-block;padding:8px 0}
.footer-contact a:hover{color:var(--blue);text-decoration:none}

/* CONTACT-SALES MODAL */
.cmodal-backdrop{position:fixed;inset:0;z-index:60;background:rgba(44,33,24,.5);display:none;
  align-items:center;justify-content:center;padding:18px;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cmodal-backdrop.open{display:flex}
.cmodal{background:var(--card);border-radius:20px;max-width:430px;width:100%;padding:clamp(22px,5vw,32px);
  box-shadow:0 24px 70px rgba(0,0,0,.35);max-height:90vh;overflow-y:auto}
.cmodal h3{font-family:var(--font-display);margin:0 0 6px;font-size:20px;font-weight:600;letter-spacing:-.015em;line-height:1.25}
.cmodal .sub{color:var(--sub);font-size:13px;line-height:1.5;margin:0 0 18px}
.cmodal .direct{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;padding:14px 16px;
  border:1px solid var(--line);border-radius:12px;font-size:15px}
.cmodal .direct a{font-weight:500}
.cmodal label{display:block;text-align:left;font-size:12px;color:var(--sub);margin:12px 0 4px}
.cmodal input,.cmodal textarea{width:100%;padding:10px 14px;border-radius:12px;border:1px solid var(--line);
  background:var(--bg);color:var(--ink);font:inherit;font-size:17px;outline:none}
.cmodal input:focus,.cmodal textarea:focus{border-color:var(--blue)}
.cmodal textarea{resize:vertical;min-height:64px}
.cmodal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.cmodal .btn-ghost{padding:11px 18px;border-radius:980px;background:var(--chipbg);color:var(--ink);font-size:15px}
.cmodal .btn-primary{font-size:15px;padding:11px 22px}
.cmodal .ok-msg{color:var(--green);font-weight:500;font-size:15px;margin-top:14px;display:none}
.cmodal .err-msg{color:var(--red);font-size:13px;margin-top:10px;display:none}

/* responsive */
@media (min-width:768px){
  .nav-links{display:flex}
  .nav-cta{display:inline-block}
  .burger{display:none}
  .menu{display:none !important}
  .section{padding:88px 0}
  .how-grid{grid-template-columns:repeat(3,1fr);gap:48px}
  .api-grid{grid-template-columns:1fr 1fr;gap:32px}
  .pricing-grid{grid-template-columns:repeat(3,1fr);gap:20px}
  .payg-grid{grid-template-columns:1.1fr 1fr;gap:40px}
}

/* ── neural loader (shown while an analysis runs) ─────────────────────────
   A small feed-forward lattice: neurons pulse layer-by-layer, signal packets
   travel the synapses toward the output orb, and a step rail tracks the
   milestones the browser can actually observe (sealed -> sent -> verdict).
   Deep-computing, not a spinner. All motion stops under reduced-motion. */
.neural-loader{display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:16px 0 4px;margin-top:14px;width:100%;transition:opacity .36s ease .2s}
.neural-loader.hidden{display:none}
.nl-canvas svg{display:block;overflow:visible;max-width:100%;height:auto}
.nl-edge{stroke:var(--acc2);stroke-width:1;opacity:.28;fill:none}
.nl-edge.lit{opacity:.7;stroke-dasharray:5 26;
  animation:nlFlow 1.5s linear infinite}
/* a packet rides every other lit synapse: the lattice reads input -> output */
.nl-packet{fill:var(--acc1);opacity:0;animation:nlPacket 1.5s linear infinite}
.nl-node{fill:var(--acc2);opacity:.3;transform-box:fill-box;transform-origin:center}
/* no per-node drop-shadow: SVG filters are CPU-rendered and were re-run on 23
   scaling circles every frame; only the output orb keeps its glow */
.nl-node.fire{animation:nlPulse 2.1s ease-in-out infinite}
.nl-out{fill:var(--acc1);filter:drop-shadow(0 0 9px var(--accshadow2))}
/* collector ring: the output neuron is visibly still gathering evidence */
.nl-ring{fill:none;stroke:var(--acc1);stroke-width:1.1;opacity:.28;stroke-dasharray:9 7;
  transform-box:fill-box;transform-origin:center;animation:nlSpin 4s linear infinite}

/* step rail — only real, browser-observable milestones get a tick */
.nl-rail{display:flex;align-items:center;justify-content:center;width:100%;max-width:340px;
  margin:0;padding:0;list-style:none;font-size:12px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--sub)}
.nl-step{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0}
.nl-step:not(:last-child){flex:1 1 auto}
.nl-step:not(:last-child)::after{content:"";flex:1 1 auto;min-width:12px;height:1px;
  margin:0 9px;background:var(--line);transition:background .35s ease,opacity .35s ease}
.nl-step.is-done:not(:last-child)::after{background:var(--acc2);opacity:.5}
.nl-label{white-space:nowrap;transition:color .3s ease}
.nl-step.is-active .nl-label,.nl-step.is-done .nl-label{color:var(--ink)}
.nl-dot{position:relative;flex:none;width:9px;height:9px;border-radius:50%;
  border:1.5px solid var(--line);background:transparent;
  transition:background .3s ease,border-color .3s ease}
.nl-step.is-active .nl-dot,.nl-step.is-done .nl-dot{border-color:var(--acc2);background:var(--acc2)}
.nl-step.is-active .nl-dot{animation:nlDot 1.9s ease-out infinite}
.nl-step.is-done .nl-dot::after{content:"";position:absolute;left:2.4px;top:.4px;
  width:2.2px;height:4.6px;border:solid var(--card);border-width:0 1.5px 1.5px 0;
  transform:rotate(45deg)}

.nl-status{font-size:13px;color:var(--sub);letter-spacing:.02em;text-align:center;
  min-height:18px;animation:nlBreath 2.2s ease-in-out infinite}
.nl-meta{margin-top:-4px;min-height:14px;font-size:12px;letter-spacing:.05em;
  color:var(--sub);opacity:.7;font-variant-numeric:tabular-nums}
.nl-meta.nl-quiet{visibility:hidden}

/* settling into the answer: the lattice stops, the output orb takes the
   verdict colour for a beat, then the whole loader fades out */
.neural-loader.nl-resolve{opacity:0}
.nl-resolve .nl-node.fire,.nl-resolve .nl-edge.lit,.nl-resolve .nl-packet,
.nl-resolve .nl-ring,.nl-resolve .nl-status,.nl-resolve .nl-dot{animation:none}
.nl-resolve .nl-packet,.nl-resolve .nl-ring{opacity:0}
.nl-resolve .nl-edge.lit{stroke-dasharray:none;opacity:.25}
.nl-resolve .nl-node{opacity:.4}
.nl-resolve .nl-out{opacity:1;animation:nlLand .5s ease-out both}
.nl-resolve.v-real .nl-out{fill:var(--green)}
.nl-resolve.v-ai .nl-out{fill:var(--red)}
.nl-resolve.v-unc .nl-out{fill:var(--uncsig)}

@keyframes nlPulse{0%,100%{transform:scale(1);opacity:.3}
  45%{transform:scale(1.55);opacity:1}65%{transform:scale(1.2);opacity:.8}}
@keyframes nlFlow{to{stroke-dashoffset:-31}}
@keyframes nlBreath{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes nlPacket{0%{transform:translate(0,0);opacity:0}
  14%{opacity:.95}78%{opacity:.95}
  100%{transform:translate(var(--dx),var(--dy));opacity:0}}
@keyframes nlSpin{to{transform:rotate(360deg)}}
@keyframes nlDot{0%{box-shadow:0 0 0 0 var(--accshadow)}
  70%{box-shadow:0 0 0 6px rgba(184,128,74,0)}100%{box-shadow:0 0 0 0 rgba(184,128,74,0)}}
@keyframes nlLand{0%{transform:scale(1)}35%{transform:scale(1.85)}100%{transform:scale(1)}}

/* phones: the rail keeps its dots and shows only the step in progress */
@media (max-width:520px){
  .nl-rail{font-size:11px;letter-spacing:.04em}
  .nl-step .nl-label{display:none}
  .nl-step.is-active .nl-label{display:inline}
}
@media (prefers-reduced-motion:reduce){
  .nl-node.fire,.nl-edge.lit,.nl-status,.nl-packet,.nl-ring,
  .nl-step.is-active .nl-dot,.nl-resolve .nl-out{animation:none}
  .nl-node.fire{opacity:.8}.nl-edge.lit{opacity:.35}.nl-packet{opacity:0}
  .neural-loader{transition:none}
}

/* ── AI-localization heatmap (lazy, behind a button in the result card) ── */
.heatrow{flex-basis:100%;display:flex;flex-direction:column;align-items:flex-start;
  gap:9px;margin-top:4px;padding-top:14px;border-top:1px dashed var(--line2)}
.heatbtn{font-size:13px;padding:8px 16px;border-radius:980px;border:1px solid var(--line);
  background:var(--ctabg);color:var(--ink);cursor:pointer}
.heatbtn:hover{background:var(--ctabg2)}
.heatbtn:disabled{opacity:.6;cursor:progress}
.heatmap-img{width:100%;max-width:360px;border-radius:12px;border:1px solid var(--line)}
.speccube{width:100%;max-width:520px;height:auto;aspect-ratio:1.78;border-radius:12px;border:1px solid var(--line);
  background:var(--alt);touch-action:pan-y;cursor:grab;display:block}
.speccube:active{cursor:grabbing}
.speccube-legend{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.heathint{font-size:12px;color:var(--sub)}
.heatpct{font-size:15px;font-weight:600}
/* "Mixed signals" card (2026-09-20): the AI-like / real-like split, the reads, the parts */
.mixrow{gap:8px}
.mixbar{display:flex;width:100%;height:12px;border-radius:6px;overflow:hidden;background:var(--chipbg)}
.mixbar-ai{background:var(--red)} .mixbar-real{background:var(--green)}
/* the mix card is never an accusation: AI-leaning is amber, unclear grey (audit 2026-09-23 DISP-1) */
.mixbar-lean{background:var(--acc2)} .mixbar-unc{background:#8d8d8d}
.mixsigs{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.mixstrip{display:flex;gap:2px;width:100%;height:22px}
.mixstrip div{border-radius:4px;cursor:pointer;opacity:.9;min-width:6px}
.heatpct.hi{color:var(--red)} .heatpct.lo{color:var(--green)} .heatpct.mid{color:var(--uncsig)}
.heatbtn.hidden,.heatmap-img.hidden,.heathint.hidden,.heatpct.hidden{display:none}

/* ── phones: the demo link row stacks; menu links stay thumb-sized ─────── */
@media (max-width:520px){
  .urlrow{flex-wrap:wrap;gap:10px}
  .urlrow-or{order:1}
  .urlrow .urlinput{order:2;flex:1 1 100%;min-width:0;font-size:17px}
  .urlrow .urlbtn{order:3;width:100%;padding:12px 16px;font-size:15px}
  .menu a{padding:15px 0;font-size:17px}
}

/* encryption tier line under the demo card (secure/SPEC.md §6): exactly one
   state per upload — verified / unattested / failed, plus 'legacy' while the
   server has not been upgraded to TSE2 and the browser must post plaintext */
.enctier{margin-top:14px;display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--sub);
  text-align:left;line-height:1.5}
.enctier-dot{flex:none;width:8px;height:8px;border-radius:50%;margin-top:6px;background:var(--sub)}
.enctier-verified .enctier-dot{background:var(--green)}
.enctier-unattested .enctier-dot,.enctier-legacy .enctier-dot{background:var(--uncsig)}
.enctier-failed .enctier-dot{background:var(--red)}
.enctier-text{font-weight:600;color:inherit}
.enctier-extra{display:block;margin-top:2px;font-weight:400}

/* ── Account page (2026-09-20): sign in / create account and the profile ──
   Reuses the demo card, the pill tabs and the url-row input; adds the stacked
   form, the list rows (keys, sessions, usage) and the quota bars. */
.acform{display:flex;flex-direction:column;gap:4px;text-align:left}
.aclabel{font-size:13px;color:var(--sub);margin-top:12px}
.acnote{font-size:12px;color:var(--sub);line-height:1.5}
.acinput{flex:0 0 auto;width:100%;box-sizing:border-box;font-size:16px}
.acselect{width:auto;flex:0 0 auto;padding:7px 12px;font-size:13px}
.acbtn{margin-top:18px;align-self:flex-start;padding:11px 22px;border-radius:980px;font-size:15px;
  font-weight:500;background:var(--chipbg);border:1px solid var(--line);color:var(--ink)}
.acbtn:hover{background:var(--ctabg2)}
.acbtn:disabled{opacity:.5;cursor:not-allowed}
.acbtn.small{margin-top:0;padding:8px 15px;font-size:13px}
.acbtn.danger{color:var(--red);border-color:var(--red)}
.linkbtn{border:0;background:none;padding:6px 0;margin-top:8px;color:var(--blue);font:inherit;
  font-size:13px;cursor:pointer;align-self:flex-start;text-align:left}
.linkbtn:hover{text-decoration:underline}
.linkbtn.danger{color:var(--red);margin-top:0;flex:0 0 auto}
.accard{margin-bottom:18px}
.acrow{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.acmsg{margin-top:14px;padding:10px 14px;border-radius:12px;font-size:13px;
  background:var(--chipbg);color:var(--ink)}
.acmsg.ok{background:var(--greenbg);color:var(--green)}
.acmsg.warn{background:var(--redbg);color:var(--red)}
.aclist{margin-top:14px;display:flex;flex-direction:column;gap:2px}
.acitem{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 0;border-top:1px solid var(--line2)}
.acitem-t{font-size:15px;font-weight:500;word-break:break-word}
.acbar{height:6px;border-radius:3px;background:var(--chipbg);margin-top:8px;max-width:260px;overflow:hidden}
.acbar-fill{height:100%;background:var(--blue);border-radius:3px}
.acchart{display:flex;align-items:flex-end;gap:3px;height:60px;margin:14px 0 4px}
.acchart-col{flex:1;min-width:3px;background:var(--blue);border-radius:2px 2px 0 0;opacity:.85}
.accard.danger{border:1px solid var(--redbg)}
@media (max-width:600px){
  .acbtn.small{align-self:stretch}
  .acitem{flex-direction:column;align-items:flex-start;gap:6px}
}

/* accessibility (audit 2026-09-24 SITE-19): a skip link that shows on focus,
   and text for screen readers only */
.skip{position:absolute;left:-9999px;top:8px;z-index:1000;background:var(--ink);color:var(--bg,#fff);padding:8px 14px;border-radius:8px;font-size:14px}
.skip:focus{left:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dropzone:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
