/* Sprint Bag — Chameleon tokens (Theme: Midnight; Action: Lime for /mission, Jade for the site home) */
:root {
  --surface-sunken:#12051c; --surface-base:#1d092c; --surface-raised:#2a1340; --surface-overlay:#341a4d; --surface-well:#341a4d; --surface-hover:#4a2e66;
  --border-subtle:#3d2654; --border-default:#4a2e66; --border-strong:#6e5a82;
  --text-primary:#fff; --text-secondary:#dbdbdb; --text-muted:#a99bb8; --text-faint:#6e5a82; --text-danger:#ff8a5c;
  --action-bg:#d4f25a; --action-bg-hover:#ddf57b; --action-bg-pressed:#b9cf53; --action-fg:#1d092c; --action-text:#d4f25a; --action-bg-soft:#3e3334;
  --focus-ring:#b57bff;
  --success-marker:#27dca3; --success-bg:#163b3a; --success-fg:#27dca3;
  --warning-marker:#ff7c4c; --warning-bg:#43212f; --warning-fg:#ff9a73;
  --error-marker:#ff5c28; --error-bg:#451a2a; --error-fg:#ff8a5c;
  --info-marker:#b57bff; --info-bg:#36125c; --info-fg:#c99bff;
  --new-marker:#d4f25a; --new-bg:#38392f; --new-fg:#d4f25a;
  --r-xs:6px; --r-sm:8px; --r-md:10px; --r-lg:12px; --r-xl:14px; --r-2xl:16px; --r-3xl:20px;
  --font:'Plus Jakarta Sans',system-ui,sans-serif; --mono:'Geist Mono',ui-monospace,monospace;
  --pad-x:clamp(16px,5.5vw,80px);
  color-scheme: dark;
}
.act-jade { --action-bg:#27dca3; --action-bg-hover:#52e3b5; --action-bg-pressed:#26bc91; --action-text:#27dca3; --action-bg-soft:#1f2f41; }
*,*::before,*::after { box-sizing:border-box; }
html,body { margin:0; }
body { background:var(--surface-base); color:var(--text-primary); font:400 16px/26px var(--font); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a.link, .link { color:var(--action-text); }
a.link:hover { text-decoration:underline; }
img,svg { display:block; max-width:100%; }
button,input,select,textarea { font:inherit; color:inherit; }
:focus-visible { outline:2px solid var(--focus-ring); outline-offset:2px; border-radius:6px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* type */
.t-display { font:800 clamp(36px,5.2vw,56px)/1.07 var(--font); letter-spacing:-0.03em; margin:0; }
.t-headline { font:700 clamp(26px,3vw,32px)/1.19 var(--font); letter-spacing:-0.02em; margin:0; }
.t-sub { font:600 20px/28px var(--font); margin:0; }
.t-body { font:400 16px/26px var(--font); }
.t-bodys { font:400 14px/22px var(--font); }
.t-label { font:600 14px/20px var(--font); }
.t-labels { font:600 13px/18px var(--font); }
.t-strong { font:700 15px/20px var(--font); }
.t-caption { font:500 12px/16px var(--font); }
.t-eyebrow { font:700 12px/16px var(--font); letter-spacing:.08em; text-transform:uppercase; }
.t-stat-l { font:800 34px/40px var(--font); letter-spacing:-0.02em; }
.t-stat-m { font:800 28px/32px var(--font); letter-spacing:-0.02em; }
.t-mono { font:500 13px/18px var(--mono); letter-spacing:.02em; }
.t-code { font:400 12px/18px var(--mono); }
.muted { color:var(--text-muted); } .faint { color:var(--text-faint); } .secondary { color:var(--text-secondary); } .accent { color:var(--action-text); }
/* the statement look: 56px ExtraBold */
.big { font:800 clamp(30px,4.6vw,56px)/1.1 var(--font); letter-spacing:-0.03em; margin:0; overflow-wrap:anywhere; }
.big b, .big strong { font-weight:800; }
.big mark, .hl mark { background:none; color:var(--action-text); text-decoration:underline; text-decoration-thickness:4px; text-underline-offset:8px; font-weight:800; }
.hl mark { text-decoration-thickness:2px; text-underline-offset:4px; font-weight:700; }
.big.solid { font-weight:800; }

/* layout */
.wrap { padding-inline:var(--pad-x); }
.stack { display:flex; flex-direction:column; } .row { display:flex; align-items:center; } .wrap-row { display:flex; flex-wrap:wrap; align-items:center; }
.grow { flex:1 1 auto; min-width:0; } .gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-20{gap:20px}.gap-24{gap:24px}.gap-32{gap:32px}.gap-48{gap:48px}
.between { justify-content:space-between; } .center { align-items:center; justify-content:center; } .top { align-items:flex-start; }
.panel { background:var(--surface-raised); border:1px solid var(--border-subtle); border-radius:var(--r-lg); padding:20px; }
.sunken { background:var(--surface-sunken); }
.divider { height:1px; background:var(--border-subtle); border:0; margin:0; }
.page { min-height:100vh; display:flex; flex-direction:column; }
.page > main { flex:1; }

/* app bar */
.appbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:16px; height:60px; padding:0 24px; background:var(--surface-sunken); border-bottom:1px solid var(--border-subtle); }
.logo { width:22px; height:22px; border-radius:8px; background:var(--action-bg); flex:none; }
.crumbs { display:flex; align-items:center; gap:10px; min-width:0; overflow:hidden; white-space:nowrap; }
.crumbs .sl { color:var(--text-faint); font-size:14px; }
.crumbs a:hover { color:var(--text-primary); }
.area-switch { display:inline-flex; gap:2px; padding:3px; border:1px solid var(--border-subtle); border-radius:var(--r-md); }
.area-switch a { padding:6px 12px; border-radius:var(--r-sm); font:600 13px/18px var(--font); color:var(--text-muted); }
.area-switch a[aria-current] { background:var(--surface-well); color:var(--text-primary); }
.avatar { width:28px; height:28px; border-radius:999px; background:var(--action-bg); color:var(--action-fg); display:grid; place-items:center; font:700 11px/1 var(--font); flex:none; }
.avatar.sq { border-radius:10px; } .avatar.lg { width:56px; height:56px; border-radius:14px; font-size:18px; } .avatar.md { width:36px; height:36px; border-radius:10px; font-size:13px; }
@media (max-width:760px){ .appbar { padding:0 16px; gap:10px; } .crumbs .hide-sm { display:none; } }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:40px; padding:0 16px; border-radius:var(--r-md); border:1px solid transparent; font:600 14px/20px var(--font); cursor:pointer; white-space:nowrap; background:var(--surface-overlay); color:var(--text-primary); }
.btn:hover { background:var(--surface-hover); }
.btn.primary { background:var(--action-bg); color:var(--action-fg); } .btn.primary:hover { background:var(--action-bg-hover); } .btn.primary:active { background:var(--action-bg-pressed); }
.btn.ghost { background:none; color:var(--action-text); padding:0 8px; } .btn.ghost:hover { background:var(--surface-well); }
.btn.danger { background:var(--error-marker); color:#1d092c; }
.btn.sm { height:32px; padding:0 12px; font-size:13px; border-radius:var(--r-sm); } .btn.lg { height:48px; padding:0 22px; font-size:15px; }
.btn[disabled] { opacity:.45; cursor:not-allowed; }
.icon-btn { width:44px; height:44px; padding:0; border-radius:999px; border:1px solid var(--border-default); background:none; }

/* chips, badges */
.chip { display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 16px; border-radius:999px; border:1px solid var(--border-default); background:var(--surface-raised); font:600 14px/20px var(--font); cursor:pointer; white-space:nowrap; }
.chip:hover { border-color:var(--border-strong); }
.chip[aria-pressed=true], .chip.on { background:var(--action-bg); color:var(--action-fg); border-color:var(--action-bg); }
.chip.sm { height:30px; padding:0 12px; font-size:13px; }
.tchip { display:inline-flex; align-items:center; padding:3px 8px; border-radius:6px; background:var(--surface-well); color:var(--text-secondary); font:500 12px/16px var(--font); white-space:nowrap; }
.tchip.kind { background:var(--action-bg-soft); color:var(--action-text); }
a.tchip:hover { color:var(--text-primary); }
.badge { display:inline-flex; align-items:center; gap:6px; padding:3px 9px; border-radius:999px; font:500 12px/16px var(--font); white-space:nowrap; }
.badge::before { content:''; width:6px; height:6px; border-radius:99px; background:currentColor; }
.badge.real { background:var(--success-bg); color:var(--success-fg); } .badge.example { background:var(--info-bg); color:var(--info-fg); }
.badge.generated { background:var(--new-bg); color:var(--new-fg); } .badge.user_submitted { background:var(--warning-bg); color:var(--warning-fg); }
.pill { display:inline-flex; align-items:center; padding:3px 9px; border-radius:999px; font:500 12px/16px var(--font); background:var(--surface-well); color:var(--text-secondary); }
.pill.ok { background:var(--success-bg); color:var(--success-fg);} .pill.warn { background:var(--warning-bg); color:var(--warning-fg);} .pill.err { background:var(--error-bg); color:var(--error-fg);} .pill.info{ background:var(--info-bg); color:var(--info-fg);} .pill.act { background:var(--action-bg-soft); color:var(--action-text); }
.kbd { font:600 12px/16px var(--mono); color:var(--text-faint); }

/* forms */
.field { display:flex; flex-direction:column; gap:6px; }
.field > label, .field .lbl { font:600 14px/20px var(--font); }
.input, textarea.input, select.input { width:100%; min-height:44px; padding:10px 14px; border-radius:var(--r-md); background:var(--surface-sunken); border:1px solid var(--border-default); color:var(--text-primary); }
textarea.input { min-height:96px; resize:vertical; line-height:22px; }
.input:focus { border-color:var(--action-bg); outline:none; box-shadow:0 0 0 1px var(--action-bg); }
.help { font:500 12px/16px var(--font); color:var(--text-muted); }
.check { display:flex; align-items:center; gap:10px; cursor:pointer; font:400 14px/22px var(--font); color:var(--text-secondary); }
.check input { appearance:none; width:20px; height:20px; border-radius:6px; border:2px solid var(--border-strong); margin:0; flex:none; display:grid; place-items:center; }
.check input:checked { background:var(--action-bg); border-color:var(--action-bg); }
.check input:checked::after { content:''; width:8px; height:8px; border-radius:2px; background:var(--action-fg); }
.check:has(input:checked) { color:var(--text-primary); }
.switch { appearance:none; width:44px; height:26px; border-radius:999px; background:var(--surface-well); border:1px solid var(--border-default); position:relative; cursor:pointer; flex:none; margin:0; }
.switch::after { content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:99px; background:var(--control-knob,#a99bb8); transition:transform .15s; }
.switch:checked { background:var(--action-bg); border-color:var(--action-bg); } .switch:checked::after { transform:translateX(18px); background:var(--action-fg); }
.seg { display:inline-flex; gap:2px; padding:3px; border-radius:var(--r-md); background:var(--surface-well); }
.seg a, .seg button, .seg label { padding:6px 12px; border-radius:var(--r-sm); font:600 13px/18px var(--font); color:var(--text-secondary); border:0; background:none; cursor:pointer; }
.seg [aria-current], .seg label:has(input:checked), .seg .on { background:var(--action-bg); color:var(--action-fg); }
.seg input { display:none; } .seg label span { display:block; padding:0; }

/* search field */
.searchbar { display:flex; align-items:center; gap:12px; height:64px; padding:0 10px 0 20px; border-radius:var(--r-lg); background:var(--surface-raised); border:1px solid var(--border-default); }
.searchbar:focus-within { border:2px solid var(--action-bg); padding-left:19px; }
.searchbar input[type=search] { flex:1; min-width:0; border:0; background:none; outline:none; font:600 20px/28px var(--font); color:var(--text-primary); }
.searchbar input::placeholder { color:var(--text-muted); }
.searchbar .glyph { color:var(--text-muted); font-size:20px; }
@media (max-width:640px){ .searchbar .glyph { display:none; } .searchbar { height:56px; padding:0 8px 0 14px; } .searchbar:focus-within { padding-left:13px; } .searchbar input[type=search] { font-size:17px; } }

/* cards */
.scard { display:flex; flex-direction:column; gap:16px; padding:24px 28px; background:var(--surface-raised); border:1px solid var(--border-subtle); border-radius:var(--r-lg); }
.scard:hover { border-color:var(--border-default); }
.scard .org { display:flex; align-items:center; gap:12px; }
.scard .org .t-strong { font-size:17px; line-height:22px; } /* company name a step up from body strong */
.kv dd { min-width:0; overflow-wrap:anywhere; margin:0; }
.side .kv { grid-template-columns:96px minmax(0,1fr); gap:12px; }
.scard .meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font:500 12px/16px var(--font); color:var(--text-muted); }
.scard .meta .dot { color:var(--text-faint); }
.scard .stext { font:400 16px/26px var(--font); }
.scard.large .stext { font:800 clamp(28px,4vw,56px)/1.1 var(--font); letter-spacing:-0.03em; }
.scard.large .stext b { font-weight:800; }
.match { font:500 13px/18px var(--mono); color:var(--action-text); background:var(--action-bg-soft); padding:2px 8px; border-radius:999px; }
@media (max-width:640px){ .scard { padding:18px; } }
.media { position:relative; overflow:hidden; background-color:var(--surface-base); background-repeat:repeat; }

/* results layout */
.with-rail { display:grid; grid-template-columns:280px 1fr; align-items:start; }
.rail { position:sticky; top:60px; max-height:calc(100vh - 60px); overflow:auto; padding:24px 20px; background:var(--surface-sunken); display:flex; flex-direction:column; gap:22px; border-right:1px solid var(--border-subtle); }
.facet { display:flex; flex-direction:column; gap:10px; }
.facet .row .count { margin-left:auto; font:500 13px/18px var(--mono); color:var(--text-faint); }
.facet details summary { cursor:pointer; color:var(--action-text); font:500 12px/16px var(--font); list-style:none; }
.rail-toggle { display:none; }
.chip:has(input:checked) { background:var(--action-bg); color:var(--action-fg); border-color:var(--action-bg); }
.chip:has(input:focus-visible), .check:has(input:focus-visible) { outline:2px solid var(--action-bg); outline-offset:2px; }
/* Apply bar only exists on mobile, where filters are staged */
.rail-apply { display:none; }
@media (max-width:960px){
  .with-rail { grid-template-columns:1fr; }
  .rail { position:fixed; inset:auto 0 0 0; top:auto; max-height:85vh; z-index:40; border-radius:20px 20px 0 0; transform:translateY(105%); transition:transform .2s; box-shadow:0 -20px 60px #0008; border-right:0; }
  .rail.open { transform:none; }
  .rail { padding-bottom:0; }
  .rail-apply { display:flex; gap:10px; position:sticky; bottom:0; margin:auto -20px 0; padding:12px 20px calc(12px + env(safe-area-inset-bottom)); background:var(--surface-sunken); border-top:1px solid var(--border-subtle); z-index:1; }
  .rail-toggle { display:inline-flex; }
}
.scrim { position:fixed; inset:0; background:#000a; z-index:30; display:none; } .scrim.open { display:block; }

/* tables / fields */
.kv { display:grid; grid-template-columns:170px 1fr; gap:16px; padding:10px 0; border-bottom:1px solid var(--border-subtle); font:400 14px/22px var(--font); }
.kv dt { color:var(--text-faint); font:500 12px/22px var(--font); } .kv dd { margin:0; }
@media (max-width:640px){ .kv { grid-template-columns:1fr; gap:2px; } }
.conf { display:inline-flex; align-items:center; gap:8px; } .conf .track { display:inline-block; width:80px; height:6px; border-radius:3px; background:var(--surface-well); overflow:hidden; } .conf .fill { display:block; height:100%; border-radius:3px; }

/* timeline */
.tl { display:flex; flex-direction:column; gap:14px; }
.tl-item { display:grid; grid-template-columns:14px 1fr; gap:14px; }
.tl-item .node { width:10px; height:10px; border-radius:99px; background:var(--border-strong); margin-top:4px; position:relative; }
.tl-item .node::after { content:''; position:absolute; left:4px; top:14px; width:2px; height:calc(100% + 40px); background:var(--border-default); }
.tl-item:last-child .node::after { display:none; }
.tl-item.cur .node, .tl-item.sel .node { background:var(--action-bg); }
.tl-item.sel .body { background:var(--action-bg-soft); border-radius:10px; padding:10px 12px; }

/* carousel */
/* all slides share one grid cell, so the carousel is as tall as its tallest slide and the controls never move */
.carousel .slides { display:grid; } .carousel .slide { grid-area:1 / 1; margin:0; visibility:hidden; } .carousel .slide.on { visibility:visible; animation:fade .25s ease-out; }
@keyframes fade { from { opacity:0; transform:translateY(4px);} to { opacity:1; transform:none; } }
.dots { display:flex; gap:6px; align-items:center; } .dots i { width:6px; height:6px; border-radius:99px; background:var(--border-strong); } .dots i.on { width:8px; height:8px; background:var(--action-bg); }
.circle-btn { width:44px; height:44px; border-radius:999px; display:grid; place-items:center; border:1px solid var(--border-default); background:none; cursor:pointer; font-size:20px; }
.circle-btn.fill { background:var(--action-bg); color:var(--action-fg); border-color:var(--action-bg); }

/* tray */
.tray { position:fixed; bottom:16px; left:50%; transform:translateX(-50%); z-index:25; display:none; gap:12px; align-items:center; padding:10px 12px 10px 18px; border-radius:14px; background:var(--surface-overlay); border:1px solid var(--border-default); box-shadow:0 20px 60px #0008; }
.tray.on { display:flex; }
.toast { position:fixed; bottom:16px; right:16px; z-index:50; padding:12px 16px; border-radius:12px; background:var(--surface-overlay); border:1px solid var(--border-default); box-shadow:0 20px 60px #0008; display:none; } .toast.on { display:block; }

/* dialog */
dialog { border:1px solid var(--border-subtle); border-radius:16px; background:var(--surface-overlay); color:var(--text-primary); padding:28px; width:min(560px,calc(100vw - 32px)); box-shadow:0 30px 80px #000a; }
dialog::backdrop { background:#000a; }

/* writer */
.stepper { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.step { display:flex; align-items:center; gap:10px; font:600 13px/18px var(--font); color:var(--text-muted); }
.step .n { width:26px; height:26px; border-radius:99px; border:1px solid var(--border-default); display:grid; place-items:center; font-size:12px; }
.step.done { color:var(--text-secondary); } .step.done .n { background:var(--action-bg); color:var(--action-fg); border-color:var(--action-bg); }
.step.cur { color:var(--text-primary); font-weight:700; } .step.cur .n { border:2px solid var(--action-bg); color:var(--action-text); }
.step + .conn { width:24px; height:2px; background:var(--border-default); border-radius:1px; } .conn.done { background:var(--action-bg); }
@media (max-width:900px){ .stepper .step span.lab { display:none; } .stepper .step.cur span.lab { display:inline; } .conn { width:12px !important; } }
.editor { background:var(--surface-raised); border:1px solid var(--border-subtle); border-radius:14px; overflow:hidden; }
.editor .toolbar { display:flex; align-items:center; gap:8px; padding:8px 12px; background:var(--surface-sunken); flex-wrap:wrap; }
.tool { width:30px; height:30px; border-radius:6px; display:grid; place-items:center; background:none; border:0; cursor:pointer; color:var(--text-secondary); font:700 14px/1 var(--font); }
.tool.on, .tool:hover { background:var(--surface-well); color:var(--text-primary); }
.editor .ed { padding:40px 48px 32px; outline:none; min-height:220px; }
.editor .ed:empty::before { content:attr(data-placeholder); color:var(--text-faint); }
@media (max-width:640px){ .editor .ed { padding:24px 20px; } }
.crit { display:grid; grid-template-columns:24px 1fr; gap:12px; }
.crit .ic { width:24px; height:24px; border-radius:6px; display:grid; place-items:center; font:700 13px/1 var(--font); }
.crit.pass .ic { background:var(--success-bg); color:var(--success-fg);} .crit.warn .ic { background:var(--warning-bg); color:var(--warning-fg);} .crit.fail .ic { background:var(--error-bg); color:var(--error-fg);}
.sugg { display:flex; flex-direction:column; gap:12px; padding:16px; border-radius:12px; background:var(--surface-raised); border:1px solid var(--border-subtle); }
.sugg.q { border-color:var(--warning-marker); }
.dstatus { display:inline-flex; padding:3px 9px; border-radius:999px; font:500 12px/16px var(--font); background:var(--surface-well); color:var(--text-secondary); }
.dstatus.contender { background:var(--info-bg); color:var(--info-fg);} .dstatus.shortlisted { background:var(--action-bg-soft); color:var(--action-text);} .dstatus.final { background:var(--success-bg); color:var(--success-fg);} .dstatus.discarded { color:var(--text-faint); text-decoration:line-through; }
.workspace { display:grid; grid-template-columns:280px minmax(0,1fr) 340px; gap:20px; align-items:start; }
@media (max-width:1200px){ .workspace { grid-template-columns:minmax(0,1fr) 320px; } .workspace .ws-left { display:none; } }
@media (max-width:860px){ .workspace { grid-template-columns:1fr; } .ws-tabs { display:flex !important; } .workspace > [data-tab]:not(.on) { display:none; } .workspace .ws-left.on { display:flex; } }
.ws-tabs { display:none; }

/* grids */
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.grid-5 { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
@media (max-width:1100px){ .grid-5 { grid-template-columns:repeat(2,minmax(0,1fr)); } .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px){ .grid-3, .grid-2 { grid-template-columns:minmax(0,1fr); } }
@media (max-width:560px){ .grid-5, .grid-4 { grid-template-columns:1fr; } }
.split { display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:32px; align-items:start; }
@media (max-width:1000px){ .split { grid-template-columns:1fr; } }
.split.news { grid-template-columns:minmax(0,1fr) 520px; gap:64px; }
@media (max-width:1000px){ .split.news { grid-template-columns:1fr; gap:40px; } }

/* site home */
.hero { position:relative; overflow:hidden; padding-block:clamp(48px,8vw,112px); }
.hero .bg { position:absolute; inset:-120px 0 0 40%; background:url(/assets/patterns/ripple-jade.svg) left bottom / 1440px 900px no-repeat; pointer-events:none; }
.appbar.site { height:64px; padding:0 var(--pad-x); }
.site-hero > .wrap { width:100%; }
.site-hero { min-height:520px; display:flex; align-items:center; padding-block:112px; background:var(--surface-base); }
/* full window width like the Explore banner; 68% keeps Figma's 260px crop of the 900px-tall ripple at 1440 */
.site-hero .bg { inset:0; background:url(/assets/patterns/ripple-jade.svg) center 68% / cover no-repeat; opacity:.3; }
.menu { position:relative; } .menu summary { list-style:none; cursor:pointer; font-size:22px; line-height:1; padding:4px; } .menu summary::-webkit-details-marker { display:none; }
.menu nav { position:absolute; right:0; top:40px; min-width:180px; padding:8px; border-radius:12px; background:var(--surface-raised); border:1px solid var(--border-subtle); box-shadow:0 12px 32px rgba(0,0,0,.4); }
.menu nav a { padding:10px 12px; border-radius:8px; } .menu nav a:hover { background:var(--surface-sunken); }
.banner { position:relative; overflow:hidden; min-height:380px; display:flex; align-items:center; padding-block:64px; }
.banner > .wrap { position:relative; width:100%; } .banner .t-display { line-height:60px; }
.banner .bg { position:absolute; inset:0; background:url(/assets/patterns/ripple-jade.svg) center / cover no-repeat; opacity:.45; pointer-events:none; }
.act-lime .banner .bg { background-image:url(/assets/patterns/ripple-lime.svg); }
@media (max-width:760px){ .banner { min-height:0; padding-block:40px; } .banner .t-display { line-height:1.07; } }
.gap-14 { gap:14px; }
.act-lime .hero .bg { background-image:url(/assets/patterns/ripple-lime.svg); }
@media (max-width:760px){ .hero .bg { inset:-200px -400px 0 0; opacity:.35; }
  .site-hero { min-height:342px; padding-block:48px; } .site-hero .bg { inset:0; background-size:1440px 900px; background-position:-300px -300px; opacity:.35; } .site-hero .cta .btn.lg { height:40px; padding:0 16px; font-size:14px; } }
.hero > * { position:relative; }
.section { padding-block:clamp(48px,7vw,96px); }
.footer { padding:32px var(--pad-x); background:var(--surface-sunken); display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; }
.tool-card { display:flex; flex-direction:column; border-radius:14px; overflow:hidden; background:var(--surface-raised); border:1px solid var(--border-subtle); }
.tool-card.live { border:2px solid var(--action-bg); position:relative; transition:transform .15s ease, box-shadow .15s ease; }
/* whole live card links to its tool; the h3 link's ::after covers the card, buttons sit above it */
.tool-card .card-link { color:inherit; } .tool-card .card-link::after { content:''; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.tool-card .card-link:focus-visible { outline:none; } .tool-card.live:has(.card-link:focus-visible) { outline:2px solid var(--action-bg); outline-offset:3px; }
.tool-card .row .btn { position:relative; z-index:2; }
.tool-card.live:hover { transform:translateY(-2px); box-shadow:0 12px 32px rgba(0,0,0,.35); }
.dots { flex-wrap:wrap; min-width:0; }
@media (max-width:640px){ .site-spot { padding:24px !important; } }
.tool-card .media { height:220px; }
.tool-card .badge-pos { position:absolute; top:16px; left:16px; }
@media (max-width:640px){ .tool-card .media { height:160px; } }
mark { background:none; color:inherit; }
.pager { display:flex; gap:6px; flex-wrap:wrap; }
.pager a, .pager span { min-width:36px; height:36px; display:grid; place-items:center; padding:0 8px; border-radius:10px; background:var(--surface-raised); font:600 14px/1 var(--font); }
.pager a[aria-current] { background:var(--action-bg); color:var(--action-fg); }
.empty { display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; padding:72px 16px; }
.hide { display:none !important; }
@media (max-width:760px){ .hide-sm { display:none !important; } }
@media (min-width:761px){ .show-sm { display:none !important; } }

[hidden] { display:none !important; }
