/* =========================================================================
   InboxDock — site vitrine
   Static, no third-party assets. Compatible with a strict CSP
   (no inline style attributes; dynamic values go through CSS custom
   properties set from JS via the CSSOM).
   ========================================================================= */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;

  --night: #000000;
  --card-d: #0f0f12;
  --card-d2: #16161a;
  --line-d: rgba(255, 255, 255, .08);
  --line-l: rgba(0, 0, 0, .08);
  --text-d: #f5f5f7;
  --text-d2: #a1a1a6;

  --blue: #2f6bff;
  --blue-h: #1f5cf0;
  --blue-l: #6f9bff;
  --violet: #9b6bff;
  --green: #30d158;
  --green-d: #1f9d45;
  --orange: #ff9f0a;
  --red: #ff453a;

  --grad: linear-gradient(100deg, #6fb6ff 0%, #7c8cff 38%, #b48cff 68%, #f08cff 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--mono); letter-spacing: 0; }

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

.wrap { width: min(100% - 48px, 1080px); margin-inline: auto; }
.wrap.wide { width: min(100% - 40px, 1200px); }
.wrap.narrow { width: min(100% - 48px, 820px); }
.center { text-align: center; }

.light { background: var(--paper); color: var(--ink); }
.gray { background: var(--paper-2); color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.eyebrow.blue { color: var(--blue); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-anim { background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.h2 {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -.042em;
  font-weight: 700;
}
.h2.xl { font-size: clamp(48px, 8vw, 104px); }

.lead {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.38;
  letter-spacing: -.018em;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 760px;
  margin: 26px auto 0;
}

.sec-head { margin-bottom: 72px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 50px; padding: 0 28px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-sm { height: 32px; padding: 0 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8); }
.btn-primary:hover { background: var(--blue-h); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn-link { color: var(--blue-l); padding: 0 12px; }
.light .btn-link, .gray .btn-link { color: var(--blue); }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn-link:hover .chev { transform: translateX(3px); }
.cta-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------- Reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 52px;
  background: rgba(10, 10, 12, .62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
  color: var(--text-d);
}
.nav.scrolled { border-color: var(--line-d); background: rgba(10, 10, 12, .72); }
.nav-in {
  width: min(100% - 40px, 1080px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo-mark { width: 24px; height: 24px; flex: none; }
.nav-links { display: flex; gap: 30px; font-size: 13px; color: #d2d2d7; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-login-m, .nav-menu-foot { display: none; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav .btn-primary { box-shadow: none; }
.nav-login { font-size: 13px; color: #d2d2d7; }
.nav-login:hover { color: #fff; }
.nav-toggle { display: none; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #e8e8ed; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 21px; }
.nav.open .nav-toggle span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 17.5px; transform: rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--text-d);
  padding: 150px 0 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 36% at 50% 22%, rgba(91, 140, 255, .26), transparent 70%),
    radial-gradient(30% 30% at 22% 48%, rgba(155, 107, 255, .18), transparent 70%),
    radial-gradient(30% 30% at 78% 46%, rgba(56, 189, 248, .14), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%);
}
.hero-copy { position: relative; width: min(100% - 48px, 1280px); }
.hero-title {
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 700;
}
.hero-title > span { display: block; text-wrap: balance; }
.h2, .step h3, .tile h3 { text-wrap: balance; }
.hero-title .grad { padding-bottom: .06em; }
.hero .lead { color: var(--text-d2); max-width: 720px; }

.js .hero-in { opacity: 0; filter: blur(12px); transform: translateY(18px); animation: heroIn 1.3s var(--ease) forwards; }
.js .hero-in.d1 { animation-delay: .05s; }
.js .hero-in.d2 { animation-delay: .15s; }
.js .hero-in.d3 { animation-delay: .3s; }
.js .hero-in.d4 { animation-delay: .5s; }
.js .hero-in.d5 { animation-delay: .65s; }
.js .hero-in.d6 { animation-delay: .8s; animation-duration: 1.6s; }
.js .hero-title .hero-in.grad-anim { animation: heroIn 1.3s var(--ease) .3s forwards, gradShift 8s ease-in-out 1.6s infinite alternate; }
@keyframes heroIn { to { opacity: 1; filter: blur(0); transform: none; } }

.stage { position: relative; margin-top: 76px; padding: 0 24px; perspective: 1800px; }
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 92%);
  pointer-events: none; z-index: 2;
}
.device {
  --tilt: 1;
  max-width: 1100px; margin: 0 auto;
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--tilt) * 24deg)) scale(calc(1 - var(--tilt) * .08)) translateY(calc(var(--tilt) * 20px));
  will-change: transform;
}
.device::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 10%; bottom: -6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 120, 255, .45), transparent 70%);
  filter: blur(60px); z-index: -1;
}

/* Mock window */
.win {
  position: relative; overflow: hidden; text-align: left;
  border-radius: 18px;
  background: linear-gradient(180deg, #131317, #0b0b0e);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 120px -30px rgba(47, 107, 255, .45), 0 30px 60px rgba(0, 0, 0, .6);
  font-size: 13px; letter-spacing: -.01em; color: #c7c7cc;
}
.win-bar {
  height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2e2e33; }
.win-url {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #8e8e93; background: rgba(255, 255, 255, .05);
  padding: 5px 16px; border-radius: 8px;
}
.win-url .lock { width: 11px; height: 11px; color: #6e6e73; }
.win-live { justify-self: end; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #8e8e93; }
.win-live i, .side-health i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }

.win-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 560px; }
.side { border-right: 1px solid rgba(255, 255, 255, .06); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.side-brand { display: flex; align-items: center; gap: 8px; padding: 2px 10px 16px; color: #fff; font-size: 14px; }
.side-brand .logo-mark { width: 20px; height: 20px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #98989d; }
.side-item.on { background: rgba(91, 140, 255, .15); color: #fff; }
.side-item em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; background: var(--blue); color: #fff; padding: 1px 7px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.si { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .8; flex: none; }
.si-globe, .si-shield { border-radius: 50%; }
.si-chart { border-width: 0 0 1.5px 1.5px; border-radius: 0; }
.si-users { border-radius: 50% 50% 4px 4px; }
.side-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.side-health { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #8e8e93; }

.pane { padding: 22px 24px 0; min-width: 0; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pane-head b { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pane-search { display: inline-flex; align-items: center; gap: 8px; color: #6e6e73; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); padding: 7px 14px; border-radius: 9px; font-size: 12.5px; min-width: 240px; }
.pane-search svg { width: 13px; height: 13px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 13px 15px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 11.5px; color: #8e8e93; }
.kpi b { font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 11px; color: #8e8e93; }
.kpi small.up { color: var(--blue-l); }
.kpi small.ok { color: var(--green); }

.feed {
  list-style: none; margin: 16px 0 0; padding: 0;
  border: 1px solid rgba(255, 255, 255, .06); border-bottom: 0; border-radius: 12px 12px 0 0;
  height: 400px; overflow: hidden;
}
.row {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 200px 72px 86px; gap: 14px; align-items: center;
  padding: 11px 16px; max-height: 64px; overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-main b { color: #f2f2f7; font-weight: 600; font-size: 13px; }
.row-main span, .row-to { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #8e8e93; }
.row-to { font-size: 11.5px; }
.row-time { font-size: 11.5px; color: #6e6e73; text-align: right; font-variant-numeric: tabular-nums; }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; text-align: center; }
.tag-o { background: rgba(47, 107, 255, .16); color: #8fb0ff; }
.tag-d { background: rgba(176, 107, 255, .16); color: #cfa8ff; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.av0 { background: linear-gradient(135deg, #5ea2ff, #3b5bff); }
.av1 { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.av2 { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.av3 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.av4 { background: linear-gradient(135deg, #f472b6, #db2777); }
.row.enter { animation: rowIn .75s var(--ease), rowGlow 2.6s ease-out; }
@keyframes rowIn { from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; } to { max-height: 64px; opacity: 1; } }
@keyframes rowGlow { 0%, 25% { background: rgba(91, 140, 255, .14); } 100% { background: transparent; } }

/* =========================================================================
   FLOW (convergence)
   ========================================================================= */
.flow { background: var(--night); color: var(--text-d); padding: 120px 0 130px; overflow: hidden; }
.flow .lead, .security .lead, .final .lead { color: var(--text-d2); }
.flow-stage { position: relative; height: clamp(300px, 40vw, 460px); margin: 60px 0 30px; }
#flow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.flow-dock {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%);
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 50px rgba(91, 140, 255, .55), 0 0 140px rgba(155, 107, 255, .35);
}
.flow-dock svg { width: 92px; height: 92px; }
.flow-dock::before, .flow-dock::after {
  content: ""; position: absolute; inset: -12px; border-radius: 34px;
  border: 1px solid rgba(124, 140, 255, .4); animation: pulse 2.8s ease-out infinite;
}
.flow-dock::after { animation-delay: 1.4s; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.flow-label { position: absolute; top: calc(50% + 74px); font-size: 13px; font-weight: 500; color: #86868b; letter-spacing: -.005em; }
.flow-label.l { left: 12%; }
.flow-label.r { right: 12%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(44px, 5.2vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--text-d2); font-size: 15px; line-height: 1.35; max-width: 200px; margin-inline: auto; }

/* =========================================================================
   STATEMENT (scroll word reveal)
   ========================================================================= */
.statement { background: var(--night); height: 190vh; }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.reveal-words {
  font-size: clamp(34px, 5.2vw, 66px); font-weight: 700; line-height: 1.12; letter-spacing: -.038em;
  color: #2a2a2f; max-width: 1020px;
}
.reveal-words .w { transition: color .4s ease; }
.reveal-words .w.on { color: var(--text-d); }
.reveal-words .w.k.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not(.js) .reveal-words { color: var(--text-d); }

/* =========================================================================
   STEPS (sticky storytelling)
   ========================================================================= */
.steps { padding: 150px 0 90px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--ease); }
.step.active { opacity: 1; }
html:not(.js) .step { opacity: 1; }
.step-n { font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; margin-bottom: 18px; }
.step p { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 460px; }
.step .vis-inline { display: none; }

.steps-visual { position: relative; }
.steps-sticky { position: sticky; top: calc(50vh - 240px); height: 480px; }
.vis {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .7s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.vis.active { opacity: 1; transform: none; }
.vis::before {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 40px; z-index: -1;
  background: radial-gradient(60% 60% at 50% 50%, rgba(47, 107, 255, .16), transparent 70%);
  filter: blur(30px);
}
.vis-dns::before { background: radial-gradient(60% 60% at 50% 50%, rgba(155, 107, 255, .18), transparent 70%); }
.vis-imap::before { background: radial-gradient(60% 60% at 50% 50%, rgba(48, 209, 88, .14), transparent 70%); }

.card {
  width: 100%; max-width: 470px;
  background: #fff; border-radius: 24px; padding: 26px;
  border: 1px solid var(--line-l);
  box-shadow: 0 30px 80px -30px rgba(20, 30, 80, .28), 0 2px 6px rgba(0, 0, 0, .04);
  font-size: 14px;
}
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.card-head > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-head b { font-size: 16px; font-weight: 600; }
.card-head small { color: var(--ink-3); font-size: 13px; }
.file-ico, .globe-ico, .key-ico { width: 40px; height: 40px; border-radius: 11px; flex: none; position: relative; }
.file-ico { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.file-ico::after { content: "CSV"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.globe-ico { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.globe-ico::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 2px solid #fff; }
.key-ico { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.key-ico::after { content: ""; position: absolute; left: 10px; top: 13px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; box-shadow: 9px 4px 0 -3px #fff; }

.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.chip-blue { background: rgba(47, 107, 255, .1); color: var(--blue); }

.bar { height: 8px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.bar i { display: block; height: 100%; width: 83%; border-radius: inherit; background: linear-gradient(90deg, #5ea2ff, #7b6cff); }
.js .vis-import .bar i { width: 0; }
.vis-import.active .bar i, .vis-inline.vis-import .bar i { animation: fillBar 2.2s var(--ease) .2s forwards; }
@keyframes fillBar { from { width: 0; } to { width: 83%; } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 16px; }
.trio div { background: var(--paper-2); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.trio b { font-size: 21px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.trio span { font-size: 12px; color: var(--ink-3); }

.mini-list, .recs, .accts ul { list-style: none; margin: 0; padding: 0; }
.mini-list li, .recs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-l); font-size: 13px; }
.mini-list .mono { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st.ok { color: var(--green-d); }
.st.sync { color: #c47a00; }
.st.sync::before { animation: blink 1.2s ease-in-out infinite; }
.st.warn { color: #d70015; }
@keyframes blink { 50% { opacity: .25; } }

.recs li > span:first-child { color: var(--ink); font-weight: 500; }
.st-swap { position: relative; display: inline-grid; justify-items: end; }
.st-swap > .st { grid-area: 1 / 1; transition: opacity .4s; }
.st-swap > .st.ok { opacity: 0; }
.vis-dns.active .st-swap > .st.sync, .vis-inline.vis-dns .st-swap > .st.sync { animation: hideAt .4s 1.6s forwards; }
.vis-dns.active .st-swap > .st.ok, .vis-inline.vis-dns .st-swap > .st.ok { animation: showAt .4s 1.6s forwards; }
@keyframes hideAt { to { opacity: 0; } }
@keyframes showAt { to { opacity: 1; } }

.test-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line-l); }
.btn-fake { font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); padding: 8px 14px; border-radius: 99px; }
.test-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-d); opacity: 0; }
.test-ok svg { width: 16px; height: 16px; }
.vis-dns.active .test-ok, .vis-inline.vis-dns .test-ok { animation: showAt .5s 2.3s forwards; }

.creds { display: flex; flex-direction: column; gap: 10px; }
.cred { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px; background: var(--paper-2); }
.cred div { display: flex; flex-direction: column; }
.cred b { font-size: 15px; }
.cred div span { font-size: 12.5px; color: var(--ink-3); }
.cred .mask { font-size: 12px; color: var(--ink-2); background: #fff; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line-l); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.d1 { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.dot.d2 { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.dot.d3 { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.js .vis-imap .cred { opacity: 0; transform: translateX(16px); }
.vis-imap.active .cred, .vis-inline.vis-imap .cred { animation: credIn .7s var(--ease) forwards; }
.vis-imap .cred:nth-child(2) { animation-delay: .12s !important; }
.vis-imap .cred:nth-child(3) { animation-delay: .24s !important; }
@keyframes credIn { to { opacity: 1; transform: none; } }

/* =========================================================================
   FEATURES (bento)
   ========================================================================= */
.features { padding: 150px 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius); padding: 36px 34px 34px;
  min-height: 440px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .18); }
.bento-dots { display: none; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -.032em; font-weight: 700; margin-bottom: 12px; }
.tile p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.tile-k { font-size: 14px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.005em; }
.tile-k.blue { color: var(--blue); }
.tile-k.violet { color: #7b4dff; }
.tile-k.green { color: var(--green-d); }
.tile-k.orange { color: #e07a00; }
.tile.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.tile.split .tile-copy { align-self: center; }

.tile-dark { background: #0b0b0e; color: var(--text-d); }
.tile-dark p { color: var(--text-d2); }
.tile-dark::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 140, 255, .3), transparent 70%); filter: blur(30px);
}
.tile-dark > * { position: relative; }

.accts { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); border-radius: 18px; padding: 16px 18px 6px; }
.accts-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; font-size: 12.5px; color: var(--text-d2); }
.accts-head b { color: #fff; font-size: 20px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.accts-head small { font-size: 12px; color: var(--text-d2); font-weight: 500; }
.accts li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line-d); }
.accts .mono { font-size: 12px; color: #c7c7cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tile-dark .st.ok { color: var(--green); }
.tile-dark .st.sync { color: var(--orange); }
.tile-dark .st.warn { color: #ff6961; }

.scopes { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.scope { align-self: flex-start; font-size: 15px; font-weight: 600; padding: 11px 18px; border-radius: 99px; color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.scope.s1 { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.scope.s2 { background: linear-gradient(135deg, #b48cff, #7b4dff); margin-left: 18%; }
.scope.s3 { background: linear-gradient(135deg, #34d399, #0ea5a4); margin-left: 36%; }

.otp { margin-top: auto; padding-top: 26px; }
.otp-code { display: flex; gap: 7px; }
.otp-code span {
  flex: 1; height: 58px; border-radius: 13px; background: var(--paper-2); border: 1px solid var(--line-l);
  display: grid; place-items: center; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: color .5s, background .5s;
}
.otp-code.flip span { animation: flip .5s var(--ease) both; }
.otp-code.flip span:nth-child(2) { animation-delay: .04s; }
.otp-code.flip span:nth-child(3) { animation-delay: .08s; }
.otp-code.flip span:nth-child(4) { animation-delay: .12s; }
.otp-code.flip span:nth-child(5) { animation-delay: .16s; }
.otp-code.flip span:nth-child(6) { animation-delay: .2s; }
@keyframes flip { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.otp-code.used span { color: #b8b8bf; background: #fafafc; }
.otp-st { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #c47a00; }
.otp-st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.otp-st.done { color: var(--green-d); }

.alerts { list-style: none; margin: auto 0 0; padding: 26px 0 0; display: flex; flex-direction: column; gap: 9px; }
.alerts li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; padding: 10px 12px; background: var(--paper-2); border-radius: 13px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(47, 107, 255, .1); color: var(--blue); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; white-space: nowrap; }
.pill.red { background: rgba(255, 59, 48, .1); color: #d70015; }

.chart { margin-top: auto; padding-top: 22px; }
.chart-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.chart-meta b { font-size: 28px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.chart-meta span { color: var(--ink-3); font-size: 13px; }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 6px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #ffb340, #ff7a1a); transform-origin: bottom; }
.bars i:nth-child(1) { --h: 32%; --d: 0s; } .bars i:nth-child(2) { --h: 45%; --d: .04s; } .bars i:nth-child(3) { --h: 38%; --d: .08s; }
.bars i:nth-child(4) { --h: 58%; --d: .12s; } .bars i:nth-child(5) { --h: 50%; --d: .16s; } .bars i:nth-child(6) { --h: 66%; --d: .2s; }
.bars i:nth-child(7) { --h: 60%; --d: .24s; } .bars i:nth-child(8) { --h: 78%; --d: .28s; } .bars i:nth-child(9) { --h: 70%; --d: .32s; }
.bars i:nth-child(10) { --h: 86%; --d: .36s; } .bars i:nth-child(11) { --h: 80%; --d: .4s; } .bars i:nth-child(12) { --h: 100%; --d: .44s; }
.js .bars i { transform: scaleY(0); }
.js .tile.in .bars i { animation: grow 1s var(--ease) forwards; animation-delay: calc(var(--d) + .3s); }
@keyframes grow { to { transform: scaleY(1); } }

.tile.rev .tile-copy { order: 0; }
.search-demo { background: var(--paper-2); border-radius: 20px; padding: 16px; }
.sbar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-l); border-radius: 13px; padding: 12px 14px; font-size: 15px; font-weight: 500; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .2); }
.sbar svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.caret { width: 2px; height: 18px; background: var(--blue); border-radius: 2px; animation: caret 1s steps(1) infinite; margin-left: -8px; }
@keyframes caret { 50% { opacity: 0; } }
.results { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.results li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 13px; padding: 11px 13px; font-size: 13px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.results li div { display: flex; flex-direction: column; min-width: 0; }
.results li div span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results em { font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.results:not(.show) li { opacity: 0; transform: translateY(8px); }
.results li:nth-child(2) { transition-delay: .07s; }
.results li:nth-child(3) { transition-delay: .14s; }

.tile-violet { background: linear-gradient(160deg, #6d4dff 0%, #9b6bff 55%, #c86bff 100%); color: #fff; }
.tile-violet p { color: rgba(255, 255, 255, .82); }
.tile-violet .tile-k { color: rgba(255, 255, 255, .75); }
.toggle-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); padding: 14px 16px; border-radius: 16px; }
.toggle-row .mono { font-size: 13.5px; color: #fff; }
.switch { width: 46px; height: 28px; border-radius: 99px; background: rgba(0, 0, 0, .25); position: relative; flex: none; transition: background .4s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .45s var(--ease); }
.tile.in .switch, html:not(.js) .switch { background: var(--green); transition-delay: .6s; }
.tile.in .switch i, html:not(.js) .switch i { transform: translateX(18px); transition-delay: .6s; }
.tile-violet .price-chip { margin-top: 14px; font-size: 14px; font-weight: 600; color: #fff; }

.tile.export { min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px; }
.zips { display: flex; gap: 14px; justify-content: flex-end; }
.zip { flex: 1; max-width: 170px; background: var(--paper-2); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 3px; transition: transform .5s var(--ease); }
.zip:nth-child(2) { transform: translateY(-10px); }
.zip:nth-child(3) { transform: translateY(-20px); }
.zip b { font-size: 14px; margin-top: 12px; }
.zip small { font-size: 12px; color: var(--ink-3); }
.zip-ico { width: 38px; height: 46px; border-radius: 8px; background: linear-gradient(160deg, #34d399, #0ea5a4); position: relative; }
.zip-ico::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 4px; margin-left: -2px; background: repeating-linear-gradient(to bottom, #fff 0 4px, transparent 4px 7px); border-radius: 2px; opacity: .85; }

/* =========================================================================
   SECURITY
   ========================================================================= */
.security { position: relative; overflow: hidden; background: var(--night); color: var(--text-d); padding: 150px 0; }
.security-glow {
  position: absolute; left: 50%; top: 0; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(40% 40% at 50% 30%, rgba(91, 140, 255, .22), transparent 70%), radial-gradient(30% 30% at 40% 45%, rgba(155, 107, 255, .16), transparent 70%);
  pointer-events: none;
}
.security .wrap { position: relative; }
.orb { width: 200px; height: 200px; margin: 0 auto 50px; position: relative; }
.orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 15%, #5ea2ff 35%, #b48cff 55%, transparent 75%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 7s linear infinite;
}
.orb .r2 { inset: 24px; animation-duration: 10s; animation-direction: reverse; opacity: .7; }
.orb .core {
  position: absolute; inset: 50px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #262b42, #0a0b11 72%);
  display: grid; place-items: center;
  box-shadow: 0 0 80px rgba(91, 140, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.orb .core svg { width: 46px; height: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }

.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 90px; }
.sec-card {
  background: linear-gradient(180deg, #111116, #0b0b0e); border: 1px solid var(--line-d); border-radius: 24px; padding: 34px 32px;
  transition: border-color .4s, transform .5s var(--ease);
}
.sec-card:hover { border-color: rgba(124, 140, 255, .4); transform: translateY(-3px); }
.sec-card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(#141419, #141419) padding-box, linear-gradient(135deg, rgba(94, 162, 255, .7), rgba(200, 107, 255, .7)) border-box;
  border: 1px solid transparent;
}
.sec-card .ico svg { width: 24px; height: 24px; fill: none; stroke: url(#g-stroke); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.sec-card p { color: var(--text-d2); font-size: 15.5px; line-height: 1.55; }

/* =========================================================================
   RELIABILITY
   ========================================================================= */
.reliability { padding: 150px 0; }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rel { background: var(--paper-2); border-radius: 24px; padding: 32px 28px; }
.rel-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .18); }
.rel-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rel h3 { font-size: 20px; letter-spacing: -.025em; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.rel p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing { padding: 150px 0; }
.plan { background: #fff; border-radius: var(--radius); padding: 40px; }
.plan-main {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.75fr); gap: 56px;
  padding: 48px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 80px -40px rgba(47, 107, 255, .5);
}
.plan-left { display: flex; flex-direction: column; }
.plan-left .btn { margin-top: auto; }
.plan-name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.plan-price b { font-size: clamp(52px, 6vw, 72px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.plan-price span { color: var(--ink-3); font-size: 17px; }
.plan-price.small b { font-size: 44px; }
.plan-sub { color: var(--ink-2); font-size: 17px; line-height: 1.4; }
.plan-keys { list-style: none; margin: 28px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 12px; }
.plan-keys li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.plan-keys svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }

.plan-right { border-left: 1px solid var(--line-l); padding-left: 56px; }
.inc-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; }
.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
.inc-group h3 { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.inc-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 107, 255, .09); flex: none; }
.inc-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.inc-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 11px; }
.inc-list svg { width: 18px; height: 18px; color: var(--green-d); margin-top: 1px; }
.inc-list b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.inc-list span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }

.plan-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.plan-row .plan { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.plan-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #7b4dff; background: rgba(123, 77, 255, .1); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.plan-tag.neutral { color: var(--ink-2); background: rgba(0, 0, 0, .06); }
.plan-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin-top: 8px; }
.plan-fine { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink-3); }
.plan-custom .btn-link { padding: 0; margin-top: auto; height: auto; }

.bring-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.bring-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.bring-list b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.bring-list span:not(.b-ico) { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.b-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; }
.b-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ba { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ba-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.ba-k { font-size: 12px; font-weight: 700; padding-top: 1px; color: var(--ink-3); }
.ba-row.on { background: rgba(123, 77, 255, .08); color: var(--ink); }
.ba-row.on .ba-k { color: #7b4dff; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { padding: 150px 0; }
.faq .sec-head { margin-bottom: 50px; }
.faq-list { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--ink-3); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 28px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 700px; }
.faq details[open] p { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   FINAL CTA + FOOTER
   ========================================================================= */
.final { position: relative; overflow: hidden; background: var(--night); color: var(--text-d); padding: 170px 0 180px; }
.final-glow {
  position: absolute; left: 50%; bottom: -320px; width: 1300px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(45% 45% at 50% 50%, rgba(91, 140, 255, .38), transparent 70%), radial-gradient(30% 30% at 35% 45%, rgba(200, 107, 255, .25), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.final .wrap { position: relative; }
.final-logo { width: 76px; height: 76px; margin: 0 auto 36px; filter: drop-shadow(0 0 40px rgba(91, 140, 255, .6)); }

.footer { background: var(--paper-2); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: 44px 0 30px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid #d2d2d7; }
.brand.dark-text { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 50px; }
.foot-cols p { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.foot-cols a { display: block; margin-bottom: 8px; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-3); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1068px) {
  .nav-links { gap: 22px; }
  .win-body { grid-template-columns: 190px minmax(0, 1fr); }
  .row { grid-template-columns: 30px minmax(0, 1fr) 72px 80px; }
  .row-to { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.w4, .tile.w6 { grid-column: span 1; }
  .tile.w4, .tile.w6 { grid-column: span 2; }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 6px 24px calc(28px + env(safe-area-inset-bottom));
    background: #0a0a0c; height: calc(100vh - 52px); height: calc(100dvh - 52px); overflow-y: auto; overscroll-behavior: contain;
    font-size: 22px; font-weight: 600; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-links > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 17px 2px; color: #f5f5f7; border-bottom: 1px solid var(--line-d);
  }
  .nav-links > a::after {
    content: ""; width: 8px; height: 8px; margin-right: 4px; flex: none;
    border-top: 1.6px solid #6e6e73; border-right: 1.6px solid #6e6e73; transform: rotate(45deg);
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
  .nav.open .nav-links > a, .nav.open .nav-menu-foot { animation: menuIn .5s var(--ease) both; }
  .nav.open .nav-links > a:nth-child(2) { animation-delay: .03s; }
  .nav.open .nav-links > a:nth-child(3) { animation-delay: .06s; }
  .nav.open .nav-links > a:nth-child(4) { animation-delay: .09s; }
  .nav.open .nav-links > a:nth-child(5) { animation-delay: .12s; }
  .nav.open .nav-links > a:nth-child(6) { animation-delay: .15s; }
  .nav.open .nav-menu-foot { animation-delay: .2s; }
  .nav-menu-foot { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 30px; }
  .nav-menu-foot .btn { font-size: 17px; }
  .nav-menu-contact { align-self: center; padding: 12px 16px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--blue-l); }
  html.menu-open { overflow: hidden; }
  .nav-login-m { display: block; }
  .nav-login { display: none; }
  .nav-toggle { display: block; width: 44px; height: 44px; margin-right: -10px; }
  .nav-toggle span { left: 13px; right: 13px; }
  .nav-toggle span:first-child { top: 18px; }
  .nav-toggle span:last-child { top: 25px; }
  .nav.open .nav-toggle span:first-child, .nav.open .nav-toggle span:last-child { top: 21.5px; }

  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps-visual { display: none; }
  .step { min-height: 0; opacity: 1; padding: 40px 0 50px; }
  .step .vis-inline { display: flex; position: relative; inset: auto; opacity: 1; transform: none; margin-top: 34px; }

  .tile.split, .tile.export { grid-template-columns: minmax(0, 1fr); }
  .zips { justify-content: flex-start; }
  .plan-main { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .plan-left .btn { margin-top: 0; }
  .plan-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-l); padding-top: 32px; }
  .plan-row { grid-template-columns: minmax(0, 1fr); }
  .plan-custom .btn-link { margin-top: 16px; }
  .foot-top { flex-direction: column; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 734px) {
  body { font-size: 16px; }
  .hero { padding-top: 116px; }
  .stage { margin-top: 56px; padding: 0 14px; }
  .win-body { grid-template-columns: 1fr; min-height: 480px; }
  .side { display: none; }
  .win-bar { grid-template-columns: auto 1fr; }
  .win-live { display: none; }
  .win-url { justify-self: center; }
  .pane { padding: 16px 14px 0; }
  .pane-search { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { display: none; }
  .row { grid-template-columns: 30px minmax(0, 1fr) 64px; padding: 10px 12px; }
  .row .tag { display: none; }
  .feed { height: 360px; }

  /* Rhythm: tighter sections, shorter leads, one idea per screen. */
  .m-hide { display: none; }
  .eyebrow { font-size: 16px; margin-bottom: 10px; }
  .lead { font-size: 18px; line-height: 1.42; margin-top: 18px; }
  .flow, .features, .security, .reliability, .pricing, .faq { padding: 84px 0; }
  .flow { padding: 76px 0 56px; }
  .steps { padding: 84px 0 24px; }
  .final { padding: 104px 0 112px; }
  .sec-head { margin-bottom: 36px; }
  .flow-stage { height: 250px; margin: 34px 0 18px; }
  .flow-label { display: none; }
  .flow-dock, .flow-dock svg { width: 72px; height: 72px; }
  .flow-dock { border-radius: 20px; }
  .stats { row-gap: 34px; column-gap: 16px; }
  .statement { height: 150vh; }

  .step { padding: 28px 0 40px; }
  .step h3 { margin-bottom: 12px; }
  .step p { font-size: 17px; }
  .step .vis-inline { margin-top: 26px; }
  .card { padding: 20px; }
  .trio b { font-size: 18px; }

  /* Features: a swipeable gallery, one card at a time, all cards the same height
     (pagination dots are built in main.js). Copy on top, visual pinned to the bottom. */
  .bento {
    position: relative; display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 4px 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .tile, .tile.w4, .tile.w6 { grid-column: auto; min-height: 0; padding: 26px 22px 24px; border-radius: 24px; scroll-snap-align: start; }
  .tile.split, .tile.export { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .bento .tile[data-reveal] { opacity: 1; transform: none; }
  .tile:hover { transform: none; box-shadow: none; }
  .tile h3 { font-size: 23px; margin-bottom: 10px; }
  .tile p { font-size: 15px; }
  .tile-copy, .tile > h3 + p { padding-bottom: 22px; }
  .accts, .scopes, .otp, .alerts, .chart, .search-demo, .toggle-row, .zips { margin-top: auto; }
  .scopes, .otp, .alerts, .chart { padding-top: 0; }
  .accts li:nth-child(n+4), .results li:nth-child(3), .accts-head small { display: none; }
  .accts-head span, .accts-head b { white-space: nowrap; }
  .bars { height: 96px; }
  .results:not(.show) li { opacity: .3; transform: none; }
  .tile.export { padding: 26px 22px 24px; }
  .bento-dots { display: flex; justify-content: center; gap: 2px; margin-top: 18px; }
  .bento-dots .dot { width: 26px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
  .bento-dots .dot::before {
    content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(0, 0, 0, .22);
    transition: width .35s var(--ease), background-color .35s;
  }
  .bento-dots .dot[aria-current="true"]::before { width: 22px; background: var(--ink); }
  .zips { flex-direction: column; gap: 8px; }
  .zip {
    max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    column-gap: 14px; row-gap: 1px; padding: 12px 16px; border-radius: 16px;
  }
  .zip:nth-child(n) { transform: none; }
  .zip-ico { width: 28px; height: 34px; border-radius: 7px; grid-row: span 2; }
  .zip-ico::after { top: 6px; bottom: 6px; width: 3px; margin-left: -1.5px; }
  .zip b { margin: 0; font-size: 15px; }
  .zip b, .zip small { grid-column: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .zip small { font-size: 13px; }

  /* Security and reliability: grouped lists instead of tall cards. */
  .orb { width: 150px; height: 150px; margin-bottom: 34px; }
  .orb .r2 { inset: 18px; }
  .orb .core { inset: 38px; }
  .orb .core svg { width: 36px; height: 36px; }
  .sec-grid, .rel-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 22px; overflow: hidden; }
  .sec-grid { margin-top: 44px; border: 1px solid var(--line-d); background: linear-gradient(180deg, #111116, #0b0b0e); }
  .rel-grid { background: var(--paper-2); }
  .sec-card, .rel {
    display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start;
    padding: 20px 18px; background: none; border: 0; border-radius: 0;
  }
  .sec-card:hover { transform: none; border-color: transparent; }
  .sec-card + .sec-card { border-top: 1px solid var(--line-d); }
  .rel + .rel { border-top: 1px solid rgba(0, 0, 0, .07); }
  .sec-card .ico, .rel-ico { width: 42px; height: 42px; border-radius: 12px; margin: 0; grid-row: span 2; }
  .sec-card .ico svg, .rel-ico svg { width: 21px; height: 21px; }
  .sec-card h3, .rel h3 { font-size: 17px; line-height: 1.3; margin: 0; padding-top: 1px; }
  .sec-card p, .rel p { grid-column: 2; font-size: 14.5px; line-height: 1.5; }
  .js .sec-card[data-reveal], .js .rel[data-reveal] { transform: translateY(12px); }
  .js .sec-card[data-reveal].in, .js .rel[data-reveal].in { transform: none; }

  .plan, .plan-main, .plan-row .plan { padding: 30px 22px; }
  .plan-price b { font-size: 56px; }
  .inc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .faq summary { font-size: 18px; }
  .footer { padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-cols a { padding: 6px 0; margin-bottom: 2px; font-size: 14px; }
}

/* Small phones (iPhone SE and narrower). */
@media (max-width: 380px) {
  .trio { gap: 6px; }
  .trio div { padding: 10px 9px; }
  .trio b { font-size: 16px; }
  .nav-cta { gap: 10px; }
  .bento { grid-auto-columns: 88%; }
  .tile, .tile.w4, .tile.w6, .tile.export { padding: 24px 18px 22px; }
  .toggle-row { padding: 12px 12px 12px 14px; }
  .toggle-row .mono { font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .otp-code { gap: 5px; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-in { opacity: 1; transform: none; filter: none; }
  .device { transform: none; }
  .statement { height: auto; }
  .statement-sticky { position: static; height: auto; padding: 120px 0; }
  .reveal-words { color: var(--text-d); }
}
