/* SafeShelf site theme, after the AIRecruit360 reference: a white page column on light grey,
   a grotesk display face with Helvetica for text, blue #0271E4 / mint #A2F1A9 / ink #001123,
   near-square buttons, and pixel-dither sky, sea and grass panels (assets/*.png, made by code) behind product UI. */
:root {
  --blue: #0271e4; --blue-2: #0a5fc0; --blue-pale: #e8f2fd;
  --mint: #a2f1a9; --mint-ink: #12632a;
  --ink: #001123; --ink-2: #26323f; --muted: #5d6874; --dim: #8b949e;
  --line: #e4e7eb; --line-2: #eef0f3; --soft: #f5f6f7; --outer: #efefef;
  --amber: #b86e00; --amber-bg: #fff2dc; --red: #c93a2f; --red-bg: #fdebe9; --ok: #1d7f3e; --ok-bg: #e4f7e6;
  --pink: #f6a4f0; --orange: #ff9a52; --yellow: #ffe04a; --cyan: #5ff0ef; --lilac: #b9c2ff; --lime: #b6f25a;
  --display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 1280px;
  /* content stays in a centred 1280px column while backgrounds run edge to edge */
  --gut: max(clamp(16px, 4.2vw, 56px), calc((100vw - 1280px) / 2 + 56px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }

.page { width: 100%; background: #fff; overflow: hidden; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; }
h1.display { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; }
h3.display { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; }
.kicker { font-size: .875rem; color: var(--blue); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.center { text-align: center; }
.center .lead { max-width: 560px; margin: 18px auto 0; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 2px; font-size: .9375rem; white-space: nowrap; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #102538; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink-2); color: var(--ink); background: #fff; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--blue-pale); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }

/* ---------- nav ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 36px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 1.4rem var(--display); letter-spacing: -.03em; color: var(--ink); }
.logo svg { width: 30px; height: 30px; flex: none; }
.links { display: flex; gap: 28px; font-size: .9375rem; color: var(--ink-2); }
.links a { position: relative; padding: 6px 0; }
.links a:hover, .links a[aria-current="page"] { color: var(--blue); }
.links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); }
.nav-end { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 2px; background: var(--soft); cursor: pointer; place-items: center; }
.menu svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 84px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px 64px; align-items: end; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.laurel { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: .9375rem; }
.laurel svg { width: 12px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.laurel svg:last-child { transform: scaleX(-1); }
.hero-side { display: grid; gap: 22px; padding-bottom: 10px; }
.hero-side .lead { color: var(--ink-2); max-width: 430px; }

.strip { padding: 0 max(0px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .62fr 1.1fr 1fr .7fr .7fr; gap: 16px; margin-top: clamp(44px, 6vw, 76px); align-items: stretch; height: clamp(300px, 34vw, 440px); }
.tile { position: relative; overflow: hidden; background: var(--soft); }
.tile.scene { background-size: cover; background-position: center; image-rendering: pixelated; }
.tile.plain { background: #f4f4f4; }
.tile.orange { background: var(--orange); align-self: center; height: 78%; }
.tile.orange::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .28) 0 22%, transparent 23%), radial-gradient(circle at 75% 70%, rgba(255, 255, 255, .22) 0 26%, transparent 27%); }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile .card { position: absolute; }
.hex { position: absolute; inset: 9% 9% 7%; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); overflow: hidden; }
.hex img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.chip { position: absolute; display: grid; gap: 1px; padding: 9px 13px; border-radius: 6px; font-size: .75rem; line-height: 1.3; box-shadow: 0 10px 22px rgba(0, 17, 35, .14); }
.chip b { font-size: 1.15rem; font-weight: 600; }
.chip-pink { background: var(--pink); color: #4a0f45; right: 4%; top: 52%; }
.chip-green { background: var(--mint); color: var(--mint-ink); left: 6%; bottom: 13%; display: flex; align-items: center; gap: 9px; }
.chip-green i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: #fff; color: var(--red); font-style: normal; font-weight: 700; }
.mark-dot { position: absolute; left: 11%; top: 9%; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(2, 113, 228, .35); }
.mark-dot svg { width: 24px; height: 24px; }
/* hero tiles: one real product each, playing a short check on a loop (site.js steps data-at and adds .live;
   without it the finished frame shows) */
.ptag { position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .66rem; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 17, 35, .12); }
.ptag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip.live [data-at] { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.25); }
.strip.live [data-at].on { opacity: 1; transform: none; }
.strip.live .chip[data-at] { transform: translateY(14px) scale(.9); }
.strip.live .mark-dot[data-at] { transform: scale(.4); }
.strip .mark-dot.on { transform: none; animation: ring 1.6s ease-out .3s; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(2, 113, 228, .55), 0 8px 18px rgba(2, 113, 228, .35); } to { box-shadow: 0 0 0 22px rgba(2, 113, 228, 0), 0 8px 18px rgba(2, 113, 228, .35); } }
/* bars and bubbles that come and go collapse, so what follows moves up */
.strip [data-off], .wa .bub[data-at] { max-height: 140px; transition: opacity .35s, transform .45s cubic-bezier(.2, .9, .3, 1.25), max-height .45s ease, margin .45s, padding .45s; }
.strip [data-off]:not(.on), .strip.live .wa .bub[data-at]:not(.on) { max-height: 0; overflow: hidden; margin-top: 0; padding-top: 0; padding-bottom: 0; }
.caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ext-bar i, .ph-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue); }
.ext-bar.on i, .ph-prog.on i { animation: load 1.7s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes load { to { width: 100%; } }

/* Chrome extension rail */
.ext-page { position: absolute; left: -18%; top: 16%; width: 62%; bottom: 16%; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 14px 32px rgba(0, 17, 35, .14); display: flex; flex-direction: column; gap: 7px; }
.ep-img { display: block; height: 40%; border-radius: 4px; background: linear-gradient(135deg, #eef1f4, #dfe4ea); }
.ep-l { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.ep-l.w1 { width: 90%; } .ep-l.w2 { width: 70%; } .ep-l.w3 { width: 50%; }
.ep-price { margin-top: 4px; padding-left: 30%; font-size: .78rem; color: var(--red); }
.ext-rail { position: absolute; right: 0; top: 0; bottom: 0; width: 64%; padding: 46px 12px 12px; background: #0b0f14; color: #e8edf2; box-shadow: -12px 0 28px rgba(0, 17, 35, .3); display: flex; flex-direction: column; gap: 9px; font-size: .68rem; }
.ext-logo { display: flex; align-items: center; gap: 6px; font: 500 .82rem var(--display); color: #fff; }
.ext-logo svg { width: 18px; height: 18px; }
.ext-check { display: block; padding: 8px 0; border-radius: 99px; background: var(--blue); color: #fff; text-align: center; font-weight: 600; font-size: .72rem; }
.strip.live .ext-check { opacity: 1; transform: none; }
.ext-check.on { animation: press .5s ease; }
@keyframes press { 30% { transform: scale(.9); background: var(--blue-2); } }
.ext-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.ext-verdict { padding: 9px 10px; border-radius: 8px; background: var(--amber-bg); color: var(--amber); border-left: 3px solid #f0a020; }
.ext-verdict b { display: block; font: 600 .95rem var(--display); }
.ext-verdict small { color: #7a4a00; font-size: .62rem; }
.ext-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ext-rows li { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 6px; background: #151b23; }
.ext-rows i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--red); }
.ext-rows i.warn { background: #f0a020; }

/* evidence photo, scanned */
.t-photo .hex img { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(2, 113, 228, .28) 85%, rgba(140, 200, 255, .9) 99%, transparent); mix-blend-mode: screen; animation: scan 3.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(400%); } }

/* web page on a phone, rising out of the bottom of the tile */
.phone { position: absolute; left: 50%; top: 13%; bottom: -8%; width: min(78%, 250px); transform: translateX(-50%); padding: 26px 10px 10px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 6px #0b0f14, 0 24px 48px rgba(0, 17, 35, .3); display: flex; flex-direction: column; gap: 8px; font-size: .68rem; color: var(--ink-2); animation: rise 6s ease-in-out infinite alternate; }
@keyframes rise { to { transform: translate(-50%, -6px); } }
.ph-notch { position: absolute; left: 50%; top: 8px; width: 56px; height: 12px; border-radius: 99px; background: #0b0f14; transform: translateX(-50%); }
.ph-top { display: flex; align-items: center; gap: 6px; font: 500 .82rem var(--display); color: var(--ink); }
.ph-top svg { width: 17px; height: 17px; }
.ph-go { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 .62rem var(--sans); }
.ph-input { padding: 8px 9px; border-radius: 8px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font: .64rem var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; }
.strip.live .ph-input [data-type] { opacity: 1; transform: none; }
.ph-prog { display: block; height: 3px; border-radius: 3px; background: var(--line-2); }
.ph-card { padding: 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(0, 17, 35, .08); }
.ph-card .avatar { width: 28px; height: 28px; font-size: .62rem; }
.ph-card .person b { font-size: .74rem; }
.ph-card .trio { margin-top: 10px; padding-top: 9px; }
.ph-card .insight { margin-top: 9px; padding: 8px 9px; font-size: .62rem; }
.vpill { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: .6rem; font-weight: 700; }
.vpill.warn { background: var(--amber-bg); color: var(--amber); }

/* WhatsApp */
.t-wa { display: flex; align-items: flex-end; }
.wa { position: absolute; left: 9%; right: 9%; top: 15%; bottom: 7%; border-radius: 12px; overflow: hidden; background: #efe7dd; box-shadow: 0 14px 32px rgba(0, 17, 35, .18); display: flex; flex-direction: column; font-size: .64rem; }
.wa-head { display: flex; align-items: center; gap: 7px; padding: 8px 9px; background: #075e54; color: #fff; }
.wa-head b { display: block; font-size: .72rem; line-height: 1.2; }
.wa-head small { position: relative; display: block; height: 1.3em; color: #cfe9e4; font-size: .58rem; }
.wa-head small span { position: absolute; left: 0; transition: opacity .3s; }
.wa-typ { opacity: 0; }
.t-wa.typing .wa-typ { opacity: 1; } .t-wa.typing .wa-on { opacity: 0; }
.wa-av { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.wa-av svg { width: 16px; height: 16px; }
.wa-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 9px; }
.wa .bub { margin-top: 6px; max-width: 88%; padding: 6px 8px; border-radius: 8px; background: #fff; color: #111b21; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa .bub small { display: block; text-align: right; color: #667781; font-size: .52rem; }
.wa .bub.me { align-self: flex-end; background: #d9fdd3; font-family: var(--mono); font-size: .56rem; border-top-right-radius: 2px; }
.wa .bub.bot { align-self: flex-start; border-top-left-radius: 2px; }
.wa .bub.bot b { color: var(--red); }
.wa .dots { align-self: flex-start; display: flex; gap: 3px; padding: 8px 10px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #8696a0; animation: hop 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 30% { transform: translateY(-4px); opacity: .6; } }
.voice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vplay { width: 20px; height: 20px; border-radius: 50%; background: #075e54; color: #fff; display: grid; place-items: center; font-size: .5rem; }
.wave { display: flex; align-items: center; gap: 2px; height: 18px; flex: 1; }
.wave i { width: 2px; height: 30%; border-radius: 2px; background: #25d366; }
.voice.on .wave i { animation: eq 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: .2s; } .wave i:nth-child(3n+1) { animation-delay: .45s; } .wave i:nth-child(4n) { animation-delay: .7s; }
@keyframes eq { 50% { height: 100%; } }
.voice small { width: 100%; }

/* agent over MCP */
.t-agent img { animation: drift 16s ease-in-out infinite alternate; }
.term { position: absolute; left: 8%; right: 8%; top: 18%; border-radius: 10px; overflow: hidden; background: rgba(11, 15, 20, .92); backdrop-filter: blur(6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); color: #d7dee6; }
.term-top { display: flex; align-items: center; gap: 4px; padding: 7px 9px; background: rgba(255, 255, 255, .06); }
.term-top i { width: 7px; height: 7px; border-radius: 50%; background: #3a434f; }
.term-top span { margin-left: auto; font: .56rem var(--mono); color: var(--dim); }
.term pre { margin: 0; padding: 10px; font: .58rem/1.65 var(--mono); white-space: pre-wrap; word-break: break-all; }
.term .c { color: #7d8895; } .term .k { color: #7fb8ff; } .term .s { color: var(--mint); } .term .n { color: var(--yellow); }
.strip.live .term [data-type] { opacity: 1; transform: none; }
.term pre > [data-at] { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .strip *, .strip *::before { animation: none !important; transition: none !important; }
  .scan { display: none; }
}

/* ---------- UI cards used everywhere ---------- */
.card { background: #fff; border-radius: 10px; box-shadow: 0 14px 32px rgba(0, 17, 35, .12), 0 0 0 1px rgba(0, 17, 35, .04); padding: 16px; font-size: .75rem; color: var(--ink-2); }
.person { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: var(--blue-pale); color: var(--blue); }
.person b { display: block; color: var(--ink); font-size: .82rem; font-weight: 600; }
.person small { color: var(--dim); font-size: .7rem; }
.when { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--dim); font-size: .65rem; white-space: nowrap; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.trio small { display: block; color: var(--dim); font-size: .65rem; }
.trio b { font-size: .82rem; font-weight: 600; color: var(--ink); }
.trio b.bad { color: var(--red); } .trio b.warn { color: var(--amber); } .trio b.ok { color: var(--ok); }
.insight { margin-top: 12px; padding: 11px 12px; border-radius: 8px; border: 1px solid #d7e6fb; background: linear-gradient(110deg, #f1f7ff, #eefbf2 55%, #f4f0ff); font-size: .72rem; line-height: 1.5; color: var(--ink-2); }
.insight span { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 4px; }
.insight span svg { width: 13px; height: 13px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.spark { height: 64px; margin-top: 8px; background: repeating-linear-gradient(90deg, rgba(2, 113, 228, .18) 0 1px, transparent 1px 4px); -webkit-mask: linear-gradient(transparent 30%, #000 30%); mask: linear-gradient(transparent 30%, #000 30%); }
.big-num { font: 600 1.25rem var(--display); color: var(--ink); }
.up { display: inline-block; padding: 1px 6px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font-size: .62rem; font-weight: 700; }
.dn { display: inline-block; padding: 1px 6px; border-radius: 99px; background: #ffd9c2; color: #9b3d0a; font-size: .62rem; font-weight: 700; }

/* ---------- tabbed product panel ---------- */
.tour { margin-top: clamp(56px, 7vw, 96px); }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tab { position: relative; padding: 18px 16px; border: 0; border-right: 1px solid var(--line); background: #fff; text-align: left; font-size: 1.0625rem; color: var(--ink-2); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.tab:last-child { border-right: 0; }
.tab::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width .35s ease; }
.tab[aria-selected="true"] { color: var(--ink); background: var(--soft); }
.tab[aria-selected="true"]::before { width: 100%; }
.tab:hover { color: var(--blue); }
.stage { position: relative; background: url(assets/sky.png) center / cover; image-rendering: pixelated; padding: clamp(28px, 5vw, 60px) clamp(16px, 7vw, 92px) 0; min-height: 520px; display: flex; align-items: flex-end; }
.app { width: 100%; display: grid; grid-template-columns: 190px minmax(0, 1fr); background: #fff; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 17, 35, .14); min-height: 440px; image-rendering: auto; }
.side { padding: 16px 12px; border-right: 1px solid var(--line-2); display: grid; gap: 4px; align-content: start; font-size: .8rem; color: var(--muted); }
.side .logo { font-size: 1rem; margin: 0 6px 12px; }
.side .logo svg { width: 20px; height: 20px; }
.search { margin: 0 4px 12px; padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); font-size: .72rem; }
.side span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 99px; }
.side span.on { background: var(--blue); color: #fff; }
.side svg.i { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pane { padding: 20px 24px 24px; display: none; animation: pane-in .35s ease; }
.pane.on { display: block; }
@keyframes pane-in { from { opacity: 0; transform: translateY(6px); } }
.pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pane-head h3 { font: 500 1.25rem var(--display); letter-spacing: -.02em; }
.pane-head p { color: var(--muted); font-size: .8rem; }
.pill-btn { padding: 7px 14px; border-radius: 99px; background: var(--blue); color: #fff; font-size: .72rem; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .7rem; color: var(--dim); }
.kpi div { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.box { padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .75rem; }
.box-t { display: flex; justify-content: space-between; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.box-t small { color: var(--dim); font-weight: 400; }
.note-line { margin-top: 10px; padding: 8px 10px; border-left: 2px solid var(--blue); background: var(--soft); color: var(--muted); font-size: .7rem; line-height: 1.5; }
.rows { display: grid; gap: 6px; }
.r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 11px; border-radius: 8px; background: var(--soft); }
.r code { font-size: .74rem; color: var(--ink); }
.r small { grid-column: 1 / -1; color: var(--dim); font-size: .68rem; }
.tag { padding: 2px 7px; border-radius: 4px; font: 600 .62rem var(--mono); }
.tag.flag { background: var(--red-bg); color: var(--red); } .tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.warn { background: var(--amber-bg); color: var(--amber); }
.hbar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: .7rem; color: var(--muted); }
.hbar i { height: 10px; border-radius: 99px; background: var(--blue-pale); overflow: hidden; }
.hbar i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 99px; }
.hbar b { text-align: right; color: var(--ink); font-weight: 600; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: .78rem; line-height: 1.5; }
.bubble.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: var(--soft); color: var(--ink-2); border-bottom-left-radius: 4px; }
.bubble small { display: block; margin-top: 4px; color: var(--dim); font-size: .66rem; }
.thread { display: grid; gap: 10px; }

/* ---------- sources row ---------- */
.sources { padding: clamp(48px, 6vw, 80px) var(--gut) 0; text-align: center; }
.sources h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: clamp(32px, 4vw, 56px); }
/* logo-wall grid: hairline cells, greyed marks that sharpen on hover */
.src { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.src li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: clamp(96px, 9vw, 132px); padding: 16px 12px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 700 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1 var(--display); letter-spacing: -.04em; color: #b4bac1; transition: color .2s, background .2s; }
.src li small { font: 500 .72rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); transition: color .2s; }
.src li:hover { color: var(--ink); background: var(--soft); }
.src li:hover small { color: var(--blue); }

/* ---------- the problem ---------- */
.problem { padding: clamp(56px, 7vw, 100px) var(--gut) 0; }
.chaos { position: relative; margin-top: clamp(36px, 5vw, 56px); aspect-ratio: 16 / 8.4; overflow: hidden; background: #222; }
.chaos img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.92); }
.p { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 999px; font: 500 clamp(.72rem, .5rem + .9vw, 1.05rem) var(--display); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.p svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.p1 { background: var(--orange); left: 12%; top: 16%; transform: rotate(33deg); }
.p2 { background: var(--lime); left: 34%; top: 14%; transform: rotate(-28deg); }
.p3 { background: #fff; right: 14%; top: 18%; transform: rotate(-12deg); }
.p4 { background: var(--pink); left: 47%; top: 36%; transform: rotate(30deg); }
.p5 { background: var(--yellow); left: 31%; top: 56%; transform: rotate(-13deg); }
.p6 { background: var(--blue); color: #fff; left: 8%; top: 64%; transform: rotate(-52deg); }
.p7 { background: var(--lilac); right: 6%; top: 52%; transform: rotate(-42deg); }
.p8 { background: var(--cyan); left: 44%; bottom: 8%; transform: rotate(26deg); }
.p9 { background: #4ce87a; left: 20%; bottom: 6%; transform: rotate(6deg); }
.chaos:hover .p { transform: rotate(0deg); }
.credit { margin-top: 10px; font-size: .72rem; color: var(--dim); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- statement (a real record, not a testimonial) ---------- */
.statement { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 300px); gap: 32px 40px; padding: clamp(56px, 7vw, 96px) var(--gut); align-items: start; }
.statement.grey { background: var(--soft); }
.st-src { font: 600 .95rem var(--display); color: var(--dim); display: flex; align-items: center; gap: 6px; }
.st-src svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.st-text { font: 400 clamp(1.15rem, .95rem + .8vw, 1.6rem)/1.45 var(--display); letter-spacing: -.015em; color: var(--ink); padding-top: 26px; }
.st-by { margin-top: 36px; font-size: .875rem; color: var(--ink); }
.st-by small { display: block; color: var(--dim); font-size: .8rem; margin-top: 2px; }
.st-by a { color: var(--blue); }
.st-art { aspect-ratio: 4 / 4.6; position: relative; overflow: hidden; background: url(assets/deep.png) center / cover; image-rendering: pixelated; display: grid; place-items: center; color: #fff; text-align: center; }
.st-art b { display: block; font: 500 clamp(3.5rem, 2rem + 5vw, 6rem)/1 var(--display); letter-spacing: -.05em; }
.st-art span { font-size: .85rem; opacity: .9; }
.st-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- blue workflow band ---------- */
.band { position: relative; margin: 0 var(--gut); color: #fff; background: url(assets/band.png) center bottom / cover; image-rendering: pixelated; overflow: hidden; }
.band-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding: clamp(40px, 6vw, 80px) clamp(20px, 3.5vw, 44px) clamp(28px, 4vw, 48px); }
.band .kicker { color: rgba(255, 255, 255, .85); }
.band-head > p { color: #fff; text-shadow: 0 1px 14px rgba(0, 50, 120, .65); font-size: 1.0625rem; line-height: 1.6; max-width: 360px; justify-self: end; }
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; padding: 0 clamp(20px, 3.5vw, 44px) clamp(56px, 7vw, 96px); overflow-x: auto; scrollbar-width: none; image-rendering: auto; }
.flow::-webkit-scrollbar { display: none; }
.step { position: relative; display: grid; align-content: start; gap: 10px; min-height: 230px; padding: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .78), #fff 45%); color: var(--ink); }
.step .n { position: absolute; right: 14px; top: 2px; font: 600 4.2rem/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(2, 113, 228, .18); background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .3)); -webkit-background-clip: text; background-clip: text; }
.step svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 44px; font: 500 1.2rem var(--display); letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: .875rem; line-height: 1.55; }

/* ---------- command centre ---------- */
.section { padding: clamp(64px, 8vw, 112px) var(--gut); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head .lead { padding-top: 34px; color: var(--ink-2); max-width: 470px; }
.feat { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px 48px; }
.feat-text { display: grid; align-content: space-between; gap: 32px; }
.feat-text p { color: var(--muted); margin-top: 18px; max-width: 400px; }
.mini { width: min(240px, 70%); aspect-ratio: 1.1; position: relative; background: url(assets/field.png) center / cover; image-rendering: pixelated; }
.mini .card { position: absolute; left: 10%; right: 6%; top: 28%; padding: 10px 12px; image-rendering: auto; }
.big { position: relative; min-height: 440px; background: url(assets/sea.png) center / cover; image-rendering: pixelated; display: grid; place-items: center; padding: 32px; }
.big > * { image-rendering: auto; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.duo-art { position: relative; aspect-ratio: 1.08; background-size: cover; background-position: center; image-rendering: pixelated; padding: 8% 7%; display: grid; align-content: start; }
.duo-art > * { image-rendering: auto; }
.duo h3 { margin-top: 20px; }
.duo p { margin-top: 8px; color: var(--muted); font-size: .9rem; max-width: 470px; }

/* listing mock with the rail */
.listing { width: min(100%, 560px); display: grid; grid-template-columns: minmax(0, 1fr) 66px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 17, 35, .2); }
.l-main { padding: 18px 20px; display: grid; gap: 7px; font-size: .8rem; }
.l-url { padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--dim); font-size: .68rem; justify-self: start; }
.l-title { font-size: 1rem; font-weight: 500; color: var(--ink); }
.l-price { display: flex; gap: 8px; align-items: baseline; }
.l-price b { font-size: 1.5rem; font-weight: 500; color: var(--red); }
.l-price s { color: var(--dim); }
.l-verdict { margin-top: 6px; padding: 12px 14px; border-radius: 8px; background: var(--amber-bg); border-top: 4px solid #f0a020; }
.l-verdict b { display: block; color: var(--amber); font-size: .95rem; margin-bottom: 2px; }
.l-verdict small { display: block; margin-top: 6px; color: var(--dim); font-size: .66rem; }
.rail { background: #000; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 20px 0; color: #fff; font-size: .62rem; }
.rail i { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #34363b; margin-top: 8px; }
.rail i.amber { border-color: #ffc247 #ffc247 #34363b #34363b; transform: rotate(-45deg); }

/* ---------- big feature (interview analogue) ---------- */
.wide { padding: 0 var(--gut) clamp(64px, 8vw, 112px); }
.wide-art { position: relative; background: url(assets/hill.png) center / cover; image-rendering: pixelated; padding: clamp(24px, 5vw, 56px) clamp(16px, 9vw, 120px) 0; }
.wide-art .app { min-height: 380px; border-radius: 10px 10px 0 0; }
.wide h3 { margin-top: 28px; }
.wide p { margin-top: 12px; color: var(--muted); max-width: 640px; }
.record { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.recall-card { padding: 14px; border-radius: 10px; background: linear-gradient(180deg, #eaf3ff, #fff); border: 1px solid #d7e6fb; }
.recall-card .on { padding: 10px 12px; border-radius: 8px; background: var(--blue); color: #fff; margin-bottom: 8px; font-size: .74rem; }
.recall-card .on small { display: block; opacity: .75; font-size: .64rem; }
.recall-card p { padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: .72rem; color: var(--ink-2); }
.recall-card p small { display: block; color: var(--dim); font-size: .64rem; }

/* ---------- builder tour ---------- */
.tour2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: clamp(36px, 5vw, 56px); }
.tour2-art { background: url(assets/sea.png) center / cover; image-rendering: pixelated; padding: clamp(20px, 4vw, 40px); display: grid; align-items: center; min-height: 460px; }
.code { image-rendering: auto; margin: 0; padding: 22px 24px; border-radius: 10px; background: rgba(0, 17, 35, .92); color: #d9e6f5; font: 12.5px/1.75 var(--mono); white-space: pre; overflow-x: auto; box-shadow: 0 20px 44px rgba(0, 17, 35, .3); }
.code .c { color: #7c8ea3; } .code .k { color: #8cc4ff; } .code .s { color: var(--mint); } .code .n { color: #ffc98a; }
.opts { display: grid; }
.opt { display: grid; gap: 8px; padding: clamp(22px, 3vw, 34px); border: 0; border-top: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; position: relative; transition: background-color .2s ease; }
.opt:first-child { border-top: 0; }
.opt::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--blue); transition: width .35s ease; }
.opt[aria-selected="true"] { background: var(--soft); }
.opt[aria-selected="true"]::before { width: 34%; }
.opt svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt b { margin-top: 10px; font: 400 1.35rem var(--display); letter-spacing: -.02em; color: var(--ink); }
.opt span { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.role-art { aspect-ratio: 1.25; background-size: cover; background-position: center; image-rendering: pixelated; display: grid; place-items: center; padding: 8%; }
.check-list { width: 100%; max-width: 380px; padding: 16px; border-radius: 10px; image-rendering: auto; }
.check-list.dark { background: rgba(40, 46, 54, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.check-list.light { background: #fff; color: var(--ink); box-shadow: 0 14px 32px rgba(0, 17, 35, .14); }
.check-list p { font-size: .95rem; margin-bottom: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-top: 6px; border-radius: 4px; font-size: .85rem; }
.check-list.dark li { background: rgba(255, 255, 255, .08); }
.check-list.light li { background: var(--soft); }
.check-list li svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.role small { display: block; margin-top: 18px; color: var(--muted); font-size: .85rem; }
.role h3 { font: 400 1.5rem var(--display); letter-spacing: -.02em; margin-top: 2px; }

/* ---------- regions band with pills ---------- */
.regions { position: relative; margin: 0 var(--gut); background: url(assets/sea.png) center 70% / cover; image-rendering: pixelated; color: #fff; overflow: hidden; padding-bottom: clamp(40px, 5vw, 64px); }
.regions::before { content: ""; position: absolute; inset: 0 0 45% 0; background: linear-gradient(180deg, rgba(2, 113, 228, .95), rgba(2, 113, 228, .55) 70%, transparent); }
.regions > * { position: relative; image-rendering: auto; }
.regions .kicker { color: rgba(255, 255, 255, .85); }
.regions h2 { max-width: 640px; }
.regions-head { padding: clamp(40px, 6vw, 72px) clamp(20px, 3.5vw, 44px) clamp(28px, 4vw, 44px); }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 40s linear infinite; }
.marquee.rev .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.track span { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 1rem; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 17, 35, .12); }
.track svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.seals { display: grid; gap: 10px; }
.seal { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 6px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.seal i { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink-2); display: grid; place-items: center; font-style: normal; }
.seal i svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.seal b { display: block; font-size: .9rem; font-weight: 600; }
.seal small { color: var(--muted); font-size: .75rem; line-height: 1.4; display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.faq .lead { margin-top: 14px; font-size: .95rem; max-width: 300px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-size: 1rem; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink); transition: transform .25s ease; flex: none; }
details[open] summary::after { transform: rotate(180deg); }
summary:hover { color: var(--blue); }
details p { padding: 0 32px 20px 0; color: var(--muted); font-size: .9375rem; }

/* ---------- CTA and footer ---------- */
.cta { margin: 0 var(--gut); padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 56px); background: var(--soft); text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta .lead { max-width: 480px; }
.foot { padding: clamp(56px, 7vw, 88px) var(--gut) 32px; }
.cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.cols h4 { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 14px; }
.cols li { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.cols a:hover { color: var(--blue); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.foot-bar .logo { font-size: 1.15rem; }
.foot-bar .logo svg { width: 24px; height: 24px; }

/* ---------- inner pages ---------- */
.inner-hero { padding: clamp(48px, 7vw, 96px) var(--gut) clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.inner-hero .lead { color: var(--ink-2); }
.banner { height: clamp(160px, 22vw, 280px); margin: 0 var(--gut); background-size: cover; background-position: center; image-rendering: pixelated; }
.tbl { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: .9rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; color: var(--dim); background: var(--soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tr.us td { background: var(--blue-pale); font-weight: 600; }
.caption { margin-top: 12px; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.callout { margin-top: 24px; padding: 18px 20px; border-left: 3px solid #f0a020; background: var(--amber-bg); color: #5a3e08; font-size: .9rem; line-height: 1.6; }
.callout b { color: #3d2a04; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat small { color: var(--muted); font-size: .8rem; }
.stat b { display: block; margin: 8px 0 6px; font: 500 2.6rem/1 var(--display); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .82rem; line-height: 1.5; display: block; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 54px; gap: 14px; align-items: center; font-size: .9rem; }
.bar-row i { height: 12px; background: var(--soft); overflow: hidden; }
.bar-row i::before { content: ""; display: block; height: 100%; width: var(--w); background: #b9c8d9; }
.bar-row.us i::before { background: var(--blue); }
.bar-row.us { font-weight: 600; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: start; }
.two .lead { margin-top: 16px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.tier { padding: 28px 24px; border-right: 1px solid var(--line); }
.tier:last-child { border-right: 0; }
.tier small { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.tier h3 { margin: 12px 0 8px; font: 500 1.3rem var(--display); letter-spacing: -.02em; }
.tier p { color: var(--muted); font-size: .9rem; }
.tier.ok small { color: var(--ok); } .tier.warn small { color: var(--amber); } .tier.bad small { color: var(--red); }
.tier.ok { box-shadow: inset 0 3px 0 #3bbf63; } .tier.warn { box-shadow: inset 0 3px 0 #f0a020; } .tier.bad { box-shadow: inset 0 3px 0 var(--red); }
.surfaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.surface { padding: 24px 22px; background: var(--soft); display: grid; gap: 10px; align-content: start; }
.surface h3 { font: 500 1.15rem var(--display); letter-spacing: -.02em; }
.surface p { font-size: .875rem; color: var(--muted); }
.state { justify-self: start; padding: 3px 10px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font-size: .72rem; }
.state.soon { background: var(--amber-bg); color: var(--amber); }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool code { color: var(--blue); font-size: .875rem; font-weight: 600; }
.tool p { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.code-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: .85rem; color: var(--ink-2); }
.copy-btn { border: 0; border-radius: 2px; background: var(--soft); padding: 7px 14px; font-size: .78rem; cursor: pointer; color: var(--blue); }
.copy-btn:hover { background: var(--blue-pale); }
.method { display: inline-block; min-width: 42px; color: var(--blue); font: 600 .7rem var(--mono); }
td.ep { font: .82rem var(--mono); white-space: nowrap; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; grid-template-rows: auto 1fr; }
.member-art { aspect-ratio: 1.6; background-size: cover; background-position: center; image-rendering: pixelated; display: grid; place-items: center; }
.member-art span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font: 500 2.4rem var(--display); box-shadow: 0 14px 30px rgba(0, 17, 35, .2); image-rendering: auto; }
.member-body { padding: 24px 0 0; }
.member-body h3 { font: 500 1.6rem var(--display); letter-spacing: -.02em; }
.member-body .role-line { color: var(--blue); font-size: .9rem; margin-top: 2px; }
.member-body ul { margin-top: 16px; display: grid; gap: 8px; }
.member-body li { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); }
.member-body li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--blue); flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .strip { grid-template-columns: 1.1fr 1fr .7fr; }
  .strip .tile:nth-child(1), .strip .tile:nth-child(5) { display: none; }
  .surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .top.open .links { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
  .links a[aria-current="page"]::after { display: none; }
  .menu { display: grid; }
  .nav { gap: 16px; }
  .nav-end .btn-ghost { display: none; }
  .hero-top, .split-head, .feat, .band-head, .statement, .tour2, .faq, .two, .inner-hero { grid-template-columns: minmax(0, 1fr); }
  .split-head .lead { padding-top: 0; }
  .band-head p { justify-self: start; }
  .statement { gap: 20px; }
  .st-text { padding-top: 0; }
  .st-art { aspect-ratio: 16 / 9; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .src { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav { min-height: 64px; }
  .logo { font-size: 1.2rem; }
  .nav-end .btn { padding: 0 14px; }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: dense; height: auto; }
  .strip .tile { height: 300px; }
  .strip .tile:nth-child(3) { grid-column: 1 / -1; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { font-size: .9rem; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .tab:nth-child(2) { border-right: 0; }
  .stage { padding: 20px 10px 0; min-height: 0; }
  .pane { padding: 16px 14px 18px; }
  .panels, .record, .duo, .roles, .team, .tools { grid-template-columns: minmax(0, 1fr); }
  .chaos { aspect-ratio: 4 / 5; }
  .p { padding: 9px 16px; }
  .p1 { left: 2%; top: 10%; } .p2 { left: 30%; top: 22%; } .p3 { right: 2%; top: 6%; } .p4 { left: 22%; top: 40%; }
  .p5 { left: 4%; top: 58%; } .p6 { left: -4%; top: 76%; } .p7 { right: -6%; top: 64%; } .p8 { left: 30%; bottom: 6%; } .p9 { left: 40%; top: 78%; }
  .big { min-height: 0; padding: 18px 10px; }
  .listing { grid-template-columns: minmax(0, 1fr) 52px; }
  .tour2-art { min-height: 0; padding: 14px; }
  .code { font-size: 11px; padding: 16px; }
  .src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat b { font-size: 2.2rem; }
  .bar-row { grid-template-columns: 96px minmax(0, 1fr) 46px; gap: 10px; font-size: .8rem; }
  .surfaces { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 210px; }
  .btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.band h2, .regions h2 { text-shadow: 0 2px 18px rgba(0, 50, 120, .35); }

/* ---------- account (account.js: Google sign-in in the nav) ---------- */
.acct-in { border: 0; cursor: pointer; font: inherit; font-size: .875rem; }
.acct { position: relative; }
.acct-face { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: var(--blue-pale); color: var(--blue); font: 600 1rem var(--display); cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.acct-face:hover, .acct-face[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--blue); }
.acct-face img { width: 100%; height: 100%; object-fit: cover; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; max-width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 17, 35, .12); padding: 6px; display: grid; z-index: 40; }
.acct-menu[hidden] { display: none; }
.acct-who { padding: 10px 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; display: grid; gap: 2px; min-width: 0; }
.acct-who b { font-weight: 600; font-size: .9375rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-who small { color: var(--muted); font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 2px; background: none; font: inherit; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--soft); color: var(--blue); }
@media (max-width: 900px) { .nav-end .acct-in { display: inline-flex; } }
@media (max-width: 640px) { .signed-in .nav-end .btn-ink { display: none; } }
.acct-face.guest { background: var(--soft); color: var(--ink-2); }
.acct-left { margin: 0 0 4px; padding: 0 10px 10px; border-bottom: 1px solid var(--line-2); font-size: .8125rem; color: var(--blue); }
.acct-menu .acct-up { color: var(--blue); font-weight: 500; }
