
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/archivo-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/archivo-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/archivo-latin-800-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:900;font-display:swap;src:url('/fonts/archivo-latin-900-normal.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/hanken-grotesk-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/hanken-grotesk-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');}

  /* ============================================================
     TOKENS: a single deliberate dark world (DI-suite black,
     warm off-white "title card" ink, and the brand's own amber).
     No light/dark media switch; this identity is intentionally
     one-world, per the brand's own dark mark and stated direction.
  ============================================================ */
  :root{
    --bg:        #0c0a08;
    --bg-raised: #16130f;
    --bg-raised-2: #1d1811;
    --line:      #2c2619;
    --line-soft: #201b13;
    --ink:       #f3eee2;
    --ink-dim:   #a89d89;
    --ink-faint: #6e6353;
    --accent:    #ffc107;
    --accent-ink:#1a1304;
    --accent-soft: rgba(255,193,7,.13);
    --accent-line: rgba(255,193,7,.35);
    --warn:      #d97a56;

    --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --font-body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --container: 1160px;
    --edge: clamp(20px, 5vw, 64px);
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html{ -webkit-text-size-adjust:100%; scroll-padding-top:96px; }
  @media (prefers-reduced-motion: no-preference){ html{ scroll-behavior:smooth; } }
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; }
  ::selection{ background:var(--accent); color:var(--accent-ink); }
  :focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:2px; }

  .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;
  }

  h1,h2,h3{
    font-family:var(--font-display);
    font-weight:800;
    letter-spacing:-0.01em;
    text-wrap:balance;
    margin:0;
    color:var(--ink);
  }

  .wrap{
    max-width:var(--container);
    margin:0 auto;
    padding-left:var(--edge);
    padding-right:var(--edge);
  }

  .eyebrow{
    font-family:var(--font-mono);
    font-size:.72rem;
    font-weight:500;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:var(--accent);
    margin:0 0 14px;
  }

  .lead{
    font-size:clamp(1.05rem,.98rem + .4vw,1.25rem);
    color:var(--ink-dim);
    max-width:34em;
    margin:16px 0 0;
  }

  /* ---------- buttons + form ---------- */
  .btn{
    position:relative;
    display:inline-block;
    overflow:hidden;
    font-family:var(--font-body);
    font-weight:700;
    font-size:.95rem;
    border-radius:6px;
    border:1px solid transparent;
    padding:13px 22px;
    cursor:pointer;
    white-space:nowrap;
    text-decoration:none;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease, border-color .15s ease, color .15s ease;
  }
  .btn::before{
    content:""; position:absolute; inset:0; z-index:0; opacity:0;
    background:radial-gradient(120px circle at var(--mx,50%) var(--my,50%), var(--btn-glow, rgba(255,255,255,.35)), transparent 70%);
    transition:opacity .2s ease;
    pointer-events:none;
  }
  .btn > *{ position:relative; z-index:1; }
  @media (hover:hover) and (pointer:fine){
    .btn:hover::before{ opacity:1; }
  }
  .btn-primary{
    background:var(--accent);
    color:var(--accent-ink);
    --btn-glow: rgba(255,255,255,.45);
  }
  .btn-primary:hover{ box-shadow:0 0 0 4px var(--accent-soft); transform:translateY(-1px); }
  .btn-primary:disabled{ opacity:.7; cursor:default; transform:none; box-shadow:none; }
  .btn-ghost{
    background:transparent;
    border-color:var(--line);
    color:var(--ink);
    font-size:.85rem;
    padding:9px 16px;
    border-width:1px;
    border-style:solid;
    --btn-glow: var(--accent-soft);
  }
  .btn-ghost:hover{ border-color:var(--accent-line); color:var(--accent); }
  .nav [data-nav-signup]{
    background:var(--accent);
    color:var(--accent-ink);
    border-color:transparent;
    --btn-glow: rgba(255,255,255,.45);
  }
  .nav [data-nav-signup]:hover{
    background:var(--accent);
    color:var(--accent-ink);
    border-color:transparent;
    box-shadow:0 0 0 4px var(--accent-soft);
    transform:translateY(-1px);
  }
  .nav [data-nav-signup]:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:3px;
  }
  .btn:active{ transform:scale(.97); }

  .field-row{
    display:flex;
    gap:10px;
    max-width:440px;
  }
  .field-row input[type="email"]{
    flex:1;
    min-width:0;
    background:var(--bg-raised);
    border:1px solid var(--line);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:.95rem;
    border-radius:6px;
    padding:13px 14px;
  }
  .field-row input[type="email"]::placeholder{ color:var(--ink-faint); }
  .field-row input[type="email"]:focus{ border-color:var(--accent-line); }

  .form-note{
    font-size:.82rem;
    color:var(--ink-faint);
    margin:12px 0 0;
    min-height:1.2em;
  }
  .form-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:0 12px;
    margin:12px 0 0;
  }
  .form-meta .form-note{ margin:0; }
  .mode-badge{
    font-family:var(--font-mono);
    font-size:.72rem;
    font-weight:500;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:var(--accent);
    margin:0;
    line-height:1.6;
  }
  .form-note.is-error{ color:var(--warn); }
  .form-note.is-ok{ color:var(--accent); }
  .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
  .signup-form.is-done .field-row{ opacity:.55; pointer-events:none; }
  .turnstile-slot{ margin-top:12px; min-height:65px; }
  .form-links{ margin:8px 0 0; font-size:.82rem; }
  .form-links a{ color:var(--ink-dim); display:inline-flex; align-items:center; min-height:44px; }
  .form-links a:hover{ color:var(--accent); }
  .privacy-page{ padding:48px 0 80px; }
  .privacy-page h1{ font-family:var(--font-display); font-weight:800; letter-spacing:-.03em; font-size:clamp(2rem,4vw,3rem); margin:0; }
  .privacy-page p{ color:var(--ink-dim); max-width:40em; line-height:1.6; }
  .privacy-choice{ margin-top:24px; display:flex; flex-direction:column; gap:8px; max-width:40em; }
  .privacy-choice label{ display:flex; align-items:center; gap:8px; min-height:44px; color:var(--ink); }

  /* ---------- corner-tick panel (recurring signature) ---------- */
  .figure-panel{
    position:relative;
    border:1px solid var(--line);
    background:var(--bg-raised);
    border-radius:8px;
    padding:clamp(18px,3vw,30px);
    transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }
  .figure-panel::before,
  .figure-panel::after{
    content:"";
    position:absolute;
    width:13px; height:13px;
    transition:width .3s ease, height .3s ease;
  }
  .figure-panel::before{ top:-1px; left:-1px; border-top:2px solid var(--accent); border-left:2px solid var(--accent); }
  .figure-panel::after{ bottom:-1px; right:-1px; border-bottom:2px solid var(--accent); border-right:2px solid var(--accent); }
  .figure-panel svg{ width:100%; height:auto; display:block; overflow:visible; transition:transform .3s ease; }
  @media (hover:hover) and (pointer:fine){
    .spec-figure .figure-panel:hover{
      transform:translateY(-6px);
      border-color:var(--accent-line);
      box-shadow:0 20px 40px -20px rgba(0,0,0,.5), 0 0 0 1px var(--accent-soft);
    }
    .spec-figure .figure-panel:hover::before,
    .spec-figure .figure-panel:hover::after{ width:20px; height:20px; }
    .spec-figure .figure-panel:hover svg{ transform:scale(1.015); }
    .spec-figure .figure-panel:hover .anim-flow{ animation-duration:1.1s; }
    .spec-figure .figure-panel:hover .anim-pulse{ animation-duration:1s; }
    .spec-figure .figure-panel:hover .anim-scan{ animation-duration:1.6s; }
    .spec-figure .figure-panel:hover .anim-fade{ animation-duration:2.2s; }
  }

  @media (prefers-reduced-motion: no-preference){
    .anim-spin{ animation:spin 90s linear infinite; }
    .anim-spin-fast{ animation:spin 4s linear infinite; transform-box:fill-box; transform-origin:center; }
    .anim-pulse{ animation:pulse 2.4s ease-in-out infinite; }
    .anim-drift{ animation:drift 5s ease-in-out infinite; }
    .anim-flow{ animation:flow 2.6s linear infinite; }
    .anim-blink{ animation:blink 3.2s ease-in-out infinite; }
    .anim-scan{ animation:scan 3.4s ease-in-out infinite; }
    .anim-fade{ animation:fadeswap 4.8s ease-in-out infinite; }
    .anim-credit-stutter{ animation:creditScroll 4.5s steps(20) infinite; transform-box:fill-box; }
    .anim-credit-smooth{ animation:creditScroll 4.5s linear infinite; transform-box:fill-box; }
    .figure-panel.in-view{ animation:materialize .9s cubic-bezier(.2,.8,.2,1); }
  }
  @keyframes spin{ to{ transform:rotate(360deg); } }
  @keyframes creditScroll{ from{ transform:translateY(0); } to{ transform:translateY(-112px); } }
  @keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
  @keyframes drift{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-4px); } }
  @keyframes flow{ to{ stroke-dashoffset:-24; } }
  @keyframes blink{ 0%,92%,100%{ opacity:1; } 96%{ opacity:.25; } }
  @keyframes scan{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(120px); } }
  @keyframes fadeswap{ 0%,40%{ opacity:1; } 50%,90%{ opacity:.15; } 100%{ opacity:1; } }
  @keyframes materialize{
    0%{ box-shadow:0 0 0 0 rgba(255,193,7,0); border-color:var(--line); }
    35%{ box-shadow:0 0 40px 6px rgba(255,193,7,.3); border-color:var(--accent); }
    100%{ box-shadow:0 0 0 0 rgba(255,193,7,0); border-color:var(--line); }
  }

  /* ============================================================
     NAV
  ============================================================ */
  .nav{
    position:sticky; top:0; z-index:20; padding:22px 0;
    background:rgba(12,10,8,0); border-bottom:1px solid rgba(12,10,8,0);
    transition:background .25s ease, border-color .25s ease, padding .25s ease;
  }
  .nav.is-scrolled{
    background:rgba(12,10,8,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    border-bottom-color:var(--line-soft); padding:14px 0;
  }
  .nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .brand img{ height:42px; width:auto; transition:height .25s ease; }
  .nav.is-scrolled .brand img{ height:34px; }

  /* ---------- scroll progress ---------- */
  .scroll-progress{
    position:fixed; top:0; left:0; height:3px; width:0%; z-index:30;
    background:linear-gradient(90deg, var(--accent), #ffe082);
    transition:width .1s linear;
  }

  /* ============================================================
     HERO
  ============================================================ */
  .hero{ position:relative; padding:clamp(28px,6vw,56px) 0 clamp(56px,8vw,96px); overflow:hidden; }
  .hero-atmosphere{ position:absolute; inset:0; pointer-events:none; z-index:0; }
  .hero-glow{
    position:absolute; top:-220px; left:50%; width:900px; height:700px;
    transform:translateX(-50%) translate(var(--pgx,0px), var(--pgy,0px));
    transition:transform .3s ease-out;
    background:radial-gradient(closest-side, rgba(255,193,7,.16), rgba(255,193,7,0) 70%);
  }
  .hero-gear-wrap{
    position:absolute; top:-130px; right:-170px; width:520px; height:520px;
    transform:translate(var(--pgx,0px), var(--pgy,0px));
    transition:transform .25s ease-out;
  }
  .hero-gear{ display:block; width:100%; height:100%; opacity:.06; color:var(--accent); }
  .hero-grain{
    position:absolute; inset:0; opacity:.5; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  }

  .hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1fr; gap:44px; align-items:center; }
  .hero h1{ font-size:clamp(2.5rem,1.9rem + 3.2vw,4.6rem); line-height:1.04; }
  .hero-copy{ max-width:640px; }
  .hero-copy .signup-form{ margin-top:30px; }
  .hero-figure{ position:relative; }

  /* ============================================================
     SPECS
  ============================================================ */
  .specs{ padding:clamp(48px,7vw,88px) 0; }
  .specs-head{ max-width:640px; margin-bottom:clamp(40px,6vw,64px); }
  .specs-head h2{ font-size:clamp(1.9rem,1.6rem + 1.6vw,2.7rem); margin-top:10px; }

  .spec-list{ display:flex; flex-direction:column; gap:clamp(48px,7vw,80px); }
  .spec-row{
    display:grid; grid-template-columns:1fr; gap:28px; align-items:center;
    padding-top:clamp(48px,7vw,80px); border-top:1px solid var(--line-soft);
  }
  .spec-row:first-child{ border-top:none; padding-top:0; }

  .spec-copy h3{ font-size:clamp(1.35rem,1.2rem + .6vw,1.7rem); margin-bottom:12px; }
  .spec-copy p{ color:var(--ink-dim); max-width:38em; margin:0; font-size:1rem; }
  .spec-copy p + p{ margin-top:8px; }

  /* ============================================================
     FINAL CTA
  ============================================================ */
  .cta-final{ position:relative; padding:clamp(64px,9vw,120px) 0; border-top:1px solid var(--line-soft); overflow:hidden; }
  .cta-final .hero-glow{ top:auto; bottom:-260px; width:760px; height:600px; }
  .cta-inner{ position:relative; z-index:1; max-width:560px; }
  .cta-final h2{ font-size:clamp(2.1rem,1.8rem + 1.6vw,3rem); }

  /* ============================================================
     FOOTER
  ============================================================ */
  .site-footer{
    border-top:1px solid var(--line-soft); padding:28px 0 40px;
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  }
  .site-footer .wrap{
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; width:100%;
  }
  .footer-brand{ display:flex; align-items:center; gap:10px; }
  .footer-brand img{ height:16px; width:auto; opacity:.85; }
  .site-footer p{ margin:0; font-size:.82rem; color:var(--ink-faint); }

  /* ============================================================
     RESPONSIVE
  ============================================================ */
  @media (min-width:860px){
    .hero-inner{ grid-template-columns:1.05fr .95fr; gap:56px; }
    .spec-row{ grid-template-columns:1fr 1fr; gap:64px; }
    .spec-row:nth-of-type(even) .spec-figure{ order:-1; }
  }
  @media (max-width:539px){
    .nav .btn-ghost{ padding:9px 12px; font-size:.78rem; }
    .field-row{ flex-direction:column; }
    .field-row .btn{ width:100%; }
  }
