/* CGRabbit site. Structure follows the blueprint in
   .claude/skills/replicar-site-referencia/referencias/structurewebworks.md
   Written from scratch. Brand: base neutral, accent #0053F7, Instrument Sans, max weight 600. */

/* Instrument Sans, self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). Variable font: one file per subset covers 400 to 600. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* neutrals (cool, near black) */
  --bg: #0b0b0d;
  --bg-2: #111114;
  --panel: #141417;
  --card: #18181b;
  --raised: #1f1f23;
  --chip: #2a2a2f;
  --line-3: #3a3a41;
  --faint: #8a8a94;
  --muted: #a1a1aa;
  --text: #fafafa;
  --paper: #fafafa;
  --paper-2: #f1f1f3;
  --paper-3: #e4e4e7;
  /* brand accent */
  --blue: #0053f7;
  --blue-hover: #1f66ff;
  --blue-deep: #0046d1;
  --blue-ink: #5a8dff; /* accent text on dark (6.2:1) */
  --on-blue: #ffffff;
  --ok: #4ade80;
  /* lines */
  --border: rgba(250, 250, 250, 0.08);
  --border-strong: rgba(250, 250, 250, 0.16);
  /* shape */
  --r-card: 24px;
  --r-stack: 28px;
  --r-inner: 16px;
  --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 32px 64px -24px rgba(0, 0, 0, 0.6);
  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-med: 0.6s;
  --t-slow: 1.1s;
  /* type */
  --font: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
}
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; border-radius: var(--r-pill); cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform 0.5s var(--ease);
}
.btn { background: var(--blue); color: var(--on-blue); padding: 12px 22px; border: 0; }
.btn:hover { background: var(--blue-hover); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); padding: 12px 24px; background: transparent; }
.btn-ghost:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn .arr, .btn-ghost .arr { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover .arr, .btn-ghost:hover .arr { transform: translate(3px, -1px); }
.btn-lg { font-size: 15px; padding: 16px 24px; width: 100%; justify-content: center; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); font-weight: 500;
}
.eyebrow::before { content: "\2022\00a0"; }
.h2 { font-size: 44px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin-top: 16px; }
.h2 em, .display em { color: var(--muted); }
.h2-xl { font-size: 56px; line-height: 1.08; letter-spacing: -0.025em; }
.sub { color: var(--muted); font-size: 17px; line-height: 1.55; margin-top: 20px; max-width: 560px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 80; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links > li > a, .nav-links > li > button { color: var(--muted); background: none; border: 0; padding: 8px 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-size: inherit; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.has-mega { position: relative; }
.caret { width: 10px; height: 10px; transition: transform 0.45s var(--ease); }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: 100%; left: 50%; padding-top: 18px; z-index: 90;
  transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  transition: opacity 0.35s, transform 0.55s var(--ease);
  text-transform: none; letter-spacing: normal;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-panel {
  width: 780px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55); padding: 24px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px;
}
.mega-panel.one { width: 560px; grid-template-columns: 1fr; }
.mega-hd { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); font-weight: 500; margin-bottom: 12px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; transition: background 0.3s; }
.mega-item:hover { background: var(--raised); }
.mega-num { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--chip); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--blue-ink); }
.mega-item b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.mega-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.mega-cta { background: var(--blue); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; color: var(--on-blue); }
.mega-cta .t { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.mega-cta .s { font-size: 12.5px; opacity: 0.88; margin-top: 8px; line-height: 1.5; }
.mega-cta .p { margin-top: auto; padding-top: 18px; }
.mega-cta .p i { font-style: normal; background: var(--bg); color: var(--paper); border-radius: var(--r-pill); padding: 10px 18px; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; transition: transform 0.4s var(--ease); }
.mega-cta:hover .p i { transform: translateY(-2px); }

.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 12px 11px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--r-pill); cursor: pointer; }
.menu-btn span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; }
.overlay { position: fixed; inset: 0; background: rgba(5, 5, 7, 0.6); opacity: 0; pointer-events: none; z-index: 100; transition: opacity 0.3s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg-2);
  border-left: 1px solid var(--border); box-shadow: -32px 0 64px -24px rgba(0, 0, 0, 0.6); z-index: 101;
  display: flex; flex-direction: column; padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.menu-open .overlay { opacity: 1; pointer-events: auto; }
.menu-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.drawer-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.drawer-nav { display: flex; flex-direction: column; margin-top: 16px; flex: 1; }
.drawer-nav > a, .drawer-nav summary { padding: 16px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; border-bottom: 1px solid var(--border); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .caret { transform: rotate(180deg); }
.drawer-nav details { border-bottom: 1px solid var(--border); }
.drawer-nav details summary { border-bottom: 0; }
.drawer-nav details a { display: block; padding: 10px 0 10px 4px; font-size: 15px; color: var(--muted); }
.drawer-nav details a:last-child { padding-bottom: 16px; }
.drawer-nav a:hover { color: var(--blue-ink); }
.drawer .btn-lg { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 24px 0 0; }
.glow { position: absolute; left: 50%; top: 34%; width: 1100px; max-width: 100%; height: 620px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(0, 83, 247, 0.16), transparent 62%); pointer-events: none; }
.rating { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 18px; font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 14px; height: 14px; fill: var(--blue-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
.display { position: relative; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.05; font-weight: 500; letter-spacing: -0.028em; margin: 28px auto 0; max-width: 980px; }
.lede { position: relative; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 600px; margin: 24px auto 0; }
.actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.ticks { position: relative; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; margin-top: 30px; font-size: 13px; color: var(--faint); }
.ticks li { display: inline-flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

.stage { position: relative; max-width: 1180px; margin: 64px auto 0; height: 560px; }
.browser {
  position: absolute; left: calc(50% - 400px); bottom: 0; width: 800px; background: var(--panel);
  border: 1px solid var(--border-strong); border-radius: 24px 24px 0 0; box-shadow: var(--shadow-float); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--chip); flex: none; }
.browser-bar .url { flex: 1; height: 24px; background: var(--card); border-radius: var(--r-pill); margin: 0 70px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.browser-shot { position: relative; height: 470px; overflow: hidden; }
.browser-shot img { width: 100%; }
.browser-shot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); }
.float { position: absolute; background: var(--card); border: 1px solid var(--border-strong); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-float); text-align: left; z-index: 2; }
.float .l { font-size: 11px; color: var(--faint); }
.float .v { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.2; }
.float .v small { display: block; font-size: 12px; font-weight: 500; color: var(--blue-ink); letter-spacing: 0; margin-top: 4px; }
.float-bar { display: flex; gap: 6px; margin-top: 14px; }
.float-bar i { height: 6px; flex: 1; border-radius: 3px; background: var(--chip); }
.float-bar i.on { background: var(--blue); }
.float-phone { position: absolute; width: 210px; border-radius: 30px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); z-index: 2; background: #eeeee3; }
.f-a { left: 2%; top: 60px; width: 240px; }
.f-b { right: 2%; top: 30px; width: 230px; }
.f-c { right: 6%; bottom: 70px; width: 250px; }
.f-phone { left: 6%; bottom: -40px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 56px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-half { display: flex; gap: 12px; padding-right: 12px; }
.mq-item { display: inline-flex; align-items: center; justify-content: center; height: 64px; min-width: 170px; padding: 0 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* stacked sticky cards */
.stack { display: flex; flex-direction: column; gap: 30px; margin-top: 48px; }
.stack-card {
  position: sticky; top: calc(104px + var(--i, 0) * 22px);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-stack);
  padding: 40px 56px; display: grid; grid-template-columns: 70px 440px 1fr; gap: 56px; align-items: center;
  transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s;
}
.stack-card:nth-child(even) { background: var(--raised); }
.stack-card:hover { border-color: var(--border-strong); }
.stack-idx { align-self: start; margin-top: 10px; font-size: 13px; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; }
.stack-art { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; height: 260px; overflow: hidden; }
.stack-title { font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.stack-tag { margin-top: 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); font-weight: 500; }
.stack-text { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 14px; max-width: 640px; }
.stack-text + .stack-text { margin-top: 10px; }
.stack-link { display: inline-flex; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.stack-link:hover { border-color: var(--text); }
.stack-card.is-accent { background: var(--blue); border-color: transparent; color: var(--on-blue); }
.stack-card.is-accent .stack-idx { color: var(--on-blue); opacity: 0.88; }
.stack-card.is-accent .stack-tag { color: var(--on-blue); opacity: 0.92; }
.stack-card.is-accent .stack-text { color: var(--on-blue); opacity: 0.9; }
.stack-card.is-accent .stack-art { background: rgba(5, 10, 30, 0.22); border-color: transparent; }
.stack-card.is-accent .stack-link { color: var(--on-blue); border-color: rgba(255, 255, 255, 0.5); }
.stack--tall .stack-art { height: 340px; }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.bento-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 12px; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease), border-color 0.4s, background 0.5s; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--raised); }
.bento-vis { position: relative; height: 230px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.bento-body { padding: 24px 16px 18px; }
.bento-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.bento-body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 10px; max-width: 520px; }
.bento-body .now { color: var(--text); margin-top: 12px; font-size: 14px; }
.bento-body .now b { color: var(--blue-ink); font-weight: 600; }

/* logo / stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.tile { min-height: 96px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-inner); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; text-align: center; transition: border-color 0.4s, background 0.5s; }
a.tile:hover { border-color: var(--border-strong); background: var(--raised); }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.tile:hover .wordmark { color: var(--text); }
.wordmark small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.tiles .tile { justify-content: flex-start; padding-top: 26px; }
.stat-n { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat-l { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.45; max-width: 220px; }

/* card grid (industries / under the hood) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.icard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; color: var(--text); transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s; }
a.icard:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--raised); }
.icard-idx { font-size: 12px; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; }
.icard-corner { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform 0.5s var(--ease); }
a.icard:hover .icard-corner { transform: rotate(45deg); }
.icard h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; margin-top: 36px; line-height: 1.2; }
.icard p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 10px; max-width: 320px; }
.icard-vis { margin-top: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-inner); padding: 14px; }
.proof { margin-top: auto; padding-top: 22px; }
.proof .lbl { font-size: 12px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; padding: 6px 13px; border-radius: var(--r-pill); background: var(--chip); border: 1px solid var(--border); color: var(--muted); font-size: 12px; white-space: nowrap; }
.icard.is-accent { background: var(--blue); border-color: transparent; }
a.icard.is-accent:hover { background: var(--blue-hover); }
.icard.is-accent .icard-idx, .icard.is-accent .proof .lbl { color: var(--on-blue); opacity: 0.88; }
.icard.is-accent p { color: var(--on-blue); opacity: 0.9; }
.icard.is-accent .chip { background: rgba(5, 10, 30, 0.2); border-color: transparent; color: var(--on-blue); }
.icard.is-accent .icard-corner { background: var(--bg); color: var(--paper); }
.icard.is-accent .icard-vis { background: rgba(5, 10, 30, 0.22); border-color: transparent; }

/* mini vignettes (generic skeleton rows) */
.vrow { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.vrow + .vrow { margin-top: 8px; }
.vrow .sk { height: 6px; border-radius: 3px; background: var(--chip); flex: 1; max-width: 120px; }
.vrow .tag { margin-left: auto; background: var(--paper); color: var(--bg); border-radius: var(--r-pill); padding: 3px 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.vrow .tag.o { background: transparent; border: 1px solid var(--border-strong); color: var(--muted); font-weight: 500; }
.vrow .av { width: 24px; height: 24px; border-radius: 50%; background: var(--chip); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--muted); flex: none; }
.is-accent .vrow { background: rgba(5, 10, 30, 0.22); border-color: transparent; color: rgba(255, 255, 255, 0.85); }
.is-accent .vrow .sk { background: rgba(255, 255, 255, 0.25); }
.is-accent .vrow .av { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* case rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.rail-arrows { display: flex; gap: 10px; padding-bottom: 8px; }
.rail-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--chip); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--t-fast) var(--ease); font-size: 16px; }
.rail-arrow:hover { background: var(--paper); color: var(--bg); transform: translateY(-2px); }
.rail { display: flex; gap: 20px; margin-top: 48px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100% - 1400px) / 2)) 8px; scroll-snap-type: x proximity; scroll-padding-left: max(var(--gutter), calc((100% - 1400px) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.case-card { flex: 0 0 380px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-stack); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s; }
.case-card:hover { border-color: var(--border-strong); background: var(--raised); transform: translateY(-4px); }
.case-top { padding: 22px 22px 24px; }
.case-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-chips .c { display: inline-flex; padding: 7px 14px; border-radius: var(--r-pill); background: var(--paper); color: var(--bg); font-size: 12px; font-weight: 600; white-space: nowrap; }
.case-chips .c.o { background: transparent; border: 1px solid var(--border-strong); color: var(--muted); font-weight: 500; }
.case-card h3 { margin-top: 22px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.case-card p { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 300px; }
.case-img { position: relative; flex: 1; min-height: 280px; margin: 0 8px 8px; border-radius: 22px; overflow: hidden; background: var(--panel); }
.case-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-read { position: absolute; bottom: 14px; left: 14px; display: inline-flex; align-items: center; gap: 10px; background: rgba(11, 11, 13, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--r-pill); padding: 6px 6px 6px 18px; font-size: 13px; font-weight: 600; color: var(--paper); white-space: nowrap; }
.case-read i { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.case-metric { position: absolute; top: 14px; right: 14px; background: var(--paper); color: var(--bg); border-radius: var(--r-pill); padding: 7px 14px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.case-card.is-accent { background: var(--blue); border-color: transparent; }
.case-card.is-accent:hover { background: var(--blue-hover); }
.case-card.is-accent p { color: var(--on-blue); opacity: 0.9; }
.case-card.is-accent .case-chips .c.o { border-color: rgba(255, 255, 255, 0.45); color: var(--on-blue); }
.case-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 26px 20px 80px; }

/* process zigzag */
.zig { position: relative; margin-top: 48px; }
.z-row { display: flex; }
.z-row.r { justify-content: flex-end; }
.z-row.p1 { padding-left: 120px; }
.z-row.p2 { padding-right: 120px; }
.z-link { position: relative; height: 48px; }
.z-link::before { content: ""; position: absolute; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 12px); left: var(--x1); right: var(--x2); }
.z-link::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; left: var(--x1); background: repeating-linear-gradient(180deg, var(--line-3) 0 6px, transparent 6px 12px); clip-path: inset(0 0 50% 0); }
.z-link.rev::after { clip-path: inset(50% 0 0 0); }
.z-link.rev .end { clip-path: inset(0 0 50% 0) !important; }
.z-link .end { position: absolute; top: 0; bottom: 0; width: 2px; right: var(--x2); background: repeating-linear-gradient(180deg, var(--line-3) 0 6px, transparent 6px 12px); clip-path: inset(50% 0 0 0); }
.z-card { display: flex; width: 480px; max-width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s; }
.z-card:hover { transform: translateY(-4px); background: var(--raised); border-color: var(--border-strong); }
.z-tab { flex: none; width: 44px; margin: 8px 0 8px 8px; border-radius: 18px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.z-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.z-body { padding: 20px 24px 22px 20px; }
.z-hd { display: flex; align-items: center; gap: 12px; }
.z-num { width: 38px; height: 38px; border-radius: 50%; background: var(--chip); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--blue-ink); flex: none; }
.z-hd b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.z-body p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.z-card.is-accent { background: var(--blue); border-color: transparent; }
.z-card.is-accent:hover { background: var(--blue-hover); }
.z-card.is-accent .z-num { background: rgba(5, 10, 30, 0.22); border-color: transparent; color: #fff; }
.z-card.is-accent p { color: var(--on-blue); opacity: 0.9; }

/* split: copy + rolling feed */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.split .h2 { margin-top: 20px; }
.social { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.social .stars svg { width: 18px; height: 18px; }
.social p { font-size: 13px; color: var(--muted); }
.quote { margin-top: 32px; padding-left: 20px; border-left: 2px solid var(--blue); font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 460px; }
.feed { position: relative; height: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.feed-track { display: flex; flex-direction: column; }
.feed-half { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; }
.day { background: var(--paper); color: #111114; border-radius: 20px; padding: 8px; box-shadow: var(--shadow-float); }
.day-hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.day-hd span:last-child { color: #5b5b66; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.ev { display: flex; align-items: center; gap: 12px; background: var(--paper-2); border-radius: 14px; padding: 12px 14px; }
.ev + .ev { margin-top: 8px; }
.ev-av { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-3); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #4b4b55; flex: none; }
.ev-nm { font-size: 13px; font-weight: 600; }
.ev-tm { font-size: 11.5px; color: #5b5b66; margin-top: 2px; }
.ev-tag { margin-left: auto; font-size: 11.5px; color: #5b5b66; white-space: nowrap; }
.ev-tag.hi { background: var(--blue); color: #fff; font-weight: 600; border-radius: var(--r-pill); padding: 4px 10px; }

/* closer + footer */
.closer { position: relative; text-align: center; padding: 140px 0 120px; overflow: hidden; }
.closer .glow { top: 45%; width: 1000px; height: 560px; }
.closer h2 { position: relative; font-size: 60px; line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; margin: 22px auto 0; max-width: 820px; }
.closer h2 em { color: var(--muted); }
.closer .sub { position: relative; margin: 22px auto 0; max-width: 540px; }
.closer .actions { margin-top: 38px; }
.trust { position: relative; margin-top: 22px; font-size: 13px; color: var(--faint); display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust .stars svg { width: 13px; height: 13px; }

.foot-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 32px; margin: 0 var(--gutter) 48px; padding: 56px 56px 0; }
.foot-card-in { max-width: 1368px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 360px 1fr; gap: 80px; }
.foot-brand img { height: 30px; width: auto; }
.foot-line { font-size: 14px; color: var(--muted); margin-top: 20px; line-height: 1.6; max-width: 320px; }
.foot-mail { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.foot-mail:hover { border-color: var(--text); }
.foot-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 56px; justify-content: end; }
.foot-col-t { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; white-space: nowrap; }
.foot-col a:hover { color: var(--blue-ink); }
.legal { border-top: 1px solid var(--border); margin-top: 52px; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
.legal nav { display: flex; gap: 18px; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--text); }

/* ---------- case pages ---------- */
.case-hero { padding: 40px 0 0; }
.case-hero .display { margin: 22px 0 0; text-align: left; max-width: 1020px; }
.case-hero .lede { margin: 24px 0 0; text-align: left; max-width: 680px; }
.case-hero .actions { justify-content: flex-start; }
.card-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--border); border-radius: var(--r-inner); overflow: hidden; }
.card-meta div { padding: 18px 20px; border-right: 1px solid var(--border); }
.card-meta div:last-child { border-right: 0; }
.card-meta dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.card-meta dd { margin: 6px 0 0; font-size: 15px; font-weight: 500; }
.case-shot { margin-top: 48px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); background: var(--panel); }
.case-shot img { width: 100%; }
.cap { font-size: 13px; color: var(--faint); margin-top: 12px; }
.chapter { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding: 72px 0; border-top: 1px solid var(--border); }
.chapter:first-of-type { border-top: 0; }
.chapter-label { position: sticky; top: 32px; align-self: start; }
.chapter-label h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-top: 12px; }
.chapter-body { max-width: 760px; }
.chapter-body > p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.chapter-body > p + p { margin-top: 16px; }
.chapter-body > p strong { color: var(--text); font-weight: 500; }
.pain-list { margin-top: 28px; display: grid; gap: 12px; }
.pain-list li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-inner); padding: 18px 20px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.pain-list li b { display: block; color: var(--text); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.built { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.built li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-inner); padding: 20px; }
.built li .n { font-family: var(--mono); font-size: 11px; color: var(--blue-ink); }
.built li b { display: block; font-size: 17px; font-weight: 600; margin-top: 10px; letter-spacing: -0.01em; }
.built li p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.results { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.results li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-inner); padding: 22px; }
.results .rn { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.results .rl { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.plain { margin-top: 28px; padding: 26px 28px; border-radius: var(--r-card); background: var(--blue); color: #fff; font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.plain span { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; font-weight: 500; margin-bottom: 10px; }
.hood { margin-top: 24px; font-size: 14px; line-height: 1.65; color: var(--faint); border-left: 2px solid var(--line-3); padding-left: 18px; }
.hood b { color: var(--muted); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; border: 1px solid var(--border); width: 100%; background: var(--panel); }
.gallery figcaption { font-size: 13px; color: var(--faint); margin-top: 10px; line-height: 1.45; }
.next-case { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 36px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); margin-top: 24px; transition: border-color 0.4s, background 0.5s; }
.next-case:hover { border-color: var(--border-strong); background: var(--raised); }
.next-case .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.next-case .t { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.next-case .go { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- product mocks ---------- */
.phone { border-radius: 30px; overflow: hidden; border: 1px solid var(--border-strong); background: #f3f1e6; box-shadow: var(--shadow-float); }
.art-row { position: absolute; inset: 0; display: flex; gap: 16px; align-items: flex-start; justify-content: center; padding: 22px 22px 0; }
.art-row .phone { width: 31%; flex: none; }
.art-row .phone.lg { width: 44%; }
.art-row .desk { flex: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.art-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, transparent, var(--panel)); pointer-events: none; z-index: 3; }
.is-accent .art-fade::after { background: linear-gradient(180deg, rgba(1, 67, 199, 0), #0143c7); }
.art-list { flex: 1; display: flex; flex-direction: column; padding-top: 6px; min-width: 0; }
.art-list .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 2px 0 10px; }
.sample-tag { position: absolute; z-index: 4; bottom: 12px; right: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(11, 11, 13, 0.82); color: var(--paper); padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); }

/* Winfield-faithful dashboard mock (sample data only) */
.wd { --w-ink: #231f20; --w-bronze: #825d2d; --w-cream: #fff8ed; --w-cream-2: #f1f1e3; --w-line: #e3e0cf; position: absolute; inset: 18px 18px 0; display: grid; grid-template-columns: 118px 1fr; background: var(--w-cream); color: var(--w-ink); border-radius: 14px 14px 0 0; overflow: hidden; font-size: 11px; box-shadow: var(--shadow-float); }
.wd-side { background: var(--w-cream-2); border-right: 1px solid var(--w-line); padding: 14px 10px; }
.wd-logo { font-size: 15px; font-weight: 600; font-style: italic; letter-spacing: -0.02em; padding: 0 6px 12px; }
.wd-grp { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #6d665c; padding: 10px 6px 4px; }
.wd-nav { padding: 5px 6px; border-radius: 6px; color: #3a3330; display: flex; justify-content: space-between; }
.wd-nav.on { background: #fff; color: var(--w-ink); font-weight: 600; border: 1px solid var(--w-line); }
.wd-nav em { font-size: 9px; background: var(--w-ink); color: #fff; border-radius: 99px; padding: 0 6px; }
.wd-main { padding: 14px 16px; overflow: hidden; }
.wd-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wd-top b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.wd-sel { border: 1px solid var(--w-line); background: #fff; border-radius: 99px; padding: 4px 10px; font-size: 10.5px; white-space: nowrap; }
.wd-tabs { display: flex; gap: 14px; margin-top: 12px; border-bottom: 1px solid var(--w-line); font-size: 10.5px; color: #6d665c; }
.wd-tabs span { padding-bottom: 7px; }
.wd-tabs span.on { color: var(--w-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--w-bronze); }
.wd-table { margin-top: 8px; }
.wd-tr { display: grid; grid-template-columns: 1.3fr 0.9fr 0.8fr 1fr; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--w-line); white-space: nowrap; }
.wd-tr.h { color: #6d665c; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 4px; }
.wd-tr span { overflow: hidden; text-overflow: ellipsis; }
.wd-src { border: 1px solid var(--w-line); border-radius: 99px; padding: 1px 8px; font-size: 10px; background: #fff; justify-self: start; }
.wd-src.ez { border-color: var(--w-ink); }
.wd-st { font-size: 10.5px; }
.wd-btn { border: 1px solid var(--w-ink); border-radius: 99px; padding: 2px 9px; font-size: 10px; justify-self: start; background: transparent; }
.wd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wd-card { background: #fff; border: 1px solid var(--w-line); border-radius: 10px; padding: 10px 12px; }
.wd-card .k { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6d665c; }
.wd-card .r { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 10.5px; white-space: nowrap; }
.wd-card .r i { font-style: normal; color: var(--w-bronze); }
.wd-ez { position: absolute; inset: 22px 22px 0; background: #fff8ed; color: #231f20; border-radius: 14px 14px 0 0; padding: 16px 18px; box-shadow: var(--shadow-float); font-size: 11.5px; }
.wd-ez .wd-tr { grid-template-columns: 1.4fr 0.9fr 1fr 1fr; }

/* live map mock */
.map { position: absolute; inset: 0; background-color: #e9e6d9; background-image:
  linear-gradient(0deg, rgba(255, 255, 255, 0.75) 2px, transparent 2px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.75) 2px, transparent 2px),
  linear-gradient(0deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 30px 30px, 30px 30px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card { position: absolute; left: 18px; bottom: 18px; width: min(280px, calc(100% - 36px)); background: #fff8ed; color: #231f20; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); z-index: 2; }
.map-card .k { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #6d665c; }
.map-card b { display: block; font-size: 16px; font-weight: 600; margin-top: 4px; letter-spacing: -0.01em; }
.steps { display: flex; gap: 6px; margin-top: 12px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: #ddd8c6; }
.steps i.on { background: #231f20; }
.map-card .s { font-size: 11px; color: #5b554c; margin-top: 8px; }

/* customer app mock */
.capp { background: #fff8ed; color: #231f20; padding: 18px 16px 22px; font-size: 12px; height: 100%; }
.capp-hi { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.capp-pill { display: inline-block; margin-top: 8px; background: #f0e6d6; color: #825d2d; border-radius: 99px; padding: 3px 10px; font-size: 10.5px; font-weight: 600; }
.capp-card { background: #231f20; color: #fff8ed; border-radius: 14px; padding: 14px; margin-top: 14px; }
.capp-card .k { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.capp-card b { display: block; font-size: 17px; font-weight: 600; margin-top: 6px; }
.capp-card span { display: block; font-size: 10.5px; opacity: 0.8; margin-top: 4px; }
.capp-grp { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6d665c; margin-top: 14px; }
.capp-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3e0cf; border-radius: 12px; padding: 10px 12px; margin-top: 7px; }
.capp-row b { font-weight: 600; font-size: 12px; display: block; }
.capp-row span { font-size: 10.5px; color: #6d665c; }
.capp-tg { display: flex; gap: 6px; margin-top: 12px; }
.capp-tg span { border: 1px solid #e3e0cf; border-radius: 99px; padding: 4px 12px; font-size: 11px; background: #fff; }
.capp-tg span.on { background: #231f20; color: #fff8ed; border-color: #231f20; }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .stagger.in > * { opacity: 1; transform: none; }
  .js .stagger.in > :nth-child(2) { transition-delay: 0.09s; }
  .js .stagger.in > :nth-child(3) { transition-delay: 0.18s; }
  .js .stagger.in > :nth-child(4) { transition-delay: 0.27s; }
  .js .stagger.in > :nth-child(5) { transition-delay: 0.36s; }
  .js .stagger.in > :nth-child(6) { transition-delay: 0.45s; }
  .js .up { opacity: 0; transform: translateY(24px); animation: up var(--t-slow) var(--ease) forwards; }
  .d1 { animation-delay: 0.05s !important; } .d2 { animation-delay: 0.18s !important; } .d3 { animation-delay: 0.31s !important; }
  .d4 { animation-delay: 0.44s !important; } .d5 { animation-delay: 0.6s !important; } .d6 { animation-delay: 0.8s !important; }
  @keyframes up { to { opacity: 1; transform: none; } }
  .js .float.up, .js .float-phone.up { animation: up var(--t-slow) var(--ease) forwards, bob 7s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  .marquee-track { animation: mq 46s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes mq { to { transform: translateX(-50%); } }
  .feed-track { animation: feedup 32s linear infinite; }
  .feed:hover .feed-track { animation-play-state: paused; }
  @keyframes feedup { to { transform: translateY(-50%); } }
  .live-dot { animation: ping 2.2s ease-out infinite; }
  @keyframes ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); } 60% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
  .z-link::before { animation: dashx 0.8s linear infinite; }
  @keyframes dashx { to { background-position-x: 12px; } }
  .pulse { animation: ping2 2.4s ease-out infinite; }
  @keyframes ping2 { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 83, 247, 0.5); } 60% { box-shadow: 0 0 0 9px rgba(0, 83, 247, 0); } }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .stack-card { grid-template-columns: 56px 360px 1fr; gap: 40px; padding: 36px 40px; }
  .foot-cols { gap: 40px; }
}
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { justify-content: start; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .stage { height: auto; padding-bottom: 8px; }
  .browser { position: static; width: 100%; }
  .browser-shot { height: auto; max-height: 460px; }
  .float, .float-phone { display: none; }
  .stack-card { position: static; grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .stack-idx { margin-top: 0; }
  .stack-art, .stack--tall .stack-art { height: 300px; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .feed { height: 420px; }
  .z-row, .z-row.r { justify-content: flex-start; padding: 0 !important; }
  .z-card { width: 100%; }
  .z-link { height: 16px; }
  .z-link::before, .z-link::after, .z-link .end { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
  .chapter-label { position: static; }
  .card-meta { grid-template-columns: repeat(2, 1fr); }
  .card-meta div:nth-child(2) { border-right: 0; }
  .card-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .closer { padding: 90px 0 72px; }
  .closer h2 { font-size: 38px; }
  .foot-card { padding: 36px 24px 0; border-radius: 24px; margin: 0 16px 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-col a { white-space: normal; }
  .built, .results { grid-template-columns: 1fr; }
  .gallery, .gallery.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .h2 { font-size: 32px; }
  .h2-xl { font-size: 36px; }
  .grid3 { grid-template-columns: 1fr; }
  .case-card { flex-basis: 300px; }
  .case-card h3 { font-size: 26px; }
  .rail-arrows { display: none; }
  .stack-title { font-size: 25px; }
  .stack-card { padding: 24px 20px; border-radius: 24px; }
  .stack-art, .stack--tall .stack-art { height: 280px; }
  .browser-bar .url { margin: 0 12px; }
  .lede { font-size: 17px; }
  .marquee { padding-top: 40px; }
  .mq-item { height: 54px; min-width: 140px; padding: 0 22px; font-size: 14px; }
  .chapter-body > p { font-size: 17px; }
  .next-case { padding: 24px; }
  .next-case .t { font-size: 21px; }
  .wd { grid-template-columns: 1fr; }
  .wd-side { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .actions .btn, .actions .btn-ghost { width: 100%; justify-content: center; }
  .ticks { flex-direction: column; align-items: center; gap: 8px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-n { font-size: 36px; }
  .card-meta { grid-template-columns: 1fr; }
  .card-meta div { border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .card-meta div:last-child { border-bottom: 0; }
  .wd-tr, .wd-ez .wd-tr { grid-template-columns: 1.3fr 1fr 1fr; }
  .wd-tr > :nth-child(3) { display: none; }
  .art-row { padding: 16px 12px 0; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-ghost, .stack-card, .bento-card, .icard, .case-card, .z-card { transition: none; }
}

/* ---------- additions: art variants, faq, case diagram ---------- */
.art-img { position: absolute; inset: 0; }
.art-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.art-duo { position: absolute; inset: 16px; display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.art-duo > div { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-strong); }
.art-duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform 0.45s var(--ease), background 0.3s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--chip); }
.faq summary:hover .pm { border-color: var(--paper); }
.faq p { color: var(--muted); font-size: 16px; line-height: 1.6; padding: 0 56px 26px 0; max-width: 760px; }

.case-diagram { margin-top: 48px; border-radius: var(--r-card); border: 1px solid var(--border-strong); background: var(--panel); padding: 40px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.case-diagram .col { display: grid; gap: 12px; }
.case-diagram .vrow { font-size: 14px; padding: 16px 18px; }
.case-diagram .to { font-size: 28px; color: var(--blue-ink); }
.case-diagram .one { background: var(--blue); color: #fff; border-radius: 18px; padding: 28px; }
.case-diagram .one b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.case-diagram .one span { display: block; font-size: 14px; opacity: 0.88; margin-top: 8px; line-height: 1.5; }
.status-note { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-inner); border: 1px dashed var(--border-strong); color: var(--muted); font-size: 15px; line-height: 1.6; }
.live-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 1024px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .case-diagram { grid-template-columns: 1fr; padding: 24px; }
  .case-diagram .to { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 480px) {
  .art-two .phone { width: 47% !important; }
  .capp { padding: 14px 12px; }
  .capp-hi { font-size: 18px; }
  .faq summary { font-size: 17px; }
  .faq p { padding-right: 0; }
}

/* =====================================================================
   v2 (2026-10-07): reference interactions, clickable cards + modal,
   iPhone mockup, glass hero floats, integrations, 30-day band.
   Hover values copied from the blueprint: lift -4px, border-strong,
   raised background, transform .6s / background .5s / border .4s,
   art zoom 1.03 over .7s, arrow circle slides in (.45s opacity, .6s move).
   ===================================================================== */

/* stack cards: clickable, arrow circle, art zoom */
.stack-card:has(.card-hit) { cursor: pointer; }
.stack-card:hover, .stack-card:focus-within { border-color: var(--border-strong); background: var(--raised); transform: translateY(-4px); }
.stack-card.is-accent:hover, .stack-card.is-accent:focus-within { background: var(--blue-hover); }
.stack-card:hover .stack-idx, .stack-card:focus-within .stack-idx { color: var(--blue-ink); }
.stack-card.is-accent:hover .stack-idx { color: var(--on-blue); }
.stack-art { transition: background 0.5s; }
.stack-card:hover .stack-art { background: var(--bg-2); }
.stack-art > .zoom { position: absolute; inset: 0; transition: transform 0.7s var(--ease); }
.stack-card:hover .stack-art > .zoom { transform: scale(1.03); }
.card-arrow { position: absolute; top: 24px; right: 24px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: 0; transform: translate(6px, -6px) scale(0.9); transition: opacity 0.45s, transform 0.6s var(--ease); pointer-events: none; }
.stack-card:hover .card-arrow, .stack-card:focus-within .card-arrow, .icard:hover .card-arrow, .icard:focus-within .card-arrow { opacity: 1; transform: none; }
.card-hit { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.card-hit:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 4px; }
.stack-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--text); }
.stack-more i { font-style: normal; transition: transform 0.4s var(--ease); display: inline-block; }
.stack-card:hover .stack-more i { transform: translate(3px, -1px); }
.stack-card.is-accent .stack-more { color: var(--on-blue); }

/* bento: reference tiles only change border on hover */
.bento-card:hover { transform: none; background: var(--card); border-color: var(--border-strong); }

/* clickable small cards (under the hood) */
.icard.is-clickable { cursor: pointer; transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s; }
.icard.is-clickable:hover, .icard.is-clickable:focus-within { transform: translateY(-4px); border-color: var(--border-strong); background: var(--raised); }
.icard.is-clickable.is-accent:hover, .icard.is-clickable.is-accent:focus-within { background: var(--blue-hover); }
.icard .card-arrow { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 15px; }

/* iPhone mockup (container units keep bezel, radius and island in proportion) */
.iphone { container-type: inline-size; width: 100%; flex: none; }
.iphone-body { position: relative; padding: 3.4cqw; border-radius: 15.5cqw; background: #0d0d0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 0.9cqw #1d1d21 inset, var(--shadow-float); }
.iphone-screen { position: relative; overflow: hidden; border-radius: 12.3cqw; aspect-ratio: 1284 / 2778; background: #fffcf4; }
.iphone-screen img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.iphone-screen.has-bar img { top: 12.6cqw; }
.iphone-screen.white { background: #fff; }
.iphone-bar { position: absolute; left: 0; right: 0; top: 0; height: 12.6cqw; display: flex; align-items: center; padding: 0 0 0 9.5cqw; font-size: 4.1cqw; font-weight: 600; color: #111; letter-spacing: -0.01em; }
.iphone-island { position: absolute; z-index: 2; top: 2.6cqw; left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000; }
.phones { position: absolute; inset: 0; display: flex; gap: 18px; align-items: flex-start; justify-content: center; padding: 34px 26px 0; }
.phones .iphone { width: 38%; }
.phones.three .iphone { width: 30%; }
.phones .desk { flex: 1; min-width: 0; margin-top: 30px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.art-shot { position: absolute; inset: 26px 26px auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.art-shot img { width: 100%; }

/* glass hero floats, closer to the reference */
.float { background: rgba(28, 28, 32, 0.66); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--border-strong); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-float); }
.float .fi { display: flex; align-items: center; gap: 10px; }
.float .ico { width: 30px; height: 30px; border-radius: 50%; flex: none; background: rgba(90, 141, 255, 0.14); border: 1px solid rgba(90, 141, 255, 0.28); color: var(--blue-ink); display: inline-flex; align-items: center; justify-content: center; }
.float .ico svg { width: 15px; height: 15px; }
.float .l { font-size: 11.5px; color: var(--faint); }
.float .v { font-size: 18px; margin-top: 10px; }
.float-note { display: flex; gap: 12px; align-items: flex-start; }
.float-note .av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--chip); border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--text); }
.float-note b { display: block; font-size: 13.5px; font-weight: 600; }
.float-note p { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.float-note small { display: block; font-size: 11px; color: var(--faint); margin-top: 6px; }
.float-route { margin-top: 12px; height: 34px; }
.float-route svg { width: 100%; height: 100%; }
.f2-a { left: 1%; top: 70px; width: 236px; }
.f2-b { right: 1%; top: 22px; width: 232px; }
.f2-c { left: 4%; bottom: 46px; width: 248px; }
.f2-d { right: 5%; bottom: 118px; width: 276px; }

/* 30-day band + what's live */
.band { position: relative; border-radius: 32px; border: 1px solid var(--border-strong); background: radial-gradient(120% 140% at 0% 0%, rgba(0, 83, 247, 0.22), transparent 55%), var(--bg-2); padding: 64px 56px; overflow: hidden; }
.band h2 { font-size: 56px; line-height: 1.06; font-weight: 500; letter-spacing: -0.025em; max-width: 820px; margin-top: 18px; }
.band h2 em { color: var(--muted); }
.band .sub { max-width: 620px; }
.live-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.live-list li { display: flex; align-items: center; gap: 12px; background: rgba(24, 24, 27, 0.8); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; transition: border-color 0.4s; }
.live-list li:hover { border-color: var(--border-strong); }
.live-list .ok { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.35); display: inline-flex; align-items: center; justify-content: center; }
.live-list .ok svg { width: 12px; height: 12px; stroke: var(--ok); }
.band-k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 40px; }
.band-k + .live-list { margin-top: 14px; }

/* integrations */
.integ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.integ-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; transition: border-color 0.4s, background 0.5s; }
.integ-card:hover { border-color: var(--border-strong); background: var(--raised); }
.integ-card .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); font-weight: 500; }
.integ-card .chips { margin-top: 14px; }
.integ-card .chip { font-size: 13px; color: var(--text); padding: 7px 14px; }
.integ-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-scrim { position: absolute; inset: 0; background: rgba(5, 5, 7, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s var(--ease); }
.modal.is-open .modal-scrim { opacity: 1; }
.modal-panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; background: var(--card); border: 1px solid var(--border-strong); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); display: grid; grid-template-columns: 1.05fr 1fr; opacity: 0; transform: translateY(18px) scale(0.985); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-media { position: relative; background: var(--panel); border-right: 1px solid var(--border); min-height: 420px; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; padding: 32px 28px 0; }
.modal-media .iphone { width: 46%; }
.modal-media .pair { display: flex; gap: 16px; width: 100%; justify-content: center; align-items: flex-start; }
.modal-media .pair .iphone { width: 46%; }
.modal-media .shot { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.modal-media .shot img { width: 100%; }
.modal-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, transparent, var(--panel)); pointer-events: none; }
.modal-body { padding: 44px 40px 36px; display: flex; flex-direction: column; }
.modal-body .stack-tag { margin-top: 0; }
.modal-body h3 { font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; margin-top: 12px; padding-right: 40px; }
.modal-body p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.modal-body .chips { margin-top: 18px; }
.modal-cap { font-size: 12.5px !important; color: var(--faint) !important; margin-top: 18px !important; }
.modal-actions { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(24, 24, 27, 0.8); color: var(--text); cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform 0.5s var(--ease); }
.modal-close:hover { background: var(--paper); color: var(--bg); transform: rotate(90deg); }
html.modal-lock, html.modal-lock body { overflow: hidden; }

@media (max-width: 1024px) {
  .stack-card { position: relative; top: auto; }
  .stack-card:hover, .stack-card:focus-within, .icard.is-clickable:hover { transform: none; }
  .card-arrow { opacity: 1; transform: none; }
  .integ { grid-template-columns: repeat(2, 1fr); }
  .live-list { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 48px 32px; }
  .band h2 { font-size: 44px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-media { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; height: 340px; }
  .modal-media .iphone { width: 42%; }
}
@media (max-width: 640px) {
  .band { padding: 36px 22px; border-radius: 24px; }
  .band h2 { font-size: 34px; }
  .live-list { grid-template-columns: 1fr; }
  .integ { grid-template-columns: 1fr; }
  .phones { gap: 12px; padding: 26px 16px 0; }
  .phones .iphone { width: 46%; }
  .phones.three .iphone { width: 31%; }
  .phones .desk { display: none; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; }
  .modal-media { height: 300px; padding: 24px 16px 0; }
  .modal-media .iphone { width: 52%; }
  .modal-media .pair .iphone { width: 46%; }
  .modal-body { padding: 28px 22px 26px; }
  .modal-body h3 { font-size: 24px; }
  .card-arrow { top: 16px; right: 16px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-scrim, .modal-panel, .stack-art > .zoom, .card-arrow, .modal-close { transition: none; }
}
.art-shot { top: 50%; transform: translateY(-50%); }
.modal-media.is-shot { align-items: center; padding: 32px; }
.modal-media.is-shot::after { display: none; }
@media (max-width: 1024px) { .modal-media.is-shot { height: auto; padding: 24px; } }
@media (max-width: 640px) {
  .stack-art:has(.art-shot) { height: 230px; }
  .art-shot { left: 16px; right: 16px; }
}
.modal-panel:has(.modal-media.is-shot) { width: min(1160px, 100%); grid-template-columns: 1.5fr 1fr; }
@media (max-width: 1024px) { .modal-panel:has(.modal-media.is-shot) { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .modal-media { padding-top: 70px; } .modal-media.is-shot { padding: 70px 16px 20px; } }

/* =====================================================================
   v3 (2026-10-07): mega icons, floating bar, scroll-in-frame shots,
   device pairs, differentiators bento, data band, hero slider, legal.
   ===================================================================== */

/* mega menu icons, centred in the circle */
.mega-ico { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--chip); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--blue-ink); }
.mega-ico svg { width: 16px; height: 16px; display: block; }
.mega-item:hover .mega-ico { background: var(--raised); border-color: var(--border-strong); }

/* floating bottom bar */
.floatbar { position: fixed; z-index: 95; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 20px; border-radius: var(--r-pill); background: rgba(24, 24, 27, 0.78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); transform: translate(-50%, 160%); opacity: 0; pointer-events: none; transition: transform 0.6s var(--ease), opacity 0.4s var(--ease); max-width: calc(100% - 32px); }
.floatbar.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.floatbar .fb-brand { display: inline-flex; flex: none; }
.floatbar .fb-brand img { height: 22px; width: auto; }
.floatbar .fb-text { font-size: 13px; color: var(--muted); white-space: nowrap; }
.floatbar .btn { padding: 11px 20px; }
.menu-open .floatbar, .modal-lock .floatbar { opacity: 0; pointer-events: none; }

/* page shot that scrolls by itself inside a frame (pauses on hover) */
.scrollshot { position: relative; overflow: hidden; background: var(--paper); }
.scrollshot img { display: block; width: 100%; height: auto; will-change: transform; }
.scrollshot.is-ready img { animation: shotscroll var(--dur, 30s) ease-in-out infinite alternate; animation-delay: 0.6s; }
.scrollshot:hover img, .scrollshot:focus-within img { animation-play-state: paused; }
@keyframes shotscroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(var(--dist, 0px)); } }
.scroll-hint { position: absolute; z-index: 3; left: 12px; bottom: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(11, 11, 13, 0.82); color: var(--paper); padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .scrollshot { overflow-y: auto; }
  .scrollshot.is-ready img { animation: none; }
}

/* browser frame used by scrollshots and the hero slider */
.bframe { background: var(--panel); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-float); }
.bframe .browser-bar { padding: 10px 14px; }
.bframe .browser-bar i { width: 9px; height: 9px; }
.bframe .browser-bar .url { height: 22px; margin: 0 40px; font-size: 10.5px; }

/* device pair: desktop browser + iPhone, both scrolling */
.devices { position: relative; padding: 0 0 40px; }
.devices .bframe .scrollshot { height: var(--frame-h, 460px); }
.devices .iphone { position: absolute; right: -8px; bottom: 0; width: 25%; min-width: 150px; max-width: 220px; }
.devices .iphone .iphone-screen .scrollshot { position: absolute; inset: 0; background: #fff; }
.devices.left-phone .iphone { right: auto; left: -8px; }
.devices-cap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 18px; font-size: 13px; color: var(--faint); }
.devices-cap a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-strong); padding-bottom: 1px; }
.devices-cap a:hover { border-color: var(--text); }
.art-devices { position: absolute; inset: 22px 22px 0; }
.art-devices .bframe .scrollshot { height: 260px; }
.art-devices .iphone { position: absolute; right: 0; top: 70px; width: 31%; }
.stack--tall .art-devices .bframe .scrollshot { height: 300px; }

/* differentiators */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.diff-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 12px; display: flex; flex-direction: column; transition: border-color 0.4s, background 0.5s, transform var(--t-med) var(--ease); }
.diff-card:hover { border-color: var(--border-strong); transform: translateY(-4px); background: var(--raised); }
.diff-card.wide { grid-column: span 2; }
.diff-card.is-accent { background: var(--blue); border-color: transparent; }
.diff-card.is-accent:hover { background: var(--blue-hover); }
.diff-vis { position: relative; height: 210px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.diff-card.is-accent .diff-vis { background: rgba(5, 10, 30, 0.22); border-color: transparent; }
.diff-body { padding: 22px 14px 16px; }
.diff-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.22; }
.diff-body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 10px; max-width: 520px; }
.diff-card.is-accent .diff-body p { color: rgba(255, 255, 255, 0.9); }
.diff-shot { position: absolute; inset: 18px 18px auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.diff-shot img { width: 100%; }
.diff-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--bg); font-size: 12px; font-weight: 600; border-radius: var(--r-pill); padding: 6px 12px; white-space: nowrap; }
.diff-pill.dark { background: var(--bg); color: var(--paper); border: 1px solid var(--border-strong); }
.bars { position: absolute; left: 22px; right: 22px; bottom: 34px; display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--chip); }
.bars i.on { background: var(--blue); }
.bars-l { position: absolute; left: 22px; right: 22px; bottom: 12px; display: flex; gap: 10px; font-size: 10.5px; color: var(--faint); }
.bars-l span { flex: 1; text-align: center; }
.bars-l span.on { color: var(--blue-ink); font-weight: 600; }
.diff-tag { position: absolute; top: 16px; right: 16px; }
.avrow2 { display: flex; align-items: center; }
.avrow2 span { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); border: 2px solid var(--panel); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.avrow2 span + span { margin-left: -10px; }
.avrow2 span.more { background: var(--bg); color: var(--paper); }
.diff-route { position: absolute; inset: 0; }
.diff-route svg { width: 100%; height: 100%; }
.diff-phones { position: absolute; inset: 20px 0 0; display: flex; justify-content: center; gap: 14px; }
.diff-phones .iphone { width: 34%; }

/* data band (trusted) */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.data-tile { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.4s; }
.data-tile:hover { border-color: var(--border-strong); }
.data-tile .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.data-tile .n { font-size: 52px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 18px; }
.data-tile .n.pending { color: var(--faint); letter-spacing: 0.2em; }
.data-tile .places { margin-top: 16px; font-size: 16px; line-height: 1.5; }
.data-tile .places span { color: var(--faint); }
.data-tile.span2 { grid-column: span 2; }
.trust-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.trust-note svg { width: 18px; height: 18px; flex: none; color: var(--blue-ink); }

/* who it's for: icon heads and varied vignettes */
.icard-head { display: flex; align-items: center; gap: 12px; }
.icard-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--blue-ink); }
.icard-ico svg { width: 18px; height: 18px; }
.icard.is-accent .icard-ico { background: rgba(5, 10, 30, 0.22); border-color: transparent; color: #fff; }
.icard-head + h3 { margin-top: 24px; }
.seg { display: flex; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; gap: 4px; font-size: 12px; }
.seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: var(--r-pill); color: var(--muted); }
.seg span.on { background: var(--paper); color: var(--bg); font-weight: 600; }
.is-accent .seg { background: rgba(5, 10, 30, 0.22); border-color: transparent; }
.is-accent .seg span { color: rgba(255, 255, 255, 0.85); }
.tilesrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tilesrow i { height: 54px; border-radius: 10px; background: var(--chip); }
.tilesrow i:nth-child(2) { background: var(--line-3); }
.tilesrow i:nth-child(5) { background: var(--blue); }
.stops { position: relative; height: 70px; }
.stops svg { width: 100%; height: 100%; }

/* hero slider (landing) */
.slides { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.035); transition: opacity 1.1s var(--ease), transform 6s linear; }
.slides img.on { opacity: 1; transform: scale(1); }
.slide-label { position: absolute; z-index: 4; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(11, 11, 13, 0.82); color: var(--paper); font-size: 12px; font-weight: 600; border-radius: var(--r-pill); padding: 7px 12px; border: 1px solid var(--border-strong); }
.slide-dots { display: flex; gap: 6px; }
.slide-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(250, 250, 250, 0.35); transition: background 0.4s, width 0.4s var(--ease); }
.slide-dots i.on { background: var(--paper); width: 16px; border-radius: 3px; }
.hero-phone { position: absolute; z-index: 3; right: 2%; bottom: -30px; width: 200px; }
.hero-phone .iphone-screen .slides { position: absolute; inset: 0; aspect-ratio: auto; background: #fff; }
.stage.v3 .browser { left: calc(50% - 430px); width: 800px; }
.stage.v3 .browser .browser-shot { height: auto; }
.stage.v3 .browser .browser-shot::after { display: none; }
@media (prefers-reduced-motion: reduce) { .slides img { transition: none; transform: none; } }

/* legal pages */
.legal-page { padding: 32px 0 96px; }
.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-doc h1 { font-size: 48px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
.legal-doc h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.legal-doc h3 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal-doc p { margin-top: 14px; }
.legal-doc ul, .legal-doc ol { margin: 14px 0 0; padding-left: 22px; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc a { color: var(--blue-ink); border-bottom: 1px solid rgba(90, 141, 255, 0.4); }
.legal-doc hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.legal-doc code { font-family: var(--mono); font-size: 0.9em; }
.legal-table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--muted); line-height: 1.5; }
.legal-table th { color: var(--text); font-weight: 600; background: var(--card); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-co { font-size: 12px; color: var(--faint); padding: 0 0 26px; margin-top: -10px; }
.legal nav a + a { margin-left: 0; }

@media (max-width: 1024px) {
  .diff { grid-template-columns: repeat(2, 1fr); }
  .diff-card.wide { grid-column: span 2; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-phone { display: none; }
  .stage.v3 .browser { left: auto; width: 100%; }
}
@media (max-width: 640px) {
  .diff { grid-template-columns: 1fr; }
  .diff-card.wide { grid-column: auto; }
  .data-grid { grid-template-columns: 1fr; }
  .data-tile.span2 { grid-column: auto; }
  .data-tile .n { font-size: 44px; }
  .devices .bframe .scrollshot { height: 360px; }
  .devices .iphone { width: 38%; min-width: 0; right: -4px; }
  .floatbar { left: 12px; right: 12px; bottom: 12px; transform: translateY(160%); justify-content: space-between; max-width: none; }
  .floatbar.is-visible { transform: none; }
  .floatbar .fb-text { display: none; }
  html.has-floatbar body { padding-bottom: 84px; }
  .legal-doc h1 { font-size: 36px; }
  .art-devices .iphone { width: 36%; }
}
.iphone-screen.has-bar > .scrollshot { top: 12.6cqw; }
/* masonry gallery of printed and applied pieces */
.mgrid { columns: 3 260px; column-gap: 16px; margin-top: 28px; }
.mg-item { break-inside: avoid; margin: 0 0 16px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color 0.4s, transform var(--t-med) var(--ease); }
.mg-item:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.mg-item img { width: 100%; display: block; transition: transform 0.7s var(--ease); }
.mg-item:hover img { transform: scale(1.03); }
.mg-item figcaption { font-size: 13px; color: var(--muted); padding: 12px 14px; }
.case-img .rail-shot { position: absolute; inset: 0; }
.case-card:hover .rail-shot img { animation-play-state: paused; }
.case-img .case-read { z-index: 3; }
.split > .reveal:last-child { min-width: 0; }
.slide-label { left: 50%; transform: translateX(-50%); }
/* illustrative product mockups (no screenshots): skeleton screens */
.mockups { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin-top: 28px; align-items: end; }
.mock-fig { margin: 0; }
.mock-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.mock-fig figcaption b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.skel { background: #fbf7ee; padding: 14px; display: grid; gap: 9px; }
.skel i { display: block; height: 10px; border-radius: 6px; background: #e8e0cf; }
.skel i.w6 { width: 60%; } .skel i.w4 { width: 40%; } .skel i.w8 { width: 80%; }
.skel i.blk { height: 54px; border-radius: 10px; background: #efe7d6; }
.skel i.acc { background: #f2c94c; width: 45%; height: 14px; }
.skel i.btn { height: 26px; border-radius: 99px; background: #2e5a4a; width: 55%; }
.skel .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mock-fig .iphone .skel { position: absolute; inset: 0; padding-top: 18%; }
.mock-note { font-size: 12.5px; color: var(--faint); margin-top: 14px; }
@media (max-width: 760px) { .mockups { grid-template-columns: 1fr 1fr; } .mockups .mock-fig:first-child { grid-column: span 2; } }
.slide-label { white-space: nowrap; }
@media (max-width: 480px) { .slide-label { font-size: 11px; padding: 6px 10px; } .slide-dots { display: none; } }

/* =====================================================================
   v4 (2026-10-08): icon centering fix, comparison, fee calculator,
   real numbers, taller prints, dashboard slides in cards.
   ===================================================================== */

/* mega icons: ".mega-item span" was turning the icon circle into a block */
.mega-item .mega-ico { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; flex: 0 0 36px; font-size: 0; line-height: 0; color: var(--blue-ink); }
.mega-item .mega-ico svg { width: 16px; height: 16px; display: block; margin: 0; flex: none; }

/* today vs with CGRabbit */
.vs { margin-top: 48px; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--card); }
.vs-row { display: grid; grid-template-columns: 190px 1fr 1.15fr; border-top: 1px solid var(--border); transition: background 0.4s; }
.vs-row:first-child { border-top: 0; }
.vs-row:not(.vs-head):hover { background: var(--raised); }
.vs-row > div { padding: 22px 24px; font-size: 15.5px; line-height: 1.5; }
.vs-k { font-size: 12px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding-top: 25px !important; }
.vs-old { color: var(--muted); }
.vs-new { background: rgba(0, 83, 247, 0.1); border-left: 1px solid rgba(90, 141, 255, 0.28); color: var(--text); font-weight: 500; }
.vs-head > div { padding-top: 18px; padding-bottom: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.vs-head .vs-old { color: var(--faint); }
.vs-head .vs-new { color: var(--blue-ink); background: rgba(0, 83, 247, 0.16); }
.vs-old::before, .vs-new::before { display: none; }
.vs-note { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* per-order fee calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border: 1px solid var(--border-strong); border-radius: 28px; overflow: hidden; background: var(--card); }
.calc-in { padding: 36px; display: grid; gap: 22px; align-content: start; }
.calc-in label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.calc-field { display: flex; align-items: center; margin-top: 8px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px; transition: border-color 0.3s; }
.calc-field:focus-within { border-color: var(--blue-ink); }
.calc-field span { padding: 0 0 0 16px; color: var(--faint); font-size: 16px; }
.calc-field span.suf { padding: 0 16px 0 0; }
.calc-field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 20px/1 var(--font); padding: 15px 16px; outline: none; -moz-appearance: textfield; }
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-hint { font-size: 12.5px; color: var(--faint); margin-top: 8px; line-height: 1.5; }
.calc-out { padding: 36px; background: var(--blue); color: #fff; display: flex; flex-direction: column; }
.calc-out .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.calc-out .big { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 12px; word-break: break-word; }
.calc-out .mid { font-size: 22px; font-weight: 500; margin-top: 10px; opacity: 0.95; }
.calc-out .sep { height: 1px; background: rgba(255, 255, 255, 0.28); margin: 26px 0; }
.calc-out .keep { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.calc-out .keep-sub { font-size: 14px; opacity: 0.9; margin-top: 8px; line-height: 1.5; }
.calc-out .btn { background: var(--paper); color: var(--bg); align-self: flex-start; margin-top: 22px; }
.calc-out .btn:hover { background: #fff; }

/* real numbers */
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; transition: border-color 0.4s; }
.stat-card:hover { border-color: var(--border-strong); }
.stat-card .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.stat-pair { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.stat-pair b { display: block; font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat-pair span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.stat-card .when { font-size: 13px; color: var(--faint); margin-top: 16px; }
.band-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 34px; align-items: flex-end; }
.band-stats b { display: block; font-size: 52px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.band-stats span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.band-stats p { font-size: 14px; color: var(--muted); max-width: 300px; line-height: 1.5; }

/* taller prints */
.diff-card.wide .diff-vis { height: 340px; }
.diff-card.wide .diff-shot { inset: 18px 18px auto; }
.stack-art.tall-art { height: 400px; }
.dash-slides { position: absolute; inset: 22px 22px auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-float); }
.dash-slides .slides { aspect-ratio: 16 / 10; }
.dash-slides .slide-label { bottom: 12px; }
.gallery .wide-fig { grid-column: 1 / -1; }
.diff-card { cursor: pointer; }
.diff-card .card-arrow { top: 22px; right: 22px; z-index: 4; }
.diff-card:hover .card-arrow, .diff-card:focus-within .card-arrow { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .vs-row { grid-template-columns: 140px 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .stack-art.tall-art { height: 320px; }
  .diff-card.wide .diff-vis { height: 300px; }
}
@media (max-width: 640px) {
  .vs { border: 0; background: transparent; overflow: visible; display: grid; gap: 12px; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--card); }
  .vs-row > div { padding: 14px 18px; }
  .vs-k { padding-bottom: 0 !important; padding-top: 16px !important; }
  .vs-old::before, .vs-new::before { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
  .vs-old::before { content: "Typical setup"; color: var(--faint); }
  .vs-new::before { content: "With CGRabbit"; color: var(--blue-ink); }
  .vs-new { border-left: 0; border-top: 1px solid rgba(90, 141, 255, 0.28); }
  .calc-in, .calc-out { padding: 24px; }
  .calc-out .big { font-size: 44px; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-pair b, .band-stats b { font-size: 40px; }
  .stack-art.tall-art { height: 280px; }
  .diff-card.wide .diff-vis { height: 230px; }
}
/* cards whose print needs room: wider art column, taller frame */
.stack-card.wide-art { grid-template-columns: 56px minmax(0, 1.55fr) minmax(0, 1fr); gap: 44px; }
.stack-card.wide-art .stack-art { height: 440px; }
.stack-card.wide-art .dash-slides, .stack-card.wide-art .art-shot { left: 20px; right: 20px; }
.stack-card.wide-art .art-duo { inset: 18px; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
@media (max-width: 1180px) { .stack-card.wide-art { grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; } }
@media (max-width: 1024px) { .stack-card.wide-art { grid-template-columns: 1fr; } .stack-card.wide-art .stack-art { height: 340px; } }
@media (max-width: 640px) { .stack-card.wide-art .stack-art { height: 250px; } .stack-card.wide-art .art-duo { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } .stack-card.wide-art .stack-art:has(.art-duo) { height: 380px; } }
.stack-art:has(.dash-slides) { height: auto !important; padding: 20px; }
.stack-art .dash-slides { position: relative; inset: auto; left: auto !important; right: auto !important; }
.stack-art:has(.dash-slides) .sample-tag { bottom: 30px; right: 30px; }
.gallery figure .iphone { max-width: 250px; margin: 0 auto; }
.calc, .calc-in { min-width: 0; }
.calc-in > div { min-width: 0; }
.calc-field input { width: 100%; }
@media (max-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.data-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.data-grid.two .span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .data-grid.two { grid-template-columns: minmax(0, 1fr); } .stat-pair { gap: 20px; } }

/* =====================================================================
   v5 (2026-10-08): inner pages (about, services, work, faq, contact, 404)
   ===================================================================== */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 0; margin: 0; font-size: 13px; color: var(--faint); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--line-3); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-hero { padding: 28px 0 8px; }
.page-hero .crumbs { margin-bottom: 26px; }
.page-hero .display { margin: 18px 0 0; text-align: left; max-width: 1000px; }
.page-hero .lede { margin: 22px 0 0; text-align: left; max-width: 720px; }
.page-hero .actions { justify-content: flex-start; }
.case-hero .crumbs { margin-bottom: 22px; }
.summary { max-width: 860px; margin-top: 26px; padding: 18px 20px; border: 1px solid var(--border); border-left: 2px solid var(--blue); border-radius: 12px; background: var(--card); font-size: 15px; line-height: 1.6; color: var(--muted); }
.summary strong { color: var(--text); font-weight: 600; }
.summary-band { padding: 8px 0 0; }
.summary-band .summary { margin: 0 auto; }
.updated { margin-top: 18px; font-size: 13px; color: var(--faint); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.related a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; transition: border-color 0.4s, background 0.5s, transform var(--t-med) var(--ease); }
.related a:hover { border-color: var(--border-strong); background: var(--raised); transform: translateY(-4px); }
.related .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.related b { display: block; font-size: 17px; font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.related span.d { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; transition: transform var(--t-med) var(--ease), background 0.5s, border-color 0.4s; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--raised); }
.svc-card .svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--border); }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.03); }
.svc-card .svc-body { padding: 22px 24px 26px; }
.svc-card h2, .svc-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-top: 10px; }
.svc-card .more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.pillars li { list-style: none; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.pillars b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pillars p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-card.is-accent { background: var(--blue); border-color: transparent; }
.contact-card .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.contact-card.is-accent .k { color: rgba(255, 255, 255, 0.85); }
.contact-card b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.contact-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.contact-card.is-accent p { color: rgba(255, 255, 255, 0.9); }
.contact-card .btn, .contact-card .btn-ghost { align-self: flex-start; margin-top: 8px; }
.contact-card.is-accent .btn { background: var(--paper); color: var(--bg); }
.faq-page .faq-wrap { grid-template-columns: 1fr 2fr; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
@media (max-width: 1024px) {
  .related, .svc-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-page .faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .related, .svc-grid, .contact-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   v6 (2026-10-08): no index numerals, free assessment popup, About fixes
   ===================================================================== */
/* stack cards without the index column */
.stack-card { grid-template-columns: 440px minmax(0, 1fr); }
.stack-card.wide-art { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
@media (max-width: 1180px) { .stack-card { grid-template-columns: 360px minmax(0, 1fr); } .stack-card.wide-art { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 1024px) { .stack-card, .stack-card.wide-art { grid-template-columns: minmax(0, 1fr); } }
.icard-head + h3, .icard > h3:first-of-type { margin-top: 24px; }
.icard .card-arrow + h3 { margin-top: 8px; }
.z-hd { gap: 0; }
.built li b { margin-top: 0; }

/* free assessment popup (single column) */
.modal-panel.is-form { width: min(560px, 100%); grid-template-columns: minmax(0, 1fr); }
.lead { padding: 40px 40px 30px; }
.lead h3 { font-size: 28px; padding-right: 48px; }
.lead-sub { font-size: 15px !important; margin-top: 10px !important; }
.lead-form { display: grid; gap: 16px; margin-top: 24px; }
.lf label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 7px; }
.lf label span { color: var(--faint); font-weight: 400; }
.lf input, .lf textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 14px; font: 400 16px/1.4 var(--font); transition: border-color 0.25s; }
.lf textarea { resize: vertical; min-height: 92px; }
.lf input:focus, .lf textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(90, 141, 255, 0.18); }
.lf input:user-invalid { border-color: #f87171; }
.lead-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lead-send { justify-self: start; padding: 13px 28px; font-size: 14px; }
.lead-send.is-loading { opacity: 0.75; cursor: progress; }
.lead-send.is-loading .lead-label::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 10px; vertical-align: -1px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lead-err { margin: 0 !important; font-size: 14px !important; color: #fca5a5 !important; }
.lead-ok { margin-top: 24px; display: grid; gap: 16px; justify-items: start; }
.lead-ok-t { font-size: 20px !important; color: var(--text) !important; font-weight: 500; margin: 0 !important; outline: none; }
.lead-alt { margin-top: 22px !important; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px !important; color: var(--faint) !important; }
.lead-alt a { color: var(--muted); border-bottom: 1px solid var(--border-strong); }
.lead-alt a:hover { color: var(--text); }
@media (max-width: 640px) { .lead { padding: 28px 20px 22px; } .lead h3 { font-size: 23px; } .lead-send { justify-self: stretch; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .lead-send.is-loading .lead-label::after { animation: none; } }
/* nicer line breaks everywhere (no orphans in titles) */
h1, h2, h3, .display, .h2, .stack-title { text-wrap: balance; }
p, li, .lede, .sub { text-wrap: pretty; }
/* About and other inner pages: wider label column, calmer type */
.chapter { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
.chapter-label h2 { font-size: 28px; }
.chapter-body > p { max-width: 680px; }
.chapter-body > p + p { margin-top: 18px; }
.page-hero .display { max-width: 900px; }
.page-hero .lede { max-width: 640px; }
.page-hero .summary { max-width: 760px; margin-top: 28px; }
.pillars li, .built li { min-width: 0; }
@media (max-width: 1024px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 640px) {
  .page-hero { padding-top: 16px; }
  .page-hero .display { font-size: 40px; }
  .chapter { padding: 44px 0; }
  .chapter-label h2 { font-size: 26px; }
  .chapter-body > p { font-size: 16.5px; }
  .summary { font-size: 14.5px; padding: 16px; }
}
[hidden] { display: none !important; }
.chapter-body > .dash-slides { position: relative; inset: auto; }
.floatbar .btn { white-space: nowrap; }
@media (max-width: 380px) {
  .floatbar { gap: 10px; padding-left: 14px; }
  .floatbar .fb-brand img { height: 18px; }
  .floatbar .btn { font-size: 12.5px; padding: 10px 14px; }
  .floatbar .btn .arr { display: none; }
}
