:root {
  --bg: #fbf8f5;
  --bg-2: #f4efea;
  --panel: #eee7e0;
  --ink: #16161d;
  --ink-2: #45444f;
  --muted: #8a8794;
  --line: #e8e1da;
  --line-2: #d6cdc4;
  --accent: #ff5a3c;
  --accent-ink: #16161d;
  --accent-deep: #d93a1e;
  --accent-2: #2b2bd9;
  --term: #14141c;
  --term-ink: #e9e5d6;
  --ok: #9bd08a;
  --sans: "General Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --frame: 1326px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
:root[data-theme="dark"] {
  --bg: #101018;
  --bg-2: #15151f;
  --panel: #1c1c29;
  --ink: #f2efea;
  --ink-2: #c3c1cc;
  --muted: #8a8898;
  --line: #262633;
  --line-2: #34344a;
  --accent-2: #8c8cff;
  --term: #08080d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
/* ruled margins outside the frame */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 5px, var(--line) 5px 6px);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.muted { color: var(--muted); }
.soft { color: var(--muted); }

.frame {
  max-width: var(--frame);
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.wrap { padding: 0 24px; }
.pad { padding: 120px 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -.04em; }
.logo-mark { width: 26px; height: 26px; }
.logo b { color: var(--accent-deep); font-weight: 700; }
.links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 16px; }
.links a { position: relative; }
.links a.active::after, .links a:hover::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); transform: translateX(-50%);
}
.theme-btn { width: 22px; height: 22px; display: grid; place-items: center; }
.theme-btn svg { width: 18px; height: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; font-weight: 500; font-size: 16px;
  border: 1px solid var(--line-2); background: var(--bg);
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:hover { box-shadow: 4px 4px 0 var(--line-2); transform: translate(-2px, -2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 4px 4px 0 var(--accent-deep); }
.nav .btn { padding: 8px 14px; }
.burger { display: none; width: 34px; height: 34px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 4px; transition: transform .3s; }

/* ---------- hero ---------- */
.hero { padding: 120px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.hero h1 { font-size: clamp(42px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.hero-side p { font-size: 19px; color: var(--ink-2); margin-bottom: 34px; }
.hero-side .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* line reveal headings */
.lines .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.lines.is-in .ln > span { transform: none; }
.lines .ln:nth-child(2) > span { transition-delay: .09s; }
.lines .ln:nth-child(3) > span { transition-delay: .18s; }
.hl { color: var(--muted); }

.fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }

/* ---------- funnel street strip ---------- */
.strip { padding: 30px 24px 0; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.strip-head .cur { display: flex; gap: 12px; align-items: baseline; }
.strip-head .cur .n { color: var(--accent-2); }
.strip-head .cur .t { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.strip-head .cur .s { color: var(--muted); }
.street { position: relative; height: 96px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.street-track { position: absolute; bottom: 0; left: 0; display: flex; animation: street 32s linear infinite; }
.street-track svg { flex: none; height: 96px; width: 1400px; }
@keyframes street { to { transform: translateX(-1400px); } }
.walker { position: absolute; bottom: 4px; left: 16%; width: 54px; height: 54px; z-index: 2; overflow: visible; image-rendering: pixelated; }
.walker .mz-body { animation: mzBob .36s steps(1) infinite; }
.walker .mz-legs-a { animation: mzStepA .36s steps(1) infinite; }
.walker .mz-legs-b { animation: mzStepB .36s steps(1) infinite; }
.walker .mz-arm-l { animation: mzArm .36s steps(1) infinite; }
.walker .mz-arm-r { animation: mzArm .36s steps(1) infinite reverse; }
.walker .mz-eyes { animation: mzBlink 3.6s steps(1) infinite; transform-origin: 9px 10px; }
.walker .mz-shadow { animation: mzShadow .36s steps(1) infinite; }
@keyframes mzBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes mzStepA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px) translateX(1px); } }
@keyframes mzStepB { 0%, 100% { transform: translateY(-1.5px) translateX(1px); } 50% { transform: translateY(0); } }
@keyframes mzArm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes mzBlink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.15); } }
@keyframes mzShadow { 50% { transform: translateX(.5px); opacity: .08; } }
@keyframes bob { to { transform: translateY(-1.5px); } }
.street-track.js, .belt-track.js { animation: none; will-change: transform; }
/* street colours follow the theme */
.street svg [stroke="#8f8775"], .belt svg [stroke="#8f8775"] { stroke: var(--muted); }
.street svg [fill="#8f8775"], .belt svg [fill="#8f8775"] { fill: var(--muted); }
.street svg [fill="#f2ecd8"], .belt svg [fill="#f2ecd8"] { fill: var(--panel); }
.street svg [fill="#e7dcc0"] { fill: var(--line-2); }
.belt svg text { fill: var(--ink-2); }

/* ---------- workspace ---------- */
.bench { margin: 0 24px; border: 1px solid var(--line-2); background: var(--bg); }
.bench-bar { background: var(--accent); color: var(--accent-ink); display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.bench-bar .dots { display: inline-flex; gap: 4px; margin-right: 14px; vertical-align: middle; }
.bench-bar .dots i { width: 9px; height: 9px; background: var(--accent-ink); display: block; }
.bench-bar .dots i:nth-child(2) { opacity: .6; } .bench-bar .dots i:nth-child(3) { opacity: .35; }
.bench-body { display: grid; grid-template-columns: 216px 1fr; }
.bench-side { border-right: 1px solid var(--line-2); background: var(--bg-2); display: flex; flex-direction: column; }
.bench-side .mono { padding: 18px 16px 14px; color: var(--muted); }
.tab { text-align: left; padding: 12px 16px 12px 30px; border-top: 1px solid var(--line); position: relative; width: 100%; }
.tab::before { content: ""; position: absolute; left: 14px; top: 20px; width: 6px; height: 6px; background: var(--line-2); }
.tab b { display: block; font-weight: 500; font-size: 15px; }
.tab small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.tab.on { background: var(--panel); box-shadow: inset 3px 0 0 var(--ink); }
.tab.on::before { background: var(--ink); }
.bench-side .prog { margin-top: auto; padding: 16px; border-top: 1px solid var(--line); }
.bench-side .prog .bar { height: 2px; background: var(--line-2); margin-top: 10px; }
.bench-side .prog .bar i { display: block; height: 100%; background: var(--ink); width: 25%; transition: width .6s var(--ease); }
.stage {
  position: relative; height: 380px; overflow: hidden;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 22px 22px;
}
.stage .mono.tl { position: absolute; top: 18px; left: 22px; color: var(--muted); }
.stage .mono.tr { position: absolute; top: 18px; right: 22px; color: var(--muted); }
.scene { position: absolute; inset: 50px 22px 50px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.scene.on { opacity: 1; pointer-events: auto; }
.chips { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 8px; }
.chips span { border: 1px solid var(--line-2); padding: 4px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); background: var(--bg); }
.stage .br { position: absolute; right: 22px; bottom: 22px; color: var(--muted); }

.flow { display: flex; align-items: center; gap: 0; margin-top: 50px; flex-wrap: nowrap; }
.node { border: 1px solid var(--line-2); background: var(--bg); padding: 10px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.node.hot { background: var(--accent); border-color: var(--accent-deep); color: var(--accent-ink); }
.wire { height: 1px; flex: 1; min-width: 18px; background: var(--line-2); position: relative; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.scene.on .node, .scene.on .wire { opacity: 1; transform: none; }
.scene.on .node:nth-child(3) { transition-delay: .15s; } .scene.on .wire:nth-child(2) { transition-delay: .1s; }
.scene.on .node:nth-child(5) { transition-delay: .3s; } .scene.on .wire:nth-child(4) { transition-delay: .25s; }
.scene.on .node:nth-child(7) { transition-delay: .45s; } .scene.on .wire:nth-child(6) { transition-delay: .4s; }
.scene.on .node:nth-child(9) { transition-delay: .6s; } .scene.on .wire:nth-child(8) { transition-delay: .55s; }
.note { position: absolute; padding: 12px 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 2px 3px 0 rgba(0,0,0,.06); width: 170px; color: #2a271f; }
.note.y { background: #ffd9cf; transform: rotate(-3deg); }
.note.p { background: #dcdcfa; transform: rotate(2deg); }
.note.b { background: #d9e8f0; transform: rotate(-1.5deg); }
.card-float { position: absolute; right: 0; top: 10px; width: 250px; background: var(--bg); border: 1px solid var(--line-2); padding: 14px; transform: rotate(1.5deg); box-shadow: 4px 4px 0 var(--line); }
.card-float .q { background: var(--panel); padding: 8px 10px; font-size: 13px; margin: 8px 0; }
.card-float .a { font-size: 13px; color: var(--ink-2); }
.card-float .a::before { content: "●"; margin-right: 6px; color: var(--ink); }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; margin-top: 40px; }
.mini-bars i { flex: 1; background: repeating-linear-gradient(135deg, var(--accent) 0 6px, var(--accent-deep) 6px 7px); border: 1px solid var(--ink); height: 0; transition: height .9s var(--ease); }
.mini-bars i.ghost { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line-2) 6px 7px); }
.kpis { display: flex; gap: 28px; margin-top: 18px; }
.kpis div b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.kpis div span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.browser { position: absolute; left: 0; top: 10px; width: 56%; border: 1px solid var(--line-2); background: var(--bg); }
.browser .top { height: 22px; border-bottom: 1px solid var(--line-2); display: flex; gap: 5px; align-items: center; padding-left: 8px; }
.browser .top i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.browser .bd { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sk { background: var(--panel); height: 12px; }
.sk.h { height: 60px; grid-column: span 2; background: repeating-linear-gradient(135deg, var(--panel) 0 6px, var(--line) 6px 7px); }
.sk.a { background: var(--accent); width: 60%; }
.score { position: absolute; right: 30px; top: 30px; width: 150px; height: 150px; }
.score circle { fill: none; stroke-width: 10; }
.score .bgc { stroke: var(--line); }
.score .fg { stroke: var(--accent-deep); stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1.4s var(--ease); transform: rotate(-90deg); transform-origin: center; }
.scene.on .score .fg { stroke-dashoffset: 8; }
.score text { font-family: var(--sans); font-size: 38px; font-weight: 500; fill: var(--ink); }

.term { background: var(--term); color: var(--term-ink); font-family: var(--mono); font-size: 13.5px; }
.term-out { padding: 20px 22px; min-height: 190px; max-height: 190px; overflow: hidden; }
.term-out p { display: flex; gap: 14px; line-height: 1.75; }
.term-out p i { font-style: normal; color: #6e6a5b; width: 10px; flex: none; }
.term-out p.cmd i { color: var(--accent); }
.term-out p.dim { color: #8b8778; }
.term-out p.ok { color: var(--ok); }
.term-in { display: flex; align-items: center; border-top: 1px solid #2a2720; padding: 10px 14px 10px 22px; gap: 12px; }
.term-in label { color: var(--accent); }
.term-in input { flex: 1; background: none; border: 0; color: var(--term-ink); font: inherit; outline: none; min-width: 0; }
.term-in input::placeholder { color: #6e6a5b; }
.term-in button { border: 1px solid #3a362c; padding: 6px 12px; font-size: 11px; letter-spacing: .12em; }
.term-in button:hover { border-color: var(--accent); color: var(--accent); }
.bench-foot { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--panel); color: var(--muted); border-top: 1px solid var(--line-2); gap: 20px; }

/* ---------- section chrome ---------- */
.sec { position: relative; border-top: 1px solid var(--line); }
.sec-tag { position: absolute; top: -1px; left: -1px; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; }
.sec::after { content: ""; position: absolute; top: -1px; right: -1px; width: 20px; height: 20px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.sec.ruled { background: repeating-linear-gradient(to bottom, transparent 0 5px, color-mix(in srgb, var(--line) 60%, transparent) 5px 6px); }
.h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; margin-top: 22px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.link-u { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); margin-top: 26px; }
.link-u svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-u:hover svg { transform: translateX(4px); }

/* ---------- tracks carousel ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1000px; margin: 70px auto 0; }
.iso { position: relative; aspect-ratio: 4/3; }
.iso svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(14px); transition: .7s var(--ease); }
.iso svg.on { opacity: 1; transform: none; }
.track-txt { position: relative; min-height: 230px; }
.track-txt .t { position: absolute; inset: 0; opacity: 0; transform: translateX(14px); transition: .6s var(--ease); pointer-events: none; }
.track-txt .t.on { opacity: 1; transform: none; pointer-events: auto; }
.track-txt h3 { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.track-txt .mono { color: var(--muted); margin: 8px 0 18px; display: block; }
.track-txt p { color: var(--ink-2); font-size: 18px; }
.arrows { display: flex; gap: 10px; margin-top: 26px; }
.arrows button { width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--bg-2); transition: .2s; }
.arrows button:disabled { opacity: .35; cursor: default; }
.arrows button:not(:disabled):hover { background: var(--accent); border-color: var(--accent); }
.arrows svg { width: 16px; height: 16px; }

/* ---------- numbers chart ---------- */
.chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: end; margin-top: 90px; height: 380px; }
.col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.col b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.col .barbox { border: 1px solid var(--ink); position: relative; height: 0; transition: height 1.4s var(--ease); background: repeating-linear-gradient(135deg, transparent 0 7px, var(--line-2) 7px 8px); overflow: hidden; }
.col .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: repeating-linear-gradient(135deg, var(--accent) 0 7px, var(--accent-deep) 7px 8px); transition: height 1.2s .5s var(--ease); }
.col span { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

/* ---------- tools ---------- */
.tools { display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px; margin-top: 56px; }
.tool { text-align: center; }
.tool .ic { aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.tool .ic img { width: 46%; height: 46%; object-fit: contain; }
.tool:hover .ic { transform: translateY(-6px) rotate(-2deg); background: var(--bg-2); }
.tool span { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- services grid ---------- */
.grid5 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 60px; }
.cell { padding: 40px 24px 46px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.cell:nth-child(4n) { border-right: 0; }
.cell:hover { background: var(--bg-2); }
.cell .mono { color: var(--muted); font-size: 11px; }
.cell h3 { font-size: 23px; font-weight: 500; letter-spacing: -.015em; margin: 26px 0 10px; }
.cell .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 20px; }
.cell p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* ---------- case study ---------- */
.case { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; margin-top: 64px; align-items: start; }
.case-meta { border: 1px solid var(--line-2); background: var(--bg); }
.case-meta .row { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 16px; }
.case-meta .row:last-child { border-bottom: 0; }
.case-meta .row span:first-child { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case-meta .row span:last-child { text-align: right; font-weight: 500; }
.big-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); margin-top: 24px; }
.big-stats div { padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.big-stats div:nth-child(2n) { border-right: 0; }
.big-stats div:nth-last-child(-n+2) { border-bottom: 0; }
.big-stats b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.big-stats span { font-size: 14px; color: var(--ink-2); }
.big-stats .up { color: var(--accent-2); font-family: var(--mono); font-size: 12px; margin-left: 6px; }
.shots { position: relative; }
.shot { border: 1px solid var(--line-2); background: var(--bg); padding: 8px; box-shadow: 8px 8px 0 var(--line); transition: transform .6s var(--ease); }
.shot .cap { display: flex; justify-content: space-between; padding: 4px 4px 10px; color: var(--muted); }
.shot img { width: 100%; border: 1px solid var(--line); }
.shot.second { width: 72%; margin: -90px 0 0 auto; position: relative; transform: rotate(1.2deg); }
.shot:hover { transform: translate(-3px, -3px) rotate(0); }
.quarters { margin-top: 70px; }
.qtabs { display: flex; gap: 0; border: 1px solid var(--line-2); width: fit-content; }
.qtabs button { padding: 10px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; border-right: 1px solid var(--line-2); }
.qtabs button:last-child { border-right: 0; }
.qtabs button.on { background: var(--accent); color: var(--accent-ink); }
.qview { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 28px; align-items: start; }
.qview img { border: 1px solid var(--line-2); box-shadow: 6px 6px 0 var(--line); }
.qnum b { font-size: 46px; font-weight: 500; letter-spacing: -.03em; display: block; line-height: 1.1; }
.qnum .mono { color: var(--muted); display: block; margin: 18px 0 6px; }
.qnum p { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.quote { margin-top: 90px; border-left: 3px solid var(--accent); padding: 6px 0 6px 28px; max-width: 860px; }
.quote p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.015em; }
.quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }

/* ---------- process / mosaic ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border: 1px solid var(--line-2); }
.step { padding: 28px 22px 34px; border-right: 1px solid var(--line-2); position: relative; background: var(--bg); }
.step:last-child { border-right: 0; }
.step .mono { color: var(--accent-2); }
.step h4 { font-size: 21px; font-weight: 500; margin: 34px 0 10px; letter-spacing: -.01em; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.step .line { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; transition: width 1s var(--ease); }
.steps.is-in .step .line { width: 100%; }
.steps.is-in .step:nth-child(2) .line { transition-delay: .3s; }
.steps.is-in .step:nth-child(3) .line { transition-delay: .6s; }
.steps.is-in .step:nth-child(4) .line { transition-delay: .9s; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marq 40s linear infinite; }
.marquee-track span { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: "✶"; color: var(--accent); font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 56px auto 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; font-family: var(--mono); color: var(--accent-2); transition: transform .3s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 680px; }

/* ---------- cta + footer ---------- */
.cta { text-align: center; padding: 110px 24px 40px; }
.cta .btn { margin-top: 36px; }
.belt-head { display: flex; justify-content: center; gap: 12px; align-items: baseline; margin-top: 50px; }
.belt-head .n { color: var(--accent-2); }
.belt-head b { font-weight: 500; font-size: 18px; }
.belt-head span:last-child { color: var(--muted); }
.belt { position: relative; height: 110px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.belt-track { position: absolute; bottom: 0; display: flex; animation: street 36s linear infinite reverse; }
.belt-track svg { flex: none; width: 1400px; height: 110px; }
.bot { position: absolute; left: 22%; bottom: 30px; width: 28px; height: 46px; z-index: 2; }
.bot .bob { animation: bob .4s ease-in-out infinite alternate; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 50px 24px 70px; }
.foot .mono { color: var(--muted); display: block; margin-bottom: 26px; }
.foot a, .foot p { display: block; color: var(--ink-2); margin-bottom: 8px; }
.foot a:hover { color: var(--ink); }
.foot .mail { color: var(--ink); font-weight: 500; font-size: 18px; margin-bottom: 18px; }
.legal { display: flex; justify-content: space-between; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* contact form */
.form { max-width: 720px; margin: 50px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 13px 14px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); outline: none; border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent-deep); box-shadow: 3px 3px 0 var(--accent); }
.form .full { grid-column: span 2; }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tools { grid-template-columns: repeat(5, 1fr); }
  .grid5 { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .cell:nth-child(2n) { border-right: 0; }
  .case { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: flex-start; background: var(--bg); padding: 24px; border-bottom: 1px solid var(--line); gap: 18px; transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1; }
  .links.open { transform: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; gap: 32px; }
  .pad { padding: 90px 16px; }
  .wrap, .hero, .strip, .nav-in, .foot, .legal, .cta { padding-left: 16px; padding-right: 16px; }
  .bench { margin: 0 16px; }
  .bench-body { grid-template-columns: 1fr; }
  .bench-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .bench-side > .mono, .bench-side .prog { display: none; }
  .tab { border-top: 0; border-right: 1px solid var(--line); white-space: nowrap; width: auto; }
  .stage { height: 340px; }
  .flow { transform: scale(.72); transform-origin: left; width: 138%; }
  .card-float, .score { display: none; }
  .browser { width: 100%; }
  .bench-foot span:last-child { display: none; }
  .tracks { grid-template-columns: 1fr; gap: 20px; }
  .chart { gap: 12px; height: 300px; }
  .col span { font-size: 13px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .qview { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: auto; }
}
@media (max-width: 520px) {
  .tools { grid-template-columns: repeat(3, 1fr); }
  .grid5 { grid-template-columns: 1fr; }
  .cell { border-right: 0 !important; }
  .chart { grid-template-columns: 1fr 1fr; height: auto; }
  .col { height: 190px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
  .big-stats b { font-size: 26px; }
  .shot.second { width: 90%; margin-top: -40px; }
  .legal { flex-direction: column; gap: 6px; }
}

:root[data-theme="dark"] .tool .ic img[src*="nextdotjs"],
:root[data-theme="dark"] .tool .ic img[src*="vercel"] { filter: invert(1); }
.bench-body > * { min-width: 0; }
@media (max-width: 520px) {
  .term-in { padding-left: 14px; gap: 8px; }
  .term-in button { padding: 6px 8px; font-size: 10px; }
  .term-in button[data-cmd="next"] { display: none; }
}
@media (min-width: 1101px) { .case > div:first-child { position: sticky; top: 96px; } }

/* =========================================================
   FX layer: loader, word reveals, cursor, micro-interactions
   ========================================================= */

/* opening: no overlay, everything lands within ~1s */
html.intro .nav { animation: navIn .7s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } }
html.intro .strip, html.intro .bench { animation: riseIn .9s var(--ease) .55s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } }

/* word-split headline reveal */
.lines.split .ln > span { transform: none !important; transition: none !important; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .5s ease; transition-delay: calc(var(--i) * 45ms); }
.lines.is-in .w > span { transform: none; opacity: 1; }
html.intro .hero .w > span { transition-delay: calc(.08s + var(--i) * 45ms); }
html.intro .hero-side.fade { transition-delay: .35s; }
/* if scripts never run, headings still appear */
.lines:not(.split) .ln > span { animation: lnShow 0s 2.5s forwards; }
@keyframes lnShow { to { transform: none; } }

/* softer, blurrier fades */
.fade { filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.fade.is-in { filter: none; }

/* section tag + corner draw */
.sec-tag { clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease) .1s; }
.sec.sec-in .sec-tag { clip-path: inset(0 0 0 0); }
.sec::after { width: 0; height: 0; transition: width .6s var(--ease) .3s, height .6s var(--ease) .6s; }
.sec.sec-in::after { width: 20px; height: 20px; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 200; pointer-events: none; }

/* nav hide on scroll */
.nav { transition: transform .5s var(--ease), background .4s; }
.nav.hide { transform: translateY(-100%); }
.links a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:not(.btn):hover::before { transform: scaleX(1); transform-origin: left; }
.links a.active::after, .links a:hover::after { animation: dotPop .4s var(--ease); }
@keyframes dotPop { from { transform: translateX(-50%) scale(0); } }

/* logo micro */
.logo .logo-mark rect:nth-of-type(2), .logo .logo-mark path:last-child { transition: transform .5s var(--ease); transform-origin: 20px 5px; }
.logo:hover .logo-mark rect:nth-of-type(2), .logo:hover .logo-mark path:last-child { transform: translate(2px, -2px) rotate(8deg); }

/* buttons: fill sweep + magnetic */
.btn { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:hover { color: var(--bg); }
.btn-accent:hover { color: var(--accent); }
.btn .lbl { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.btn .lbl span { display: block; transition: transform .45s var(--ease); }
.btn .lbl span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .lbl span { transform: translateY(-100%); }
.magnetic { transition: transform .35s var(--ease); }

/* custom cursor */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent-deep); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--ink); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; }
.cursor-ring span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity .2s; }
body.has-cursor .cursor, body.has-cursor .cursor-ring { opacity: 1; }
body.c-link .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 18%, transparent); }
body.c-view .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); border-color: var(--accent); }
body.c-view .cursor-ring span { opacity: 1; }
body.c-view .cursor, body.c-link .cursor { opacity: 0; }
body.c-text .cursor-ring { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; background: var(--ink); }

/* hero spotlight */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  opacity: .9; transition: opacity .4s; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), #000, transparent 70%); opacity: .8; }
.hl { background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-2)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* image wipe + hover zoom */
.wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.76,0,.24,1); }
.wipe.is-in, .is-in .wipe { clip-path: inset(0 0 0 0); }
.shot, .qview { overflow: hidden; }
.shot img, .qview img { transition: transform 1.2s var(--ease), opacity .3s; }
.shot:hover img { transform: scale(1.04); }

/* tilt targets */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; will-change: transform; }
.tilt.tilting { transition: transform .08s linear, box-shadow .3s, background .3s; }

/* service cells */
.cell { position: relative; overflow: hidden; }
.cell::after { content: "→"; position: absolute; right: 24px; top: 36px; font-size: 22px; color: var(--accent-2); opacity: 0; transform: translateX(-12px); transition: .45s var(--ease); }
.cell:hover::after { opacity: 1; transform: none; }
.cell::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cell:hover::before { transform: scaleX(1); }
.cell h3 { transition: transform .45s var(--ease); }
.cell:hover h3 { transform: translateX(6px); }

/* tools idle float */
.tool .ic { animation: floaty 4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.4s); }
.tool:hover .ic { animation-play-state: paused; }
@keyframes floaty { 50% { translate: 0 -5px; } }
.tool .ic img { transition: transform .5s var(--ease); }
.tool:hover .ic img { transform: scale(1.18) rotate(-6deg); }

/* steps + stats + quote */
.step { transition: background .3s, transform .5s var(--ease); }
.step:hover { background: var(--bg-2); }
.step h4 { transition: color .3s; }
.step:hover h4 { color: var(--accent-2); }
.big-stats div { transition: background .3s; }
.big-stats div:hover { background: var(--bg-2); }
.quote { position: relative; }
.quote::before { content: ""; position: absolute; left: -3px; top: 0; width: 3px; height: 100%; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .3s; }
.quote.is-in::before { transform: scaleY(1); }
.case-meta .row { transition: background .3s, padding .4s var(--ease); }
.case-meta .row:hover { background: var(--bg-2); padding-left: 24px; }

/* faq smooth */
.faq details { transition: background .3s; }
.faq details:hover { background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.faq summary { transition: padding .4s var(--ease); }
.faq details:hover summary { padding-left: 10px; }
.faq .ans { overflow: hidden; }

/* quarter switch */
.qview img.swap { opacity: 0; transform: translateY(14px) scale(.98); }
.qnum b { transition: opacity .25s, transform .4s var(--ease); }
.qnum.swap b { opacity: 0; transform: translateY(10px); }
.qtabs button { transition: background .3s, color .3s; position: relative; }
.qtabs button:not(.on):hover { background: var(--bg-2); }

/* marquee driven by JS */
.marquee-track.js { animation: none; will-change: transform; }

/* bench micro */
.tab { transition: background .3s, padding .35s var(--ease); }
.tab:not(.on):hover { background: var(--panel); padding-left: 36px; }
.note { transition: transform .5s var(--ease), box-shadow .5s; cursor: grab; }
.note:hover { transform: rotate(0) scale(1.05); box-shadow: 6px 8px 0 rgba(0,0,0,.08); }
.node { transition: .5s var(--ease), background .3s; }
.node:hover { background: var(--accent); }
.term-out p { animation: termIn .35s var(--ease) both; }
@keyframes termIn { from { opacity: 0; transform: translateX(-8px); } }
.term-in label { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* footer links */
.foot a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; width: fit-content; }
.foot a:hover { background-size: 100% 1px; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- pinned zoom-out mosaic ---------- */
.mosaic { position: relative; height: 320vh; border-top: 1px solid var(--line); background: var(--bg-2); }
.mosaic-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.mosaic-grid { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; gap: 14px; width: 150vw; transform-origin: 50% 50%; will-change: transform; }
.mosaic-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; will-change: transform; }
.tile { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tile.card { display: flex; flex-direction: column; justify-content: space-between; padding: 6%; }
.tile.card .mono { font-size: clamp(7px, .7vw, 11px); color: inherit; opacity: .7; }
.tile.card b { font-size: clamp(16px, 2.6vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.tile.card span:last-child { font-size: clamp(8px, .85vw, 14px); opacity: .8; }
.tile.amber { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-deep); }
.tile.ink { background: var(--term); color: var(--term-ink); border-color: var(--term); }
.tile.hatch { background: repeating-linear-gradient(135deg, var(--panel) 0 8px, var(--line) 8px 9px); }
.tile.main { box-shadow: 0 30px 80px -20px rgba(0,0,0,.25); }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 12px; align-items: baseline; pointer-events: none; transition: opacity .4s; }
.mosaic-cap .n { color: var(--accent-2); }
.mosaic-cap b { font-weight: 500; }
.mosaic-cap span:last-child { color: var(--muted); }
.mosaic-tag { position: absolute; top: 18px; left: 24px; z-index: 2; }
.mosaic-cta { text-align: center; padding: 70px 24px 80px; background: var(--bg); border-top: 1px solid var(--line); }

/* ---------- mobile polish ---------- */
.big-stats .up { white-space: nowrap; display: inline-block; }
@media (max-width: 860px) {
  .strip-head { flex-wrap: wrap; gap: 4px; }
  .strip-head > .mono { display: none; }
  .strip-head .cur { flex-wrap: wrap; row-gap: 0; column-gap: 10px; }
  .strip-head .cur .t { font-size: 19px; }
  .strip-head .cur .s { font-size: 14px; width: 100%; padding-left: 28px; }
  .walker { width: 46px; height: 46px; left: 10%; }
  .bench-bar > span:last-child { display: none; }
  .tab { padding: 10px 16px 10px 26px; }
  .tab::before { left: 12px; top: 18px; }
  .stage { height: 360px; }
  .stage .mono.tr, .stage .br { display: none; }
  .flow { transform: none; width: auto; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; margin-top: 30px; }
  .flow .wire { display: none; }
  .flow .node { text-align: center; padding: 8px 10px; font-size: 11px; }
  .note { width: 150px; font-size: 12.5px; padding: 10px 12px; }
  .scene .note.y { left: 2% !important; top: 150px !important; }
  .scene .note.b, .scene .note.p { left: auto !important; right: 2% !important; top: 205px !important; }
  .chips { bottom: 12px; }
  .mini-bars { height: 150px; margin-top: 20px; gap: 6px; }
  .kpis { gap: 16px; flex-wrap: wrap; }
  .kpis div b { font-size: 21px; }
  .browser { width: 100%; }
  .scene[data-i="2"] .note.p { top: 220px !important; }
  .term-out { padding: 16px; font-size: 12.5px; min-height: 170px; max-height: 170px; }
  .tools { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .tool span { font-size: 8.5px; letter-spacing: .04em; margin-top: 8px; }
  .cell { padding: 28px 18px 32px; }
  .cell h3 { margin-top: 16px; }
  .case { gap: 36px; }
  .mosaic { height: 260vh; }
  .mosaic-grid { width: 260vw; gap: 8px; }
  .mosaic-row { gap: 8px; }
  .mosaic-tag { left: 16px; }
  .belt-head { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .tools { grid-template-columns: repeat(5, 1fr); }
  .hero h1 { font-size: 37px; }
}

/* ---------- lightbox ---------- */
.zoomable { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 1100; display: grid; grid-template-rows: auto 1fr auto; background: color-mix(in srgb, var(--term) 92%, transparent); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.lb.open { opacity: 1; pointer-events: auto; }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: var(--term-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 64px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 1px solid #2a2a38; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.94); opacity: 0; transition: transform .5s var(--ease), opacity .35s; cursor: zoom-out; }
.lb.open .lb-stage img.ready { transform: none; opacity: 1; }
.lb button { color: var(--term-ink); border: 1px solid #3a3a4c; width: 44px; height: 44px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb svg { width: 16px; height: 16px; }
.lb-bot a { color: var(--accent); }
@media (max-width: 860px) {
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -56px; transform: none; }
  .lb-prev { left: auto; right: 70px; } .lb-next { right: 16px; }
  .lb-bot { padding-right: 130px; min-height: 72px; }
}
@media (max-width: 860px) {
  .bench, .bench + div { display: none; }
  .strip { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}

/* ---------- bench: ads table ---------- */
.ads-table { margin-top: 6px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; }
.ads-row { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.3fr; gap: 10px; padding: 7px 12px; border-top: 1px solid var(--line); align-items: center; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.ads-row:first-child { border-top: 0; }
.ads-row.head { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.ads-row span:last-child { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.ads-row span:last-child i { flex: 1; height: 6px; background: var(--line); position: relative; overflow: hidden; }
.ads-row span:last-child i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.ads-table.play .ads-row { opacity: 1; transform: none; }
.ads-table.play .ads-row span:last-child i::after { transform: scaleX(1); }
.ads-table.play .ads-row:nth-child(2) { transition-delay: .08s; } .ads-table.play .ads-row:nth-child(2) i::after { transition-delay: .3s; }
.ads-table.play .ads-row:nth-child(3) { transition-delay: .16s; } .ads-table.play .ads-row:nth-child(3) i::after { transition-delay: .38s; }
.ads-table.play .ads-row:nth-child(4) { transition-delay: .24s; } .ads-table.play .ads-row:nth-child(4) i::after { transition-delay: .46s; }
.ads-table.play .ads-row:nth-child(5) { transition-delay: .32s; } .ads-table.play .ads-row:nth-child(5) i::after { transition-delay: .54s; }
.ads-table.play .ads-row:nth-child(6) { transition-delay: .4s; } .ads-table.play .ads-row:nth-child(6) i::after { transition-delay: .62s; }
.scene[data-i="1"] .kpis { margin-top: 14px; }

/* ---------- stores showcase ---------- */
.stores { display: grid; grid-template-columns: 1.65fr 1fr; gap: 48px; margin-top: 60px; align-items: start; }
.store-stage { position: relative; padding-bottom: 40px; }
.store-stage.swap .store-phone { animation: phoneIn .6s var(--ease); }
@keyframes phoneIn { from { opacity: 0; transform: translateY(16px) rotate(6deg); } }
.store-browser { border: 1px solid var(--line-2); background: var(--bg); box-shadow: 10px 10px 0 var(--line); }
.store-browser .top { height: 34px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--bg-2); }
.store-browser .top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.store-browser .top i:first-child { background: var(--accent); }
.store-browser .url { margin-left: 14px; flex: 1; max-width: 340px; background: var(--bg); border: 1px solid var(--line); padding: 3px 10px; font-size: 11px; color: var(--ink-2); text-transform: none; letter-spacing: .04em; }
.sv-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.sv-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s ease; }
.sv-wrap video.on { opacity: 1; }
.store-phone { position: absolute; right: -18px; bottom: 0; width: 22%; min-width: 110px; border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 50px -16px rgba(0,0,0,.35); transform: rotate(3deg); transition: transform .6s var(--ease); }
.store-stage:hover .store-phone { transform: rotate(0) translateY(-6px); }
.store-phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.store-list { border-top: 1px solid var(--line-2); }
.store-item { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; text-align: left; padding: 18px 6px; border-bottom: 1px solid var(--line-2); position: relative; transition: background .3s, padding .4s var(--ease); }
.store-item .n { color: var(--muted); }
.store-item b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.015em; }
.store-item small { color: var(--muted); font-size: 14px; }
.store-item .arr { opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); color: var(--accent-2); font-size: 20px; }
.store-item:hover { background: var(--bg-2); padding-left: 14px; }
.store-item.on .n { color: var(--accent-2); }
.store-item.on .arr, .store-item:hover .arr { opacity: 1; transform: none; }
.store-item .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.store-item.on.run .bar { animation: storeBar var(--dur, 7000ms) linear forwards; }
@keyframes storeBar { to { transform: scaleX(1); } }
.store-list .link-u { margin-top: 24px; }

/* ---------- UGC strip ---------- */
.ugc { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); padding: 10px 0 20px; }
.ugc-track { display: flex; gap: 22px; width: max-content; will-change: transform; cursor: grab; touch-action: pan-y; user-select: none; }
.ugc-track:active { cursor: grabbing; }
.ugc-card { position: relative; width: 250px; flex: none; border-radius: 22px; overflow: hidden; background: var(--term); border: 6px solid var(--ink); box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.ugc-card:nth-child(odd) { transform: translateY(18px) rotate(-1deg); }
.ugc-card:nth-child(even) { transform: rotate(1deg); }
.ugc-card:hover { transform: translateY(-6px) rotate(0) scale(1.02); }
.ugc-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; pointer-events: none; }
.ugc-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; pointer-events: none; }
.ugc-card figcaption b { display: block; font-weight: 500; font-size: 15px; }
.ugc-card figcaption .mono { font-size: 10px; opacity: .75; }
.ugc-sound { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }
.ugc-card.sound .ugc-sound { background: var(--accent); color: var(--accent-ink); }
.ugc-card.sound { border-color: var(--accent); }

/* mosaic now 7 columns */
.mosaic-row { grid-template-columns: repeat(7, 1fr); }
.mosaic-grid { width: 205vw; }

@media (max-width: 1100px) {
  .stores { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .store-phone { right: 4px; width: 30%; border-width: 4px; border-radius: 16px; }
  .store-item { padding: 14px 4px; }
  .store-item b { font-size: 18px; }
  .ugc-card { width: 190px; border-width: 4px; border-radius: 18px; }
  .mosaic-grid { width: 360vw; }
}

/* ---------- partners band (home) ---------- */
.pt-band { padding: 90px 24px 70px; }
.pt-band-in { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: center; }
.pt-band-t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.pt-band-logos { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2); }
.ptb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px 12px 20px; border-right: 1px solid var(--line-2); min-height: 120px; transition: background .3s; }
.ptb:last-child { border-right: 0; }
.ptb:hover { background: var(--bg-2); }
.ptb small { color: var(--muted); font-size: 10px; }
.ptb .pt-img { max-height: 30px; max-width: 130px; width: auto; height: auto; transition: transform .4s var(--ease); }
.ptb .pt-img.pt-gokwik { max-height: 36px; }
.ptb:hover .pt-img, .ptb:hover .pt-word { transform: scale(1.06); }
.pt-word { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; transition: transform .4s var(--ease); }
.pt-word img { width: 26px; height: 26px; }
:root[data-theme="dark"] .ptb .pt-img { filter: brightness(0) invert(1); opacity: .9; }
@media (max-width: 1100px) { .pt-band-in { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .pt-band { padding: 70px 16px 50px; }
  .pt-band-logos { grid-template-columns: repeat(3, 1fr); }
  .ptb { border-bottom: 1px solid var(--line-2); min-height: 100px; padding: 20px 8px 16px; }
  .ptb:nth-child(3) { border-right: 0; }
  .pt-word { font-size: 18px; }
  .ptb .pt-img { max-width: 96px; max-height: 24px; }
}

/* ---------- lead form ---------- */
.lead-form { max-width: 820px; margin: 50px auto 0; text-align: left; border: 1px solid var(--line-2); background: var(--bg); padding: 28px 30px 26px; box-shadow: 10px 10px 0 var(--line); }
.lf-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.lf-count { color: var(--muted); white-space: nowrap; }
.lf-bar { flex: 1; height: 3px; background: var(--line); overflow: hidden; }
.lf-bar i { display: block; height: 100%; width: 33%; background: var(--accent); transition: width .6s var(--ease); }
.lead-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lf-pane { display: none; }
.lf-pane.on { display: block; animation: lfIn .55s var(--ease); }
@keyframes lfIn { from { opacity: 0; transform: translateX(18px); } }
.lead-form legend { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; padding: 0; }
.lf-sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.svc-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-pick { position: relative; cursor: pointer; }
.svc-pick input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.sp-box { display: block; height: 100%; padding: 16px 16px 18px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .25s, background .25s, transform .3s var(--ease), box-shadow .3s; }
.sp-box b { display: block; font-weight: 600; font-size: 16px; padding-right: 26px; }
.sp-box small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sp-tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 50%; transition: .25s; }
.svc-pick:hover .sp-box { border-color: var(--ink); transform: translateY(-2px); }
.svc-pick input:checked + .sp-box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); box-shadow: 4px 4px 0 var(--accent); }
.svc-pick input:checked + .sp-box .sp-tick { background: var(--accent); border-color: var(--accent); }
.svc-pick input:checked + .sp-box .sp-tick::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #16161d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.svc-pick input:focus-visible + .sp-box, .pill input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.lf-group { padding: 18px 0 6px; border-top: 1px solid var(--line); }
.lf-group:first-of-type { border-top: 0; padding-top: 0; }
.lf-group h4 { color: var(--accent-2); font-weight: 400; margin-bottom: 14px; }
.lf-field { margin-bottom: 18px; }
.lf-label { display: block; font-weight: 500; font-size: 15.5px; margin-bottom: 10px; }
.lf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: scale(1.03); }
.lead-form textarea, .lf-in input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: 0; outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea:focus, .lf-in input:focus { border-color: var(--accent-deep); box-shadow: 3px 3px 0 var(--accent); }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-in { display: flex; flex-direction: column; gap: 7px; }
.lf-in span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lf-in.full { grid-column: span 2; }
.lf-err { min-height: 22px; margin-top: 14px; color: var(--accent-deep); font-size: 14px; }
.lf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.lf-nav .lf-next { margin-left: auto; }
.lf-done { text-align: center; padding: 20px 0 10px; }
.lf-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #16161d; animation: pop .6s var(--ease); }
.lf-check svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lf-done h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; margin: 20px 0 8px; }
.lf-done p { color: var(--ink-2); max-width: 460px; margin: 0 auto; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 860px) {
  .lead-form { padding: 22px 16px 18px; box-shadow: 6px 6px 0 var(--line); }
  .svc-picks { grid-template-columns: 1fr 1fr; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-in.full { grid-column: auto; }
  .pill span { padding: 8px 12px; font-size: 13.5px; }
}
@media (max-width: 420px) { .svc-picks { grid-template-columns: 1fr; } }
.lf-nav [hidden], .lead-form [hidden] { display: none !important; }

/* intro plays once per visit; later page loads are instant and identical */
html.no-intro .nav, html.no-intro .strip, html.no-intro .bench { animation: none !important; }
html.no-intro .hero .w > span { transition-delay: calc(var(--i) * 55ms) !important; }
html.no-intro .hero-side.fade { transition-delay: 0s !important; }

/* ---------- solution sub-pages (stores, ugc) ---------- */
.sp-hero { padding: 100px 24px 70px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.sp-crumb { grid-column: 1 / -1; color: var(--muted); margin-bottom: -30px; transition: color .2s; width: fit-content; }
.sp-crumb i { font-style: normal; margin: 0 6px; color: var(--accent); }
.sp-crumb:hover { color: var(--ink); }
.sp-title { font-size: clamp(42px, 5.6vw, 72px) !important; }
.sp-side p { font-size: 18px; color: var(--ink-2); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sp-chips span { border: 1px solid var(--line-2); padding: 5px 11px; font-size: 11px; color: var(--ink-2); }
.sp-cta { text-align: center; padding: 110px 24px 120px; }
.sp-cta .btn { margin-top: 34px; }

.sx-list { margin-top: 56px; display: flex; flex-direction: column; gap: 80px; }
.sx-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.sx-card:nth-child(even) .sx-media { order: 2; }
.sx-media { position: relative; padding: 0 40px 40px 0; }
.sx-media .shot { margin: 0; }
.sx-phone { position: absolute; right: 0; bottom: 0; width: 24%; margin: 0; border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 50px -16px rgba(0,0,0,.35); transform: rotate(3deg); transition: transform .6s var(--ease); }
.sx-card:hover .sx-phone { transform: rotate(0) translateY(-8px); }
.sx-phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.sx-n { color: var(--accent-2); }
.sx-info h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.03em; margin: 12px 0 14px; }
.sx-info p { color: var(--ink-2); font-size: 17px; }

.ugc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ugc-tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 5px solid var(--ink); background: var(--term); cursor: pointer; transition: transform .5s var(--ease), border-color .3s; }
.ugc-tile:hover { transform: translateY(-6px); }
.ugc-tile.playing { border-color: var(--accent); }
.ugc-tile video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.ugc-play { position: absolute; left: 50%; top: 42%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.92); color: #16161d; display: grid; place-items: center; pointer-events: none; transition: transform .35s var(--ease), opacity .3s; }
.ugc-play svg { width: 24px; height: 24px; margin-left: 3px; }
.ugc-tile:hover .ugc-play { transform: scale(1.1); background: var(--accent); }
.ugc-tile.playing .ugc-play { opacity: 0; transform: scale(.6); }
.ugc-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; pointer-events: none; }
.ugc-tile figcaption b { display: block; font-weight: 500; font-size: 15px; }
.ugc-tile figcaption .mono { font-size: 9.5px; opacity: .75; }
.ugc-tile figcaption small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; opacity: .85; }
.steps.five { grid-template-columns: repeat(5, 1fr); margin-top: 50px; }

/* solutions: link tabs + more-solutions cards */
.sol-link em { font-style: normal; margin-left: 4px; color: var(--accent); transition: transform .3s var(--ease); display: inline-block; }
.sol-link:hover em { transform: translate(2px, -2px); }
.more-sol { padding: 110px 24px 20px; border-top: 1px solid var(--line); margin-top: 90px; }
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.ms-card { display: flex; flex-direction: column; border: 1px solid var(--line-2); background: var(--bg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.ms-card:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--line); border-color: var(--ink); }
.ms-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.ms-media > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.ms-card:hover .ms-media > img:first-child { transform: scale(1.05); }
.ms-phone { position: absolute; right: 18px; bottom: -40px; width: 22%; border: 5px solid var(--ink); border-radius: 16px; transition: transform .6s var(--ease); }
.ms-card:hover .ms-phone { transform: translateY(-24px); }
.ms-media.ugc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 18px 0; background: var(--term); }
.ms-media.ugc img { width: 100%; height: 130%; object-fit: cover; border-radius: 12px 12px 0 0; transition: transform .6s var(--ease); }
.ms-media.ugc img:nth-child(2) { transform: translateY(16px); }
.ms-card:hover .ms-media.ugc img { transform: translateY(-10px); }
.ms-card:hover .ms-media.ugc img:nth-child(2) { transform: translateY(4px); }
.ms-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px; }
.ms-body .mono { color: var(--accent-2); }
.ms-body b { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.ms-body > span:not(.mono) { color: var(--ink-2); }
.ms-body em { font-style: normal; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--accent); }
.ms-body em svg { width: 13px; height: 13px; }

@media (max-width: 1100px) {
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .steps.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sp-hero { grid-template-columns: 1fr; gap: 26px; padding: 70px 16px 50px; }
  .sp-crumb { margin-bottom: 0; }
  .sx-card { grid-template-columns: 1fr; gap: 24px; }
  .sx-card:nth-child(even) .sx-media { order: 0; }
  .sx-media { padding: 0 24px 30px 0; }
  .sx-phone { width: 28%; border-width: 4px; border-radius: 16px; }
  .ugc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps.five { grid-template-columns: 1fr; }
  .more-sol { padding: 80px 16px 10px; margin-top: 60px; }
  .ms-grid { grid-template-columns: 1fr; }
  .sp-cta { padding: 80px 16px 90px; }
}

/* ---------- founder ---------- */
.fd-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.fd-photo { margin: 0; position: sticky; top: 96px; }
.fd-frame { position: relative; border: 1px solid var(--line-2); padding: 10px; background: var(--bg); box-shadow: 12px 12px 0 var(--line); }
.fd-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.95); transition: transform 1.2s var(--ease); }
.fd-frame picture { display: block; overflow: hidden; }
.fd-photo:hover .fd-frame img { transform: scale(1.03); }
.fd-badge { position: absolute; top: -1px; left: -1px; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; }
.fd-plate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.fd-plate b { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.fd-plate .mono { color: var(--muted); font-size: 11px; }
.fd-copy .h2 { margin-bottom: 26px; }
.fd-copy p { color: var(--ink-2); font-size: 17.5px; line-height: 1.65; max-width: 620px; }
.fd-copy p + p { margin-top: 16px; }
.fd-copy .fd-lead { color: var(--ink); font-size: 20px; line-height: 1.55; }
.fd-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); margin-top: 36px; }
.fd-stats div { padding: 20px 18px; border-right: 1px solid var(--line-2); transition: background .3s; }
.fd-stats div:last-child { border-right: 0; }
.fd-stats div:hover { background: var(--bg-2); }
.fd-stats b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.fd-stats span { color: var(--ink-2); font-size: 14px; }
.fd-quote { margin: 36px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.fd-quote p { color: var(--ink) !important; font-size: clamp(21px, 2.1vw, 27px) !important; line-height: 1.35 !important; letter-spacing: -.015em; font-weight: 500; }
.fd-one { margin-top: 30px; font-size: 22px !important; font-weight: 500; color: var(--ink) !important; letter-spacing: -.015em; }
.fd-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 30px; }
.fd-links .link-u { margin-top: 0; }
@media (max-width: 960px) {
  .fd-grid { grid-template-columns: 1fr; gap: 40px; }
  .fd-photo { position: static; max-width: 460px; }
}
@media (max-width: 520px) {
  .fd-frame { padding: 6px; box-shadow: 8px 8px 0 var(--line); }
  .fd-copy .fd-lead { font-size: 18px; }
  .fd-copy p { font-size: 16px; }
  .fd-stats { grid-template-columns: 1fr; }
  .fd-stats div { border-right: 0; border-bottom: 1px solid var(--line-2); display: flex; align-items: baseline; gap: 14px; }
  .fd-stats div:last-child { border-bottom: 0; }
  .fd-stats b { font-size: 28px; min-width: 96px; }
  .fd-one { font-size: 19px !important; }
  .fd-links .btn { flex: 1 1 100%; justify-content: center; }
}
.fd-stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) and (min-width: 521px) { .fd-stats { grid-template-columns: 1fr 1fr; } .fd-stats div:nth-child(2) { border-right: 0; } .fd-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }

/* ---------- mobile polish: tap targets and legibility ---------- */
@media (max-width: 860px) {
  .links a:not(.btn) { padding: 10px 0; font-size: 18px; width: 100%; }
  .links { gap: 4px; padding: 16px 16px 22px; }
  .links .btn { margin-top: 10px; padding: 14px 18px; width: 100%; justify-content: center; }
  .theme-btn { width: 44px; height: 44px; }
  .burger { width: 44px; height: 44px; }
  .link-u { padding: 10px 0 8px; }
  .foot a, .foot p { padding: 6px 0; margin-bottom: 2px; }
  .af-social a, .af-links a { padding: 10px 0; display: inline-block; }
  .sp-crumb { padding: 10px 0; }
  .lb-bot a { padding: 12px 0; }
  .tool span { font-size: 11px; letter-spacing: .04em; }
  .ugc-sound { font-size: 11px; padding: 6px 10px; }
  .pt-badge, .plogo small, .ptb small, .af-copy, .ugc-card figcaption .mono, .ugc-tile figcaption .mono { font-size: 11px; }
  .mono { font-size: max(11px, 1em); }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .pad { padding-top: 80px; padding-bottom: 80px; }
  .btn { min-height: 46px; }
}
@media (max-width: 520px) {
  .tools { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hero { padding-top: 56px; }
  .hero-side .row .btn { flex: 1 1 100%; justify-content: center; }
  .plogos { grid-template-columns: repeat(3, 1fr); }
}
.fd-grid > * { min-width: 0; }
@media (max-width: 860px) {
  .links a.active::after, .links a:hover::after { display: none; }
  .links a.active { color: var(--accent-deep); }
}
@media (max-width: 520px) {
  .fd-stats { grid-template-columns: 1fr; }
  .fd-stats div { border-right: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .fd-stats div:last-child { border-bottom: 0 !important; }
  .fd-photo { max-width: 340px; }
  .fd-plate { flex-direction: column; gap: 4px; }
}

/* tracks: panels share one grid cell so the box always fits the tallest text */
.track-txt { display: grid; min-height: 0; }
.track-txt .t { position: relative; inset: auto; grid-area: 1 / 1; }
@media (max-width: 860px) { .arrows { margin-top: 20px; } .arrows button { width: 48px; height: 48px; } }

/* partners band: symmetric 2-column grid on mobile */
@media (max-width: 860px) {
  .pt-band-logos { grid-template-columns: 1fr 1fr; }
  .ptb { border-right: 1px solid var(--line-2) !important; border-bottom: 1px solid var(--line-2) !important; min-height: 104px; padding: 20px 10px 16px; gap: 10px; }
  .ptb:nth-child(2n) { border-right: 0 !important; }
  .ptb:last-child { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 0 !important; }
  .ptb .pt-img, .ptb .pt-img.pt-gokwik { max-height: 26px; max-width: 120px; }
  .ptb .pt-word { font-size: 20px; }
  .ptb .pt-word img { width: 22px; height: 22px; }
  .ptb small { white-space: nowrap; letter-spacing: .08em; }
}

/* ---------- SEO helpers ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* related-questions blocks (filled by scripts/build.mjs) */
.rel-qa { max-width: 860px; margin: 0 auto; padding-top: 10px; }
.rel-qa > .mono { color: var(--accent-2); display: block; margin-bottom: 14px; }
.rel-qa ul { list-style: none; border-top: 1px solid var(--line-2); }
.rel-qa li { border-bottom: 1px solid var(--line-2); }
.rel-qa li a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 500; transition: color .25s, padding .35s var(--ease); }
.rel-qa li a::after { content: "→"; color: var(--accent); flex: none; }
.rel-qa li a:hover { color: var(--accent-deep); padding-left: 8px; }
.faq-more { margin-top: 56px; }
.sol-panel .rel-qa { margin: 70px 0 0; max-width: none; }
.rel-wrap { padding-top: 100px; padding-bottom: 90px; }

/* ---------- answer pages ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding: 70px 24px 100px; align-items: start; }
.qa-crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 11px; margin-bottom: 26px; }
.qa-crumbs a { transition: color .2s; } .qa-crumbs a:hover { color: var(--ink); }
.qa-crumbs i { font-style: normal; color: var(--accent); }
.qa-crumbs span { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-topic a { color: var(--accent-2); }
.qa-title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; margin: 12px 0 28px; }
.qa-answer { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--bg); padding: 20px 22px; box-shadow: 8px 8px 0 var(--line); }
.qa-answer .mono { color: var(--accent-deep); }
.qa-answer p { margin-top: 8px; font-size: 19px; line-height: 1.55; }
.qa-body { margin-top: 36px; max-width: 720px; }
.qa-body p, .qa-body li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.qa-body p + p, .qa-body ul + p, .qa-body p + ul { margin-top: 16px; }
.qa-body ul { list-style: none; }
.qa-body li { position: relative; padding: 8px 0 8px 24px; border-top: 1px solid var(--line); }
.qa-body li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 7px; height: 7px; background: var(--accent); }
.qa-body a, .qa-cta p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.qa-cta { margin-top: 48px; padding: 26px; background: var(--bg-2); border: 1px solid var(--line-2); max-width: 720px; }
.qa-cta p { font-size: 17px; }
.qa-cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
.qa-cta-row .link-u { margin-top: 0; }
.qa-by { margin-top: 26px; color: var(--muted); font-size: 11px; }
.qa-side { position: sticky; top: 96px; }
.qa-side h2 { color: var(--accent-2); font-weight: 400; margin: 0 0 10px; }
.qa-side h2 + .qa-list { margin-bottom: 30px; }
.qa-list { list-style: none; border-top: 1px solid var(--line-2); }
.qa-list li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.4; transition: color .2s, padding .3s var(--ease); }
.qa-list li a:hover { color: var(--accent-deep); padding-left: 6px; }

/* hubs */
.qa-hub { padding: 70px 24px 110px; }
.qa-hub .lead { margin-top: 0; }
.qa-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
.qa-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line-2); background: var(--bg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.qa-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--line); border-color: var(--ink); }
.qa-card .mono { color: var(--accent-2); }
.qa-card b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.qa-card span:last-child { color: var(--ink-2); font-size: 15px; }
.qa-topics { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 44px; }
.qa-topics .mono { color: var(--muted); margin-right: 6px; }
.qa-topics a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.qa-topics a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qa-topics small { color: var(--accent-deep); margin-left: 4px; font-family: var(--mono); }
.qa-jump { margin-top: 30px; }
.qa-more { margin-top: 40px; }
.qa-group { margin-top: 70px; }
.qa-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.qa-group-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.qa-group-head .link-u { margin-top: 0; }
.qa-index { list-style: none; columns: 2; column-gap: 40px; margin-top: 8px; }
.qa-index li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.qa-index a { display: block; padding: 13px 0; font-size: 16px; transition: color .2s, padding .3s var(--ease); }
.qa-index a:hover { color: var(--accent-deep); padding-left: 6px; }

@media (max-width: 960px) {
  .qa { grid-template-columns: 1fr; gap: 50px; }
  .qa-side { position: static; }
}
@media (max-width: 860px) {
  .qa, .qa-hub { padding: 46px 16px 80px; }
  .qa-title { font-size: clamp(28px, 7.6vw, 38px); }
  .qa-answer p { font-size: 17px; }
  .qa-cards { grid-template-columns: 1fr; }
  .qa-index { columns: 1; }
  .qa-crumbs span { max-width: 22ch; }
  .rel-wrap { padding-top: 80px; padding-bottom: 70px; }
  .rel-qa li a { font-size: 16px; padding: 15px 0; }
  .qa-cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-next.busy { opacity: .7; pointer-events: none; }
.lf-next.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lf-err a { color: var(--ink); text-decoration: underline; }
