/* ============================================================================
   SiteViewer - shared stylesheet for the /host/* "host your export" pages.
   Factored out of the per-page HTML so the five tool pages share one design
   system (identical tokens, fonts, header, footer, buttons) instead of five
   near-duplicate <style> blocks. Mirrors web/landing.html's system exactly.
   ========================================================================== */

:root {
  --ink: #15131c;
  --ink-soft: #4a4658;
  --ink-faint: #6b6781;
  --bg: #f6f5f8;
  --card: #ffffff;
  --line: #e9e7ef;
  --line-soft: #f0eef4;
  --blue: #2563eb;
  --purple: #7c3aed;
  --grad: linear-gradient(96deg, #2563eb 0%, #7c3aed 100%);
  --grad-text: linear-gradient(96deg, #60a5fa 0%, #a78bfa 55%, #c084fc 100%);
  --shadow-sm: 0 1px 2px rgba(21,19,28,.06), 0 1px 3px rgba(21,19,28,.05);
  --shadow-md: 0 8px 24px -8px rgba(21,19,28,.12), 0 2px 6px rgba(21,19,28,.05);
  --shadow-lg: 0 32px 64px -24px rgba(21,19,28,.28), 0 8px 24px -12px rgba(21,19,28,.12);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --maxw: 1160px;
  --pad: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.56,.46,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Accessibility (WCAG AA) ---------- */
/* Skip-link: keyboard users press Tab once to surface this; Enter jumps to <main>.
   Off-screen by default, revealed only when focused. WCAG 2.4.1 (Bypass Blocks). */
.skip-link {
  position: absolute; top: -40px; left: 0; z-index: 1000;
  background: var(--purple); color: #fff;
  padding: 8px 16px; border-radius: 0 0 8px 0;
  font: 600 14px/1.2 inherit; text-decoration: none;
}
.skip-link:focus, .skip-link:focus-visible { top: 0; outline: none; }

/* Visible keyboard focus for every interactive element. :focus-visible avoids the
   "focus ring on every mouse click" anti-pattern — only shows on keyboard nav.
   WCAG 2.4.7 (Focus Visible). */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Aggressive body-content link rule: any <a> inside <p> or <li> gets an underline so it's
   distinguishable from surrounding text by more than just color. WCAG 1.4.1 (Use of Color).
   Buttons + card-as-link constructs are NOT children of <p>/<li>, so they stay clean.
   .logo-chip stays exempt — they're <a> elements styled as button-like logo tiles. */
p a, li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
p a:hover, li a:hover { text-decoration-thickness: 2px; }
.logo-chip { text-decoration: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Reveal on scroll (hidden state only applies when JS is healthy) ---------- */
html.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
html.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 22px; line-height: 1;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s ease;
  white-space: nowrap; position: relative;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px -6px rgba(124,58,237,.5); position: relative; z-index: 0; }
.btn-primary::after { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(96deg,#3b82f6,#9333ea); opacity:0; transition:opacity .25s ease; z-index:-1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(124,58,237,.62); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: scale(.97); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #d8d4e4, var(--shadow-sm); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(.97); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Eyebrow pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: #fff; color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 0 rgba(124,58,237,.5); animation: dotpulse 2.6s var(--ease) infinite; }
@keyframes dotpulse { 0%,100%{ box-shadow:0 0 0 0 rgba(124,58,237,.45);} 50%{ box-shadow:0 0 0 5px rgba(124,58,237,0);} }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,248,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); background: rgba(246,245,248,.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 4px 12px -3px rgba(124,58,237,.5);
  transition: transform .3s var(--spring);
}
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-mark svg { width: 17px; height: 17px; color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 10px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.nav-link:hover { color: var(--ink); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }

/* ---------- Nav dropdowns (hover + keyboard via :focus-within) ---------- */
.nav-menu { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; font: inherit; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 10px 13px;
  border: 0; background: none; border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav-trigger:hover, .nav-menu:hover .nav-trigger, .nav-menu:focus-within .nav-trigger { color: var(--ink); background: rgba(21,19,28,.04); }
.nav-trigger .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-menu:hover .nav-trigger .chev, .nav-menu:focus-within .nav-trigger .chev { transform: rotate(180deg); }
.nav-pop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 264px; padding: 8px; background: var(--card); border-radius: var(--r);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-soft);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
/* invisible hover bridge so the pointer can cross the gap without the menu closing */
.nav-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-menu:hover .nav-pop, .nav-menu:focus-within .nav-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-pop a { display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm); transition: background .18s ease; }
.nav-pop a:hover, .nav-pop a:focus-visible { background: #f3eefe; outline: none; }
.nav-pop .mi-ic { width: 32px; height: 32px; border-radius: 9px; background: #f3eefe; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px #ece3fc; transition: background .18s ease; }
.nav-pop a:hover .mi-ic, .nav-pop a:focus-visible .mi-ic { background: #fff; }
.nav-pop .mi-ic svg { width: 17px; height: 17px; color: var(--purple); }
.nav-pop .mi-ic img { width: 18px; height: 18px; object-fit: contain; }
.nav-pop .mi-tx b { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.nav-pop .mi-tx span { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-faint); margin-top: 1px; line-height: 1.4; }

/* ============================================================================
   Mega menu (desktop) — Product / Solutions / Compare. Injected by host.js into
   every marketing header; tokens shared with the rest of host.css. Hidden <=860px,
   where the existing .mobile-menu hamburger takes over.
   ========================================================================== */
.nav-primary { display: flex; align-items: center; gap: 2px; }
.nav-item { position: static; }
.nav-item .nav-trigger { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; white-space: nowrap; }
.nav-item .nav-trigger:hover, .nav-item.is-open .nav-trigger { color: var(--ink); background: rgba(124,58,237,.07); }
.nav-caret { width: 14px; height: 14px; color: var(--ink-faint); transition: transform .35s var(--spring), color .2s ease; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); color: var(--purple); }

.mega-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(18,15,28,.20); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
header.nav.mega-open .mega-scrim { opacity: 1; visibility: visible; }
.mega-dock { position: absolute; left: 0; right: 0; top: 100%; height: 0; z-index: 60; pointer-events: none; }
.mega {
  position: absolute; top: 9px; left: 50%;
  width: min(1060px, calc(100vw - 28px));
  transform: translateX(-50%) translateY(14px) scale(.985);
  transform-origin: top center;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease), transform .4s var(--spring), visibility .26s linear;
}
.mega::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.mega.active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.mega-grid { display: grid; gap: 14px; padding: 20px; }
.mega[data-panel="product"] .mega-grid { grid-template-columns: 1.32fr .9fr; }
.mega[data-panel="solutions"] .mega-grid { grid-template-columns: .92fr 1.08fr; }
.mega[data-panel="compare"] .mega-grid { grid-template-columns: 1.32fr .9fr; }
.m-col { min-width: 0; }
.m-label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); padding: 2px 12px 8px; display: flex; align-items: center; gap: 8px; }
.m-label .ln { flex: 1; height: 1px; background: var(--line); }
.m-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.m-aud { display: flex; flex-direction: column; gap: 2px; }
.m-link { display: flex; gap: 13px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s ease; }
.m-link:hover { background: #f7f5fb; }
.m-link .m-ic { width: 40px; height: 40px; border-radius: 11px; background: #f3eefe; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px #ece3fc; transition: transform .35s var(--spring); }
.m-link:hover .m-ic { transform: scale(1.08) rotate(-5deg); }
.m-ic svg { width: 20px; height: 20px; color: var(--purple); }
.m-tt { font-size: 14.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; line-height: 1.2; }
.m-arrow { opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .25s var(--ease); color: var(--purple); display: inline-flex; }
.m-arrow svg { width: 13px; height: 13px; }
.m-link:hover .m-arrow { opacity: 1; transform: none; }
.m-ds { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; font-weight: 500; line-height: 1.45; }
.m-pro { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--grad); padding: 2px 6px; border-radius: 999px; }
.m-studio { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #5b53e6; padding: 2px 6px; border-radius: 999px; }
.m-feature { display: flex; flex-direction: column; }

/* live mini-demo (Product panel right column) — pure CSS animation, no JS */
.md { background: #fff; border: 1px solid var(--line-soft); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-md); }
.md-bar { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); background: #fbfbfd; }
.md-dots { display: flex; gap: 5px; flex-shrink: 0; }
.md-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.md-dots i:nth-child(1){ background:#ff5f57; } .md-dots i:nth-child(2){ background:#febc2e; } .md-dots i:nth-child(3){ background:#28c840; }
.md-url { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 11px; color: var(--ink-soft); font-weight: 500; overflow: hidden; white-space: nowrap; }
.md-locks { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.md-locks svg { position: absolute; inset: 0; width: 12px; height: 12px; }
.md-lk-open { color: var(--ink-faint); animation: mdLkO 6s var(--ease) infinite; }
.md-lk-closed { color: #1f9d55; opacity: 0; animation: mdLkC 6s var(--ease) infinite; }
.md-host { color: var(--ink-soft); flex-shrink: 0; }
.md-path { color: var(--ink); font-weight: 700; max-width: 0; overflow: hidden; display: inline-block; vertical-align: bottom; animation: mdPath 6s var(--ease) infinite; }
.md-badge { margin-left: auto; font-size: 8px; font-weight: 800; letter-spacing: .03em; color: var(--purple); background: #f3eefe; padding: 2px 6px; border-radius: 999px; flex-shrink: 0; opacity: 0; transform: scale(.5); animation: mdBadge 6s var(--ease) infinite; }
.md-body { position: relative; height: 100px; display: grid; place-items: center; background: radial-gradient(120% 130% at 82% -20%, rgba(124,58,237,.10), transparent 55%), #faf9fc; }
.md-pub, .md-live { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.md-pub { color: var(--ink-soft); opacity: 0; animation: mdPub 6s var(--ease) infinite; }
.md-pub .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #d9d2ee; border-top-color: var(--purple); animation: mdSpin .8s linear infinite; }
.md-live { color: var(--ink); opacity: 0; animation: mdLive 6s var(--ease) infinite; }
.md-live .d { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,.5); animation: ping 2s infinite; }
.md-prog { position: absolute; bottom: 16px; width: 60%; height: 6px; border-radius: 999px; background: #ece8f6; overflow: hidden; opacity: 0; animation: mdProgWrap 6s var(--ease) infinite; }
.md-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); animation: mdProg 6s var(--ease) infinite; }
.md-view { position: absolute; right: 9px; bottom: 9px; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); border-radius: 9px; padding: 5px 8px; font-size: 10px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px) scale(.9); animation: mdView 6s var(--ease) infinite; }
.md-view img { width: 16px; height: 16px; border-radius: 50%; }
@keyframes mdSpin { to { transform: rotate(360deg); } }
@keyframes ping { 0%{ box-shadow:0 0 0 0 rgba(40,200,64,.5);} 70%{ box-shadow:0 0 0 7px rgba(40,200,64,0);} 100%{ box-shadow:0 0 0 0 rgba(40,200,64,0);} }
@keyframes mdPath { 0%,15%{ max-width:0; opacity:0; } 30%,86%{ max-width:120px; opacity:1; } 96%,100%{ max-width:0; opacity:0; } }
@keyframes mdProgWrap { 0%,11%{ opacity:0; } 14%,32%{ opacity:1; } 37%,100%{ opacity:0; } }
@keyframes mdProg { 0%,12%{ width:0; } 32%{ width:100%; } 100%{ width:100%; } }
@keyframes mdPub { 0%,8%{ opacity:0; transform:translateY(4px); } 13%,30%{ opacity:1; transform:none; } 36%,100%{ opacity:0; } }
@keyframes mdLive { 0%,38%{ opacity:0; transform:translateY(5px); } 47%,90%{ opacity:1; transform:none; } 96%,100%{ opacity:0; } }
@keyframes mdBadge { 0%,31%{ opacity:0; transform:scale(.5); } 40%,88%{ opacity:1; transform:scale(1); } 94%,100%{ opacity:0; transform:scale(.5); } }
@keyframes mdLkC { 0%,31%{ opacity:0; } 40%,90%{ opacity:1; } 96%,100%{ opacity:0; } }
@keyframes mdLkO { 0%,31%{ opacity:1; } 40%,90%{ opacity:0; } 96%,100%{ opacity:1; } }
@keyframes mdView { 0%,52%{ opacity:0; transform:translateY(6px) scale(.9); } 61%,88%{ opacity:1; transform:none; } 94%,100%{ opacity:0; } }

/* promo card (dark) */
.m-promo { position: relative; overflow: hidden; margin-top: 12px; border-radius: 15px; padding: 16px 18px; color: #fff; box-shadow: var(--shadow-md); background: radial-gradient(130% 130% at 0% 0%, #3a1d6e 0%, transparent 58%), linear-gradient(135deg, #16111f, #1d1532); display: flex; flex-direction: column; gap: 5px; }
.m-promo::before { content: ""; position: absolute; width: 160px; height: 160px; right: -40px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); filter: blur(8px); pointer-events: none; }
.m-promo .ptag { position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; letter-spacing: .07em; color: #cdbcff; text-transform: uppercase; }
.m-promo .ptag .pdot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 0 rgba(167,139,250,.6); animation: dotpulse 2.6s var(--ease) infinite; }
.m-promo h5 { position: relative; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.m-promo p { position: relative; font-size: 12px; color: #b6aecb; font-weight: 500; line-height: 1.45; margin: 0; }
.m-promo .plink { position: relative; margin-top: 5px; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.m-promo .plink svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.m-promo:hover .plink svg { transform: translateX(3px); }

/* AI / platform integration tiles */
.m-ints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-int { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 13px; background: #f7f5fb; box-shadow: inset 0 0 0 1px var(--line-soft); font-weight: 700; font-size: 13px; color: var(--ink); transition: transform .3s var(--spring), box-shadow .25s ease, background .25s ease; }
.m-int:hover { transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 26px -14px var(--glow, rgba(124,58,237,.5)); }
.m-int .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.m-int .ico img { width: 18px; height: 18px; object-fit: contain; }
.m-int .ico svg { width: 18px; height: 18px; }
.m-int .ico.dark { background: #0e0a18; }
.m-int .ico.tint { background: #f3eefe; }
.m-int.any { justify-content: center; color: var(--ink-faint); font-weight: 600; font-size: 12.5px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.m-int.any:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d8d4e4, var(--shadow-sm); }
.m-ints.plats { grid-template-columns: 1fr 1fr; }
.m-int .logo { width: 18px; height: 18px; object-fit: contain; display: block; }
.m-int .wmk { height: 14px; width: auto; display: block; }

/* mega footer bar */
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; background: #f7f5fb; border-top: 1px solid var(--line-soft); }
.mega-foot .mf-txt { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.mega-foot .mf-txt b { color: var(--ink); font-weight: 700; }
.mega-foot .mf-link { font-size: 13px; font-weight: 700; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; transition: background .2s ease; }
.mega-foot .mf-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.mega-foot .mf-link:hover { background: #f0e9fc; }
.mega-foot .mf-link:hover svg { transform: translateX(3px); }

/* staggered reveal of panel items when a panel opens */
.mega .m-feats > a, .mega .m-aud > a, .mega .m-ints > a, .mega .m-feature > * { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .5s var(--spring); }
.mega.active .m-feats > a, .mega.active .m-aud > a, .mega.active .m-ints > a, .mega.active .m-feature > * { opacity: 1; transform: none; }
.mega.active .m-feats > a:nth-child(1), .mega.active .m-aud > a:nth-child(1), .mega.active .m-ints > a:nth-child(1) { transition-delay: .05s; }
.mega.active .m-feats > a:nth-child(2), .mega.active .m-aud > a:nth-child(2), .mega.active .m-ints > a:nth-child(2) { transition-delay: .09s; }
.mega.active .m-feats > a:nth-child(3), .mega.active .m-aud > a:nth-child(3), .mega.active .m-ints > a:nth-child(3) { transition-delay: .13s; }
.mega.active .m-feats > a:nth-child(4), .mega.active .m-aud > a:nth-child(4), .mega.active .m-ints > a:nth-child(4) { transition-delay: .17s; }
.mega.active .m-feats > a:nth-child(5), .mega.active .m-ints > a:nth-child(5) { transition-delay: .21s; }
.mega.active .m-feats > a:nth-child(6), .mega.active .m-ints > a:nth-child(6) { transition-delay: .25s; }
.mega.active .m-feature > *:nth-child(1) { transition-delay: .1s; }
.mega.active .m-feature > *:nth-child(2) { transition-delay: .18s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 78px 0 64px; text-align: center; }
.aurora { position: absolute; inset: -260px 0 auto 50%; transform: translateX(-50%); width: 1100px; height: 1000px; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.aurora .a1 { width: 540px; height: 540px; left: 8%; top: 4%; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 65%); animation: drift1 16s ease-in-out infinite; }
.aurora .a2 { width: 600px; height: 600px; right: 4%; top: 0; background: radial-gradient(circle, rgba(124,58,237,.45), transparent 65%); animation: drift2 19s ease-in-out infinite; }
.aurora .a3 { width: 460px; height: 460px; left: 36%; top: 22%; background: radial-gradient(circle, rgba(168,85,247,.32), transparent 65%); animation: drift3 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(60px,40px) scale(1.12);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-50px,30px) scale(1.08);} }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px,-40px) scale(1.15);} }
.hero .wrap { position: relative; z-index: 2; }
.hero .tool-badge {
  display: inline-flex; align-items: center; gap: 11px; margin: 22px auto 0;
  padding: 9px 18px 9px 12px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
}
.hero .tool-badge .ic { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; }
.hero .tool-badge .ic img { width: 100%; height: 100%; object-fit: contain; }
.hero .tool-badge .ic svg { width: 24px; height: 24px; }
/* line-height + padding-bottom prevent descender clipping ("g" / "p" / "y" in gradient-clipped
   words). All /vs/ + /for/ + /host/ pages share this stylesheet so the fix lands everywhere
   that uses .grad inside .hero h1. */
.hero h1 { font-size: clamp(33px, 5.4vw, 58px); max-width: 17ch; margin: 22px auto 0; line-height: 1.12; padding-bottom: 0.12em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; display: inline-block; }
.hero .sub { font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 58ch; margin: 22px auto 0; font-weight: 500; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }

/* ============================================================================
   DEMO COMPONENT 1 - Hero browser mockup ("Drop to live")
   Adapted from web/landing.html's hero demo so the /host/* pages get the same
   drop -> publish -> live-gate choreography instead of a static hero. The JS
   driver lives in host.js; the phase state machine is keyed off [data-phase].
   ========================================================================== */
.stage { perspective: 1600px; margin-top: 54px; }
.browser {
  max-width: 880px; margin: 0 auto; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.6);
  overflow: hidden; text-align: left; position: relative;
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: #fbfbfd; position: relative; z-index: 3; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots i:nth-child(1){ background:#ff5f57; } .dots i:nth-child(2){ background:#febc2e; } .dots i:nth-child(3){ background:#28c840; }
.url {
  flex: 1; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 14px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500;
  max-width: 460px; margin: 0 auto; overflow: hidden; white-space: nowrap;
}
.url .lock-wrap { width: 15px; height: 15px; position: relative; flex-shrink: 0; }
.url .lock-wrap svg { width: 15px; height: 15px; position: absolute; inset: 0; transition: opacity .3s ease, transform .3s var(--spring); }
.url .lk-open { color: var(--ink-faint); }
.url .lk-closed { color: #1f9d55; opacity: 0; transform: scale(.5); }
.url .host { color: var(--ink-soft); }
.url .path { color: var(--ink); font-weight: 600; display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; transition: max-width .9s var(--ease); }
.url .badge { margin-left: 14px; font-size: 11px; font-weight: 700; color: var(--purple); background: #f3eefe; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .35s var(--spring); flex-shrink: 0; }

.browser-body { position: relative; aspect-ratio: 16/8.6; background:
    radial-gradient(120% 120% at 80% -10%, rgba(124,58,237,.10), transparent 50%),
    radial-gradient(100% 100% at 0% 120%, rgba(37,99,235,.08), transparent 50%),
    #faf9fc;
  display: grid; place-items: center; overflow: hidden; }

.dropzone { position: absolute; inset: 26px; border: 2px dashed #c2bbd9; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink-faint); font-weight: 600; font-size: 14.5px; transition: opacity .45s ease, border-color .3s ease, transform .45s var(--ease); background: rgba(255,255,255,.4); }
/* Replaces the previous decorative <h4>Northbeam Studio…</h4> / <h4>Keep this link forever</h4>
   inside the landing-page demo mock. Visually identical to an h4-styled element, but as a <div>
   so it doesn't break the page's heading hierarchy (PSI flagged H1 → H4 skip). WCAG 1.3.1. */
.mock-title { font: 700 16.5px/1.3 inherit; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.dropzone .dz-ic { width: 46px; height: 46px; border-radius: 13px; background: #f0ecfb; display: grid; place-items: center; color: var(--purple); transition: transform .4s var(--spring); }
.dropzone .dz-ic svg { width: 22px; height: 22px; }
.dropzone small { color: var(--ink-faint); font-weight: 500; font-size: 12.5px; }

.filecard { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 13px; padding: 12px 15px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); font-weight: 600; font-size: 13.5px;
  top: -8%; left: 50%; transform: translate(-50%, -40px) scale(.92) rotate(-5deg); opacity: 0; }
.filecard .ext { width: 30px; height: 36px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .02em; flex-shrink: 0; }
.filecard .meta b { display: block; font-weight: 700; }
.filecard .meta span { color: var(--ink-faint); font-weight: 500; font-size: 11.5px; }

.progress { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); width: 60%; max-width: 360px; z-index: 5; opacity: 0; transition: opacity .3s ease; }
.progress .track { height: 7px; border-radius: 999px; background: #ece8f6; overflow: hidden; box-shadow: var(--shadow-sm); }
.progress .fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.1s var(--ease); }
.progress .plabel { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.progress .plabel .pct { color: var(--purple); }

.gate {
  width: min(360px, 76%); background: #fff; border-radius: 16px; padding: 28px 26px 24px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); text-align: center;
  z-index: 4; opacity: 0; transform: scale(.94) translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--spring);
}
.gate .glock { width: 46px; height: 46px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; margin: 0 auto 15px; box-shadow: 0 8px 20px -6px rgba(124,58,237,.5); }
.gate .glock svg { width: 22px; height: 22px; color: #fff; }
.gate h4 { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.gate p { font-size: 13px; color: var(--ink-faint); margin: 6px 0 17px; font-weight: 500; }
.gate .field { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 14px; color: var(--ink-faint); }
.gate .field svg { width: 15px; height: 15px; }
.gate .field span { letter-spacing: .25em; }
.gate .enter { margin-top: 11px; width: 100%; justify-content: center; }

.float-tag {
  position: absolute; display: flex; align-items: center; gap: 8px; z-index: 6;
  background: #fff; border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .45s var(--ease), transform .45s var(--spring);
}
.float-tag svg { width: 15px; height: 15px; }
.float-tag.t1 { top: 20px; left: 20px; color: var(--ink); }
.float-tag.t1 svg { color: var(--purple); }
.float-tag.t2 { bottom: 20px; right: 20px; color: var(--ink); }
.float-tag .ping { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,.6); animation: ping 2s infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(40,200,64,.5);} 70%{ box-shadow: 0 0 0 8px rgba(40,200,64,0);} 100%{ box-shadow: 0 0 0 0 rgba(40,200,64,0);} }

/* Snap helper: suppresses transitions for one frame so the loop can reset from 'live' back to
   'idle' instantly (no reverse-transition flash) before replaying. Added/removed by host.js. */
.no-anim, .no-anim * { transition: none !important; animation: none !important; }
.browser[data-phase="idle"] .dropzone { opacity: 1; }
.browser[data-phase="drop"] .filecard { opacity: 1; transform: translate(-50%, 38%) scale(1) rotate(0deg); transition: opacity .4s ease, transform .7s var(--spring); }
.browser[data-phase="drop"] .dropzone { border-color: var(--purple); }
.browser[data-phase="drop"] .dropzone .dz-ic { transform: translateY(-4px) scale(1.05); }
.browser[data-phase="upload"] .filecard { opacity: 0; transform: translate(-50%, 60%) scale(.7); transition: opacity .4s ease, transform .5s var(--ease); }
.browser[data-phase="upload"] .dropzone { opacity: .35; }
.browser[data-phase="upload"] .progress { opacity: 1; }
.browser[data-phase="upload"] .progress .fill { width: 100%; }
.browser[data-phase="publish"] .dropzone { opacity: 0; transform: scale(.97); }
.browser[data-phase="publish"] .progress { opacity: 0; }
.browser[data-phase="publish"] .url .path { max-width: 180px; }
.browser[data-phase="publish"] .url .lk-open { opacity: 0; }
.browser[data-phase="publish"] .url .lk-closed { opacity: 1; transform: scale(1); }
.browser[data-phase="publish"] .url .badge { opacity: 1; transform: scale(1); }
.browser[data-phase="live"] .dropzone { opacity: 0; }
.browser[data-phase="live"] .progress { opacity: 0; }
.browser[data-phase="live"] .url .path { max-width: 180px; }
.browser[data-phase="live"] .url .lk-open { opacity: 0; }
.browser[data-phase="live"] .url .lk-closed { opacity: 1; transform: scale(1); }
.browser[data-phase="live"] .url .badge { opacity: 1; transform: scale(1); }
.browser[data-phase="live"] .gate { opacity: 1; transform: none; }
.browser[data-phase="live"] .float-tag { opacity: 1; transform: none; }
.browser[data-phase="live"] .float-tag.t2 { transition-delay: .25s; }

/* ============================================================================
   DEMO COMPONENT 2 - "Drop to live" mini card
   A compact, self-contained variant of the hero choreography for mid-page
   sections: a file drops into a small dropzone, a progress sweep runs, then a
   private link pops in. Same [data-phase] driver in host.js, smaller footprint.
   ========================================================================== */
.dropdemo {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  background: var(--card); border-radius: var(--r-lg); padding: 26px 24px 24px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); overflow: hidden;
}
.dropdemo .dd-zone {
  position: relative; border: 2px dashed #d9d4ea; border-radius: var(--r);
  min-height: 188px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 11px; text-align: center; color: var(--ink-faint); font-weight: 600; font-size: 14px;
  background: rgba(243,238,254,.35); transition: border-color .3s ease, background .3s ease;
}
.dropdemo .dd-zone small { font-weight: 500; font-size: 12px; color: var(--ink-faint); }
.dropdemo .dd-ic { width: 44px; height: 44px; border-radius: 13px; background: #f0ecfb; display: grid; place-items: center; color: var(--purple); transition: transform .4s var(--spring); }
.dropdemo .dd-ic svg { width: 21px; height: 21px; }
/* the file chip that falls in */
.dropdemo .dd-file {
  position: absolute; left: 50%; top: 6px; z-index: 3;
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  font-weight: 600; font-size: 13px; white-space: nowrap;
  transform: translate(-50%, -32px) scale(.9) rotate(-5deg); opacity: 0;
}
.dropdemo .dd-file .ext { width: 27px; height: 33px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 8.5px; font-weight: 800; flex-shrink: 0; }
.dropdemo .dd-file .meta b { display: block; font-weight: 700; }
.dropdemo .dd-file .meta span { color: var(--ink-faint); font-weight: 500; font-size: 11px; }
/* progress sweep */
.dropdemo .dd-prog { position: absolute; left: 24px; right: 24px; bottom: 30px; z-index: 4; opacity: 0; transition: opacity .3s ease; }
.dropdemo .dd-prog .lab { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.dropdemo .dd-prog .lab .pct { color: var(--purple); }
.dropdemo .dd-prog .track { height: 6px; border-radius: 999px; background: #ece8f6; overflow: hidden; }
.dropdemo .dd-prog .fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.1s var(--ease); }
/* the private link that pops in */
.dropdemo .dd-link {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 13px; padding: 24px; text-align: center;
  background: var(--card); opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .5s var(--spring);
}
.dropdemo .dd-link .chk { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(124,58,237,.5); }
.dropdemo .dd-link .chk svg { width: 23px; height: 23px; color: #fff; }
.dropdemo .dd-link .url-pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  background: #f6f5f8; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden;
}
.dropdemo .dd-link .url-pill svg { width: 14px; height: 14px; color: #1f9d55; flex-shrink: 0; }
.dropdemo .dd-link .url-pill .u { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdemo .dd-link .url-pill .u span { color: var(--ink-faint); font-weight: 500; }
.dropdemo .dd-link .copied { font-size: 12px; font-weight: 600; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 6px; }
.dropdemo .dd-link .copied .dot2 { width: 6px; height: 6px; border-radius: 50%; background: #28c840; }

.dropdemo[data-phase="drop"] .dd-zone { border-color: var(--purple); background: rgba(243,238,254,.6); }
.dropdemo[data-phase="drop"] .dd-ic { transform: translateY(-3px) scale(1.06); }
.dropdemo[data-phase="drop"] .dd-file { opacity: 1; transform: translate(-50%, 56px) scale(1) rotate(0deg); transition: opacity .4s ease, transform .7s var(--spring); }
.dropdemo[data-phase="upload"] .dd-file { opacity: 0; transform: translate(-50%, 80px) scale(.7); transition: opacity .35s ease, transform .5s var(--ease); }
.dropdemo[data-phase="upload"] .dd-zone { opacity: .4; }
.dropdemo[data-phase="upload"] .dd-prog { opacity: 1; }
.dropdemo[data-phase="upload"] .dd-prog .fill { width: 100%; }
.dropdemo[data-phase="live"] .dd-link { opacity: 1; transform: none; }

/* ============================================================================
   DEMO COMPONENT 3 - "Custom-domain swap"
   A browser address bar morphs from a random siteviewer.app subdomain to the
   user's own studio domain, with a PRO chip popping in. Driven by [data-phase]
   ("before" | "after") toggled in host.js.
   ========================================================================== */
.domainswap { width: 100%; max-width: 560px; margin: 0 auto; }
.domainswap .ds-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 15px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-soft);
}
.domainswap .ds-dots { display: flex; gap: 6px; flex-shrink: 0; }
.domainswap .ds-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.domainswap .ds-dots i:nth-child(1){ background:#ff5f57; } .domainswap .ds-dots i:nth-child(2){ background:#febc2e; } .domainswap .ds-dots i:nth-child(3){ background:#28c840; }
.domainswap .ds-url {
  flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0;
  background: #faf9fc; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px 9px 13px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.domainswap .ds-url > svg { width: 15px; height: 15px; flex-shrink: 0; transition: color .4s ease; }
.domainswap .ds-host { display: inline-flex; min-width: 0; overflow: hidden; white-space: nowrap; }
/* the two domain strings are stacked; we cross-fade + slide between them */
.domainswap .ds-dom { position: relative; display: inline-grid; vertical-align: bottom; min-width: 0; }
.domainswap .ds-dom .d {
  grid-area: 1/1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.domainswap .ds-dom .d-before { color: var(--ink-faint); font-weight: 500; }
.domainswap .ds-dom .d-after { color: var(--ink); opacity: 0; transform: translateY(.5em); filter: blur(5px); }
.domainswap .ds-dom .d-after b { font-weight: 700; }
.domainswap .ds-path { color: var(--ink); font-weight: 600; flex-shrink: 0; }
.domainswap .ds-chip {
  margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--grad);
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 14px -5px rgba(124,58,237,.55);
  opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .45s var(--spring);
}
.domainswap .ds-caption {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-faint);
}
.domainswap .ds-caption .swap-ic { width: 16px; height: 16px; color: var(--purple); transition: transform .5s var(--spring); }

.domainswap[data-phase="after"] .ds-url > svg { color: #1f9d55; }
.domainswap[data-phase="after"] .ds-dom .d-before { opacity: 0; transform: translateY(-.5em); filter: blur(5px); }
.domainswap[data-phase="after"] .ds-dom .d-after { opacity: 1; transform: none; filter: none; }
.domainswap[data-phase="after"] .ds-chip { opacity: 1; transform: scale(1); }
.domainswap[data-phase="after"] .ds-caption .swap-ic { transform: rotate(180deg); }

/* ============================================================================
   COMPARE / USE-CASE PAGE ANIMATIONS (/vs/*, /for/*)
   Each reuses the generic [data-phase] loop driver in host.js (driveSequence) and
   the design tokens, so motion + look match the hero demos - only the body mechanic
   differs per page, so the set feels in-keeping without feeling same-y. Shared frame:
   .demo + .demo-body + .cap. One mechanic class per page (.expiry / .pipe / …).
   ========================================================================== */
.demo { max-width: 640px; margin: 4px auto 0; background:#fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.6); overflow:hidden; position:relative; text-align:left; }
.demo-body { position:relative; aspect-ratio: 16/9; overflow:hidden;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(124,58,237,.10), transparent 50%),
    radial-gradient(100% 100% at 0% 120%, rgba(37,99,235,.07), transparent 50%), #faf9fc;
  display:grid; place-items:center; padding: 26px 26px 38px; }
.demo .cap { position:absolute; left:0; right:0; bottom:0; text-align:center; font-size:12px; font-weight:600;
  color:var(--ink-faint); padding:9px 12px; }
.demo .cap b { color: var(--purple); font-weight:700; }

/* ---- /vs/netlify-drop - a temporary link's timer runs out; the permanent one stays lit ---- */
.expiry .pair { display:grid; grid-template-columns:1fr 1fr; gap:14px; width:100%; max-width:470px; align-items:stretch; }
.expiry .lcard { background:#fff; border:1px solid var(--line-soft); border-radius:14px; box-shadow:var(--shadow-md);
  padding:14px 15px; position:relative; display:flex; flex-direction:column;
  transition: opacity .5s var(--ease), filter .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--spring); }
.expiry .lcard .top { display:flex; align-items:center; gap:9px; font-weight:700; font-size:13px; color:var(--ink); }
.expiry .lcard .fav { width:28px; height:28px; border-radius:8px; display:grid; place-items:center; color:#fff; flex-shrink:0; }
.expiry .lcard .fav svg { width:15px; height:15px; }
.expiry .lcard .lurl { font-size:11px; color:var(--ink-faint); font-weight:500; margin-top:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.expiry .lcard .spacer { flex:1; min-height:6px; }
.expiry .drop .timerow { display:flex; justify-content:space-between; align-items:center; font-size:10px; font-weight:600; color:var(--ink-faint); margin:12px 0 6px; }
.expiry .drop .bar { height:6px; border-radius:999px; background:#ece8f6; overflow:hidden; }
.expiry .drop .bar .fill { height:100%; width:100%; border-radius:999px; background:#28c840; transition: width 3s linear, background-color 3s linear; }
.expiry[data-phase="ticking"] .drop .bar .fill { width:7%; background:#ff5f57; }
.expiry[data-phase="expired"] .drop .bar .fill { width:0; background:#ff5f57; }
.expiry[data-phase="expired"] .drop { filter:grayscale(1); opacity:.5; }
.expiry .drop .stamp { position:absolute; inset:0; display:grid; place-items:center; opacity:0; transition:opacity .4s var(--ease); }
.expiry .drop .stamp span { border:2px solid #ff5f57; color:#ff5f57; font-weight:800; font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:5px 10px; border-radius:8px; transform:rotate(-7deg); background:rgba(255,255,255,.78); }
.expiry[data-phase="expired"] .drop .stamp { opacity:1; }
.expiry .sv .perm { display:inline-flex; align-items:center; gap:7px; margin-top:12px; font-size:10.5px; font-weight:700; color:var(--purple); background:#f3eefe; padding:5px 9px; border-radius:999px; align-self:flex-start; }
.expiry .sv .perm .ping { width:7px; height:7px; border-radius:50%; background:#28c840; }
.expiry[data-phase="expired"] .sv { box-shadow:var(--shadow-md), 0 0 0 2px rgba(124,58,237,.35); transform:translateY(-3px); }
.expiry[data-phase="expired"] .sv .perm .ping { animation: ping 1.6s infinite; }

/* ---- /vs/vercel - a git/build pipeline lights up then gets crossed out; one drag goes live ---- */
.pipe .rows { display:flex; flex-direction:column; gap:20px; width:100%; max-width:520px; }
.pipe .rlab { font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:10px; }
.pipe .prow { display:flex; align-items:center; gap:7px; position:relative; }
.pipe .node, .pipe .filechip, .pipe .livepill { display:flex; align-items:center; gap:7px; background:#fff; border:1px solid var(--line-soft); border-radius:10px; padding:8px 11px; font-size:11.5px; font-weight:600; color:var(--ink); box-shadow:var(--shadow-sm); white-space:nowrap; }
.pipe .node { opacity:.42; transition: opacity .45s var(--ease), filter .45s var(--ease); }
.pipe .node svg { width:14px; height:14px; color:var(--ink-faint); flex-shrink:0; }
.pipe .arr { color:var(--ink-faint); opacity:.45; flex-shrink:0; }
.pipe .arr svg { width:13px; height:13px; display:block; }
.pipe .filechip .ext { width:21px; height:26px; border-radius:5px; background:var(--grad); display:grid; place-items:center; color:#fff; font-size:6.5px; font-weight:800; flex-shrink:0; }
.pipe .livepill { font-weight:700; color:var(--ink-faint); background:#f1eef7; transition: color .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease); }
.pipe .livepill .ping { width:7px; height:7px; border-radius:50%; background:#c9c5d6; }
.pipe .strike { position:absolute; left:-4px; right:6%; top:50%; height:2.5px; background:#ff5f57; border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease); }
.pipe[data-phase="pipeline"] .vc .node, .pipe[data-phase="drop"] .vc .node { opacity:1; }
.pipe .vc .node:nth-child(1){ transition-delay:0ms } .pipe .vc .node:nth-child(3){ transition-delay:.22s } .pipe .vc .node:nth-child(5){ transition-delay:.44s } .pipe .vc .node:nth-child(7){ transition-delay:.66s }
.pipe[data-phase="drop"] .vc .node { filter:grayscale(1); opacity:.4; transition-delay:0ms; }
.pipe[data-phase="drop"] .vc .arr { opacity:.25; }
.pipe[data-phase="drop"] .vc .strike { transform:scaleX(1); }
.pipe[data-phase="drop"] .sv .livepill { color:#1f9d55; background:#eafaf0; box-shadow:0 0 0 1px rgba(31,157,85,.25); }
.pipe[data-phase="drop"] .sv .livepill .ping { background:#28c840; animation: ping 1.6s infinite; }

/* ---- /vs/tiiny - a public page gets gated behind a password ---- */
.privacy .demo-body { padding:0; aspect-ratio:auto; display:flex; flex-direction:column; align-items:stretch; background:#fff; }
.privacy .b-bar { display:flex; align-items:center; gap:13px; padding:11px 15px; border-bottom:1px solid var(--line-soft); background:#fbfbfd; position:relative; z-index:3; }
.privacy .b-dots { display:flex; gap:6px; } .privacy .b-dots i { width:10px; height:10px; border-radius:50%; display:block; }
.privacy .b-dots i:nth-child(1){background:#ff5f57} .privacy .b-dots i:nth-child(2){background:#febc2e} .privacy .b-dots i:nth-child(3){background:#28c840}
.privacy .b-url { flex:1; display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:7px 15px; font-size:12.5px; color:var(--ink-soft); font-weight:500; max-width:340px; margin:0 auto; }
.privacy .b-url .lk { width:14px; height:14px; position:relative; flex-shrink:0; }
.privacy .b-url .lk svg { width:14px; height:14px; position:absolute; inset:0; transition: opacity .35s ease, transform .35s var(--spring); }
.privacy .b-url .lk-open { color:var(--ink-faint); } .privacy .b-url .lk-closed { color:#1f9d55; opacity:0; transform:scale(.5); }
.privacy .b-body { position:relative; aspect-ratio:16/8.4; display:grid; place-items:center; overflow:hidden; background:
   radial-gradient(120% 120% at 80% -10%, rgba(124,58,237,.10), transparent 50%), #faf9fc; }
.privacy .pagebars, .privacy .gate { grid-area:1 / 1; }
.privacy .pagebars { width:74%; display:flex; flex-direction:column; gap:11px; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.privacy .pagebars i { height:13px; border-radius:6px; background:#e7e3f1; display:block; }
.privacy .pagebars i:nth-child(1){ width:52%; height:19px; background:var(--grad); opacity:.85 }
.privacy .pagebars i:nth-child(2){ width:100% } .privacy .pagebars i:nth-child(3){ width:90% } .privacy .pagebars i:nth-child(4){ width:66% }
.privacy[data-phase="private"] .pagebars { filter:blur(7px); opacity:.45; }
.privacy[data-phase="private"] .b-url .lk-open { opacity:0; }
.privacy[data-phase="private"] .b-url .lk-closed { opacity:1; transform:scale(1); }
.privacy[data-phase="private"] .gate { opacity:1; transform:none; }

/* ---- /for/designers - a mockup gets reviewed, then a green sign-off stamp lands ---- */
.signoff .mock { width:min(340px,78%); background:#fff; border:1px solid var(--line-soft); border-radius:14px; box-shadow:var(--shadow-md); padding:13px; position:relative; transition: box-shadow .55s var(--ease); }
.signoff .mock .thumb { height:92px; border-radius:9px; position:relative; overflow:hidden;
  background: radial-gradient(120% 120% at 18% 0%, rgba(167,139,250,.7), transparent 60%), linear-gradient(135deg,#7c3aed,#4f46e5); }
.signoff .mock .thumb::after { content:''; position:absolute; left:14px; bottom:13px; width:44%; height:8px; border-radius:5px; background:rgba(255,255,255,.75); box-shadow:0 15px 0 -1px rgba(255,255,255,.5); }
.signoff .mock .mbars { margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.signoff .mock .mbars i { height:9px; border-radius:5px; background:#ece8f3; }
.signoff .mock .mbars i:nth-child(1){ width:82% } .signoff .mock .mbars i:nth-child(2){ width:96% } .signoff .mock .mbars i:nth-child(3){ width:58% }
.signoff .vtag { top:16px; right:16px; }
.signoff .vtag .ping { width:7px; height:7px; border-radius:50%; background:#febc2e; }
.signoff[data-phase="review"] .vtag { opacity:1; transform:none; }
.signoff[data-phase="review"] .vtag .ping { animation: ping 1.8s infinite; }
.signoff[data-phase="approved"] .vtag { opacity:0; transform:translateY(8px) scale(.92); }
.signoff .stamp { position:absolute; inset:0; display:grid; place-items:center; opacity:0; transition: opacity .4s var(--ease); }
.signoff .stamp span { display:inline-flex; align-items:center; gap:8px; border:2.5px solid #1f9d55; color:#1f9d55; font-weight:800; font-size:13.5px; letter-spacing:.07em; text-transform:uppercase; padding:8px 14px; border-radius:10px; background:rgba(255,255,255,.86); transform:rotate(-8deg) scale(.78); transition: transform .5s var(--spring); }
.signoff .stamp span svg { width:16px; height:16px; }
.signoff[data-phase="approved"] .stamp { opacity:1; }
.signoff[data-phase="approved"] .stamp span { transform:rotate(-8deg) scale(1); }
.signoff[data-phase="approved"] .mock { box-shadow:var(--shadow-md), 0 0 0 2.5px rgba(31,157,85,.5); }

/* ---- /for/agencies - many client previews resolve under one white-label domain ---- */
.clients .stack { display:flex; flex-direction:column; align-items:center; width:100%; }
.clients .dbar { display:flex; align-items:center; gap:9px; width:100%; max-width:430px; background:#fff; border:1px solid var(--line-soft); border-radius:11px; box-shadow:var(--shadow-sm); padding:9px 13px; font-size:12px; font-weight:600; color:var(--ink); margin-bottom:14px; opacity:0; transform:translateY(-9px); transition: opacity .5s var(--ease), transform .5s var(--spring); }
.clients .dbar .lm { width:22px; height:22px; border-radius:6px; background:var(--grad); display:grid; place-items:center; flex-shrink:0; }
.clients .dbar .lm svg { width:12px; height:12px; color:#fff; }
.clients .dbar .pin { margin-left:auto; font-size:10px; font-weight:700; color:var(--purple); background:#f3eefe; padding:3px 9px; border-radius:999px; white-space:nowrap; }
.clients .grid { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; width:100%; max-width:430px; }
.clients .cc { background:#fff; border:1px solid var(--line-soft); border-radius:11px; box-shadow:var(--shadow-sm); padding:11px; opacity:0; transform:translateY(11px) scale(.93); transition: opacity .5s var(--ease), transform .55s var(--spring); }
.clients .cc .strip { display:block; height:7px; border-radius:4px; width:62%; }
.clients .cc .cb { display:block; height:7px; border-radius:4px; background:#ece8f3; }
.clients .cc .cb.s { width:84%; margin-top:10px; } .clients .cc .cb.t { width:54%; margin-top:6px; }
.clients[data-phase="stack"] .cc, .clients[data-phase="live"] .cc { opacity:1; transform:none; }
.clients .cc:nth-child(1){transition-delay:0ms} .clients .cc:nth-child(2){transition-delay:.07s} .clients .cc:nth-child(3){transition-delay:.14s} .clients .cc:nth-child(4){transition-delay:.21s} .clients .cc:nth-child(5){transition-delay:.28s} .clients .cc:nth-child(6){transition-delay:.35s}
.clients[data-phase="live"] .dbar { opacity:1; transform:none; }

/* ---------- Section scaffold ---------- */
section { padding: 88px 0; position: relative; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(29px, 4.2vw, 44px); margin-top: 18px; }
.sec-head p { font-size: 18px; color: var(--ink-soft); margin-top: 16px; font-weight: 500; }

/* ---------- Benefit cards ---------- */
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.benefit {
  background: var(--card); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit .ic { width: 50px; height: 50px; border-radius: 14px; background: #f3eefe; display: grid; place-items: center; margin-bottom: 20px; box-shadow: inset 0 0 0 1px #ece3fc; transition: transform .35s var(--spring); }
.benefit:hover .ic { transform: scale(1.08) rotate(-4deg); }
.benefit .ic svg { width: 24px; height: 24px; color: var(--purple); }
.benefit h3 { font-size: 19px; font-weight: 700; }
.benefit p { color: var(--ink-soft); font-size: 15.5px; margin-top: 9px; font-weight: 500; line-height: 1.55; }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg,#f6f5f8,#efedf4); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step {
  background: var(--card); border-radius: var(--r-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .num {
  width: 38px; height: 38px; border-radius: 11px; background: #f3eefe; color: var(--purple);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px #e7dcfd;
}
.step h3 { font-size: 19px; font-weight: 700; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin-top: 9px; font-weight: 500; line-height: 1.55; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(80% 110% at 50% -10%, #3a1d6e 0%, transparent 55%),
    linear-gradient(180deg, #0e0a18 0%, #14101f 100%);
  color: #fff; position: relative; overflow: hidden; text-align: center;
}
.cta-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.cta-aurora .b1 { width: 560px; height: 560px; left: 8%; top: -10%; background: radial-gradient(circle, rgba(124,58,237,.7), transparent 65%); animation: drift1 18s ease-in-out infinite; }
.cta-aurora .b2 { width: 520px; height: 520px; right: 6%; top: 8%; background: radial-gradient(circle, rgba(59,130,246,.45), transparent 65%); animation: drift2 21s ease-in-out infinite; }
.cta-band .wrap { position: relative; z-index: 2; max-width: 680px; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 48px); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { color: #b6aecb; font-size: 18px; margin-top: 16px; font-weight: 500; }
.cta-band .hero-cta { margin-top: 30px; }
.cta-band .hero-note { color: #8c84a6; }

/* ---------- Footer ---------- */
footer { background: #0e0a18; color: #b6aecb; padding: 56px 0 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-inner .brand { color: #fff; }
.foot-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; flex-wrap: wrap; }
.foot-links a { transition: color .2s ease; }
.foot-links a:hover { color: #fff; }
.foot-copy { width: 100%; border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 24px; font-size: 13.5px; color: #9a93b3; }

/* ---------- Mobile menu (shared across every /host/*, /vs/*, /for/* page) ----------
   Same component as landing.html - the hamburger button + the slide-down menu panel are
   injected into every marketing page by host.js on DOMContentLoaded, so adding it here
   covers all 15 marketing pages with one CSS block. */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: none; background: transparent; border-radius: 12px; cursor: pointer; color: var(--ink); margin-left: 6px; transition: background .2s ease, transform .15s var(--ease); }
.nav-toggle:hover { background: rgba(21,19,28,.06); }
.nav-toggle:active { background: rgba(21,19,28,.10); transform: scale(.96); }
.burger { position: relative; width: 24px; height: 17px; display: inline-block; }
.burger span { position: absolute; left: 0; right: 0; height: 2.5px; background: currentColor; border-radius: 2px; transform-origin: center; transition: transform .35s var(--ease), opacity .2s ease, top .25s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { top: 100%; transform: translateY(-100%); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 68px 0 0 0; z-index: 49; background: linear-gradient(180deg, #f7f6f9 0%, #ffffff 60%, #f6f3fc 100%); overflow-y: auto; padding: 14px 0 28px; transform: translateY(-10px); opacity: 0; transition: opacity .2s ease, transform .25s var(--ease); }
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu .wrap { padding: 0 18px; }
/* ===== Mobile menu redesign: one row language, tappable accordions, color-coded by purpose ===== */
.mobile-menu .promo { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 16px; margin: 2px 0 18px; color: #fff; position: relative; overflow: hidden; text-decoration: none; background: radial-gradient(120% 160% at 0% 0%, #6d3df0 0%, transparent 60%), linear-gradient(110deg, #4f29d4, #7c3aed 60%, #8b46f5); box-shadow: 0 12px 26px -12px rgba(124,58,237,.7); transition: transform .2s var(--ease), box-shadow .25s ease; }
.mobile-menu .promo:active { transform: scale(.99); }
.mobile-menu .promo .pspark { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
.mobile-menu .promo .pspark svg { width: 19px; height: 19px; color: #fff; }
.mobile-menu .promo .ptxt { flex: 1; min-width: 0; }
.mobile-menu .promo .ptxt b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; }
.mobile-menu .promo .ptxt span { display: block; font-size: 12px; color: rgba(255,255,255,.82); font-weight: 500; }
.mobile-menu .promo .parrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
.mobile-menu .promo .parrow svg { width: 15px; height: 15px; color: #fff; }

/* shared row anatomy: [icon tile] · [title + descriptor] · [trailing affordance] */
.mobile-menu .tile { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; transition: transform .3s var(--spring); }
.mobile-menu .tile svg { width: 21px; height: 21px; }
.mobile-menu .tile.purple { background: #f1ebfe; box-shadow: inset 0 0 0 1px #e7dcfb; color: var(--purple); }
.mobile-menu .tile.blue   { background: #e9f0fe; box-shadow: inset 0 0 0 1px #d9e6fc; color: var(--blue); }
.mobile-menu .tile.green  { background: #e6f5ec; box-shadow: inset 0 0 0 1px #d3edde; color: #1f9d55; }
.mobile-menu .rtext { flex: 1; min-width: 0; }
.mobile-menu .rtext .rt { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; display: flex; align-items: center; gap: 8px; }
.mobile-menu .rtext .rd { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px; line-height: 1.3; }

/* accordion group card */
.mobile-menu .acc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s ease; }
.mobile-menu .acc.open { box-shadow: var(--shadow-md); border-color: #e2def0; }
.mobile-menu .acc-head { width: 100%; background: none; border: 0; outline: none; cursor: pointer; display: flex; align-items: center; gap: 13px; padding: 14px; text-align: left; }
/* Keyboard focus rings the rounded CARD (follows the radius); a raw button outline got clipped by the
   card's overflow:hidden and read as a stray, unpolished border around the corners. */
.mobile-menu .acc:has(.acc-head:focus-visible) { box-shadow: var(--shadow-md), 0 0 0 2px rgba(124,58,237,.5); }
.mobile-menu .acc-head:active .tile { transform: scale(.94); }
.mobile-menu .acc .count { font-size: 11.5px; font-weight: 800; color: var(--ink-faint); background: var(--bg); border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; }
.mobile-menu .chev { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: transform .4s var(--spring), background .25s ease, color .25s ease; }
.mobile-menu .chev svg { width: 17px; height: 17px; }
.mobile-menu .acc.open .chev { transform: rotate(180deg); background: #f1ebfe; box-shadow: inset 0 0 0 1px #e7dcfb; color: var(--purple); }
.mobile-menu .acc.open[data-accent="blue"] .chev { background: #e9f0fe; box-shadow: inset 0 0 0 1px #d9e6fc; color: var(--blue); }
.mobile-menu .acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.mobile-menu .acc.open .acc-panel { grid-template-rows: 1fr; }
.mobile-menu .acc-inner { overflow: hidden; min-height: 0; }
.mobile-menu .acc-well { margin: 0 10px 10px; padding: 4px 6px; background: #faf9fc; border-radius: 13px; }
.mobile-menu .child { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 11px; position: relative; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .18s ease; }
.mobile-menu .acc.open .child { opacity: 1; transform: none; }
.mobile-menu .acc.open .child:nth-child(1) { transition-delay: .05s; }
.mobile-menu .acc.open .child:nth-child(2) { transition-delay: .09s; }
.mobile-menu .acc.open .child:nth-child(3) { transition-delay: .13s; }
.mobile-menu .acc.open .child:nth-child(4) { transition-delay: .17s; }
.mobile-menu .acc.open .child:nth-child(5) { transition-delay: .21s; }
.mobile-menu .acc.open .child:nth-child(6) { transition-delay: .25s; }
.mobile-menu .acc.open .child:nth-child(7) { transition-delay: .29s; }
.mobile-menu .acc.open .child:nth-child(8) { transition-delay: .33s; }
.mobile-menu .acc.open .child:nth-child(9) { transition-delay: .37s; }
.mobile-menu .child:active { background: #f0edf7; }
.mobile-menu .child .tile { width: 38px; height: 38px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); }
.mobile-menu .child .tile svg { width: 18px; height: 18px; }
.mobile-menu .child .rt { font-size: 14.5px; }
.mobile-menu .child .rd { font-size: 11.5px; margin-top: 1px; }
.mobile-menu .child .cgo { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; transition: transform .2s var(--ease); }
.mobile-menu .child:active .cgo { transform: translateX(2px); }
.mobile-menu .sbadge { font-size: 8.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #5b53e6; padding: 2px 6px; border-radius: 999px; }

/* "Get started" divider */
.mobile-menu .m-divider { display: flex; align-items: center; gap: 12px; margin: 6px 2px 14px; }
.mobile-menu .m-divider::before, .mobile-menu .m-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.mobile-menu .m-divider span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* direct link rows (Features / Pricing) */
.mobile-menu .link-row { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 13px 14px; margin-bottom: 12px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .25s ease, border-color .2s ease; }
.mobile-menu .link-row:active { transform: scale(.99); }
.mobile-menu .link-row .lgo { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; transition: transform .2s var(--ease); }
.mobile-menu .link-row:active .lgo { transform: translateX(2px); }

/* footer: single Start free, single Log in, brand line */
.mobile-menu .m-foot { padding: 14px 0 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.mobile-menu .cta { width: 100%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; border-radius: 999px; padding: 15px; letter-spacing: -.01em; box-shadow: 0 10px 24px -8px rgba(124,58,237,.6); text-decoration: none; transition: transform .18s var(--ease), box-shadow .25s ease; }
.mobile-menu .cta:active { transform: scale(.98); }
.mobile-menu .cta svg { width: 18px; height: 18px; }
.mobile-menu .m-login { display: block; text-align: center; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); padding: 14px 0 4px; text-decoration: none; }
.mobile-menu .m-login b { color: var(--ink); font-weight: 700; }
.mobile-menu .m-foot-note { text-align: center; font-size: 11.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px; }
.mobile-menu .m-brandline { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--ink-faint); font-size: 12px; }
.mobile-menu .m-brandline .logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 4px 10px -3px rgba(124,58,237,.5); }
.mobile-menu .m-brandline .logo-mark svg { width: 15px; height: 15px; color: #fff; }
.mobile-menu .m-brandline strong { color: var(--ink-soft); font-weight: 700; }
body.menu-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 66px 0; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .nav-link.hide-sm, .nav-menu, .nav-sep { display: none; }
  /* Desktop mega is hidden on mobile; the .mobile-menu hamburger takes over. */
  .nav-primary, .mega-dock, .mega-scrim { display: none; }
  .float-tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions > .btn-primary { display: none; } /* the CTA lives inside the menu on mobile */
  .mobile-menu { display: block; visibility: hidden; }
  .mobile-menu.open { visibility: visible; }
}
@media (max-width: 520px) {
  .hero { padding: 50px 0 40px; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }
  .stage { margin-top: 40px; }
  .url .badge { display: none; }
  .domainswap .ds-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  /* Mega-menu items must be legible without the staggered entrance animation. */
  .mega .m-feats > a, .mega .m-aud > a, .mega .m-ints > a, .mega .m-feature > * { opacity: 1; transform: none; }
  .md-path { max-width: 120px !important; opacity: 1 !important; }
  .md-badge { opacity: 1 !important; transform: none !important; }
  .md-lk-open { opacity: 0 !important; } .md-lk-closed { opacity: 1 !important; }
  .md-live { opacity: 1 !important; transform: none !important; }
  .md-view { opacity: 1 !important; transform: none !important; }
  .md-pub, .md-prog { opacity: 0 !important; }
  /* The demos are JS-phase-driven; with motion reduced the driver pins them to
     their final state, so make that resting state legible without animation. */
  .browser .dropzone, .browser .progress, .browser .filecard { opacity: 0; }
  .browser .url .path { max-width: 180px; }
  .browser .url .lk-open { opacity: 0; }
  .browser .url .lk-closed { opacity: 1; transform: none; }
  .browser .url .badge, .browser .gate, .browser .float-tag { opacity: 1; transform: none; }
  .dropdemo .dd-zone, .dropdemo .dd-prog, .dropdemo .dd-file { opacity: 0; }
  .dropdemo .dd-link { opacity: 1; transform: none; }
  .domainswap .ds-dom .d-before { opacity: 0; }
  .domainswap .ds-dom .d-after { opacity: 1; transform: none; filter: none; }
  .domainswap .ds-url > svg { color: #1f9d55; }
  .domainswap .ds-chip { opacity: 1; transform: none; }
}
