/* ==========================================================================
   Handover Technologies — design system
   1. Tokens   2. Base   3. Layout   4. Type   5. Buttons   6. Header
   7. Hero     8. Sections & components   9. Mock UIs   10. Forms
   11. Prose (legal)   12. Footer   13. Motion   14. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --paper-3: #efede8;
  --ink: #0b0c0e;
  --ink-2: #2e3138;
  --mute: #686d76;
  --line: #e7e4de;
  --line-2: #d6d2ca;
  --signal: #5ce1e6;          /* Handover logo cyan: fills, dots, glows */
  --signal-ink: #0e7c83;      /* deep teal: accent text on white (5:1) */
  --signal-soft: #e3f9fa;
  --alert: #c2382b;           /* overdue / errors */
  --alert-soft: #fdecea;
  --ok: #1f9d55;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 160px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-sm: 0 1px 2px rgba(11, 12, 14, .05);
  --shadow: 0 1px 2px rgba(11, 12, 14, .04), 0 18px 40px -18px rgba(11, 12, 14, .18);
  --shadow-lg: 0 2px 4px rgba(11, 12, 14, .04), 0 40px 80px -30px rgba(11, 12, 14, .28);
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.alt { background: var(--paper-2); }
.section:not(.alt):not(.dark) + .section:not(.alt):not(.dark) { padding-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* 4. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 em, h2 em, h3 em, .display em, .display-2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
.display { font-size: clamp(2.7rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -0.045em; }
.display-2 { font-size: clamp(2.3rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0; text-wrap: pretty; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--mute); }
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 22px;
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(92, 225, 230, .16); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.section-head { max-width: 880px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 22px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; flex-wrap: wrap; }
.section-head.row > div { flex: 1 1 420px; max-width: 720px; }
.section-head.row > .lead { flex: 0 1 44ch; margin: 0; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--signal));
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--hover, var(--signal)); }
.btn:active { transform: scale(.98); }
.btn span[aria-hidden] { transition: transform .4s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn-signal { --bg: var(--signal); --fg: var(--ink); --bd: var(--signal); --hover: var(--ink); }
.btn-signal:hover { color: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); --hover: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--signal-ink); }

/* 6. Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled, .site-header.is-open, .site-header:has(.has-menu:hover) {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
/* backdrop-filter would trap the fixed mobile panel inside the header, so drop it while open */
.site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.brand-word { font-weight: 650; letter-spacing: -0.03em; font-size: 19px; line-height: 1; display: flex; flex-direction: column; }
.brand-word span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-top: 4px; }
.nav { margin-left: auto; position: relative; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
/* Sliding pill that follows the cursor across the menu */
.nav-pill {
  position: absolute; left: 0; top: 50%; height: 40px; width: 0; margin-top: -20px; border-radius: 999px;
  background: var(--paper-3); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav-pill::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--signal); }
.nav-list > li > a {
  --tx: 0px; --ty: 0px;
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 15px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transform: translate(var(--tx), var(--ty)); transition: transform .35s var(--ease), color .2s;
}
.nav-list > li > a:hover, .nav-list > li > a:focus-visible { color: var(--ink); }
.nav-list > li > a[aria-current] { color: var(--ink); }
.no-pill .nav-list > li > a[aria-current]::before { content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--signal); }
.nav-list > li > a { position: relative; }
/* Text roll: label slides up, replaced by an italic serif twin */
.roll { display: inline-block; overflow: hidden; height: 20px; line-height: 20px; vertical-align: top; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span::after { content: attr(data-text); display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.12em; line-height: 20px; letter-spacing: 0; color: var(--ink); }
.nav-list > li > a:hover .roll > span, .nav-list > li > a:focus-visible .roll > span, .has-menu:hover > a .roll > span { transform: translateY(-20px); }
.chev { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.has-menu { position: relative; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }

/* Mega menu: list + live preview */
.mega {
  --mx: 50%; --my: 50%;
  position: absolute; top: calc(100% + 16px); left: 50%; width: 760px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  translate: -50% 0; opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0 round 22px);
  transition: clip-path .6s var(--ease), opacity .3s, visibility .6s;
}
.mega::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0 round 22px); }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.mega-list li { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.has-menu:hover .mega-list li, .has-menu:focus-within .mega-list li { opacity: 1; transform: none; }
.has-menu:hover .mega-list li:nth-child(2) { transition-delay: .04s; } .has-menu:hover .mega-list li:nth-child(3) { transition-delay: .08s; }
.has-menu:hover .mega-list li:nth-child(4) { transition-delay: .12s; } .has-menu:hover .mega-list li:nth-child(5) { transition-delay: .16s; }
.mega-list a {
  display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 6px; padding: 13px 14px; border-radius: 14px;
  text-decoration: none; position: relative; isolation: isolate; overflow: hidden;
}
.mega-list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(180px circle at var(--mx) var(--my), rgba(92, 225, 230, .12), transparent 70%), var(--paper-2);
}
.mega-list a:hover::before, .mega-list a:focus-visible::before, .mega-list a[aria-current]::before { opacity: 1; }
.mega-num { font-family: var(--f-mono); font-size: 11.5px; color: var(--signal-ink); letter-spacing: .04em; }
.mega-num.live { color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.mega-num.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(31, 157, 85, .15); animation: rec 1.6s ease-in-out infinite; }
.mega-txt { display: grid; gap: 1px; }
.mega-txt strong { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; transition: transform .45s var(--ease); }
.mega-txt span { font-size: 13px; color: var(--mute); line-height: 1.4; transition: transform .45s var(--ease) .03s; }
.mega-list a:hover .mega-txt strong, .mega-list a:hover .mega-txt span { transform: translateX(4px); }
.mega-go { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--ink); color: #fff; opacity: 0; transform: translateX(-8px) rotate(-45deg); transition: opacity .35s, transform .45s var(--ease), background .3s; }
.mega-list a:hover .mega-go, .mega-list a:focus-visible .mega-go { opacity: 1; transform: none; background: var(--signal); color: var(--ink); }
.mega-preview { position: relative; border-radius: 16px; background: var(--ink); color: #fff; overflow: hidden; min-height: 300px; isolation: isolate; }
.mega-preview::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 70% 30%, transparent 0 60%, rgba(92, 225, 230, .35) 72%, transparent 85%); animation: spin 9s linear infinite; filter: blur(30px); }
.mega-preview::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, .08), transparent 50%); }
@keyframes spin { to { transform: rotate(1turn); } }
.mp-slide { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s; }
.mp-slide.is-on { opacity: 1; transform: none; filter: none; }
.mp-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.mp-icon svg { width: 22px; height: 22px; }
.mp-kicker { margin: auto 0 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.mp-title { margin: 0; font-size: 1.55rem; line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.mp-title em { font-family: var(--f-serif); font-weight: 400; color: var(--signal); }
.mp-meta { margin: 12px 0 44px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.mp-all { position: absolute; left: 26px; bottom: 20px; z-index: 2; font-size: 13.5px; font-weight: 500; color: #fff; text-decoration: none; display: inline-flex; gap: 8px; pointer-events: auto; }
.mp-all:hover { color: var(--signal); }
.header-cta { --tx: 0px; --ty: 0px; transform: translate(var(--tx), var(--ty)); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Hero ribbon: canvas of flowing light threads (drawn in main.js) */
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .ribbon { -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 30%, #000 62%); mask-image: linear-gradient(100deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 30%, #000 62%); }
.page-hero .ribbon { opacity: .55; -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%); mask-image: linear-gradient(100deg, transparent 10%, #000 70%); }
.spot {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--sx, 70%) var(--sy, 40%), rgba(92, 225, 230, .2), transparent 60%);
}
.hero:hover .spot, .page-hero:hover .spot { opacity: 1; }
.vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(11, 12, 14, .05) 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow.g1 { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: radial-gradient(circle, #c4f2f4, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow.g2 { width: 38vw; height: 38vw; left: -12vw; bottom: -14vw; background: radial-gradient(circle, #e3e7f2, transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-6vw, 6vw) scale(1.12); } }
.grain {
  position: absolute; inset: -50%; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
.letterbox { display: none; }
.js .letterbox { display: block; position: absolute; left: 0; right: 0; height: 13vh; background: var(--ink); z-index: 5; transition: transform 1.3s cubic-bezier(.7, 0, .2, 1) .15s; }
.letterbox.top { top: var(--header-h); transform-origin: top; }
.letterbox.bottom { bottom: 0; transform-origin: bottom; }
.is-loaded .letterbox { transform: scaleY(0); }
.hero-inner { position: relative; }
.hero .display { max-width: 15ch; }
.hero .lead { margin-top: 32px; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%) skewY(4deg); filter: blur(14px); opacity: 0; transition: transform 1.4s var(--ease), filter 1.4s var(--ease), opacity 1s var(--ease); transform-origin: left bottom; }
.is-loaded .line > span { transform: none; filter: none; opacity: 1; }
.is-loaded .line:nth-child(1) > span { transition-delay: .7s; }
.is-loaded .line:nth-child(2) > span { transition-delay: .82s; }
.is-loaded .line:nth-child(3) > span { transition-delay: .94s; }
.js .fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .fade-up { opacity: 1; transform: none; transition-delay: calc(1.05s + var(--d, 0s)); }
.hero-meta {
  display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 9vh, 96px);
  padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.hero-meta .tc { color: var(--ink); font-variant-numeric: tabular-nums; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 22px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero .display-2 { max-width: 18ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero .glow.g1 { width: 34vw; height: 34vw; opacity: .45; }
.page-hero .glow.g2 { display: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* 8. Sections & components ------------------------------------------------- */

/* Widescreen "reveal shot" */
.screen-wrap { padding-bottom: var(--section); }
.screen {
  position: relative; aspect-ratio: 2.39 / 1; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #fbfaf8, #f1efea); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transform-origin: 50% 0;
  transform: scale(var(--s, .92)); transition: transform .1s linear;
}
.screen-corners::before, .screen-corners::after,
.screen-corners span::before, .screen-corners span::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--line-2); border-style: solid; z-index: 3;
}
.screen-corners::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.screen-corners::after { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.screen-corners span::before { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.screen-corners span::after { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }
.screen-label { position: absolute; top: 16px; left: 50%; translate: -50% 0; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.screen-stage { position: absolute; inset: 9% 4% 8%; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 2.2%; align-items: stretch; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; display: flex; user-select: none; }
.marquee-track { display: flex; flex: none; gap: 56px; padding-right: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; color: var(--mute); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; font-size: .6em; color: var(--signal-ink); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Services reel */
.reel { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: reel; }
.reel li { border-bottom: 1px solid var(--line-2); }
.reel-row {
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 56px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0; text-decoration: none; position: relative; isolation: isolate;
  transition: padding .6s var(--ease), color .5s var(--ease);
}
.reel-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.reel-row:hover { color: #fff; padding-inline: 24px; }
.reel-row:hover::before { transform: none; transform-origin: top; }
.reel-num { font-family: var(--f-mono); font-size: 13px; color: var(--signal-ink); }
.reel-row:hover .reel-num { color: var(--signal); }
.reel-title { font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.reel-title em { font-family: var(--f-serif); font-weight: 400; font-style: italic; }
.reel-desc { color: var(--mute); font-size: 15.5px; line-height: 1.5; transition: color .5s; }
.reel-row:hover .reel-desc { color: rgba(255, 255, 255, .7); }
.reel-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.reel-row:hover .reel-arrow { background: var(--signal); border-color: var(--signal); color: var(--ink); transform: rotate(-45deg); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 18px 0 10px; }
.card p { color: var(--mute); font-size: 15.5px; margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink); }
.card .icon svg { width: 22px; height: 22px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card-link .more { margin-top: auto; padding-top: 24px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; }
.card-link:hover .more { color: var(--signal-ink); }
.alt .card { border-color: transparent; }

/* Feature scene */
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.scene.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l2.6 2.6L15 8.7' fill='none' stroke='%230e7c83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; margin-top: 2px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line-2); }
.process li { list-style: none; padding: 32px 28px 0 0; position: relative; }
.process li::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: -1px; left: 0;
  font-family: var(--f-mono); font-size: 12px; color: var(--signal-ink); padding-top: 12px; border-top: 2px solid var(--ink); width: 40px;
}
.process h3 { font-size: 1.35rem; margin: 18px 0 10px; letter-spacing: -0.02em; }
.process p { color: var(--mute); font-size: 15.5px; margin: 0; }
.process { padding: 0; margin: 0; }
.process.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Dark band (products trailer) */
.dark { background: var(--ink); color: #fff; }
.dark .kicker, .dark .lead, .dark .muted { color: rgba(255, 255, 255, .62); }
.dark .card { background: #131519; border-color: #23262c; }
.dark .card p { color: rgba(255, 255, 255, .6); }
.dark .card:hover { border-color: #3a3e46; box-shadow: none; }
.dark .btn-ghost { --fg: #fff; --bd: #3a3e46; --hover: #fff; }
.dark .btn-ghost:hover { color: var(--ink); }
.product-card { display: flex; flex-direction: column; gap: 0; min-height: 300px; }
.product-card .product-name { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; margin: 22px 0 10px; }
.product-card .product-name em { font-family: var(--f-serif); font-weight: 400; font-style: italic; color: var(--signal); }
.product-card ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-card ul li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid #2b2f36; color: rgba(255, 255, 255, .7); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--signal-soft); color: var(--signal-ink); width: max-content; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.beta { background: #e7f6ee; color: #157a41; }
.status.planned { background: var(--paper-3); color: var(--ink-2); }
.dark .status { background: rgba(92, 225, 230, .12); color: var(--signal); }
.dark .status.beta { background: rgba(31, 157, 85, .14); color: #4ccf86; }
.dark .status.planned { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }

/* Product detail rows (products page) */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.product-row:nth-child(even) > :first-child { order: 2; }
.product-row h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 18px 0 18px; }
.product-row h2 em { color: var(--signal-ink); }

/* Stats / principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.principles > div { padding: 32px 28px 0 0; }
.principles strong { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.principles strong em { font-family: var(--f-serif); font-weight: 400; font-style: italic; color: var(--signal-ink); }
.dark .principles strong em { color: var(--signal); }
.principles p { color: var(--mute); font-size: 15.5px; margin: 0; max-width: 30ch; }

/* Quote */
.quote { font-family: var(--f-serif); font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 26ch; margin: 0; text-wrap: balance; }
.quote em { color: var(--signal-ink); }

/* CTA */
.cta { padding-block: var(--section); text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 120%, #cff5f7 0%, transparent 70%), var(--paper); }
.cta .lead { margin: 28px auto 0; }
.cta .actions { justify-content: center; }
.cta .kicker { justify-content: center; }

/* Pricing */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 48px; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab:not([aria-selected="true"]):hover { background: #fff; }
.js .tabpanel[hidden] { display: none; }
.tabpanel + .tabpanel { margin-top: 72px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.panel-title { font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.panel-intro { color: var(--mute); margin-bottom: 32px; max-width: 64ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; position: relative; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan.featured .muted, .plan.featured .plan-desc, .plan.featured li { color: rgba(255, 255, 255, .72); }
.plan.featured .plan-feats li::before { background-color: rgba(92, 225, 230, .18); }
.plan-badge { position: absolute; top: 20px; right: 20px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--signal); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.plan-desc { color: var(--mute); font-size: 15px; margin: 8px 0 24px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .from { font-size: 14px; color: var(--mute); width: 100%; margin-bottom: 2px; }
.plan.featured .price .from { color: rgba(255, 255, 255, .6); }
.price strong { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--mute); font-size: 15px; }
.plan.featured .price span { color: rgba(255, 255, 255, .6); }
.setup { font-size: 14px; color: var(--mute); margin: 10px 0 0; }
.plan.featured .setup { color: rgba(255, 255, 255, .6); }
.plan-feats { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; font-size: 15px; }
.plan-feats li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan-feats li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.2 10.4l2.4 2.4 5-5' fill='none' stroke='%230e7c83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan.featured .btn { --bg: var(--signal); --fg: var(--ink); --bd: var(--signal); --hover: #fff; }
.plan.featured .btn:hover { color: var(--ink); }
.price-note { margin-top: 28px; font-size: 14px; color: var(--mute); display: flex; gap: 10px; align-items: flex-start; }
.price-note::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 13px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-2); font-weight: 600; font-size: 14px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 500; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 12v12M12 18h12' stroke='%230b0c0e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq details > div { padding: 0 0 28px; color: var(--ink-2); max-width: 72ch; }
.faq details > div p:last-child { margin: 0; }

/* Team / values */
.values { counter-reset: v; }
.value { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.value::before { counter-increment: v; content: "0" counter(v); font-family: var(--f-mono); font-size: 13px; color: var(--signal-ink); }
.value h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.value p { margin: 0; color: var(--mute); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 4px; }
.contact-list .mono { color: var(--mute); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.contact-list a, .contact-list span:not(.mono) { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.contact-list a:hover { color: var(--signal-ink); }

/* 9. Mock UIs ------------------------------------------------------------- */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.mock-bar small { font-weight: 400; color: var(--mute); font-size: 11.5px; display: block; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.avatar svg { width: 16px; height: 16px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 4px; }
.chat { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--paper-2); flex: 1; font-size: 13px; line-height: 1.4; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.bubble.out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.in { border-bottom-left-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--signal); color: var(--signal-ink); background: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); background: var(--mute); } }
.js [data-animate] .chat > * { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-animate].in-view .chat > * { opacity: 1; transform: none; }
.js [data-animate].in-view .chat > *:nth-child(2) { transition-delay: .5s; }
.js [data-animate].in-view .chat > *:nth-child(3) { transition-delay: 1s; }
.js [data-animate].in-view .chat > *:nth-child(4) { transition-delay: 1.5s; }
.js [data-animate].in-view .chat > *:nth-child(5) { transition-delay: 2s; }
.js [data-animate].in-view .chat > *:nth-child(6) { transition-delay: 2.5s; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpi small { display: block; font-size: 10.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; font-family: var(--f-mono); }
.kpi b { font-size: clamp(14px, 1.6vw, 20px); letter-spacing: -0.03em; }
.kpi i { font-style: normal; font-size: 11px; color: var(--ok); margin-left: 4px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding: 6px 16px 14px; min-height: 60px; }
.bars span { flex: 1; background: var(--paper-3); border-radius: 4px 4px 0 0; height: var(--h); transition: transform 1s var(--ease); }
.js [data-animate] .bars span { transform: scaleY(0); }
.js [data-animate].in-view .bars span { transform: none; }
.bars span { transform-origin: bottom; }
.bars span:nth-last-child(2) { background: var(--ink); }
.bars span:last-child { background: var(--signal); }
.bars span:nth-child(2) { transition-delay: .06s; } .bars span:nth-child(3) { transition-delay: .12s; }
.bars span:nth-child(4) { transition-delay: .18s; } .bars span:nth-child(5) { transition-delay: .24s; }
.bars span:nth-child(6) { transition-delay: .3s; } .bars span:nth-child(7) { transition-delay: .36s; }
.bars span:nth-child(8) { transition-delay: .42s; }

.flow { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 0; align-items: stretch; justify-content: center; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 14px 14px; }
.node { display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; font-weight: 500; box-shadow: var(--shadow-sm); }
.node b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--paper-2); font-size: 11px; flex: none; }
.node.hot { border-color: var(--signal); }
.node.hot b { background: var(--signal); color: var(--ink); }
.link { width: 1.5px; height: 14px; margin-left: 20px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 3px, transparent 3px 6px); }

.intranet { display: grid; grid-template-columns: 120px 1fr; flex: 1; font-size: 12.5px; }
.intranet aside { border-right: 1px solid var(--line); padding: 12px; display: grid; gap: 4px; align-content: start; background: var(--paper-2); }
.intranet aside span { padding: 6px 8px; border-radius: 6px; color: var(--mute); }
.intranet aside span.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.intranet .feed { padding: 14px; display: grid; gap: 10px; align-content: start; }
.post { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.post b { display: block; font-size: 13px; margin-bottom: 2px; }
.post small { color: var(--mute); }
.skel { height: 7px; border-radius: 4px; background: var(--paper-3); margin-top: 6px; }

.browser .mock-bar { gap: 6px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; margin-left: 10px; background: var(--paper-2); border-radius: 6px; padding: 4px 10px; font-family: var(--f-mono); font-size: 11px; color: var(--mute); font-weight: 400; }
.site-mock { padding: 22px; display: grid; gap: 12px; }
.site-mock .big { font-size: clamp(18px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.site-mock .big em { font-family: var(--f-serif); font-weight: 400; font-style: italic; color: var(--signal-ink); }
.site-mock .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.site-mock .row span { aspect-ratio: 4/3; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); }
.score { display: flex; gap: 10px; padding: 0 22px 22px; }
.score div { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; font-size: 11px; color: var(--mute); }
.score b { display: block; font-size: 18px; color: var(--ok); letter-spacing: -0.03em; }

.visual-frame { position: relative; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--paper-2), #fff); border: 1px solid var(--line); }
.visual-frame .mock { max-width: 460px; margin-inline: auto; }
.visual-frame.wide .mock { max-width: none; }
.dark .visual-frame { background: linear-gradient(160deg, #15171b, #0e0f12); border-color: #23262c; }

/* 10. Forms --------------------------------------------------------------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field label .opt { color: var(--mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%23686d76' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 12, 14, .07); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--alert); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--alert); }
.form .btn { grid-column: 1 / -1; justify-self: start; }

/* 11. Prose (legal) ------------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14px; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; }
.toc p { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 6px 0 6px 16px; text-decoration: none; color: var(--mute); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h2 { font-size: 1.55rem; letter-spacing: -0.025em; color: var(--ink); margin: 56px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; letter-spacing: -0.015em; color: var(--ink); margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--signal-ink); }
.prose a { color: var(--ink); }
.prose .table-wrap { margin: 20px 0 28px; }
.notice { border: 1px solid var(--line); background: var(--paper-2); border-radius: var(--r); padding: 18px 20px; font-size: 15px; margin-bottom: 40px; }
.notice strong { color: var(--ink); }
.updated { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-top: 24px; }

/* 12. Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--mute); margin: 20px 0 20px; max-width: 34ch; font-size: 15px; }
.footer-contact, .footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-contact a, .footer-col a { text-decoration: none; color: var(--ink-2); }
.footer-contact a:hover, .footer-col a:hover { color: var(--signal-ink); }
.footer-col h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.footer-word { display: block; width: 100%; height: auto; margin: clamp(48px, 7vw, 96px) 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line); margin-top: 24px; font-size: 13px; color: var(--mute); }
.footer-bottom p { margin: 0; }

/* 13. Motion -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .fade-up, .line > span, .chat > * { opacity: 1; transform: none; }
  .letterbox { display: none; }
  .screen { transform: none; }
  .marquee-track { animation: none; }
}

/* 14. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    padding: 24px 0 48px;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0 0 24px; }
  .mobile-services a { display: block; padding: 10px 0; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-main a { display: block; padding: 12px 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; }
  .mobile-nav .btn { width: 100%; }
  .grid-4, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process, .process.three { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .process li { border-top: 1px solid var(--line-2); }
  .screen-stage { grid-template-columns: 1fr 1.4fr; }
  .screen-stage > :last-child { display: none; }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .split, .scene, .contact-grid, .product-row, .legal-layout, .plans { grid-template-columns: minmax(0, 1fr); }
  .scene.flip > :first-child, .product-row:nth-child(even) > :first-child { order: 0; }
  .sticky, .toc { position: static; }
  .toc { display: none; }
  .reel-row { grid-template-columns: 44px 1fr 44px; gap: 12px 16px; }
  .reel-desc { grid-column: 2 / 3; grid-row: 2; }
  .reel-arrow { width: 44px; height: 44px; grid-row: 1; grid-column: 3; }
  .reel-row:hover { padding-inline: 0; }
  .value { grid-template-columns: 1fr; gap: 10px; }
  .screen { aspect-ratio: 4 / 3; }
  .screen-stage { grid-template-columns: 1fr; inset: 12% 6% 8%; }
  .screen-stage > :nth-child(2) { display: none; }
  .plan-desc { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .principles, .process, .process.three { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: 1fr; }
  .hero-meta .hide-sm { display: none; }
  .actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tabs { display: flex; border-radius: 18px; }
  .tab { flex: 1 1 auto; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .intranet { grid-template-columns: 1fr; }
  .intranet aside { display: none; }
}

/* Two-column page heroes (service pages) */
.page-hero .scene .display-2 { font-size: clamp(2.3rem, 4.3vw, 4rem); }

/* 15. Product pages ------------------------------------------------------ */
.prod-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); }
.prod-badge .pi { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.prod-badge .pi svg { width: 18px; height: 18px; }
.prod-badge b { font-weight: 650; letter-spacing: -0.02em; }
.live-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #157a41; }
.live-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 157, 85, .16); animation: rec 1.6s ease-in-out infinite; }
.dark .live-chip { color: #4ccf86; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line-2); max-width: 520px; }
.hero-stats div { padding: 18px 16px 0 0; }
.hero-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 1.7rem; letter-spacing: -0.04em; font-weight: 600; line-height: 1.1; }
.hero-stats span { font-size: 13.5px; color: var(--mute); }

/* DepotTrack live board */
.pipe { padding: 26px 22px 14px; border-bottom: 1px solid var(--line); }
.pipe-line { position: relative; height: 3px; margin: 0 12px; background: var(--paper-3); border-radius: 3px; }
.pipe-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 3px; animation: pipe-fill 12s var(--ease) infinite; }
.pipe-car { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(92, 225, 230, .18); animation: pipe-car 12s var(--ease) infinite; }
.pipe-car::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--signal); animation: ping 1.5s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes pipe-car { 0%, 8% { left: 0; } 16%, 24% { left: 20%; } 32%, 40% { left: 40%; } 48%, 56% { left: 60%; } 64%, 72% { left: 80%; } 80%, 94% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pipe-fill { 0%, 8% { width: 0; } 16%, 24% { width: 20%; } 32%, 40% { width: 40%; } 48%, 56% { width: 60%; } 64%, 72% { width: 80%; } 80%, 94% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.pipe-nodes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.pipe-nodes li { width: 0; display: flex; justify-content: center; white-space: nowrap; position: relative; }
.pipe-nodes li::before { content: ""; position: absolute; top: -26px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.board { width: 100%; min-width: 0; border-collapse: collapse; font-size: 12.5px; }
.board td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.plate { font-family: var(--f-mono); font-size: 11.5px; padding: 3px 7px; border: 1px solid var(--ink); border-radius: 5px; background: #fffbe6; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.chip.ok { background: #e7f6ee; color: #157a41; }
.chip.warn { background: var(--alert-soft); color: var(--alert); }
.chip.info { background: #eef1f8; color: #34405e; }
.board .dwell { font-family: var(--f-mono); font-size: 12px; text-align: right; color: var(--ink-2); }
.board .dwell.hot { color: var(--alert); font-weight: 500; }

/* Blind-spot timeline */
.tl { display: grid; gap: 28px; }
.tl-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.tl-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tl-bar { display: flex; height: 76px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.tl-bar > span { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; font-size: 13px; line-height: 1.3; min-width: 0; white-space: nowrap; overflow: hidden; }
.tl-bar > span b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.tl-bar > span small { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.tl-gps { flex: 0 0 auto; background: var(--ink); color: #fff; }
.tl-gps small { color: rgba(255, 255, 255, .6) !important; }
.tl-blind { flex: 1; align-items: center; text-align: center; color: var(--mute); background: repeating-linear-gradient(-45deg, #fff 0 10px, var(--paper-2) 10px 20px); }
.tl-blind b { color: var(--ink); }
.tl-bar.seg > span { flex: var(--m) 1 0; min-width: 96px; border-right: 1px solid var(--line); transform-origin: left; }
.tl-bar.seg > span:last-child { border-right: 0; }
.tl-bar.seg .hot { background: var(--alert-soft); }
.tl-bar.seg .hot b { color: var(--alert); }
.js [data-animate] .tl-bar.seg > span { opacity: 0; transform: scaleX(.6); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js [data-animate].in-view .tl-bar.seg > span { opacity: 1; transform: none; }
.js [data-animate].in-view .tl-bar.seg > span:nth-child(2) { transition-delay: .12s; }
.js [data-animate].in-view .tl-bar.seg > span:nth-child(3) { transition-delay: .24s; }
.js [data-animate].in-view .tl-bar.seg > span:nth-child(4) { transition-delay: .36s; }
.js [data-animate].in-view .tl-bar.seg > span:nth-child(5) { transition-delay: .48s; }
.tl-note { margin: 18px 0 0 174px; font-size: 14.5px; color: var(--mute); display: flex; gap: 10px; align-items: center; }
.tl-note::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--alert-soft); border: 1px solid var(--alert); flex: none; }

/* HitchPoint yard board */
.yard-list { list-style: none; margin: 0; padding: 4px 0; font-size: 12.5px; }
.yard-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); }
.yard-list .ti { width: 32px; height: 32px; border-radius: 8px; background: var(--paper-2); display: grid; place-items: center; }
.yard-list .ti svg { width: 17px; height: 17px; }
.yard-list b { display: block; font-size: 13px; font-weight: 600; }
.yard-list small { color: var(--mute); font-family: var(--f-mono); font-size: 10.5px; }
.yard-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--paper-2); border-top: 1px solid var(--line); font-size: 13px; }
.yard-foot b { font-size: 15px; letter-spacing: -0.02em; }
.visual-frame.has-float { padding-bottom: clamp(56px, 7vw, 84px); }
.float-card {
  position: absolute; left: clamp(-8px, -1vw, 0px); bottom: clamp(16px, 2vw, 28px); width: 230px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 12px; z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-8px); } }
.float-card .fc-top { display: flex; justify-content: space-between; color: var(--mute); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.float-card svg.sig { width: 100%; height: 46px; margin: 4px 0; }
.sig path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: sign 6s var(--ease) infinite; }
@keyframes sign { 10% { stroke-dashoffset: 400; } 45%, 100% { stroke-dashoffset: 0; } }
.float-card .fc-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line-2); padding-top: 8px; }

/* Before / after */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus > div { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.versus .before { background: var(--paper-2); border: 1px solid var(--line); }
.versus .after { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.versus .after::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 85% 10%, rgba(92, 225, 230, .35), transparent 45%); }
.versus h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-bottom: 26px; }
.versus h3 em { font-family: var(--f-serif); font-weight: 400; font-style: italic; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.versus li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.versus .after li { border-color: #2b2f36; }
.versus li b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.versus li span { font-size: 15px; color: var(--mute); }
.versus .after li span { color: rgba(255, 255, 255, .62); }
.versus .mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.versus .before .mark { border: 1px solid var(--line-2); color: var(--mute); }
.versus .after .mark { background: var(--signal); color: var(--ink); }

/* Six-step pipeline */
.process.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.process.six li { padding-right: 20px; }
.process.six h3 { font-size: 1.15rem; }
.process.six p { font-size: 14.5px; }

.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mini { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .5s var(--ease), border-color .4s; }
.mini:hover { transform: translateY(-4px); border-color: var(--ink); }
.mini .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; }
.mini .icon svg { width: 22px; height: 22px; }
.mini h3 { font-size: 1.1rem; letter-spacing: -0.02em; margin: 18px 0 6px; }
.mini p { margin: 0; font-size: 14.5px; color: var(--mute); }

/* Currency toggle */
.currency { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 32px; }
.currency button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; cursor: pointer; color: var(--ink-2); transition: background .3s, color .3s; }
.currency button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.plan-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.addons { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; }
.addons h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 18px; }
.addons dl { margin: 0; display: grid; }
.addons dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.addons dt { color: var(--ink-2); }
.addons dd { margin: 0; font-weight: 600; white-space: nowrap; }

/* Live products feature (home + products page) */
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.live-card { display: flex; flex-direction: column; text-decoration: none; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: #131519; border: 1px solid #23262c; position: relative; overflow: hidden; isolation: isolate; min-height: 360px; transition: border-color .4s, transform .6s var(--ease); }
.live-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 20%), rgba(92, 225, 230, .22), transparent 60%); }
.live-card:hover { border-color: #3a3e46; transform: translateY(-4px); }
.live-card:hover::before { opacity: 1; }
.live-card .lc-top { display: flex; justify-content: space-between; align-items: center; }
.live-card .pi { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.live-card .pi svg { width: 26px; height: 26px; }
.live-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; margin: 36px 0 12px; color: #fff; }
.live-card p { color: rgba(255, 255, 255, .65); margin: 0; max-width: 42ch; }
.live-card .lc-foot { margin-top: auto; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 500; }
.live-card .lc-foot span:last-child { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3a3e46; display: grid; place-items: center; transition: background .4s, transform .5s var(--ease), border-color .4s; }
.live-card:hover .lc-foot span:last-child { background: var(--signal); border-color: var(--signal); color: var(--ink); transform: rotate(-45deg); }
.sub-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 56px 0 20px; }

@media (max-width: 1080px) {
  .process.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .versus, .plan-solo, .live-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-row { grid-template-columns: 1fr; gap: 10px; }
  .tl-note { margin-left: 0; }
  .tl-bar { height: auto; flex-wrap: wrap; }
  .tl-bar > span { padding: 12px 14px; }
  .tl-bar.seg > span { flex: 1 1 33%; border-bottom: 1px solid var(--line); }
  .float-card { position: relative; left: auto; bottom: auto; margin: 16px auto 0; }
  .visual-frame.has-float { padding-bottom: clamp(20px, 3vw, 40px); }
}
@media (max-width: 560px) {
  .process.six, .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .board td:nth-child(3) { display: none; }
}

/* 16. Brand logos & product screenshots ---------------------------------- */
.brand-logo { height: 30px; width: auto; display: block; }
.brand-logo.lg { height: 40px; }
.mp-logo { height: 24px; width: auto; align-self: flex-start; margin-top: 6px; }
.prod-badge img { height: 22px; width: auto; margin-left: 8px; }
.prod-badge img[src$=".svg"] { height: 40px; margin-left: 0; }
.prod-badge { padding: 8px 16px 8px 8px; }
.live-card .lc-logo { height: 34px; width: auto; display: block; }
.live-card .lc-logo[src$=".svg"] { height: 54px; margin: -10px 0 -10px -4px; }
.live-card h3 { margin: 40px 0 14px; }

.product-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.product-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.product-hero-grid .display-2 { max-width: 16ch; }
.product-hero-grid .lead { margin-top: 0; }
.product-hero-grid .actions { margin-top: 32px; }

.product-screen { position: relative; }
.shot-screen { aspect-ratio: auto; background: #fff; border-radius: 18px; transform-origin: 50% 0; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.shot-bar .url { max-width: 360px; }
.shot-bar .live-chip { margin-left: auto; }
.shot-screen img, .shot img { display: block; width: 100%; height: auto; }
.product-screen .float-card { left: auto; right: max(var(--gutter), 3%); bottom: calc(var(--section) - 36px); width: 300px; }

.tour-tabs { margin-bottom: 32px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.tour { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 4vw, 56px); align-items: end; }
.tour figcaption { display: grid; gap: 10px; padding-bottom: 12px; }
.tour figcaption .mono { color: var(--signal-ink); }
.tour figcaption b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.tour figcaption > span:last-child { color: var(--ink-2); }
.js .tour-panel:not([hidden]) .shot { animation: tour-in .8s var(--ease) both; }
.js .tour-panel:not([hidden]) figcaption { animation: tour-in .8s var(--ease) .1s both; }
@keyframes tour-in { from { opacity: 0; transform: translateY(16px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.tour-panel + .tour-panel { margin-top: 48px; }
.js .tour-panel + .tour-panel { margin-top: 0; }

@media (max-width: 860px) {
  .product-hero-grid, .tour { grid-template-columns: minmax(0, 1fr); }
  .product-screen .float-card { position: relative; right: auto; bottom: auto; margin: 16px 0 0 auto; width: min(300px, 100%); }
  .brand-logo { height: 26px; }
}

/* Legal document tabs */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.legal-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); background: rgba(255, 255, 255, .7); transition: background .3s, color .3s, border-color .3s; }
.legal-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.legal-tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.prose .notice { color: var(--ink); font-size: 16px; line-height: 1.6; }

/* Pricing facts strip & plan grid variants */
.price-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--line-2); max-width: 980px; }
.price-facts div { padding: 20px 20px 0 0; }
.price-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.price-facts b { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.price-facts span { font-size: 14px; color: var(--mute); }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.setup b { color: var(--ink); font-weight: 600; }
.plan.featured .setup b { color: #fff; }
.price-note a { color: inherit; }
@media (max-width: 860px) {
  .price-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .price-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .plans.two { grid-template-columns: minmax(0, 1fr); }
}

/* Portrait document in the product tour */
.tour-doc { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; }
.doc-shot { border-radius: 6px; max-height: 720px; overflow: hidden; position: relative; transform: rotate(-1.2deg); }
.doc-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
@media (max-width: 860px) { .tour-doc { grid-template-columns: minmax(0, 1fr); } .doc-shot { max-height: 520px; transform: none; } }

/* Product name line inside the product-page h1 */
.h1-label { display: block; margin-bottom: 18px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); line-height: 1.4; }
