/* ─────────────────────────── tokens ─────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f2;
  --ink: #16181d;
  --ink-2: #454a54;
  --muted: #6b707a;
  --line: #e6e6e1;
  --line-strong: #d3d3cc;

  --accent: #ff5b1f;          /* signal orange: fills only */
  --accent-hover: #ff6f3a;
  --accent-ink: #16181d;      /* text on orange: dark, for contrast */
  --accent-text: #c2410c;     /* orange for text on light backgrounds */
  --accent-soft: #fff0e8;
  --ok: #15803d;
  --ok-soft: #e8f6ee;

  /* graphite band (always dark) */
  --night: #16181d;
  --night-2: #1f2229;
  --night-line: #2e323b;
  --night-ink: #f3f3f0;
  --night-muted: #a3a8b3;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(22 24 29 / .05), 0 10px 30px -14px rgb(22 24 29 / .18);
  --shadow-lg: 0 2px 6px rgb(22 24 29 / .05), 0 30px 70px -30px rgb(22 24 29 / .35);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 70px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111317; --surface: #181b21; --surface-2: #14161b;
    --ink: #f3f3f0; --ink-2: #c9ccd3; --muted: #959aa6;
    --line: #262a32; --line-strong: #343944;
    --accent: #ff6a33; --accent-hover: #ff7f4f; --accent-text: #ff8a5c; --accent-soft: #2a1a12;
    --ok: #4ade80; --ok-soft: #0f2a1a;
    --night: #0b0c0f; --night-2: #15171c;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -14px rgb(0 0 0 / .6);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / .3), 0 30px 70px -30px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111317; --surface: #181b21; --surface-2: #14161b;
  --ink: #f3f3f0; --ink-2: #c9ccd3; --muted: #959aa6;
  --line: #262a32; --line-strong: #343944;
  --accent: #ff6a33; --accent-hover: #ff7f4f; --accent-text: #ff8a5c; --accent-soft: #2a1a12;
  --ok: #4ade80; --ok-soft: #0f2a1a;
  --night: #0b0c0f; --night-2: #15171c;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -14px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .3), 0 30px 70px -30px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ─────────────────────────── base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.025em; margin: 0; font-weight: 700; }
p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ─────────────────────────── buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ─────────────────────────── header ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; color: var(--ink); line-height: 0; }
.logo-svg { height: 30px; width: auto; display: block; }
.logo-sm .logo-svg { height: 22px; }
.logo-dot { fill: var(--accent); }

.nav { display: flex; gap: 28px; }
.nav a { font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ─────────────────────────── hero ─────────────────────────── */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-copy { max-width: 820px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--accent-text); margin-bottom: 20px; }
.hero-title { font-size: clamp(42px, 6vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero-title-2 { display: block; color: var(--muted); font-size: .72em; letter-spacing: -.035em; margin-top: .18em; }
.rotator { display: inline-block; position: relative; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--accent); z-index: -1; border-radius: 2px; }
.rotator-word { display: inline-block; transition: opacity .3s ease, transform .3s ease; }
.rotator-word.out { opacity: 0; transform: translateY(-.2em); }
.rotator-word.in-start { opacity: 0; transform: translateY(.2em); transition: none; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 640px; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ─────────── the stage: a 1160×620 drawing, scaled to fit by main.js ─────────── */
.stage-wrap { position: relative; margin-top: clamp(40px, 6vw, 72px); height: 620px; }
.stage-wrap::before {
  content: ""; position: absolute; inset: 8% 10% -6% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  filter: blur(20px); pointer-events: none;
}
.stage {
  position: absolute; top: 0; left: 0; width: 1160px; height: 620px;
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  font-size: 13px; line-height: 1.4; color: var(--ink);
}
.stage svg use, .stage svg { fill: currentColor; }

.win-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.win-bar .url { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 3px 60px; }

.desk {
  position: absolute; left: 0; top: 10px; width: 880px; height: 580px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.desk-body { display: grid; grid-template-columns: 56px 1fr; height: calc(100% - 38px); }
.desk-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 18px; }
.desk-side i { width: 24px; height: 24px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); }
.desk-side i.on { background: var(--accent-soft); border-color: var(--accent); }
.desk-main { padding: 18px 64px 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dm-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dm-head b { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; }
.dm-head small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 2px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
.pills { display: flex; gap: 6px; }
.pill { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); }
.pill:first-child { background: var(--ok-soft); border-color: transparent; color: var(--ok); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px 8px; }
.kpi small { display: block; font-size: 11.5px; color: var(--muted); }
.kpi b { display: block; font-family: var(--font-display); font-size: 23px; letter-spacing: -.02em; margin: 1px 0 4px; }
.spark { display: block; width: 100%; height: 22px; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.dm-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel-h b { font-weight: 600; font-size: 13px; }
.panel-h small { font-size: 11px; font-weight: 600; color: var(--ok); display: flex; align-items: center; gap: 5px; }
.panel-h small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chart { height: 172px; overflow: hidden; border-radius: 8px; background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 43px; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .area { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ticker { animation: ticker 9s linear infinite; }

.ver { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pipe { display: flex; flex-direction: column; gap: 7px; }
.pipe li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); transition: color .2s; }
.pipe li.run, .pipe li.done { color: var(--ink); }
.st { position: relative; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.pipe li.run .st { border-color: var(--line-strong); border-top-color: var(--accent); animation: spin .7s linear infinite; }
.pipe li.done .st { background: var(--ok); border-color: var(--ok); }
.pipe li.done .st::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.rollout { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.rollout .bar { flex: 1; height: 6px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.rollout .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .35s ease; }
.rollout small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.infra { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.inf { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.inf svg { width: 17px; height: 17px; flex: none; color: var(--ink); }
.inf span { overflow: hidden; text-overflow: ellipsis; }
.inf i { margin-left: auto; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* phone */
.phone {
  position: absolute; left: 836px; top: 34px; width: 296px; height: 586px;
  background: #0b0c0f; border-radius: 46px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / .06) inset;
}
.ph-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #000; z-index: 2; }
.ph-screen { position: relative; height: 100%; border-radius: 37px; background: var(--bg); overflow: hidden; padding: 16px 16px 0; }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 10px; font-size: 12px; font-weight: 600; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-hello { margin-top: 14px; font-size: 12px; color: var(--muted); }
.ph-title { display: block; font-family: var(--font-display); font-size: 25px; letter-spacing: -.02em; line-height: 1.1; }

.ai-card {
  margin-top: 12px; padding: 11px 12px; border-radius: 16px; border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, var(--accent), #ffb547 55%, var(--line-strong)) border-box;
}
.ai-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.spark-ico { width: 14px; height: 14px; color: var(--accent); }
.ai-models { margin-left: auto; display: flex; gap: 6px; color: var(--muted); }
.ai-models svg { width: 12px; height: 12px; }
.ai-text { margin-top: 6px; font-size: 12.5px; line-height: 1.45; min-height: 74px; color: var(--ink-2); }
.caret { display: inline-block; width: 2px; height: 13px; background: var(--accent); margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }

.ring-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); }
.ring { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .7, .3, 1); }
.ring-card small { display: block; font-size: 11px; color: var(--muted); }
.ring-card b { display: block; font-family: var(--font-display); font-size: 21px; letter-spacing: -.02em; line-height: 1.1; }

.ph-list { margin-top: 6px; }
.ph-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.ph-list b { display: block; font-size: 12.5px; font-weight: 600; }
.ph-list small { display: block; font-size: 11px; color: var(--muted); }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 20px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.tag-hot { background: var(--accent-soft); color: var(--accent-text); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--line); background: var(--bg); }
.ph-tabs i { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.ph-tabs i.on { background: var(--accent); border-color: var(--accent); }

/* floating chips */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px;
  font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap;
  animation: bob 6s ease-in-out infinite alternate;
}
.chip svg { width: 15px; height: 15px; color: var(--ink); }
.ok-ico { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; }
.chip-1 { left: -18px; top: 486px; }
.chip-2 { left: 610px; top: -14px; animation-delay: -2s; }
.chip-3 { left: 560px; top: 548px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; animation: none; }
.chip-3 .ok-ico { background: var(--accent); color: var(--accent-ink); }
.chip-3.show { opacity: 1; transform: none; }

/* small screens: the phone alone, readable (main.js adds .compact) */
.stage-wrap.compact .stage { width: 340px; }
.stage-wrap.compact .desk, .stage-wrap.compact .chip-2 { display: none; }
.stage-wrap.compact .phone { left: 22px; top: 6px; }
.stage-wrap.compact .chip-1 { left: 0; top: 520px; }
.stage-wrap.compact .chip-3 { left: 148px; top: 92px; }

/* ─────────────────────────── sections ─────────────────────────── */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-text); margin-bottom: 12px; }
.section h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.035em; }
.section-lede { margin-top: 18px; font-size: 19px; color: var(--ink-2); }

/* problems */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.problem-q { font-size: 16px; color: var(--muted); font-style: italic; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.problem h3 { font-size: 23px; }
.problem p:not(.problem-q) { color: var(--ink-2); font-size: 16.5px; }

/* packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pkg-featured { border: 2px solid var(--accent); padding: 29px; }
.pkg-flag { align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 6px; }
.pkg h3 { font-size: 24px; }
.pkg > p:not(.pkg-meta) { color: var(--ink-2); font-size: 16.5px; }
.pkg ul { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; margin-top: 2px; border-top: 1px solid var(--line); }
.pkg li { position: relative; padding-left: 26px; font-size: 15.5px; }
.pkg li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.pkg-meta { margin-top: auto; font-size: 14.5px; color: var(--muted); }
.pkg-cta { align-self: flex-start; font-weight: 600; font-size: 16px; color: var(--accent-text); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.pkg-cta:hover { border-color: currentColor; }
.pkg-run { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.pkg-run > p:not(.pkg-meta), .pkg-run .pkg-meta { color: var(--night-muted); }
.pkg-run ul { border-color: var(--night-line); }
.pkg-run .pkg-cta { color: var(--accent); }

/* work: the case with real screenshots */
.case {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 56px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.case-tag { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.case h3, .xp h3 { font-size: clamp(25px, 2.8vw, 32px); margin-bottom: 14px; }
.case-copy > p:not(.case-tag) { color: var(--ink-2); }
.ticks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.case-stat { background: var(--surface-2); border-radius: var(--radius); padding: 30px; }
.case-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 96px); letter-spacing: -.05em; line-height: .9; color: var(--accent-text); margin-bottom: 14px; }
.case-stat span { color: var(--ink-2); font-size: 16.5px; }
.case-shots { grid-column: 1 / -1; position: relative; margin-top: 12px; padding: 0 9% 40px 0; }
.shot-desk { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.shot-desk img { display: block; width: 100%; }
.shot-phone {
  position: absolute; right: 0; bottom: 0; width: 23%;
  background: #0b0c0f; border-radius: clamp(18px, 3vw, 34px); padding: clamp(5px, .7vw, 8px); box-shadow: var(--shadow-lg);
}
.shot-phone img { display: block; width: 100%; border-radius: clamp(14px, 2.4vw, 27px); }

/* expertise */
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.xp { padding: clamp(26px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; }
.xp .ticks { margin-top: 4px; }
.logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.logos li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--bg); }
.logos svg { width: 17px; height: 17px; fill: currentColor; color: var(--ink); flex: none; }

.marquee { margin-top: clamp(48px, 6vw, 72px); }
.marquee-label { text-align: center; font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.marquee-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-list { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track:hover .marquee-list { animation-play-state: paused; }
.marquee-list li { display: inline-flex; align-items: center; gap: 10px; margin-right: 48px; font-size: 17px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.marquee-list svg { width: 26px; height: 26px; fill: currentColor; color: var(--ink); }

/* how we work (graphite band) */
.section-ink { background: var(--night); color: var(--night-ink); }
.section-ink .eyebrow { color: var(--accent); }
.section-ink .section-lede { color: var(--night-muted); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { padding: 30px; border-radius: var(--radius-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.promise h3 { font-size: 22px; margin-bottom: 10px; color: var(--night-ink); }
.promise p { color: var(--night-muted); font-size: 16.5px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--night-line); }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 18px; color: var(--night-ink); margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--night-muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.next { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.next li { counter-increment: n; display: flex; gap: 14px; align-items: baseline; font-size: 16.5px; color: var(--ink-2); }
.next li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 13px; font-weight: 700; color: var(--ink); transform: translateY(-1px); }
.contact-mail { margin-top: 28px; font-size: 16.5px; color: var(--muted); }
.contact-mail a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--accent); }

.form { padding: clamp(24px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 14.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--bg);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field .invalid, .field input:user-invalid, .field textarea:user-invalid { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: #dc2626; }

/* footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p, .footer-mail { color: var(--muted); font-size: 15px; }
.footer-mail:hover { color: var(--ink); }
.footer-copy { margin-left: auto; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes ticker { to { transform: translateX(-400px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────────────────────── responsive ─────────────────────────── */
@media (max-width: 1040px) {
  .problems, .packages { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .expertise { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .promises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .problems, .packages { grid-template-columns: 1fr; }
  .problem, .pkg, .promise { padding: 24px; }
  .pkg-featured { padding: 23px; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn, .form .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .case-shots { padding: 0 6% 28px 0; }
  .shot-phone { width: 30%; }
  .footer-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
