/* ============================================================
   Slabr. Edge-to-edge grid, two depths of dark, hairline rules,
   pill buttons, sentence-case type.
   ============================================================ */

:root{
  /* ground: the banner's plum-black */
  --ink:        #090407;
  --ink-2:      #12070d;
  --ink-3:      #1c0d15;

  /* the lifted panel: same plum, one step up */
  --lift:       #110810;
  --lift-2:     #180d16;

  /* the banner's hot magenta */
  --hot:        #ff1478;
  --hot-deep:   #d6005e;
  --hot-dim:    rgba(255,20,120,.14);

  --on-dark:        #f5eff2;
  --on-dark-muted:  #a3949c;
  --on-dark-faint:  #6f616a;
  --line-dark:  rgba(245,239,242,.12);
  --line-lift:  rgba(245,239,242,.15);

  --font: "Schibsted Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --pad:   clamp(22px, 4.2vw, 58px);
  --ease:  cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--ink); color:var(--on-dark);
  font-family:var(--font); font-size:16px; line-height:1.5;
  font-feature-settings:"cv11","ss01"; letter-spacing:-.006em;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; }
::selection{ background:var(--on-dark); color:var(--ink); }

/* ---------- panels ---------- */
.panel{ width:100%; }
.panel-dark { background:var(--ink);  color:var(--on-dark);  --line:var(--line-dark);
              --muted:var(--on-dark-muted);  --faint:var(--on-dark-faint);
              --accent:var(--hot); }
.panel-lift { background:var(--lift); color:var(--on-dark); --line:var(--line-lift);
              --muted:var(--on-dark-muted);  --faint:var(--on-dark-faint);
              --accent:var(--hot); }
.panel + .panel{ border-top:1px solid var(--line); }

.pad{ padding:clamp(44px,6vw,86px) var(--pad); }

/* 50/50 split that runs to both edges */
.split{ display:grid; grid-template-columns:1fr; }
@media (min-width:900px){ .split{ grid-template-columns:1fr 1fr; } }
.split > * { min-width:0; }
@media (min-width:900px){
  .split > * + *{ border-left:1px solid var(--line); }
}
@media (max-width:899px){
  .split > * + *{ border-top:1px solid var(--line); }
}

/* ---------- type ---------- */
h1,h2,h3{ margin:0; font-weight:400; letter-spacing:-.022em; }
.h-hero{ font-size:clamp(36px,5.4vw,72px); line-height:1.08; letter-spacing:-.03em; }
.h-1{ font-size:clamp(28px,3.2vw,40px); line-height:1.16; }
.h-2{ font-size:clamp(22px,2.2vw,28px); line-height:1.2; }
.h-3{ font-size:19px; line-height:1.3; font-weight:500; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--mono); font-size:11px; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0;
}
.eyebrow{ color:var(--accent); }
.eyebrow i{ width:12px; height:12px; border:1px solid currentColor; border-radius:2px;
            position:relative; flex:none; }
.eyebrow i::after{ content:""; position:absolute; inset:2px 5px 2px 2px; background:currentColor; }

.lede{ font-size:17px; line-height:1.5; color:var(--muted); margin:0; }
.body{ color:var(--muted); margin:0; }
.body-sm{ font-size:14px; line-height:1.55; color:var(--muted); margin:0; }
.num{ font-family:var(--mono); font-size:22px; font-weight:400; color:var(--accent); letter-spacing:0; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:36px; padding-inline:18px; border-radius:999px;
  border:1px solid currentColor; background:transparent;
  font-size:14px; font-weight:450; letter-spacing:-.01em;
  cursor:pointer; white-space:nowrap;
  transition:background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover{ background:currentColor; }
.btn:hover span{ mix-blend-mode:normal; }
.btn:hover{ background:var(--on-dark); color:var(--ink); border-color:var(--on-dark); }

.btn-solid{ border-color:transparent; background:var(--on-dark); color:var(--ink); }
.btn-solid:hover{ background:var(--hot); color:#fff; border-color:var(--hot); }

.btn:disabled{ opacity:.4; cursor:not-allowed; }
.btn:disabled:hover{ background:transparent; color:inherit; }

.link{ font-size:14px; color:var(--muted); transition:color .2s var(--ease); }
.link:hover{ color:var(--accent); }
.actions{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:28px; }

/* ---------- header ---------- */
.nav{
  position:fixed; inset:0 0 auto; z-index:70;
  padding:14px var(--pad) 0;
  transition:padding .4s var(--ease);
}
.nav.stuck{ padding-top:8px; }

.nav-inner{
  display:flex; align-items:center; gap:10px;
  height:58px; padding-inline:10px 10px;
  border:1px solid rgba(245,239,242,.10);
  border-radius:999px;
  background:rgba(12,7,11,.62);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset;
  transition:background .4s var(--ease), border-color .4s var(--ease),
             box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav.stuck .nav-inner{
  height:54px;
  background:rgba(10,6,9,.86);
  border-color:rgba(245,239,242,.16);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 12px 34px -12px rgba(0,0,0,.9);
}

.brand{ display:flex; align-items:center; gap:9px; padding-left:12px; margin-right:26px; }
.brand-mark{ height:24px; width:auto; flex:none; display:block;
             transition:filter .3s var(--ease), transform .3s var(--ease); }
.brand:hover .brand-mark{ filter:brightness(1.2) saturate(1.1); transform:translateY(-1px); }
.brand-name{ font-size:16px; font-weight:500; letter-spacing:-.022em; }

.nav-links{ display:flex; align-items:center; gap:1px; }
.nav-link{
  position:relative; padding:8px 14px; border-radius:999px;
  font-size:14px; color:var(--on-dark-muted);
  transition:color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover{ color:var(--on-dark); background:rgba(245,239,242,.06); }
.nav-link[aria-current="page"]{ color:var(--on-dark); background:rgba(245,239,242,.08); }
.nav-link[aria-current="page"]::after{
  content:""; position:absolute; left:50%; bottom:3px; translate:-50% 0;
  width:14px; height:2px; border-radius:2px; background:var(--hot);
}

.nav-right{ display:flex; align-items:center; gap:8px; margin-left:auto; }

/* the header floats over the page, so the first panel needs the room */
.page-top{ padding-top:86px; }

@media (max-width:880px){ .nav-links{ display:none; } .brand{ margin-right:auto; } }
@media (max-width:560px){ .nav-right .btn:not(.btn-solid){ display:none; } }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:36px; padding-inline:18px; border-radius:999px;
  border:1px solid currentColor; background:transparent;
  font-size:14px; font-weight:450; letter-spacing:-.01em;
  cursor:pointer; white-space:nowrap;
  transition:background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover{ background:currentColor; }
.btn:hover span{ mix-blend-mode:normal; }
.btn:hover{ background:var(--on-dark); color:var(--ink); border-color:var(--on-dark); }

.btn-solid{ border-color:transparent; background:var(--on-dark); color:var(--ink); }
.btn-solid:hover{ background:var(--hot); color:#fff; border-color:var(--hot); }

.btn:disabled{ opacity:.4; cursor:not-allowed; }
.btn:disabled:hover{ background:transparent; color:inherit; }

.link{ font-size:14px; color:var(--muted); transition:color .2s var(--ease); }
.link:hover{ color:var(--accent); }
.actions{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:28px; }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; left:50%; bottom:-14%; translate:-50% 0;
  width:min(1240px,132%); aspect-ratio:1.55/1; pointer-events:none; z-index:0;
  background:
    radial-gradient(42% 46% at 50% 54%, rgba(255,20,120,.46), transparent 68%),
    radial-gradient(64% 62% at 50% 58%, rgba(255,20,120,.20), transparent 74%);
  filter:blur(34px);
}
.hero > *{ position:relative; z-index:1; }
.hero-copy{ padding:clamp(64px,9vw,120px) var(--pad) 0; text-align:center; }
.hero-copy .h-hero{ max-width:17ch; margin-inline:auto; }
.hero-copy .lede{ max-width:52ch; margin:22px auto 0; }
.hero-copy .actions{ justify-content:center; margin-top:30px; }
.hero-art{ position:relative; height:clamp(250px,29vw,410px); margin-top:clamp(30px,4.4vw,58px); }
.hero-art .stage-inner{ position:absolute; left:50%; top:0; transform:translateX(-50%);
                        width:min(108%, 820px); height:124%; }

/* ---------- image cells ---------- */
.cell-art{ position:relative; display:grid; place-items:center;
           min-height:clamp(320px,33vw,470px); overflow:hidden;
           padding:38px 34px 62px; }
.cell-art.on-coal-2{ background:
  radial-gradient(66% 58% at 50% 42%, rgba(255,20,120,.22), transparent 70%),
  radial-gradient(92% 82% at 50% 26%, #20101a, #0d0610 78%); }
.cell-art.on-coal{ background:
  radial-gradient(72% 62% at 50% 40%, rgba(255,20,120,.16), transparent 70%),
  radial-gradient(90% 80% at 50% 26%, #1a0d14, #090407 78%); }
.cell-art .stage-inner{ width:min(100%,340px); height:100%; }

/* ---------- strip ---------- */
.strip{ display:grid; grid-template-columns:1fr; }
@media (min-width:700px){ .strip{ grid-template-columns:repeat(3,1fr); } }
.strip > div{ padding:22px var(--pad); display:flex; align-items:baseline; gap:12px; }
@media (min-width:700px){ .strip > div + div{ border-left:1px solid var(--line); } }
@media (max-width:699px){ .strip > div + div{ border-top:1px solid var(--line); } }
.strip b{ font-size:17px; font-weight:500; letter-spacing:-.02em; color:var(--accent); }
.strip span{ font-size:14px; color:var(--muted); }

/* ---------- numbered grid ---------- */
.grid-num{ display:grid; grid-template-columns:1fr; }
@media (min-width:720px){ .grid-num{ grid-template-columns:1fr 1fr; } }
@media (min-width:1180px){ .grid-num{ grid-template-columns:repeat(4,1fr); } }
.grid-num > div{ padding:clamp(28px,3vw,42px) var(--pad) clamp(34px,4vw,52px);
                 border-top:1px solid var(--line); }
@media (min-width:720px){
  .grid-num > div{ border-left:1px solid var(--line); }
  .grid-num > div:nth-child(2n+1){ border-left:0; }
}
@media (min-width:1180px){
  .grid-num > div:nth-child(2n+1){ border-left:1px solid var(--line); }
  .grid-num > div:first-child{ border-left:0; }
}
.grid-num h3{ margin:26px 0 10px; }

/* ---------- table ---------- */
.rows{ border-top:1px solid var(--line); }
.rows > div{ display:grid; gap:4px 24px; grid-template-columns:1fr;
             padding:16px var(--pad); border-bottom:1px solid var(--line); }
@media (min-width:640px){ .rows > div{ grid-template-columns:220px 1fr; align-items:baseline; } }
.rows dt,.rows .k{ font-family:var(--mono); font-size:11px; letter-spacing:.12em;
                   text-transform:uppercase; color:var(--faint); margin:0; }
.rows dd,.rows .v{ margin:0; font-size:15px; color:var(--muted); overflow-wrap:anywhere; }

/* ---------- faq ---------- */
.faq{ border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; display:flex; align-items:center;
              justify-content:space-between; gap:24px; padding:24px var(--pad);
              font-size:18px; letter-spacing:-.02em; transition:opacity .2s var(--ease); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ color:var(--accent); }
.faq details[open] summary{ color:var(--accent); }
.faq .plus{ flex:none; width:11px; height:11px; position:relative; }
.faq .plus::before,.faq .plus::after{ content:""; position:absolute; inset:50% 0 auto;
  height:1px; background:currentColor; transform:translateY(-50%); }
.faq .plus::after{ transform:translateY(-50%) rotate(90deg); transition:opacity .25s var(--ease); }
.faq details[open] .plus::after{ opacity:0; }
.faq-body{ padding:0 var(--pad) 26px; max-width:74ch; }

/* ---------- footer ---------- */
.footer{ padding:clamp(38px,4vw,58px) var(--pad); display:flex; flex-wrap:wrap;
         gap:18px 34px; align-items:center; }
.footer-links{ display:flex; flex-wrap:wrap; gap:6px 22px; margin-left:auto; }
.footer-links a{ font-size:14px; color:var(--muted); transition:color .18s var(--ease); }
.footer-links a:hover{ color:var(--accent); }
.tiny{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase;
       color:var(--faint); margin:0; }

/* ============================================================
   MOTION
   One entrance, scrubbed by the scroll wheel where the browser
   supports scroll timelines, one-shot everywhere else.
   ============================================================ */

/* --- fallback: IntersectionObserver adds .in-view --- */
.reveal{
  opacity:0; transform:translateY(22px) scale(.995);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay:var(--reveal-delay,0s);
}
.reveal.in-view{ opacity:1; transform:none; }

/* Scroll timelines drive movement only. Nothing that can hide content
   depends on one, so a reload or a jump mid-page can never strand a
   section invisible. */
@supports (animation-timeline: view()){
  /* the card drifts the whole time its cell is on screen */
  .cell-art .stage-inner{
    animation:drift-through linear both;
    animation-timeline:view();
    animation-range:cover 0% cover 100%;
  }
  @keyframes drift-through{
    from{ transform:translateY(52px) scale(1.045); }
    to  { transform:translateY(-52px) scale(1.045); }
  }

  /* the hero fan pulls away as the hero leaves */
  .hero-art .fan-inner{
    animation:hero-drift linear both;
    animation-timeline:view(block);
    animation-range:exit-crossing 0% exit 100%;
  }
  @keyframes hero-drift{
    from{ transform:translateY(0) scale(1); opacity:1; }
    to  { transform:translateY(-70px) scale(1.08); opacity:.55; }
  }

  /* the lit centre breathes with the hero */
  .hero::before{
    animation:glow-out linear both;
    animation-timeline:view(block);
    animation-range:exit-crossing 0% exit 100%;
  }
  @keyframes glow-out{ from{ opacity:1; } to{ opacity:.25; } }
}

.rise{ animation:rise .85s var(--ease) both; }
.rise-1{ animation-delay:40ms; } .rise-2{ animation-delay:120ms; }
.rise-3{ animation-delay:210ms; } .rise-4{ animation-delay:300ms; }
@keyframes rise{ from{ opacity:0; transform:translateY(16px) scale(.995);} to{ opacity:1; transform:none; } }

/* --- headings reveal a line at a time --- */
.line-mask{ display:block; overflow:hidden; padding-bottom:.14em; margin-bottom:-.14em; }
.lines-ready .line-in{ will-change:transform; }
.line-in{
  display:block;
  transform:translateY(105%);
  transition:transform .95s var(--ease);
  transition-delay:var(--line-delay,0s);
}
.in-view .line-in, .line-mask.in-view .line-in{ transform:none; }

/* --- scroll progress, top of the viewport --- */
.progress{
  position:fixed; inset:0 0 auto; height:2px; z-index:80;
  background:var(--hot); transform:scaleX(0); transform-origin:0 50%;
  pointer-events:none;
}
@supports (animation-timeline: scroll()){
  .progress{ animation:progress linear both; animation-timeline:scroll(root block); }
}
@keyframes progress{ from{ transform:scaleX(0);} to{ transform:scaleX(1);} }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal,.rise{ opacity:1; transform:none; animation:none; transition:none; }
  .line-in{ transform:none; transition:none; }
  .progress{ display:none; }
  .fan{ animation:none; }
  .cell-art .stage-inner,.hero-art .fan-inner,.hero::before{ animation:none; }
}

/* ============================================================
   THE SLAB. Real graded-card renders.
   ============================================================ */
.stage-inner{ position:relative; display:grid; place-items:center; }
.fan-inner{ position:relative; width:100%; height:100%; }

.slab{
  position:absolute; top:50%; left:50%;
  height:88%; width:auto; aspect-ratio:521/880;
  transform-origin:50% 152%;
  filter:drop-shadow(0 22px 26px rgba(0,0,0,.62));
}
.slab img{ display:block; width:100%; height:100%; object-fit:contain; }



.fan-1{ transform:translate(-50%,-50%) rotate(-24deg); z-index:1; }
.fan-2{ transform:translate(-50%,-50%) rotate(-12deg); z-index:2; }
.fan-3{ transform:translate(-50%,-52%) rotate(0deg);  z-index:5; height:98%; }
.fan-4{ transform:translate(-50%,-50%) rotate(12deg);  z-index:2; }
.fan-5{ transform:translate(-50%,-50%) rotate(24deg);  z-index:1; }
.fan-1,.fan-5{ filter:drop-shadow(0 18px 22px rgba(0,0,0,.6)) brightness(.72); }
.fan-2,.fan-4{ filter:drop-shadow(0 20px 24px rgba(0,0,0,.6)) brightness(.88); }

/* one card standing alone in an image cell */
.solo .slab{ height:100%; transform:translate(-50%,-50%) rotate(-2.5deg); }

@media (max-width:899px){ .slab{ height:76%; } .fan-3{ height:86%; } }
@media (max-width:520px){ .slab{ height:64%; } .fan-3{ height:72%; } }

.fan{ animation:float 8s ease-in-out infinite; }
@keyframes float{ 0%,100%{ translate:0 0; } 50%{ translate:0 -9px; } }

/* caption under a cell shot: real card, real cert */
.cell-cap{
  position:absolute; left:var(--pad); right:var(--pad); bottom:22px;
  display:flex; flex-wrap:wrap; gap:4px 16px; align-items:baseline;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted);
}
.on-coal .cell-cap, .on-coal-2 .cell-cap{ color:rgba(245,239,242,.44); }
.cell-cap b{ font-weight:500; }
.on-coal .cell-cap b, .on-coal-2 .cell-cap b{ color:rgba(245,239,242,.82); }

/* ---------- prose / form (sub pages) ---------- */
.prose{ max-width:74ch; }
.prose > *:first-child{ margin-top:0; }
.prose h2{ font-size:clamp(21px,2.2vw,27px); font-weight:450; letter-spacing:-.024em;
           margin:46px 0 12px; }
.prose h3{ font-size:17px; margin:26px 0 8px; font-weight:500; }
.prose p{ color:var(--muted); margin:0 0 15px; overflow-wrap:break-word; }
.prose ul{ color:var(--muted); margin:0 0 15px; padding-left:20px; }
.prose li{ margin-bottom:7px; overflow-wrap:break-word; }
.prose code{ font-family:var(--mono); font-size:13px; color:var(--accent); background:var(--hot-dim);
             padding:2px 7px; border-radius:4px;
             overflow-wrap:anywhere; word-break:break-word; }
.prose strong{ color:inherit; font-weight:500; }

.field{ margin-bottom:20px; }
.field label{ display:block; font-family:var(--mono); font-size:11px; letter-spacing:.12em;
              text-transform:uppercase; color:var(--faint); margin-bottom:8px; }
.field input,.field textarea{ width:100%; padding:13px 16px; background:transparent;
  color:inherit; border:1px solid var(--line); border-radius:8px;
  font-family:var(--font); font-size:16px; transition:border-color .2s var(--ease); }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--accent); }
.field input::placeholder,.field textarea::placeholder{ color:var(--faint); }
.hint{ margin-top:7px; font-size:13px; color:var(--faint); }
.notice{ padding:15px 18px; border:1px solid var(--line); border-radius:8px;
         font-size:14px; color:var(--muted); overflow-wrap:anywhere; }

/* ============================================================
   POLISH
   ============================================================ */

/* a very fine grain over the whole page: dark grounds read flat
   without it, and it hides gradient banding in the hero glow */
body::after{
  content:""; position:fixed; inset:0; z-index:70; pointer-events:none;
  opacity:.5; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* keyboard focus, visible on both grounds */
:focus-visible{ outline:2px solid var(--hot); outline-offset:3px; border-radius:4px; }
.btn:focus-visible{ outline-offset:4px; }

/* the card lifts when you point at its cell */
.cell-art{ cursor:default; }
.cell-art .fan-inner{ transition:transform .7s var(--ease); }
.cell-art:hover .fan-inner{ transform:translateY(-10px); }
.cell-art .slab{ transition:filter .7s var(--ease); }
.cell-art:hover .slab{ filter:drop-shadow(0 30px 40px rgba(0,0,0,.7)); }

/* the lit cell brightens a touch on approach */
.cell-art::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(58% 50% at 50% 44%, rgba(255,20,120,.14), transparent 70%);
  opacity:0; transition:opacity .7s var(--ease);
}
.cell-art:hover::after{ opacity:1; }

/* rows highlight as you read down them */
.rows > div{ transition:background .35s var(--ease); }
.rows > div:hover{ background:rgba(255,20,120,.05); }

/* numbered cells pick up the accent edge on hover */
.grid-num > div{ transition:background .4s var(--ease); position:relative; }
.grid-num > div::before{
  content:""; position:absolute; left:0; top:-1px; width:100%; height:1px;
  background:var(--hot); transform:scaleX(0); transform-origin:0 50%;
  transition:transform .55s var(--ease);
}
.grid-num > div:hover::before{ transform:scaleX(1); }



/* selection and scrollbar in brand colour */
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:var(--ink); }
::-webkit-scrollbar-thumb{ background:#2a1a22; border-radius:99px; border:3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover{ background:var(--hot-deep); }

@media (prefers-reduced-motion:reduce){
  .cell-art:hover .fan-inner{ transform:none; }
  .grid-num > div::before{ transition:none; }
}

/* ============================================================
   WALLET
   ============================================================ */

.btn.is-on{ border-color:var(--hot); color:var(--hot); font-family:var(--mono); font-size:12px;
            letter-spacing:.04em; }
.btn.is-on:hover{ background:var(--hot); color:#0b0308; }
.btn.is-warn{ border-color:var(--hot); background:var(--hot); color:#0b0308; }
.btn.is-warn:hover{ background:var(--hot-deep); border-color:var(--hot-deep); color:#0b0308; }

.wm{ position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:20px; }
.wm[hidden]{ display:none; }
.wm-scrim{ position:absolute; inset:0; background:rgba(5,2,4,.78);
           backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
           animation:wm-fade .25s var(--ease) both; }
.wm-panel{
  position:relative; width:min(400px,100%);
  background:var(--lift-2); border:1px solid var(--line-lift); border-radius:20px;
  padding:20px; box-shadow:0 30px 80px -20px rgba(0,0,0,.9);
  animation:wm-in .35s var(--ease) both;
}
@keyframes wm-fade{ from{ opacity:0 } to{ opacity:1 } }
@keyframes wm-in{ from{ opacity:0; transform:translateY(14px) scale(.985) } to{ opacity:1; transform:none } }

.wm-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.wm-head .eyebrow{ color:var(--hot); }
.wm-x{ background:none; border:0; color:var(--on-dark-faint); font-size:22px; line-height:1;
       cursor:pointer; padding:2px 6px; border-radius:8px; transition:color .2s var(--ease); }
.wm-x:hover{ color:var(--on-dark); }

.wm-item{
  width:100%; display:flex; align-items:center; gap:12px;
  padding:14px 16px; margin-bottom:8px;
  background:rgba(245,239,242,.04); border:1px solid var(--line-lift); border-radius:14px;
  color:inherit; font-size:15px; text-align:left; cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.wm-item:hover{ background:rgba(255,20,120,.09); border-color:rgba(255,20,120,.4); transform:translateY(-1px); }
.wm-item.is-busy{ opacity:.55; pointer-events:none; }
.wm-item .wm-go{ margin-left:auto; color:var(--on-dark-faint); }
.wm-icon{ width:26px; height:26px; border-radius:7px; flex:none; }
.wm-dot{ width:26px; height:26px; border-radius:7px; flex:none; background:var(--hot); opacity:.85; }

.wm-row{ display:flex; align-items:center; justify-content:space-between; gap:14px;
         padding:12px 2px; border-bottom:1px solid var(--line-lift); }
.wm-k{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
       color:var(--on-dark-faint); }
.wm-v{ font-size:14px; }
.wm-warn{ color:var(--hot); }
.wm-full{ width:100%; margin-top:12px; height:44px; }
.wm-err{ margin:14px 0 0; font-size:13px; color:var(--hot); }

@media (prefers-reduced-motion:reduce){
  .wm-scrim,.wm-panel{ animation:none; }
  .wm-item:hover{ transform:none; }
}

/* launch form extras */
.field select{
  width:100%; padding:13px 16px; background:var(--ink); color:inherit;
  border:1px solid var(--line); border-radius:8px;
  font-family:var(--font); font-size:16px; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3949c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
}
.field select:focus{ outline:none; border-color:var(--accent); }
.predicted{
  margin:0; padding:11px 14px; border:1px dashed var(--line); border-radius:8px;
  color:var(--faint); font-size:11px; letter-spacing:.06em; overflow-wrap:anywhere;
}
.predicted.is-set{ color:var(--accent); border-style:solid; border-color:rgba(255,20,120,.3); }
#f-status.is-err{ color:var(--hot); }
#f-status.is-ok{ color:var(--accent); }
