/* Sniffy art direction, from the logo and the banner (2026-11-29):
   a cyanotype poster: navy at the top fading to sky blue, cream for the mark, the titles and the main buttons,
   paper grain over everything, the banner (a tower rising from the clouds over a city) behind page headers.
   Green and coral stay for prices and P&L only.
   Source: tools/da/floan-da.css. tools/rebrand.py copies it to site/css/da.css and links it last on every page;
   rules start with "html:root body" to win over the site's default "v2" theme (html[data-v2]), loaded after this file. */

@font-face{font-family:"Geist";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/geist-sans-700.woff2) format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/geist-sans-800.woff2) format("woff2")}

:root,html[data-v2]:root{
  --sn-navy:#061a33;--sn-ink:#0a2140;--sn-deep:#0f2848;--sn-blue:#185188;--sn-sky:#678fb1;--sn-mist:#d4d9d9;
  --sn-cream:#f3eadb;--sn-sand:#e3d0b7;
  --n-hdr:rgba(6,26,51,.88);--n-0:#061a33;--n-1:rgba(8,30,58,.86);--n-2:#10294b;--n-3:#163257;--n-4:#1c3b64;--n-raise:#0f2848;
  --line:rgba(120,160,205,.16);--line-strong:rgba(150,185,225,.30);--line-ctl:#7f9fc4;--line-col:rgba(120,160,205,.16);--line-hi:rgba(190,210,235,.45);--grid:rgba(120,160,205,.10);
  --hover:rgba(243,234,219,.05);--hover-2:rgba(243,234,219,.08);--scrim:rgba(4,16,32,.78);
  --t-1:#f3eadb;--t-body:#d2dae5;--t-2:#9db2cc;--t-3:#8aa0bd;
  --a:#f3eadb;--a-hover:#fff7ea;--a-press:#e3d0b7;--on-a:#0a2140;--a-tint:rgba(243,234,219,.09);
  --up:#6fe0b3;--down:#ff8f86;--down-hover:#ffa49c;--down-press:#ea7d74;--up-tint:rgba(111,224,179,.10);--down-tint:rgba(255,143,134,.10);
  --up-vol:rgba(111,224,179,.28);--down-vol:rgba(255,143,134,.28);--ch-tp:#6fe0b3;--ch-sl:#ff8f86;--ch-entry:#f3eadb;
  --ch-grid:rgba(190,210,235,.05);--ch-cross:rgba(243,234,219,.35);--ch-label:#163257;--ch-axis:#9db2cc;--ch-price:rgba(243,234,219,.6);
  --stage-mig:#9cc3e8;--nav-on:rgba(243,234,219,.08);
  --f:"Geist","Geist Fallback",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-head:"Geist","Geist Fallback",system-ui,sans-serif;
  --w-b:700;--tr-l:-0.015em;--tr-xl:-0.025em;--tr-hero:-0.035em;
  --r-1:4px;--r-ctl:6px;--r-2:8px;--r-3:10px;--r-half:2px;
  --shadow-pop:0 0 0 1px var(--line-strong),0 18px 40px rgba(2,10,22,.45);
  --shadow-raise:0 0 0 1px var(--sn-cream);
  --focus:0 0 0 2px var(--sn-ink),0 0 0 3px var(--sn-cream)
}
/* the sky: navy at the top, the logo's blue lower down (fixed, so long pages keep it) */
html{background:var(--sn-navy)}
html:root body{background:linear-gradient(180deg,#061a33 0%,#0b2a55 38%,#164a80 78%,#2f6596 100%) fixed;color:var(--t-body)}
::selection{background:var(--sn-cream);color:var(--sn-ink)}

/* paper grain: one fixed layer above the page, never catches clicks */
html::after{content:"";position:fixed;inset:0;z-index:2147483000;pointer-events:none;opacity:.07;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .92 0 0 0 0 .86 0 0 0 1.4 -.4'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}

/* header and status bar: navy glass over the sky */
html:root body .top{background:var(--n-hdr);box-shadow:inset 0 -1px 0 var(--line)}
html:root body .status{background:rgba(6,26,51,.9)}
html:root body .logo{font-family:var(--f-head);font-weight:700;letter-spacing:-0.035em;gap:10px;color:var(--sn-cream)}
html:root body .logo__mark{width:auto;height:22px;aspect-ratio:1.03;color:var(--sn-cream);border-radius:0}

/* titles: cream, firm, a little tight */
html:root body h1,html:root body h2,html:root body .thesis__t{font-family:var(--f-head);font-weight:var(--w-b);letter-spacing:var(--tr-xl);color:var(--sn-cream)}
html:root body .thesis__t{font-size:clamp(24px,2.3vw,36px);line-height:1.08;letter-spacing:var(--tr-hero)}
html:root body .eyebrow{font-family:var(--f-mono);font-weight:var(--w-r);letter-spacing:.12em;color:var(--sn-sky)}

/* page headers ("thesis" blocks): the banner behind a navy veil */
html:root body .thesis:not(.thesis--doc){position:relative;isolation:isolate;border-radius:var(--r-3);overflow:hidden;box-shadow:inset 0 0 0 1px var(--line);
  background:linear-gradient(90deg,rgba(6,26,51,.92) 0%,rgba(6,26,51,.72) 45%,rgba(6,26,51,.25) 100%),url(/brand/banner-1600.webp) center 62%/cover no-repeat}
@media (max-width:767px){html:root body .thesis:not(.thesis--doc){background:linear-gradient(180deg,rgba(6,26,51,.55) 0%,rgba(6,26,51,.9) 70%),url(/brand/banner-800.webp) center 40%/cover no-repeat}}

/* panels: deep navy cards with a soft blue hairline */
html:root body .col{background:var(--n-1);box-shadow:inset 0 0 0 1px var(--line)}
html:root body .seg{background:rgba(6,26,51,.5);box-shadow:inset 0 0 0 1px var(--line)}

/* tags and chips: outlined, mono */
html:root body .badge,html:root body .chip,html:root body .nav__soon{background:rgba(243,234,219,.04);box-shadow:inset 0 0 0 1px var(--line-strong);font-family:var(--f-mono)}
html:root body .chip:hover{box-shadow:inset 0 0 0 1px var(--t-2);color:var(--t-1)}

/* buttons: primary = cream, secondary = outlined, sell = outlined coral */
html:root body .btn{font-weight:600;letter-spacing:-0.01em}
html:root body .btn--buy{background:var(--sn-cream);color:var(--sn-ink)}
html:root body .btn--buy:hover{background:var(--a-hover)}
html:root body .btn--sell{background:transparent;color:var(--down);box-shadow:inset 0 0 0 1px var(--down)}
html:root body .btn--sell:hover{background:var(--down-tint)}
html:root body .btn--sec{background:rgba(243,234,219,.03);box-shadow:inset 0 0 0 1px var(--line-strong)}
html:root body .btn--sec:hover{background:var(--hover);box-shadow:inset 0 0 0 1px var(--t-2)}

/* the AI read types in mono */
html:root body #aiOut,html:root body #aiBrief,html:root body #dwOut{font-family:var(--f-mono);font-size:13px;line-height:20px;letter-spacing:0}
html:root body #aiBrief *{font-family:var(--f-mono);letter-spacing:0}

/* big empty states / sign-in gates: the tower, faint, behind the words */
html:root body .empty--big{position:relative;isolation:isolate}
html:root body .empty--big::before{content:"";position:absolute;inset:-30% -40%;z-index:-1;pointer-events:none;opacity:.42;
  background:url(/brand/banner-1600.webp) center 58%/cover no-repeat;
  -webkit-mask-image:radial-gradient(closest-side,#000 25%,transparent 100%);mask-image:radial-gradient(closest-side,#000 25%,transparent 100%)}
html:root body .empty--big h2{font-size:clamp(26px,2.8vw,40px);line-height:1.06;font-weight:var(--w-b);letter-spacing:var(--tr-hero);max-width:18ch;text-wrap:balance}
html:root body .empty__ico{background:rgba(243,234,219,.05);box-shadow:inset 0 0 0 1px var(--line-strong)}

/* header: X account button left of "Sign in" */
html:root body .top__x{width:var(--h-ctl);padding:0;flex:none;color:var(--t-1)}
@media (max-width:767px){html:root body .top__x{width:var(--h-touch)}}

/* header: "$SNIFFY TBA" box left of the X button while the token has no contract */
html:root body .top__tba{display:inline-flex;align-items:center;gap:6px;height:var(--h-ctl);padding:0 12px;flex:none;white-space:nowrap;border-radius:var(--r-ctl);
  font:400 13px/1 var(--f-mono);letter-spacing:.06em;color:var(--t-2);background:rgba(243,234,219,.04);box-shadow:inset 0 0 0 1px var(--line-strong)}
html:root body .top__tba b{font-weight:500;color:var(--t-1)}
@media (max-width:767px){html:root body .top__tba{height:var(--h-touch);padding:0 10px;font-size:12px}}
@media (max-width:359px){html:root body .top__tba{display:none}}

/* the same box once the CA is set: "$SNIFFY 0x1234…abcd", click copies the whole address */
html:root body .top__ca{cursor:pointer;color:var(--t-1)}
html:root body .top__ca:hover{box-shadow:inset 0 0 0 1px var(--t-2)}
html:root body .top__cav{display:inline-block;min-width:11ch;text-align:center;color:var(--t-1)}
html:root body #tokChip{display:none!important}
@media (max-width:767px){html:root body .top__ca b{display:none}html:root body .top__ca{gap:0}}
