/* Operalytix Employee — marketing site. No framework, no build step. */

:root {
  --ink: #0b0b13;
  --ink-2: #33334a;
  --muted: #62627a;
  --line: #e6e6ef;
  --line-2: #d9d9e5;
  --bg: #ffffff;
  --bg-soft: #f5f5fa;
  --bg-tint: #f1f0ff;

  --accent: #4a43d9;
  --accent-ink: #383396;
  --accent-soft: #ecebff;
  --accent-bright: #9a96ff;

  --dark: #06060b;
  --dark-2: #0d0d17;
  --dark-3: #15152a;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-text: #f4f4fb;
  --dark-muted: #a3a3bd;

  --ok: #13804b;
  --ok-soft: #e3f6ec;
  --warn: #b5470b;
  --warn-soft: #fff0e3;
  --bad: #c62a1f;
  --bad-soft: #fdecea;

  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: 24px;

  --font: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Noto Sans', sans-serif;
  --nav-h: 68px;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 max(var(--gutter), var(--safe-r)) 0 max(var(--gutter), var(--safe-l));
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.dark .eyebrow { color: var(--accent-bright); }

.display {
  font-size: clamp(44px, 7.4vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.012em;
  max-width: 640px;
  text-wrap: pretty;
}
.dark .lead { color: var(--dark-muted); }
.grad {
  background: linear-gradient(100deg, #ffffff 10%, #c9c6ff 55%, #8f8aff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted); }
.dark .muted { color: var(--dark-muted); }

.section-head { max-width: 820px; display: grid; gap: 20px; }
.section-head.center { margin: 0 auto; text-align: center; justify-items: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-store {
  --h: 58px;
  padding: 0 26px 0 20px;
  background: #fff;
  color: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 40px -12px rgba(140, 132, 255, 0.55);
}
.btn-store .store-text { display: grid; line-height: 1.05; text-align: left; }
.btn-store small { font-size: 12px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.75; }
.btn-store strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.btn-store.on-light { background: #000; color: #fff; box-shadow: 0 12px 40px -14px rgba(20, 16, 90, 0.55); }

.btn-ghost {
  color: var(--dark-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-ghost.on-light { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn-ghost.on-light:hover { border-color: var(--ink); }

.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #3f38c9; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--accent);
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.dark .link-arrow { color: var(--accent-bright); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
  color: var(--dark-text);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav.scrolled {
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(10, 10, 30, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { opacity: 0.6; font-weight: 500; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; opacity: 0.78;
  transition: opacity .2s, background-color .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(127,127,160,.14); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta .signin, .nav-links a { white-space: nowrap; }
.nav-cta .signin { text-decoration: none; font-size: 14.5px; font-weight: 500; opacity: 0.8; padding: 8px 10px; }
.nav-cta .signin:hover { opacity: 1; }
.nav .btn-accent { box-shadow: 0 8px 24px -10px rgba(90, 80, 255, 0.8); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(127,127,160,.3); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

@media (min-width: 1101px) and (max-width: 1180px) {
  .nav-links a[href="#trust"] { display: none; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { background: rgba(8, 8, 14, 0.96); color: var(--dark-text); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .nav.open .mobile-menu { display: grid; }
  .mobile-menu {
    gap: 2px;
    padding: 8px max(var(--gutter), var(--safe-r)) calc(24px + var(--safe-b)) max(var(--gutter), var(--safe-l));
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-menu a { text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
  .mobile-menu .btn { margin-top: 18px; font-size: 16px; border-bottom: 0; }
}

/* ---------- Sections ---------- */

section { position: relative; }
.pad { padding: clamp(88px, 12vw, 160px) 0; }
.pad-sm { padding: clamp(64px, 8vw, 112px) 0; }
.dark { background: var(--dark); color: var(--dark-text); }
.soft { background: var(--bg-soft); }

/* ---------- Hero ---------- */

.hero {
  background: var(--dark);
  color: var(--dark-text);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 9vw, 120px));
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 78%, rgba(88, 76, 255, 0.42), transparent 70%),
    radial-gradient(40% 30% at 18% 20%, rgba(80, 70, 230, 0.18), transparent 70%),
    radial-gradient(35% 30% at 85% 30%, rgba(130, 90, 255, 0.14), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero-copy { text-align: center; display: grid; justify-items: center; gap: 28px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px; min-height: 44px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  font-size: 14px; color: #d9d8f5; text-decoration: none;
}
.hero .pill b { background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.hero h1 { max-width: 13ch; }
.hero h1 .ln { display: block; }
.hero h1 .h1-sub {
  display: block; max-width: 30ch; margin: 22px auto 0;
  font-size: clamp(18px, 2.2vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em;
  color: #e6e5fb; text-wrap: balance;
}
.hero .lead { max-width: 640px; text-align: center; color: rgba(255, 255, 255, 0.8); transition: opacity .16s; }
.hero .lead a { color: #fff; text-decoration-color: rgba(154, 150, 255, .8); text-underline-offset: 3px; }
.hero .lead.swap { opacity: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 14px; color: var(--dark-muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--accent-bright); }

.hero-stage {
  position: relative;
  margin-top: clamp(56px, 7vw, 88px);
  height: clamp(520px, 62vw, 760px);
  display: flex; justify-content: center; align-items: flex-start;
}
.hero-stage .phone { position: absolute; top: 0; }
.hero-stage .p-center { --w: clamp(250px, 26vw, 340px); z-index: 3; left: 50%; translate: -50% 0; }
.hero-stage .p-left  { --w: clamp(220px, 22vw, 290px); z-index: 2; left: 50%; translate: -122% 80px; rotate: -7deg; }
.hero-stage .p-right { --w: clamp(220px, 22vw, 290px); z-index: 2; left: 50%; translate: 22% 80px; rotate: 7deg; }
.hero-stage .p-left .screen, .hero-stage .p-right .screen { filter: brightness(.82); }
.hero-stage::after {
  content: ""; position: absolute; left: 50%; right: auto; width: 100vw; translate: -50% 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--dark) 92%);
  z-index: 4; pointer-events: none;
}
.float-chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(22, 22, 40, 0.72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  font-size: 14px; line-height: 1.3; color: #ececfa;
}
.float-chip .ic {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(154, 150, 255, .16); color: var(--accent-bright); flex: none;
}
.float-chip small { display: block; color: var(--dark-muted); font-size: 12.5px; }
.chip-1 { left: calc(50% - min(44vw, 560px)); top: 18%; }
.chip-2 { right: calc(50% - min(44vw, 560px)); top: 42%; }
@media (max-width: 1100px) { .float-chip { display: none; } }

/* ---------- Phone frame ---------- */

.phone {
  --w: 300px;
  width: var(--w);
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--w) * 0.165);
  padding: calc(var(--w) * 0.034);
  background: linear-gradient(145deg, #3a3a42 0%, #16161b 30%, #0a0a0d 70%, #2b2b33 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0b0e,
    0 0 0 1px rgba(0,0,0,.6),
    0 50px 100px -30px rgba(10, 8, 40, .55),
    0 30px 60px -30px rgba(0,0,0,.45);
  position: relative;
  flex: none;
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 11%;
  border-radius: 0 3px 3px 0; background: linear-gradient(#2c2c33, #17171c);
}
.phone::after { /* volume */
  content: ""; position: absolute; left: -2px; top: 21%; width: 3px; height: 13%;
  border-radius: 3px 0 0 3px; background: linear-gradient(#2c2c33, #17171c);
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden; background: #f2f2f7;
  container-type: inline-size;
}
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; z-index: 3; left: 50%; top: 2.2%;
  width: 31%; height: 3.4%; transform: translateX(-50%);
  background: #000; border-radius: 999px;
}

/* ---------- Mock iOS screens (HTML-drawn, sized with container units) ---------- */

.ios {
  position: absolute; inset: 0;
  padding: 16cqw 5.5cqw 6cqw;
  font-size: 4.3cqw; line-height: 1.3; color: #111;
  font-family: -apple-system, "SF Pro Text", var(--font);
  letter-spacing: -0.01em;
  background: #f2f2f7;
}
.ios .sb { position: absolute; top: 0; left: 0; right: 0; height: 13cqw; display: flex; justify-content: space-between; align-items: center; padding: 1.5cqw 10cqw 0 12cqw; font-weight: 600; font-size: 4.6cqw; }
.ios .sb i { display: inline-flex; gap: 1.4cqw; align-items: center; }
.ios .sb i::before { content: ""; width: 5.8cqw; height: 2.8cqw; border-radius: .8cqw; background: #111; }
.ios :is(h5, .h5) { font-size: 9cqw; font-weight: 700; letter-spacing: -0.03em; margin: 3cqw 0 4cqw; }
.ios :is(h6, .h6) { font-size: 4.3cqw; font-weight: 600; margin: 4.5cqw 0 2cqw; }
.ios .card { background: #fff; border-radius: 4.5cqw; padding: 1cqw 4.5cqw; }
.ios .row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 3cqw 0; border-bottom: 1px solid #ececf1; }
.ios .row:last-child { border-bottom: 0; }
.ios .row small { display: block; color: #8a8a96; font-size: 3.4cqw; }
.ios .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.ios .tag { font-size: 3cqw; font-weight: 600; padding: .8cqw 2.2cqw; border-radius: 99px; white-space: nowrap; }
.ios .tag.ok { background: #e3f6ec; color: #13804b; }
.ios .tag.wait { background: #fff0e3; color: #b5470b; }
.ios .tag.acc { background: #ecebff; color: #383396; }
.ios .seg { display: grid; grid-template-columns: 1fr 1fr; background: #e4e4ea; border-radius: 3cqw; padding: .8cqw; font-size: 3.6cqw; font-weight: 600; text-align: center; margin-bottom: 3cqw; }
.ios .seg span { padding: 1.4cqw; border-radius: 2.4cqw; }
.ios .seg span:first-child { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ios .tabbar {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 3.5cqw; height: 15cqw; border-radius: 99px;
  background: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(0,0,0,.08);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center;
  font-size: 2.6cqw; font-weight: 600; color: #222;
}
.ios .tabbar span { display: grid; justify-items: center; gap: .6cqw; }
.ios .tabbar span::before { content: ""; width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: #222; opacity: .85; }
.ios .tabbar span.on { color: var(--accent-ink); }
.ios .tabbar span.on::before { background: var(--accent-ink); }
.ios .hero-num { font-size: 10cqw; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ios .bar { height: 2cqw; border-radius: 99px; background: #e8e8ef; overflow: hidden; margin-top: 2cqw; }
.ios .bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.ios .btn-ios { margin-top: 4cqw; background: var(--accent-ink); color: #fff; border-radius: 99px; text-align: center; padding: 3.2cqw; font-weight: 600; }
.ios .neg { color: #c62a1f; }
.ios .link { color: var(--accent-ink); font-weight: 600; font-size: 3.6cqw; }

/* Lock screen mock */
.lock {
  position: absolute; inset: 0; color: #fff; text-align: center;
  background:
    radial-gradient(80% 50% at 30% 20%, #6c5cff 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 80%, #2a1f8f 0%, transparent 70%),
    linear-gradient(160deg, #3b2fbf, #120d3a 70%);
  font-family: -apple-system, "SF Pro Display", var(--font);
  padding: 15cqw 5cqw 0;
}
.lock .date { font-size: 5.2cqw; font-weight: 600; opacity: .9; }
.lock .time { font-size: 25cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 1cqw; }
.lock .widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 6cqw 3cqw 0; }
.lock .w { background: rgba(255,255,255,.16); border-radius: 4cqw; padding: 3cqw; text-align: left; font-size: 3.4cqw; line-height: 1.25; backdrop-filter: blur(6px); }
.lock .w b { display: block; font-size: 4.6cqw; font-variant-numeric: tabular-nums; }
.lock .la {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 22cqw;
  background: rgba(20, 18, 40, .72); border-radius: 6cqw; padding: 4.5cqw 5cqw; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 3cqw;
  backdrop-filter: blur(10px);
}
.lock .la small { display: block; opacity: .7; font-size: 3.3cqw; }
.lock .la b { font-size: 4.6cqw; }
.lock .la .t { font-size: 7.5cqw; font-weight: 700; font-variant-numeric: tabular-nums; color: #b9b5ff; }
.lock .dot { display: inline-block; width: 2cqw; height: 2cqw; border-radius: 50%; background: #34d27b; margin-right: 1.5cqw; }
.lock .bottom { position: absolute; left: 10cqw; right: 10cqw; bottom: 7cqw; display: flex; justify-content: space-between; }
.lock .bottom span { width: 11cqw; height: 11cqw; border-radius: 50%; background: rgba(255,255,255,.18); }

/* ---------- Promise ---------- */

.promise .big {
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 22ch;
  text-wrap: balance;
}
.promise .big em { font-style: normal; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.pillar { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.pillar .n { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .12em; }
.pillar h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.pillar p { color: var(--muted); font-size: 16px; }

/* ---------- Feature list w/ sticky device ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.split.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.sticky-device { position: sticky; top: calc(var(--nav-h) + 32px + env(safe-area-inset-top, 0px)); display: flex; justify-content: center; overflow-x: clip; }
.sticky-device .glow {
  position: absolute; inset: 10% 0 0; z-index: -1;
  background: radial-gradient(50% 45% at 50% 50%, rgba(90, 80, 240, .22), transparent 70%);
}
.duo { position: relative; display: flex; justify-content: center; }
.duo .phone:first-child { --w: clamp(230px, 22vw, 300px); z-index: 2; }
.duo .phone:last-child { --w: clamp(200px, 19vw, 260px); margin-left: -60px; margin-top: 70px; z-index: 1; }

.feat-list { display: grid; gap: 4px; }
.feat {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0;
  border-top: 1px solid var(--line);
}
.feat:first-child { border-top: 0; padding-top: 0; }
.feat .ic, .tile .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.feat h3 { font-size: 20px; letter-spacing: -0.022em; line-height: 1.25; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: clamp(15.5px, 0.25vw + 14.6px, 16.5px); }

/* ---------- Gallery of mock screens ---------- */

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: clamp(64px, 8vw, 110px);
}
.gallery figure { display: grid; justify-items: center; gap: 22px; }
.gallery .phone { --w: min(100%, 262px); width: var(--w); }
.gallery figcaption { text-align: center; max-width: 250px; }
.gallery figcaption b { display: block; font-size: 16px; letter-spacing: -0.015em; }
.gallery figcaption span { color: var(--muted); font-size: 14.5px; }

.illus-note { margin-top: 28px; text-align: center; font-size: 13px; color: var(--muted); }
.dark .illus-note { color: var(--dark-muted); }

/* ---------- Tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(30, 20, 120, .35); border-color: var(--line-2); }
.tile h3 { font-size: 18.5px; letter-spacing: -0.02em; line-height: 1.3; }
.tile p { color: var(--muted); font-size: clamp(15px, 0.2vw + 14.3px, 15.5px); }
.dark .tile { background: rgba(255,255,255,.035); border-color: var(--dark-line); }
.dark .tile:hover { border-color: rgba(255,255,255,.18); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }
.dark .tile .ic { background: rgba(154,150,255,.12); color: var(--accent-bright); }
.dark .tile p { color: var(--dark-muted); }

/* ---------- Spotlight (missed days) ---------- */

.spotlight {
  margin-top: clamp(64px, 8vw, 110px);
  border-radius: 36px;
  background: var(--dark-2);
  color: var(--dark-text);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 90% 10%, rgba(90, 80, 240, .35), transparent 70%);
}
.spotlight .copy { display: grid; gap: 20px; }
.spotlight .lead { color: var(--dark-muted); }
.spotlight ul.checks li { color: #d8d8ee; }

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--ink-2); }
.checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a43d9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.dark .checks li::before, .spotlight .checks li::before {
  background-color: rgba(154,150,255,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a96ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.ui-card {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  font-size: 15px;
}
.ui-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ui-card .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, #6a63ff, #3a32b8); flex: none; }
.avatar.b { background: linear-gradient(135deg, #f59e0b, #d9480f); }
.avatar.c { background: linear-gradient(135deg, #10b981, #047857); }
.avatar.d { background: linear-gradient(135deg, #ec4899, #9d174d); }
.ui-card .who b { display: block; letter-spacing: -0.01em; }
.ui-card .who small { color: var(--muted); font-size: 13px; }
.pilltag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pilltag.warn { background: var(--warn-soft); color: var(--warn); }
.pilltag.ok { background: var(--ok-soft); color: var(--ok); }
.pilltag.acc { background: var(--accent-soft); color: var(--accent-ink); }
.pilltag.bad { background: var(--bad-soft); color: var(--bad); }
.ui-card .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ui-card .facts small { display: block; color: var(--muted); font-size: 12px; }
.ui-card .facts b { font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: -0.01em; }
.ui-card .q { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 10px; }
.choices { display: grid; gap: 8px; }
.choice {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px;
}
.choice small { font-weight: 500; color: var(--muted); font-size: 12.5px; display: block; }
.choice.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 67, 217, .14); }
.choice .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.choice.sel .radio { border: 5px solid var(--accent); }
.ui-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.ui-card .foot .btn { --h: 40px; font-size: 14px; padding: 0 18px; }

/* ---------- Money ---------- */

.money-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.stat-band {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line);
}
.stat-band > div { padding: 28px 24px; border-left: 1px solid var(--dark-line); }
.stat-band > div:first-child { border-left: 0; padding-left: 0; }
.stat-band b { display: block; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; font-weight: 700; line-height: 1.1; }
.stat-band span { color: var(--dark-muted); font-size: 14.5px; }

/* ---------- Browser / dashboard mocks ---------- */

.browser {
  border-radius: 18px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 60px 120px -40px rgba(20, 12, 90, .45), 0 0 0 1px rgba(10, 10, 40, .08);
}
.dark .browser { box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.browser .chrome {
  display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px;
  background: #f3f3f7; border-bottom: 1px solid var(--line);
}
.browser .dots { display: flex; gap: 7px; }
.browser .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d6d6de; }
.browser .dots i:nth-child(1) { background: #ff5f57; }
.browser .dots i:nth-child(2) { background: #febc2e; }
.browser .dots i:nth-child(3) { background: #28c840; }
.browser .url {
  flex: 1; max-width: 420px; margin: 0 auto; height: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted);
}
.browser .url svg { width: 11px; height: 11px; }
.app { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.app aside { background: #fafafd; border-right: 1px solid var(--line); padding: 18px 12px; font-size: 13.5px; }
.app aside .org { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 4px 8px 16px; letter-spacing: -0.01em; }
.app aside .org img { width: 24px; height: 24px; border-radius: 6px; }
.app aside li { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; border-radius: 8px; color: var(--ink-2); }
.app aside li.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.app aside li em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 99px; padding: 1px 7px; }
.app aside .grp { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9a9ab0; padding: 14px 10px 6px; }
.app :is(main, .app-main) { padding: 24px 28px; min-width: 0; }
.app .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.app .top :is(h4, .mock-h) { font-size: 20px; letter-spacing: -0.025em; font-weight: 700; margin: 0; }
.app .top small { color: var(--muted); font-size: 13px; display: block; }
.app .filters { display: flex; gap: 8px; flex-wrap: wrap; }
.app .filters span { font-size: 12.5px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: #fff; }
.app .filters span.on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi b { font-size: 21px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 11.5px; color: var(--ok); font-weight: 600; margin-left: 4px; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 10px 14px; background: #fafafd; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl .person { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl .person .avatar { width: 26px; height: 26px; font-size: 10.5px; }
.tbl .neg { color: var(--bad); }
.minibar { display: inline-block; width: 84px; height: 7px; border-radius: 9px; background: #eeeef5; vertical-align: middle; margin-left: 8px; overflow: hidden; }
.minibar i { display: block; height: 100%; background: var(--accent); border-radius: 9px; }
.minibar i.o { background: #f59e0b; }

/* Report tabs */
.report-stage { margin-top: clamp(48px, 6vw, 72px); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tabs button {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: all .25s var(--ease);
}
.tabs button:hover { border-color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel[hidden] { display: none; }

.report-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.report-cards .tile { background: #fff; }
.report-cards ul { display: grid; gap: 6px; margin-top: 4px; }
.report-cards li { font-size: 14.5px; color: var(--ink-2); padding-left: 16px; position: relative; }
.report-cards li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }
.report-extras { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 32px; color: var(--ink-2); font-size: 15px; }
.report-extras span { display: inline-flex; align-items: center; gap: 8px; }
.report-extras svg { color: var(--accent); }

/* ---------- Trust ---------- */

.trust-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.trust-col { border-radius: 32px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); }
.trust-col.alt { background: var(--dark-2); color: var(--dark-text); border-color: transparent; position: relative; overflow: hidden; isolation: isolate; }
.trust-col.alt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(90, 80, 240, .3), transparent 70%); }
.trust-col > h3 { margin: 16px 0 28px; }
.trust-col .feat { border-top-color: var(--line); }
.trust-col.alt .feat { border-top-color: var(--dark-line); }
.trust-col.alt .feat p { color: var(--dark-muted); }
.trust-col .feat :is(h3, h4) { font-size: 20px; letter-spacing: -0.022em; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
.trust-col.alt .feat .ic { background: rgba(154,150,255,.12); color: var(--accent-bright); }
.wtd {
  margin-top: 20px; border-radius: 32px; padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--bg-tint), #fff 70%); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.wtd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wtd-stats div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.wtd-stats b { display: block; font-size: 34px; letter-spacing: -0.04em; line-height: 1; color: var(--accent-ink); }
.wtd-stats span { font-size: 13.5px; color: var(--muted); display: block; margin-top: 8px; line-height: 1.4; }

/* ---------- Global ---------- */

.global-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.bignum { font-size: clamp(120px, 18vw, 240px); font-weight: 800; letter-spacing: -0.07em; line-height: .85; }
.bignum + p { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; font-weight: 600; margin-top: 14px; }
.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .track { display: flex; gap: 12px; width: max-content; animation: scroll 70s linear infinite; }
.marquee .track.rev { animation-direction: reverse; animation-duration: 80s; }
.marquee span {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.04);
  font-size: 17px; color: #e4e3f7; white-space: nowrap;
}
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.step { border-radius: 32px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.step .txt { padding: 32px 32px 0; display: grid; gap: 10px; }
.step .k { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h3 { font-size: 22px; letter-spacing: -0.025em; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .shot { display: flex; justify-content: center; align-items: flex-start; padding-top: 32px; height: 380px; overflow: hidden; position: relative; }
.step .shot .phone { --w: 250px; }
.step .shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg-soft)); }

/* ---------- Pricing ---------- */

.price {
  border-radius: 40px; padding: clamp(36px, 6vw, 80px);
  background: var(--dark-2); color: var(--dark-text);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.price::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 100%, rgba(90, 80, 240, .4), transparent 70%); }
.price .eyebrow { margin-bottom: 20px; }
.price .amount { font-size: clamp(88px, 12vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.price .amount small, .price .amount-sub { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--dark-muted); display: block; margin-top: 16px; line-height: 1.5; }
.price .checks { gap: 14px; }
.price .checks li { color: #dcdcf2; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 32px + env(safe-area-inset-top, 0px)); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  transition: transform .3s var(--ease);
  color: var(--muted);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 44px 26px 0; color: var(--muted); font-size: 16.5px; display: grid; gap: 12px; }
.faq .a a { color: var(--accent); }

/* ---------- Final CTA ---------- */

.final { text-align: center; overflow: hidden; isolation: isolate; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 100%, rgba(90, 80, 240, .45), transparent 70%);
}
.final .icon-big { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 32px; box-shadow: 0 30px 60px -20px rgba(90, 80, 255, .7); }
.final .display { font-size: clamp(42px, 6.5vw, 88px); max-width: 15ch; margin: 0 auto; }
.final .lead { margin: 24px auto 40px; text-align: center; }

/* ---------- Footer ---------- */

footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding: 64px 0 calc(40px + var(--safe-b)); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid :is(h4, .foot-h) { color: var(--dark-text); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 0 0 14px; }
.foot-grid li { margin: 0; }
.foot-grid a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot-grid a:hover { color: var(--dark-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid .brand { color: var(--dark-text); margin-bottom: 16px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee .track.rev { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .btn, .tile, .link-arrow::after { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .money-grid { grid-template-columns: repeat(2, 1fr); }
  .report-cards { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .app aside { display: none; }
}

@media (max-width: 900px) {
  .split, .split.rev, .spotlight, .trust-cols, .global-grid, .price, .faq-grid, .wtd { grid-template-columns: minmax(0, 1fr); }
  .split.rev .sticky-device { order: -1; }
  .sticky-device { position: relative; top: 0; }
  .faq-grid .section-head { position: static; }
  .pillars, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat-band > div:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .step .shot { height: 340px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .pillars, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { height: 560px; }
  .hero-stage .p-center { --w: 250px; }
  .hero-stage .p-left { --w: 200px; translate: -118% 70px; }
  .hero-stage .p-right { --w: 200px; translate: 18% 70px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .hero-meta { gap: 8px 18px; font-size: 13.5px; }
  .tiles, .money-grid, .report-cards { grid-template-columns: 1fr; }
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 12px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; flex: 0 0 min(78%, 280px); }
  .gallery .phone { --w: 100%; max-width: 250px; }
  .duo .phone:first-child { --w: min(210px, 56vw); }
  .duo .phone:last-child { --w: min(180px, 48vw); margin-left: -13vw; }
  .ui-card { padding: 18px; }
  .ui-card .facts { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app :is(main, .app-main) { padding: 18px 16px; }
  .wtd-stats { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 40px 1fr; gap: 16px; }
  .feat .ic { width: 40px; height: 40px; border-radius: 12px; }
  .feat p { font-size: 15.5px; }
  .feat { padding: 22px 0; }
  .step .txt { padding: 26px 24px 0; }
  .faq summary { font-size: 17px; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band > div { border-left: 0; padding-left: 0; }
  .stat-band > div + div { border-top: 1px solid var(--dark-line); }
  .browser .url { font-size: 11.5px; }
}

/* =====================================================================
   ENGAGE + RESPONSIVE additions (responsive-engage package)
   ===================================================================== */

/* ---------- Hero: persona switcher, microcopy ---------- */
.persona {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.persona [role="radio"] {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #e6e5fb; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color .2s, color .2s;
}
.persona [role="radio"]:hover { background: rgba(255, 255, 255, 0.09); }
.persona [role="radio"][aria-checked="true"] { background: #fff; color: var(--ink); }
.persona [role="radio"]:focus-visible { outline-offset: 1px; }
.hero-micro { font-size: 14px; color: #c9c8e6; margin-top: -12px; }

/* Persona badge on the matching section eyebrow */
.section-head .eyebrow::after {
  content: "Your part"; display: none;
  margin-left: 2px; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; letter-spacing: 0.04em; text-transform: none;
  background: var(--accent); color: #fff;
}
.dark .section-head .eyebrow::after { background: var(--accent-bright); color: var(--dark); }
html[data-persona="employee"] #employees .section-head .eyebrow::after,
html[data-persona="admin"] #admins .section-head .eyebrow::after,
html[data-persona="payroll"] #payroll .section-head .eyebrow::after,
html[data-persona="payroll"] #reports .section-head .eyebrow::after { display: inline-block; }

/* ---------- Next-section hooks ---------- */
.next-hook { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.next-hook a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--accent-ink);
  border: 1px solid var(--line-2); background: #fff;
  transition: border-color .2s, transform .25s var(--ease);
}
.next-hook a:hover { border-color: var(--accent); transform: translateY(1px); }
.dark .next-hook a { color: var(--dark-text); background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); }
.dark .next-hook a:hover { border-color: var(--accent-bright); }

/* ---------- Share with my manager ---------- */
.share-callout {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 28px;
  background: linear-gradient(135deg, var(--bg-tint), #fff 75%); border: 1px solid var(--line);
}
.share-copy { display: grid; gap: 10px; }
.share-copy p { color: var(--ink-2); max-width: 56ch; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-actions .btn { min-height: 48px; --h: 48px; }
.share-actions .btn[hidden] { display: none; }
.share-status { flex-basis: 100%; font-size: 14px; color: var(--ok); min-height: 1px; }
.share-status:empty { display: none; }

/* Compact share icon + "copied" bubble */
.btn-icon { width: var(--h); padding: 0; position: relative; }
.btn-icon.copied::after, .faq-link.copied::after {
  content: "Copied ✓"; position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
  padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: var(--ink); color: #fff; pointer-events: none;
}

/* ---------- Inline CTA band ---------- */
.cta-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px;
  padding-top: 28px; padding-bottom: 28px;
}
.cta-band-text { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }
.cta-band-text b { color: var(--accent-ink); }
.cta-band .btn-store { --h: 52px; }

/* ---------- Pricing: no-catch strip ---------- */
.no-catch { margin-top: 20px; display: grid; gap: 16px; }
.no-catch-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.no-catch details { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); }
.no-catch summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 40px 14px 18px; position: relative;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.015em; line-height: 1.35; display: flex; align-items: center;
}
.no-catch summary::-webkit-details-marker { display: none; }
.no-catch summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat,
              linear-gradient(currentColor, currentColor) center/2px 12px no-repeat;
  color: var(--muted); transition: transform .3s var(--ease);
}
.no-catch details[open] summary::after { transform: rotate(45deg); }
.no-catch details p { padding: 0 18px 16px; font-size: 14.5px; color: var(--muted); }
.no-catch details a { color: var(--accent); }

/* ---------- Final CTA ---------- */
.final .lead { margin: 24px auto 12px; }
.final-facts { margin: 0 auto 40px; font-size: 15px; font-weight: 500; color: #d4d3ef; max-width: 60ch; }

/* ---------- FAQ copy-link ---------- */
.faq-link {
  position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px 0 0; border: 0; background: none; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--accent-ink);
}
.faq-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile CTA bar ---------- */
.m-cta { display: none; }
@media (max-width: 720px) {
  .m-cta:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 10px max(16px, var(--safe-r)) calc(10px + var(--safe-b)) max(16px, var(--safe-l));
    background: rgba(8, 8, 14, 0.9); border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
    transform: translateY(110%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .m-cta.show { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .m-cta .btn-store { --h: 48px; flex: 1; max-width: 300px; }
  .m-cta .btn-icon { --h: 48px; color: var(--dark-text); border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05); }
  body.has-mcta { padding-bottom: calc(72px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
  .m-cta:not([hidden]), .m-cta.show { transition: none; }
  .hero .lead { transition: none; }
}

/* ---------- Responsive refinements ---------- */
.gallery { scroll-padding-inline: max(var(--gutter), var(--safe-l)); }

/* Table edge fades + scroll hint */
.tbl-wrap {
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 32px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right center / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(20,16,90,.14), transparent) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(20,16,90,.14), transparent) right center / 12px 100% no-repeat scroll,
    #fff;
}
.dark .tbl-wrap { background-color: #fff; }

@media (min-width: 701px) and (max-width: 900px) {
  .split, .split.rev { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  .split.rev .sticky-device { order: 0; }
  .split .sticky-device { position: sticky; top: calc(var(--nav-h) + 32px + env(safe-area-inset-top, 0px)); }
  .split .phone { --w: min(250px, 34vw) !important; }
  .duo .phone:first-child { --w: min(210px, 28vw); }
  .duo .phone:last-child { --w: min(170px, 23vw); margin-left: -40px; }
}

@media (max-width: 900px) {
  .share-callout { grid-template-columns: minmax(0, 1fr); }
  .no-catch-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .gallery { padding: 0 max(var(--gutter), var(--safe-r)) 12px max(var(--gutter), var(--safe-l)); }
  .tbl th:first-child, .tbl td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .tbl th:first-child { background: #fafafd; }
  .persona [role="radio"] { padding: 0 14px; font-size: 14.5px; }
  .hero-micro { margin-top: -10px; }
  .no-catch-items { grid-template-columns: minmax(0, 1fr); }
  .share-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .trust-col, .wtd, .spotlight, .price { padding: 22px 18px; }
  .trust-col .feat { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ui-card .head { flex-wrap: wrap; }
  .ui-card .facts { grid-template-columns: 1fr 1fr; }
  .persona { border-radius: 22px; }
  .persona [role="radio"] { padding: 0 12px; font-size: 14px; }
  .price .amount { font-size: 80px; }
}

@media (pointer: coarse) {
  .nav-links a, .nav-cta .signin { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-sm { --h: 44px; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .sticky-device { position: relative; top: 0; }
  .duo .phone:first-child { --w: clamp(210px, 32vh, 280px); }
  .duo .phone:last-child { --w: clamp(180px, 28vh, 240px); }
}

/* Landscape phones */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-copy { gap: 18px; }
  .hero .display { font-size: clamp(36px, 6vw, 56px); }
  .hero h1 .h1-sub { margin-top: 12px; font-size: 17px; }
  .persona [role="radio"] { min-height: 40px; }
  .hero-stage { height: 420px; }
  .hero-stage .p-left, .hero-stage .p-right { display: none; }
  .hero-stage .p-center { --w: 220px; }
  .sticky-device { position: relative; top: 0; }
  .mobile-menu { max-height: calc(100dvh - var(--nav-h)); }
  .m-cta:not([hidden]) { padding-top: 6px; padding-bottom: calc(6px + var(--safe-b)); }
}

/* Very wide screens */
@media (min-width: 1800px) {
  :root { --wrap: 1320px; }
  .hero-stage { height: 780px; }
}
@media (min-width: 2400px) {
  :root { --wrap: 1440px; }
  html { font-size: 112.5%; }
  body { font-size: 19px; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 16mm; }
  html { scroll-behavior: auto; }
  body { background: #fff !important; color: #000; font-size: 11pt; padding: 0 !important; }
  .reveal, .h-in { opacity: 1 !important; transform: none !important; }
  .nav, .skip, .float-chip, .hero-stage .p-left, .hero-stage .p-right, .marquee .track.rev,
  .m-cta, .persona, .aurora, .next-hook, .play, .faq-link, .share-actions, .cta-band,
  .menu-btn, .mobile-menu, .btn-icon, .tabs { display: none !important; }
  .hero, .dark, .soft, .spotlight, .price, .trust-col.alt, .final, footer, .wtd, .cta-band, .share-callout {
    background: #fff !important; color: #000 !important; box-shadow: none !important;
  }
  .hero::before, .hero::after, .hero-stage::after, .spotlight::before, .price::before, .final::before, .trust-col.alt::before { display: none !important; }
  .grad { background: none !important; color: #000 !important; -webkit-text-fill-color: #000; }
  .lead, .muted, .dark .lead, .hero .lead, .feat p, .tile p, .trust-col.alt .feat p, .price .checks li,
  .spotlight .checks li, .price .amount-sub, .final-facts, .hero-meta, .hero-micro, footer { color: #222 !important; }
  .hero { padding-top: 0; }
  .hero-stage { height: auto; margin-top: 16px; }
  .hero-stage .phone { position: relative; left: auto; translate: none; }
  .pad { padding: 28px 0; }
  .sticky-device { position: static; }
  .gallery { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; overflow: visible !important; margin: 24px 0 0 !important; padding: 0 !important; }
  .gallery figure { flex: none !important; }
  .faq details > .a, .no-catch details > p { display: grid !important; }
  .faq details:not([open]) > .a, .no-catch details:not([open]) > p { display: block !important; }
  details > summary::after { display: none !important; }
  a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
  .feat, .tile, .pillar, .step, .spotlight, .browser, .trust-col, .wtd, figure, details, .price, tr { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .tbl-wrap { overflow: visible; background: #fff; }
}
.section-head .eyebrow { flex-wrap: wrap; row-gap: 6px; }
.hero-ctas .btn-icon { align-self: center; flex: none; }
.faq details { scroll-margin-top: 12px; }
@media print {
  .hero .pill, .hero h1 .h1-sub, .hero .lead a, .btn-ghost, .next-hook a, .cta-band-text, .share-copy p { color: #111 !important; }
  .btn-ghost { border-color: #999 !important; background: #fff !important; }
  .hero .pill { border-color: #ccc; background: #fff; }
}

/* === responsive-engage: rework round 2 fixes === */
/* Duo phones inside the two-column split (701–900px) */
@media (min-width: 701px) and (max-width: 900px) {
  .split .duo .phone:first-child { --w: min(180px, 23vw) !important; }
  .split .duo .phone:last-child { --w: min(150px, 19vw) !important; margin-left: -24px; margin-top: 48px; }
}
@media (max-width: 640px) {
  .duo .phone:first-child { --w: min(210px, 54vw); }
  .duo .phone:last-child { --w: min(180px, 46vw); }
}
/* Final CTA buttons wrap at narrow widths */
@media (max-width: 360px) {
  .final .hero-ctas { max-width: 100%; }
  .final .hero-ctas .btn:not(.btn-icon) {
    width: 100%; max-width: 100%; white-space: normal; text-align: center;
    height: auto; min-height: var(--h, 52px); padding-top: 10px; padding-bottom: 10px; line-height: 1.25;
  }
}
/* Open mobile menu: lock the page behind it and fill the viewport */
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 1100px) {
  .nav.open .mobile-menu {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
    align-content: start;
  }
}
