  @font-face {
    font-family: "Albert Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/albert-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "Albert Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/albert-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
:root{
  --night:#080C12; --dusk:#0D141C; --ridge:#18222E; --slate:#243244;
  --brass:#4E7FB3; --gold:#7BA7D4; --signal:#A8CCEC; --flash:#E6F1FB;
  --ink:#E7EDF4; --ink-2:#A3B4C6; --ink-3:#7A8CA0; --cobalt:#2F6BFF;
  --measure:66ch;
  --gutter:clamp(1.1rem,4vw,2.5rem);
  --shell:min(76rem,92vw);
  --ease:cubic-bezier(.16,1,.3,1);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--night);color:var(--ink);
  font:400 17px/1.65 "Albert Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-feature-settings:'kern' 1;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}

/* The browser's own surfaces belong to the design too. These ship with
   defaults that belong to no design system. */
::selection{background:var(--gold);color:var(--night)}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--night)}
::-webkit-scrollbar-thumb{background:var(--slate);border-radius:6px;border:3px solid var(--night)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}

code,.mono{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-variant-numeric:tabular-nums}
a{color:var(--signal);text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{color:var(--flash)}

/* ------------------------------------------------------------------ bar */
header.bar{
  position:relative;z-index:3;display:flex;align-items:center;gap:1rem;
  padding:1rem var(--gutter);border-bottom:1px solid var(--ridge);
  background:color-mix(in srgb,var(--night) 82%,transparent);
  backdrop-filter:blur(8px);
}
header.bar .brand{display:flex;align-items:center;gap:.55rem;font-weight:600;
  letter-spacing:-.01em;text-decoration:none;color:var(--ink)}
header.bar nav{display:flex;gap:1.5rem;margin-left:auto;font-size:.95rem}
header.bar nav a{color:var(--ink-2);text-decoration:none}
header.bar nav a:hover{color:var(--flash)}

/* ---------------------------------------------------------------- hero */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--ridge);
  min-height:min(86vh,820px);display:flex;align-items:center}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero-inner{position:relative;z-index:2;width:100%;max-width:var(--shell);
  margin:0 auto;padding:clamp(3rem,9vh,5.5rem) var(--gutter) clamp(4rem,12vh,7rem)}
.hero h1{
  font-weight: 600;font-size:clamp(2.5rem,6.4vw,4.7rem);line-height:1.02;
  letter-spacing:-.035em;margin:0 0 1.15rem;max-width:18ch;text-wrap:balance;
}
.hero .lead p,.hero .lead{font-size:clamp(1.06rem,1.9vw,1.3rem);line-height:1.55;
  color:var(--ink-2);max-width:48ch;margin:0 0 2.2rem;text-wrap:pretty}

/* --------------------------------------------------------------- shell */
main{max-width:var(--shell);margin:0 auto;padding:0 var(--gutter)}
section{padding:clamp(3.4rem,8vh,5.6rem) 0;border-bottom:1px solid var(--ridge)}
section:last-of-type{border-bottom:0}
section > p,section .lead p{max-width:var(--measure);margin:0 0 1rem;color:var(--ink-2);
  font-size:1.06rem;text-wrap:pretty}
h2{font-size:clamp(1.5rem,2.6vw,2.05rem);line-height:1.15;letter-spacing:-.025em;
  font-weight: 600;margin:0 0 1.1rem;color:var(--ink);max-width:22ch;text-wrap:balance}
.sec{display:grid;gap:clamp(1.6rem,4vw,3.2rem);grid-template-columns:minmax(0,1fr)}
@media(min-width:56rem){.sec{grid-template-columns:minmax(0,17rem) minmax(0,1fr);align-items:start}}
.sec > h2{margin:0;position:sticky;top:1.5rem}
@media(max-width:55.99rem){.sec > h2{position:static}}

/* -------------------------------------------------------------- actions */
.actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.5rem 0 0}
.action{
  display:inline-flex;align-items:center;gap:.5rem;padding:.72rem 1.15rem;
  border-radius:3px;text-decoration:none;font-weight:500;font-size:.98rem;
  border:1px solid var(--slate);color:var(--ink);background:transparent;
  transition:border-color .18s var(--ease),color .18s var(--ease),background .18s var(--ease);
}
.action:hover{border-color:var(--brass);color:var(--flash);background:var(--dusk)}
.action.primary{background:var(--gold);border-color:var(--gold);color:var(--night)}
.action.primary:hover{background:var(--signal);border-color:var(--signal);color:var(--night)}

/* ----------------------------------------------------------------- log */
/* The demonstration, and the reason it is here rather than a feature grid:
   the gap IS the finding, and a paragraph claiming that is weaker than a log
   showing it. Synthetic, and it says so. */
.log{
  margin:0;border:1px solid var(--ridge);border-radius:4px;background:var(--dusk);
  overflow:hidden;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.83rem;line-height:1.85;font-variant-numeric:tabular-nums;
}
.log-bar{display:flex;align-items:center;gap:.6rem;padding:.55rem .9rem;
  border-bottom:1px solid var(--ridge);color:var(--ink-3);font-size:.76rem;letter-spacing:.03em}
.log-bar b{color:var(--ink-2);font-weight:500}
.log-body{margin:0;padding:.9rem .9rem 1.1rem;overflow-x:auto}
.log-row{display:grid;grid-template-columns:8.5ch 1fr;gap:1.1ch;white-space:pre}
.log-t{color:var(--ink-3)}
.log-row.gap{color:var(--gold)}
.log-row.gap .log-t{color:var(--gold)}
.log-note{padding:.7rem .9rem;border-top:1px solid var(--ridge);color:var(--ink-3);
  font-size:.76rem;line-height:1.6;font-family:"Albert Sans",ui-sans-serif,system-ui,sans-serif}

/* ---------------------------------------------------------------- list */
/* section ul, not a class. written() in this file renders a list slot as a
   bare <ul>, so a class here would style nothing while looking styled in the
   source. Found by reading the served markup rather than the template. */
section ul{list-style:none;margin:0;padding:0;display:grid;gap:1.35rem}
section li{padding-left:1.4rem;position:relative;color:var(--ink-2);
  max-width:var(--measure);text-wrap:pretty}
section li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;
  background:var(--gold)}

/* -------------------------------------------------------------- footer */
footer{border-top:1px solid var(--ridge);padding:2.2rem var(--gutter) 3.2rem;
  color:var(--ink-3);font-size:.92rem;max-width:var(--shell);margin:0 auto}
.foot-links{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center}
footer a{color:var(--ink-3);text-decoration:none;display:inline-flex;align-items:center;gap:.4rem}
footer a:hover{color:var(--signal)}
footer a svg{opacity:.85}
footer a:hover svg{opacity:1}
/* The trading disclosure. Smaller than the links above it and still the
   required contrast: ink-3 is 5.7:1 on the ground, which is the floor the
   palette sets rather than the 4.5:1 the guideline allows. */
.disclosure{margin:1.4rem 0 0;max-width:var(--measure);line-height:1.6;font-size:.86rem}

/* ------------------------------------------------------------ notices */
.unfinished{position:relative;z-index:3;background:var(--dusk);color:var(--ink-2);
  border-bottom:1px solid var(--ridge);padding:.7rem var(--gutter);font-size:.88rem}
.unfinished strong{color:var(--gold);font-weight:500}
.caveat{border-left:1px solid var(--brass);padding-left:1rem;color:var(--ink-3);
  font-size:.95rem;max-width:var(--measure)}
.ph{display:block;margin:.6rem 0;padding:.8rem .95rem;border:1px dashed var(--brass);
  border-radius:3px;background:var(--dusk);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.83rem;line-height:1.55;color:var(--ink-2)}
.ph-tag{display:inline-block;margin-right:.5rem;padding:.06rem .45rem;border-radius:2px;
  background:var(--brass);color:var(--night);font-weight:600;letter-spacing:.05em;font-size:.72rem}
.ph-id{color:var(--ink-3)}
.ph-heading{font-size:1rem}
.consent{position:sticky;bottom:0;z-index:4;background:var(--dusk);color:var(--ink-2);
  border-top:1px solid var(--ridge);padding:1rem var(--gutter);display:flex;gap:1rem;
  align-items:center;flex-wrap:wrap;font-size:.93rem}
.consent a{color:var(--signal)}
.consent form{display:flex;gap:.5rem;margin-left:auto}
.consent button{font:inherit;font-size:.9rem;padding:.45rem .95rem;border-radius:3px;
  cursor:pointer;border:1px solid var(--slate);background:transparent;color:var(--ink)}
.consent button:hover{border-color:var(--brass);color:var(--flash)}
.consent button[value=granted]{background:var(--gold);border-color:var(--gold);color:var(--night)}
.consent button[value=granted]:hover{background:var(--signal);border-color:var(--signal)}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
