/* HALO Schools public website — "connected school OS" glass system.
 *
 * Light luminous glass (~70%) with deep-navy immersive bands (~30%), aurora
 * gradients, a faint grid/noise texture and layered real product screens.
 * Rules that keep it fast and safe:
 *  - no inline styles anywhere (strict CSP: style-src 'self');
 *  - real backdrop-filter only on the header, menus, drawer and a few hero
 *    layers — cards use translucent fills (cheap) instead;
 *  - motion animates transform/translate/opacity only, never layout, and
 *    stops entirely under prefers-reduced-motion. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var.woff2') format('woff2'); }

:root {
  /* HALO roots */
  --indigo: #2e2c8f; --indigo-600: #3a3ab8; --indigo-500: #4b4fe0; --indigo-300: #a5a8f5; --indigo-100: #eceefe;
  --navy: #0a0f2e; --navy-2: #070b24; --navy-3: #111845;
  --blue: #0092d6; --green: #7fae00; --mag: #d1006b;
  /* supporting light */
  --cyan: #22c7ee; --violet: #8b7cf6; --sky-100: #e8f4fd;
  /* surfaces */
  --bg: #f4f6fb; --ink: #0d1333; --text: #1b2142; --muted: #4f5679; --soft: #5d6485;
  --line: rgba(17, 24, 64, 0.1); --line-2: rgba(17, 24, 64, 0.06);
  --glass: rgba(255, 255, 255, 0.64); --glass-strong: rgba(255, 255, 255, 0.84); --glass-edge: rgba(255, 255, 255, 0.8);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 0 0 1px rgba(17, 24, 64, 0.05), 0 24px 48px -28px rgba(17, 24, 64, 0.28);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 0 0 1px rgba(17, 24, 64, 0.05), 0 40px 80px -36px rgba(23, 30, 90, 0.42);
  --ok: #2f6b00; --ok-bg: #e9f5d8; --warn: #a3004f; --warn-bg: #fde7f1;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px; --gutter: 32px; --r: 20px; --r-sm: 14px;
  --hdr: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); font-feature-settings: 'cv11', 'ss01'; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* fine noise over the whole page (data: image is allowed by img-src) */
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.has-drawer { overflow: hidden; }
main, .ftr { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-600); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 2px solid var(--indigo-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--indigo); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---- type helpers -------------------------------------------------------- */
.eyebrow { margin: 0 0 16px; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo-500); }
.eyebrow--chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass-strong); box-shadow: var(--shadow); letter-spacing: 0.06em; text-transform: none; font-size: 0.88rem; color: var(--indigo); }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--indigo-500)); }
.dot-live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(75, 79, 224, 0.45); animation: ping 2.4s var(--ease) infinite; }
.grad { background: linear-gradient(95deg, var(--indigo) 0%, var(--indigo-500) 40%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--light { background-image: linear-gradient(95deg, #c7cbff 0%, #8fa5ff 45%, #67e2f7 100%); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); max-width: 640px; }
.caption { margin: 22px 0 0; font-size: 0.85rem; color: var(--soft); }

/* ---- surfaces ------------------------------------------------------------ */
.glass { background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.glass-dark { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
/* cards: translucent, no blur (cheap), with a sheen that moves on hover */
.gcard { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.gcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%) no-repeat; background-size: 250% 100%; background-position: 130% 0; transition: background-position 0.9s var(--ease); }
.gcard:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.gcard:hover::after { background-position: -30% 0; }
.gcard--dark { background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 24px 48px -28px rgba(0, 0, 0, 0.7); color: #c8cdf0; }
.gcard--dark::after { background-image: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 48%, transparent 66%); }

/* aurora: two soft light fields that drift slowly */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after { content: ''; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.aurora::before { left: -18vmax; top: -38vmax; background: radial-gradient(circle, rgba(118, 150, 255, 0.55), transparent 62%); animation: drift-a 26s ease-in-out infinite alternate; }
.aurora::after { right: -24vmax; top: -22vmax; background: radial-gradient(circle, rgba(34, 199, 238, 0.32), rgba(139, 124, 246, 0.18) 40%, transparent 64%); animation: drift-b 32s ease-in-out infinite alternate; }
.aurora--dark::before { background: radial-gradient(circle, rgba(75, 79, 224, 0.55), transparent 60%); opacity: 0.7; }
.aurora--dark::after { background: radial-gradient(circle, rgba(34, 199, 238, 0.28), rgba(209, 0, 107, 0.1) 45%, transparent 64%); opacity: 0.7; }
.aurora--alt::before { left: auto; right: -20vmax; top: -30vmax; }
.aurora--alt::after { right: auto; left: -30vmax; top: 10vmax; }

/* ---- buttons ------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font: 600 0.98rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s; }
.btn .ic { width: 18px; height: 18px; transition: translate 0.25s var(--ease); }
.btn:hover .ic { translate: 3px 0; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.92rem; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 15px 26px; font-size: 1.04rem; border-radius: 14px; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-500) 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(58, 58, 184, 0.75); }
.btn--primary:hover { color: #fff; translate: 0 -1px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 32px -12px rgba(58, 58, 184, 0.85); }
.btn--glass { color: var(--ink); background: var(--glass-strong); border-color: var(--glass-edge); box-shadow: var(--shadow); }
.btn--glass:hover { color: var(--indigo); translate: 0 -1px; }
.btn--white { color: var(--navy); background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5); }
.btn--white:hover { color: var(--indigo); translate: 0 -1px; }
.btn--glass-dark { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--glass-dark:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: translate 0.25s var(--ease); }
.link-arrow:hover .ic { translate: 3px 0; }

/* ---- floating glass header ---------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 60; padding: 12px var(--gutter) 0; }
.hdr__bar { position: relative; isolation: isolate; z-index: 1; display: flex; align-items: center; gap: 20px; max-width: var(--wrap); height: 64px; margin: 0 auto; padding: 0 10px 0 18px; border-radius: 18px; }
/* the glass lives on a pseudo-element: backdrop-filter on the bar itself
 * would make it the containing block of the fixed mobile drawer */
.hdr__bar::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(255, 255, 255, 0.75); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px rgba(17, 24, 64, 0.05), 0 18px 40px -26px rgba(17, 24, 64, 0.35); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); transition: background-color 0.3s, box-shadow 0.3s; }
.hdr.is-scrolled .hdr__bar::before { background: rgba(255, 255, 255, 0.86); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px rgba(17, 24, 64, 0.07), 0 20px 44px -24px rgba(17, 24, 64, 0.45); }
/* brand lockup: H icon tile + HALO + official full form */
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; flex: none; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.08), 0 6px 16px -8px rgba(23, 30, 90, 0.45); }
.brand__text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand__name { font-size: 1.32rem; font-weight: 800; letter-spacing: 0.06em; color: var(--indigo); }
.brand__full { margin-top: 4px; font-size: 0.66rem; font-weight: 550; line-height: 1.25; letter-spacing: 0.01em; color: var(--muted); }
.brand__l2 { display: block; }
.nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 13px; border: 0; border-radius: 10px; background: none; font: 500 0.95rem/1 var(--font); color: var(--text); text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.nav__link:hover, .nav__link[aria-expanded='true'] { color: var(--indigo); background: rgba(75, 79, 224, 0.07); }
.nav__link[aria-current='page'] { color: var(--indigo); background: rgba(75, 79, 224, 0.09); }
.nav__chev { width: 16px; height: 16px; transition: rotate 0.2s var(--ease); }
.nav__trigger[aria-expanded='true'] .nav__chev { rotate: 180deg; }
.hdr__demo, .hdr__toggle { display: none; }

.mega { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.06), 0 40px 80px -30px rgba(17, 24, 64, 0.45); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.mega.is-open { display: block; animation: menu-in 0.22s var(--ease); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; text-decoration: none; color: var(--text); transition: background-color 0.2s; }
.mega__item:hover { background: rgba(75, 79, 224, 0.07); color: var(--text); }
.mega__item b { display: block; font-weight: 650; color: var(--ink); }
.mega__item b + span { display: block; margin-top: 2px; font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.mega__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: var(--indigo-500); background: linear-gradient(145deg, #fff, var(--indigo-100)); box-shadow: 0 0 0 1px rgba(75, 79, 224, 0.12), 0 6px 14px -8px rgba(75, 79, 224, 0.6); }

/* ---- hero ---------------------------------------------------------------- */
.hero { position: relative; margin-top: calc(-1 * var(--hdr)); padding-top: var(--hdr); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 60% 40%, #000 20%, transparent 75%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero h1 { margin: 24px 0 22px; font-size: clamp(2.6rem, 4.1vw, 3.55rem); }
.hero .lead { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.05); font-size: 0.88rem; font-weight: 500; color: var(--text); }
.chip .ic { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.6; }
a.chip { min-height: 44px; text-decoration: none; }
a.chip:hover { color: var(--indigo); background: #fff; }

/* the layered product stage */
.stage { position: relative; min-height: 560px; perspective: 1800px; }
.stage__glow { position: absolute; inset: 8% 0 10% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(75, 79, 224, 0.35), rgba(34, 199, 238, 0.16) 55%, transparent); filter: blur(30px); }
.window { overflow: hidden; border-radius: 16px; background: rgba(10, 15, 46, 0.9); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.12), 0 50px 90px -40px rgba(10, 15, 46, 0.7); }
.window__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.9)); border-bottom: 1px solid var(--line); }
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dbe8; }
.window__bar i:first-child { background: #ff8a8a; } .window__bar i:nth-child(2) { background: #ffd36a; } .window__bar i:nth-child(3) { background: #7fdc8f; }
.window__bar span { margin-left: 10px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.crop { position: relative; overflow: hidden; }
.crop img { max-width: none; }
.crop--dash { aspect-ratio: 1.42; }
.crop--dash img { width: 152%; margin-left: -27%; margin-top: -1%; }
.stage__main { position: absolute; top: 2%; left: 8%; width: 90%; transform: rotateY(-8deg) rotateX(3deg); transform-origin: 60% 50%; }
.stage__card { position: absolute; left: -3%; bottom: 7%; width: 47%; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 34px 60px -26px rgba(10, 15, 46, 0.75); }
.phone { margin: 0; padding: 6px; border-radius: 30px; background: linear-gradient(150deg, #262c5a, #0a0f2e 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 40px 70px -30px rgba(10, 15, 46, 0.7); }
.phone img { width: 100%; border-radius: 24px; }
.stage__phone { position: absolute; }
.stage__phone--staff { right: 19%; bottom: 0; width: 20%; }
.stage__phone--family { right: -1%; bottom: 5%; width: 24%; z-index: 2; }
.stage__toast { position: absolute; right: 3%; top: -2%; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; font-size: 0.82rem; }
.stage__toast b { display: block; color: var(--ink); }
.stage__toast i { display: block; font-style: normal; font-size: 0.75rem; color: var(--muted); }
.stage__toast-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ok-bg); color: var(--ok); }
.stage__toast-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.stage__caption { position: absolute; left: 8%; bottom: -34px; margin: 0; font-size: 0.8rem; color: var(--soft); }

/* ---- strip --------------------------------------------------------------- */
.strip { position: relative; z-index: 2; margin-top: -40px; }
.strip__in { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 18px; }
.strip li { display: flex; align-items: center; gap: 10px; padding: 18px 16px; font-size: 0.9rem; font-weight: 550; color: var(--text); line-height: 1.3; }
.strip li + li { border-left: 1px solid var(--line-2); }
.strip .ic { width: 20px; height: 20px; color: var(--indigo-500); }

/* ---- bands & heads ------------------------------------------------------- */
.band { position: relative; padding: 120px 0; }
.band > .wrap { z-index: 1; }
.band--tint { background: linear-gradient(180deg, rgba(232, 236, 252, 0.6), rgba(244, 246, 251, 0)); }
.band--dark { overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 0%, #141c55 0%, var(--navy-2) 60%); color: #c3c8ec; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark .lead { color: #aeb5e2; }
.band--dark .eyebrow { color: #9fb0ff; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head .lead { margin: 18px 0 0; }
.sec-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.sec-split .sec-head { margin-bottom: 0; }
.sec-split > .btn, .sec-split > .status-chip { flex: none; }
.ic-box { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--indigo-500); background: linear-gradient(145deg, #fff, var(--indigo-100)); box-shadow: 0 0 0 1px rgba(75, 79, 224, 0.12), 0 8px 18px -10px rgba(75, 79, 224, 0.6); }
.ic-box .ic { width: 22px; height: 22px; }
.ic-box--glow { color: #fff; background: linear-gradient(145deg, var(--indigo-500), var(--blue)); box-shadow: 0 10px 24px -10px rgba(75, 79, 224, 0.8); }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; font-size: 0.76rem; font-weight: 600; line-height: 1.4; white-space: nowrap; background: var(--indigo-100); color: var(--indigo-600); }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--muted { background: rgba(17, 24, 64, 0.05); color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 18px 0 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 6px; background: var(--indigo-100); color: var(--indigo-500); stroke-width: 2.6; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 1px var(--line); font-size: 0.8rem; font-weight: 500; }
.pills .ic { width: 14px; height: 14px; color: var(--indigo-500); }

/* ---- automation (dark) --------------------------------------------------- */
.auto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 1fr); gap: 24px; align-items: center; }
.auto__col { display: grid; gap: 16px; }
.auto__col li { padding: 20px 22px; }
.auto__col .ic { width: 22px; height: 22px; color: #9fb0ff; }
.auto__col h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.auto__col p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #b6bce6; }
.auto__core { display: grid; justify-items: center; gap: 28px; }
.orb { position: relative; width: 210px; height: 210px; }
.orb__core { position: absolute; inset: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, #8fa5ff, var(--indigo-500) 45%, #1b1f6e 100%); box-shadow: 0 0 60px 10px rgba(75, 79, 224, 0.55), 0 0 120px 40px rgba(34, 199, 238, 0.18); }
.orb__core .ic { width: 38px; height: 38px; stroke-width: 1.8; }
.orb__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(159, 176, 255, 0.35); }
.orb__ring--1 { inset: 30px; border-top-color: rgba(103, 226, 247, 0.95); animation: spin 9s linear infinite; }
.orb__ring--2 { inset: 12px; border-right-color: rgba(209, 0, 107, 0.7); animation: spin 14s linear infinite reverse; }
.orb__ring--3 { inset: 0; border-style: dashed; border-color: rgba(159, 176, 255, 0.2); animation: spin 40s linear infinite; }
.auto__shot { margin: 0; width: 100%; }
.auto__shot img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.auto__shot figcaption { margin-top: 10px; text-align: center; font-size: 0.8rem; color: #9ea6d8; }

/* ---- bento --------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bento__item { display: flex; flex-direction: column; padding: 26px; }
.bento__item--xl { grid-column: span 6; grid-row: span 2; }
.bento__item--md { grid-column: span 3; }
.bento__item--wide { grid-column: span 6; }
.bento__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bento__item > p { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.bento__viz { margin-top: auto; }
.bento__item--xl .bento__viz { margin-bottom: auto; }
.viz-shot { overflow: hidden; border-radius: 12px; max-height: 190px; box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.08), 0 16px 30px -18px rgba(10, 15, 46, 0.6); }
.viz-note { margin: 10px 0 0; font-size: 0.78rem; color: var(--soft); }
.viz-life { position: relative; padding: 8px 0 0; }
.viz-life__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 26px; }
.viz-life__steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo-500), var(--cyan) 55%, rgba(17, 24, 64, 0.1) 62%); }
.viz-life__steps li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 0.78rem; font-weight: 550; color: var(--muted); }
.viz-life__steps i { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--indigo-500); }
.viz-life__steps li:nth-child(n + 5) i { box-shadow: 0 0 0 2px rgba(17, 24, 64, 0.15); }
.viz-life__steps li.is-now i { background: var(--indigo-500); box-shadow: 0 0 0 5px rgba(75, 79, 224, 0.2), 0 0 18px 2px rgba(75, 79, 224, 0.6); }
.viz-life__steps li.is-now { color: var(--indigo); }
.viz-life__card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; }
.viz-life__card > span:nth-child(2) { flex: 1; min-width: 0; }
.viz-life__card b { display: block; color: var(--ink); }
.viz-life__card i { display: block; font-style: normal; font-size: 0.82rem; color: var(--muted); }
.viz-life__record { display: grid; gap: 2px; margin-top: 14px; padding: 6px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px var(--line-2); }
.viz-life__record li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 0.9rem; color: var(--muted); }
.viz-life__record li + li { border-top: 1px solid var(--line-2); }
.viz-life__record .ic { width: 18px; height: 18px; color: var(--indigo-500); }
.viz-life__record b { font-weight: 600; color: var(--ink); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--indigo-500), var(--cyan)); }
.viz-steps { display: grid; gap: 8px; }
.viz-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 1px var(--line-2); font-size: 0.88rem; font-weight: 550; }
.viz-steps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ok-bg); color: var(--ok); }
.viz-steps li.is-now i { background: var(--indigo-100); color: var(--indigo-500); }
.viz-steps .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.viz-route { position: relative; padding: 6px 0 22px; }
.viz-route svg { width: 100%; height: auto; overflow: visible; }
.viz-route__path { fill: none; stroke: var(--indigo-500); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
.viz-route circle { fill: #fff; stroke: var(--indigo-500); stroke-width: 3; }
.viz-route__lbl { position: absolute; bottom: 0; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.viz-route__lbl--a { left: 0; } .viz-route__lbl--b { left: 62%; } .viz-route__lbl--c { right: 0; }
.viz-acad { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.viz-acad__bars > span { display: block; margin-bottom: 10px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.viz-acad__bars em { font-style: normal; font-weight: 400; color: var(--soft); }
.bar-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.82rem; }
.bar-row b { font-weight: 550; }
.bar { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--indigo-500), var(--cyan)); transform-origin: left; }
.w100 { width: 100%; } .w80 { width: 80%; } .w60 { width: 60%; } .w45 { width: 45%; } .w35 { width: 35%; }
.viz-comm { display: grid; gap: 14px; }
.viz-comm__notice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; }
.viz-comm__notice > span:nth-child(2) { flex: 1; min-width: 0; }
.viz-comm__notice b { display: block; color: var(--ink); font-size: 0.95rem; }
.viz-comm__notice i { display: block; font-style: normal; font-size: 0.8rem; color: var(--muted); }
.viz-comm__ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--mag), #ff5aa5); }

/* ---- connected flow ------------------------------------------------------ */
.flow { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.flow::before { content: ''; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo-500), var(--cyan), var(--green), var(--mag), var(--indigo-500)); background-size: 200% 100%; animation: flow 8s linear infinite; opacity: 0.6; }
.flow li { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; }
.flow__n { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; font-weight: 700; font-size: 0.95rem; color: var(--indigo-500); background: linear-gradient(160deg, #fff, rgba(255, 255, 255, 0.7)); box-shadow: var(--shadow); }
.flow li:nth-child(4) .flow__n, .flow li:nth-child(7) .flow__n { color: #fff; background: linear-gradient(135deg, var(--indigo-500), var(--blue)); box-shadow: 0 12px 26px -12px rgba(75, 79, 224, 0.9); }
.flow b { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---- personas ------------------------------------------------------------ */
.tabs__list { display: inline-flex; gap: 4px; padding: 6px; border-radius: 16px; margin-bottom: 48px; }
.tabs__tab { min-height: 46px; padding: 10px 20px; border: 0; border-radius: 12px; background: none; font: 600 0.95rem/1.2 var(--font); color: var(--muted); cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected='true'] { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--indigo-500)); box-shadow: 0 10px 22px -10px rgba(58, 58, 184, 0.8); }
.tabs__panel[hidden] { display: none; }
.tabs__panel + .tabs__panel { margin-top: 64px; }
.is-ready > .tabs__panel { margin-top: 0; }
.tabs__panel.is-active { animation: panel-in 0.5s var(--ease); }
.persona { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.persona h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.persona__copy > p { color: var(--muted); font-size: 1.05rem; }
.persona__stage { position: relative; padding-bottom: 36px; }
.persona__stage::before { content: ''; position: absolute; inset: 0 5% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(75, 79, 224, 0.28), rgba(34, 199, 238, 0.14) 60%, transparent); filter: blur(30px); }
.persona__stage .stage__caption { left: 0; bottom: 0; }
.crop--persona { aspect-ratio: 1.55; }
.crop--persona img { width: 128%; margin-left: -18%; }
.persona__stage--phones { display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.persona__stage--phones .phone { position: relative; width: 236px; }
.persona__stage--phones .phone--back { margin-left: -40px; translate: 0 -36px; rotate: 4deg; z-index: 0; }
.persona__stage--phones .phone--front { z-index: 1; rotate: -3deg; }

/* ---- mobile apps --------------------------------------------------------- */
.band--trails { overflow: hidden; }
.trails i { position: absolute; left: -20%; width: 140%; height: 2px; border-radius: 2px; filter: blur(1px); opacity: 0.5; background: linear-gradient(90deg, transparent, rgba(75, 79, 224, 0.6), rgba(34, 199, 238, 0.6), transparent); animation: trail 16s ease-in-out infinite alternate; }
.trails i:nth-child(1) { top: 38%; rotate: -8deg; }
.trails i:nth-child(2) { top: 55%; rotate: -5deg; animation-delay: -5s; background: linear-gradient(90deg, transparent, rgba(209, 0, 107, 0.35), rgba(139, 124, 246, 0.45), transparent); }
.trails i:nth-child(3) { top: 70%; rotate: -11deg; animation-delay: -9s; background: linear-gradient(90deg, transparent, rgba(127, 174, 0, 0.35), rgba(34, 199, 238, 0.45), transparent); }
.status-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 12px; background: var(--glass-strong); box-shadow: var(--shadow); font-weight: 600; color: var(--indigo); }
.status-chip .ic { color: var(--indigo-500); }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; padding: 32px 24px 0 32px; }
.app__copy { align-self: center; padding-bottom: 32px; }
.app__copy h3 { font-size: 1.5rem; margin-bottom: 8px; }
.app__copy > p { color: var(--muted); }
.app__copy .ticks { font-size: 0.93rem; margin-bottom: 14px; }
.app__phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.app__phones .phone { width: 62%; max-width: 200px; position: relative; margin-bottom: -40px; }
.app__phones .phone--back { position: absolute; right: 0; bottom: 70px; width: 50%; rotate: 6deg; }
.app__phones .phone--front { margin-right: 26%; z-index: 1; }

/* ---- operations ---------------------------------------------------------- */
.ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ops__card { margin: 0; padding: 22px; }
.ops__card--wide, .ops__card:nth-child(4), .ops__card:nth-child(5) { grid-column: span 2; }
.ops__card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 0.92rem; }
.ops__card figcaption b { color: var(--ink); font-weight: 650; }
.ops__card img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(17, 24, 64, 0.08); }
.ops__big { margin: 12px 0 0; font-size: 2.4rem; font-weight: 750; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.ops__big span { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.spark { width: 100%; height: auto; overflow: visible; }
.spark__area { fill: url(#sg); }
.spark__line { fill: none; stroke: var(--indigo-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 0; }
.donut { position: relative; width: 132px; height: 132px; margin: 6px auto 12px; border-radius: 50%; background: conic-gradient(var(--indigo-500) 0 68%, var(--cyan) 68% 69%, #e3e7f6 69% 100%); }
.donut::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.donut span { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; color: var(--ink); }
.ops__legend { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; font-size: 0.82rem; color: var(--muted); }
.lg { width: 10px; height: 10px; border-radius: 3px; } .lg--a { background: var(--indigo-500); } .lg--b { background: #e3e7f6; margin-left: 8px; }
.funnel { display: grid; gap: 12px; }
.funnel li { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 12px; font-size: 0.88rem; }
.funnel b { text-align: right; color: var(--ink); }
.mini-list { margin-top: 18px; display: grid; gap: 8px; font-size: 0.88rem; }
.mini-list li { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--sky { background: var(--blue); } .dot--green { background: var(--green); } .dot--mag { background: var(--mag); }

/* ---- multi-branch network (dark) ---------------------------------------- */
.net { position: relative; display: grid; justify-items: center; gap: 44px; margin-bottom: 56px; }
.net__row { position: relative; display: flex; justify-content: center; width: 100%; }
.net__row + .net__row::before { content: ''; position: absolute; left: 50%; top: -44px; width: 2px; height: 44px; translate: -1px 0; background: linear-gradient(rgba(159, 176, 255, 0.15), rgba(103, 226, 247, 0.9), rgba(159, 176, 255, 0.15)); background-size: 100% 200%; animation: pulse-line 2.8s linear infinite; }
.net__row--branches { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 24px; }
.net__row--branches::before { top: -44px !important; height: 22px !important; }
.net__row--branches::after { content: ''; position: absolute; left: calc(50% - 284px + 130px); right: calc(50% - 284px + 130px); top: -22px; height: 2px; background: rgba(159, 176, 255, 0.35); }
.node { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 26px; border-radius: 18px; text-align: center; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 0 40px -10px rgba(75, 79, 224, 0.55); }
.node .ic { width: 22px; height: 22px; color: #9fb0ff; }
.node b { font-size: 1.05rem; }
.node > span { font-size: 0.82rem; color: #aab2e4; }
.node--platform { background: linear-gradient(135deg, rgba(75, 79, 224, 0.55), rgba(34, 199, 238, 0.3)); border-color: rgba(159, 176, 255, 0.5); box-shadow: 0 0 60px -6px rgba(75, 79, 224, 0.8); }
.node--platform > span { color: #dfe4ff; }
.node--branch { width: 100%; }
.node--branch::before { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: rgba(159, 176, 255, 0.35); }
.node__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; }
.node__tags i { padding: 2px 8px; border-radius: 6px; font-style: normal; font-size: 0.75rem; color: #d7dbf7; background: rgba(255, 255, 255, 0.08); }
.net__caption { margin: 0; font-size: 0.8rem; color: #9ea6d8; }
.net__shot { margin: 0 auto; max-width: 1000px; padding: 12px; border-radius: 20px; }
.net__shot img { border-radius: 12px; }
.net__shot figcaption { margin-top: 10px; text-align: center; font-size: 0.8rem; color: #9ea6d8; }

/* ---- security ------------------------------------------------------------ */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sec-grid li { padding: 28px; }
.sec-grid__wide { grid-column: span 2; }
.sec-grid h3 { margin: 20px 0 8px; font-size: 1.2rem; }
.sec-grid p { margin: 0; color: var(--muted); }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq h2 { margin-bottom: 18px; }
.faq__list { display: grid; gap: 12px; }
.faq details { padding: 0 24px; border-radius: 16px; }
.faq details:hover { translate: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; padding: 14px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--indigo-100); }
.faq__pm::before, .faq__pm::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--indigo-500); border-radius: 2px; translate: -50% -50%; }
.faq__pm::before { width: 12px; height: 2px; }
.faq__pm::after { width: 2px; height: 12px; transition: rotate 0.25s var(--ease); }
.faq details[open] .faq__pm::after { rotate: 90deg; }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* ---- CTA ----------------------------------------------------------------- */
.band--cta { padding-top: 40px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: 88px 72px; background: radial-gradient(ellipse 90% 90% at 80% 0%, #1a2370, var(--navy-2) 70%); box-shadow: 0 50px 100px -50px rgba(10, 15, 46, 0.8); }
.cta-box::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); background: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.cta-box__in { position: relative; z-index: 1; max-width: 760px; }
.cta-box h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 16px; }
.cta-box p { color: #b8bfea; font-size: 1.15rem; margin-bottom: 32px; }

/* ---- inner pages --------------------------------------------------------- */
.page-head { position: relative; margin-top: calc(-1 * var(--hdr)); padding: calc(var(--hdr) + 56px) 0 64px; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000, transparent 75%); }
.page-head__in { position: relative; z-index: 1; overflow: hidden; padding: 48px 52px; border-radius: 28px; }
.page-head__in::after { content: ''; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(75, 79, 224, 0.22), rgba(34, 199, 238, 0.12) 55%, transparent); }
.page-head__in > * { position: relative; z-index: 1; }
.page-head h1 { max-width: 900px; margin: 18px 0 18px; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.page-head .lead { margin-bottom: 0; }
.page-head .chips { margin-top: 28px; }
.page-head .status-chip { margin-top: 26px; }
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; padding: 30px; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card__num { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--indigo-500); }
.card__h { margin-bottom: 8px; font-size: 1.4rem; }
.card > p { color: var(--muted); }
.card--feature { background: linear-gradient(160deg, #fff, var(--indigo-100)); }
.big-link { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.big-link a { overflow-wrap: anywhere; }
.card address { color: var(--muted); }
.note { display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; }
.note .ic { color: var(--indigo-500); margin-top: 3px; }
.note p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.prose h2 { font-size: 1.8rem; margin: 0 0 14px; }
.prose h2:not(:first-child) { margin-top: 44px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.facts { padding: 32px; }
.facts h2 { font-size: 1.4rem; margin-bottom: 18px; }
.facts dl { margin: 0; }
.facts dt { margin-top: 18px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 6px 0 0; }
.app-page { display: grid; gap: 32px; }
.app-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px; }
.app-row h2 { margin-top: 20px; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.app-row__who { margin: 10px 0 14px; font-size: 1.08rem; color: var(--muted); }
.app-row__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.app-row__phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.app-row__phones .phone { width: 210px; }
.app-row__phones .phone:nth-child(2) { translate: 0 30px; }
.app-row__phones .phone:nth-child(3) { translate: 0 -10px; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust li { padding: 26px; }
.trust h3 { margin: 18px 0 8px; font-size: 1.08rem; }
.trust p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---- privacy ------------------------------------------------------------- */
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 26px 0 0; color: var(--muted); }
.legal-meta .print-btn { margin-left: auto; }
.draft-banner { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 32px; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(209, 0, 107, 0.35); background: var(--warn-bg); color: #5c0030; }
.draft-banner .ic { color: var(--mag); margin-top: 3px; }
.band--legal { padding-top: 24px; }
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__aside { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 16px; }
.legal__toc { max-height: calc(100vh - var(--hdr) - 220px); overflow: auto; padding: 20px; border-radius: 18px; }
.legal__toc-h { margin: 0 0 10px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo-500); }
.legal__toc ol { counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; min-height: 36px; padding: 8px 6px; border-radius: 8px; font-size: 0.9rem; line-height: 1.35; color: var(--text); text-decoration: none; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 650; color: var(--indigo-500); }
.legal__toc a:hover { background: rgba(75, 79, 224, 0.07); color: var(--indigo); }
.legal__contact { padding: 20px; border-radius: 18px; font-size: 0.9rem; }
.legal__contact b { display: block; margin-bottom: 4px; color: var(--ink); }
.legal__contact p { margin: 0 0 6px; color: var(--muted); }
/* the legal text itself stays plain and highly readable */
.legal__doc { max-width: 760px; padding: 52px 56px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -30px rgba(17, 24, 64, 0.25); font-size: 1.02rem; line-height: 1.72; color: #1b2142; }
.legal__doc h2 { font-size: 1.55rem; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line-2); letter-spacing: -0.02em; }
.legal__doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__doc h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal__doc ul, .legal__doc ol { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal__doc ol { list-style: decimal; }
.legal__doc li { margin: 4px 0; }
.legal__doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.94rem; display: block; overflow-x: auto; }
.legal__doc th, .legal__doc td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__doc th { background: var(--bg); }
.legal__doc code { font-size: 0.9em; background: var(--bg); padding: 1px 5px; border-radius: 5px; }
.legal__doc a { overflow-wrap: anywhere; }

/* ---- footer (deep navy) -------------------------------------------------- */
.ftr { margin-top: 120px; background: var(--navy-2); color: #aab1dc; overflow: hidden; }
.ftr::before { content: ''; position: absolute; left: 50%; top: -240px; width: 900px; height: 480px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(75, 79, 224, 0.35), transparent); pointer-events: none; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 48px; }
.brand--footer { gap: 14px; color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__mark { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 30px -14px rgba(0, 0, 0, 0.8); }
.brand--footer .brand__name { font-size: 1.6rem; color: #fff; }
.brand--footer .brand__full { margin-top: 6px; font-size: 0.8rem; color: #b8bfea; }
.ftr__brand p { margin: 20px 0 18px; max-width: 340px; font-size: 0.95rem; line-height: 1.55; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social__item { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #dfe2f7; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); transition: background-color 0.2s, border-color 0.2s, color 0.2s, translate 0.25s var(--ease), box-shadow 0.25s var(--ease); }
a.social__item:hover { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(159, 176, 255, 0.55); translate: 0 -2px; box-shadow: 0 10px 22px -12px rgba(75, 79, 224, 0.9); }
a.social__item:focus-visible { outline: 2px solid #9fb0ff; outline-offset: 3px; }
.social__item.is-pending { opacity: 0.4; border-style: dashed; cursor: default; }
.social__ic { width: 18px; height: 18px; }
.ftr__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none; }
.ftr__mail:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.ftr__mail .ic { width: 18px; height: 18px; }
.ftr__h { margin: 0 0 14px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: #8d95cc; }
.ftr nav a { display: inline-flex; align-items: center; min-height: 36px; color: #dfe2f7; text-decoration: none; }
.ftr nav a:hover { color: #fff; }
.ftr__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 22px; padding-bottom: 30px; font-size: 0.85rem; color: #8d95cc; }
.ftr__base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, 0.1); }
.ftr__base p { margin: 0; }
.ftr__base p + p { text-align: right; }

/* ---- motion -------------------------------------------------------------- */
.float-a { animation: float-a 9s ease-in-out infinite; }
.float-b { animation: float-b 11s ease-in-out infinite; }
.float-c { animation: float-c 13s ease-in-out infinite; }
/* scroll reveal: only applied by site.js to elements still below the fold */
.reveal-wait { opacity: 0; translate: 0 26px; }
.reveal-wait.is-in { opacity: 1; translate: 0 0; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.reveal-wait .bar { transform: scaleX(0); }
.reveal-wait.is-in .bar { transform: scaleX(1); transition: transform 1.1s var(--ease) 0.25s; }
.reveal-wait .spark__line { stroke-dashoffset: 400; }
.reveal-wait.is-in .spark__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }

@keyframes float-a { 50% { translate: 0 -10px; } }
@keyframes float-b { 50% { translate: 0 8px; } }
@keyframes float-c { 50% { translate: 0 -14px; } }
@keyframes drift-a { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-6vmax, 8vmax) scale(0.94); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes ping { 0% { scale: 0.6; opacity: 1; } 100% { scale: 1.8; opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -280; } }
@keyframes flow { to { background-position: -200% 0; } }
@keyframes pulse-line { to { background-position: 0 -200%; } }
@keyframes trail { to { translate: 8% 0; } }
@keyframes menu-in { from { opacity: 0; translate: 0 -6px; } }
@keyframes panel-in { from { opacity: 0; translate: 0 10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-wait { opacity: 1; translate: none; }
  .reveal-wait .bar { transform: none; }
  .reveal-wait .spark__line { stroke-dashoffset: 0; }
}

/* ======================== responsive ======================================= */
@media (max-width: 1240px) {
  .auto { grid-template-columns: minmax(0, 1fr) minmax(0, 340px) minmax(0, 1fr); }
  .strip__in { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(4) { border-left: 0; }
  .strip li:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
}

/* the header becomes a compact bar with a full-screen glass drawer */
@media (max-width: 1100px) {
  .hdr__demo { display: inline-flex; margin-left: auto; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .hdr__toggle { position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); cursor: pointer; }
  .hdr__bars, .hdr__bars::before, .hdr__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: rotate 0.2s, translate 0.2s, background-color 0.2s; }
  .hdr__bars { position: relative; }
  .hdr__bars::before, .hdr__bars::after { content: ''; position: absolute; left: 0; }
  .hdr__bars::before { top: -6px; } .hdr__bars::after { top: 6px; }
  .hdr__toggle[aria-expanded='true'] .hdr__bars { background: transparent; }
  .hdr__toggle[aria-expanded='true'] .hdr__bars::before { translate: 0 6px; rotate: 45deg; }
  .hdr__toggle[aria-expanded='true'] .hdr__bars::after { translate: 0 -6px; rotate: -45deg; }
  .nav { display: none; position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: calc(var(--hdr) + 12px) calc(var(--gutter) + 8px) 32px; overflow-y: auto; background: rgba(244, 246, 251, 0.9); backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); }
  .nav.is-open { display: flex; animation: menu-in 0.25s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 60px; padding: 0 4px; border-radius: 0; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
  .nav__link:hover, .nav__link[aria-expanded='true'], .nav__link[aria-current='page'] { background: none; }
  .nav__chev { width: 20px; height: 20px; }
  .mega { position: static; padding: 0 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 2px; }
  .mega__item { padding: 10px 4px; }
  .nav__cta { margin-top: 28px; min-height: 56px; font-size: 1.05rem; }
  .hero__in { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; }
  .stage { max-width: 760px; width: 100%; margin: 0 auto; min-height: 0; aspect-ratio: 1.3; }
  .auto { grid-template-columns: 1fr 1fr; }
  .auto__core { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 200px minmax(0, 420px); justify-content: center; align-items: center; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento__item--xl { grid-row: auto; }
  .flow { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .flow::before { display: none; }
  .persona { grid-template-columns: 1fr; gap: 40px; }
  .apps { grid-template-columns: 1fr; }
  .app { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__aside { position: static; }
  .legal__toc { max-height: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .band { padding: 84px 0; }
  .sec-head, .sec-split { margin-bottom: 40px; }
  .sec-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cards--2 { grid-template-columns: 1fr; }
  .app-row { grid-template-columns: 1fr; padding: 32px; }
  .net__row--branches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .net__row--branches::after { left: 16.6%; right: 16.6%; }
  .node { padding: 14px 12px; }
  .cta-box { padding: 56px 36px; }
  .page-head__in { padding: 36px 32px; }
}

/* phones: intentional compositions, not stacked desktop */
@media (max-width: 600px) {
  :root { --hdr: 76px; }
  .hdr { padding-top: 8px; padding-left: 12px; padding-right: 12px; }
  .hdr__bar { height: 60px; padding: 0 8px 0 12px; gap: 10px; border-radius: 16px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 10px; }
  .brand__name { font-size: 1.2rem; }
  /* compact mark on phones; the full form stays in the accessible name */
  .hdr .brand__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ftr__base p + p { text-align: left; }
  h1, .hero h1 { font-size: 2.45rem; line-height: 1.05; }
  h2 { font-size: 1.95rem; }
  .lead { font-size: 1.04rem; }
  .eyebrow--chip { font-size: 0.8rem; }
  .hero__in { padding-top: 28px; padding-bottom: 72px; gap: 44px; }
  .hero h1 { margin: 18px 0 16px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .chips { gap: 6px; margin-top: 24px; }
  .chip { font-size: 0.82rem; padding: 5px 10px; }
  /* hero stage: dashboard window + one phone; dashboard zoomed to the KPIs */
  .stage { aspect-ratio: auto; min-height: 0; padding-bottom: 64px; perspective: none; }
  .stage__main { position: relative; top: 0; left: 0; width: 88%; transform: none; }
  .crop--dash { aspect-ratio: 1.02; }
  .crop--dash img { width: 245%; margin-left: -46%; margin-top: -2%; }
  .stage__card, .stage__phone--staff, .stage__toast { display: none; }
  .stage__phone--family { right: 0; bottom: 30px; width: 40%; }
  .stage__caption { left: 0; bottom: 0; }
  .strip { margin-top: -28px; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip li { padding: 14px 12px; font-size: 0.82rem; gap: 8px; }
  .strip li:nth-child(n) { border-left: 0; border-top: 0; }
  .strip li:nth-child(even) { border-left: 1px solid var(--line-2); }
  .strip li:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .strip .ic { width: 18px; height: 18px; }
  .band { padding: 72px 0; }
  /* automation: orb + real panel, then a compact 2-column card grid */
  .auto { grid-template-columns: 1fr; gap: 10px; }
  .auto__core { grid-template-columns: 1fr; gap: 20px; margin-bottom: 14px; }
  .orb { width: 150px; height: 150px; }
  .orb__core { inset: 40px; }
  .orb__core .ic { width: 28px; height: 28px; }
  .orb__ring--1 { inset: 22px; } .orb__ring--2 { inset: 9px; }
  .auto__col { grid-template-columns: 1fr 1fr; gap: 10px; }
  .auto__col li { padding: 16px 14px; }
  .auto__col h3 { font-size: 0.95rem; margin-top: 10px; }
  .auto__col p { font-size: 0.83rem; }
  /* bento: compact 2-column arrangement; small cards drop their visual */
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento__item { padding: 18px 16px; }
  .bento__item--xl, .bento__item--wide { grid-column: span 2; }
  .bento__item--md { grid-column: span 1; }
  .bento__item--md .bento__viz { display: none; }
  .bento__item--md > p { margin: 0; font-size: 0.85rem; }
  .bento__item--md .bento__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bento__item--md h3 { font-size: 1rem; }
  .ic-box { width: 40px; height: 40px; }
  .viz-life__steps { gap: 2px; }
  .viz-life__steps li { font-size: 0.75rem; letter-spacing: -0.01em; }
  .viz-acad { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .flow li { grid-template-columns: 46px 1fr; justify-items: start; align-items: center; text-align: left; gap: 10px; }
  .flow__n { width: 46px; height: 46px; border-radius: 14px; font-size: 0.85rem; }
  .flow b { font-size: 0.85rem; }
  /* personas: segmented control fits, stages simplify */
  .tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-bottom: 32px; }
  .tabs__tab { padding: 8px 6px; font-size: 0.8rem; min-height: 52px; }
  .persona__stage--phones { min-height: 0; }
  .persona__stage--phones .phone { width: 48%; }
  .persona__stage--phones .phone--back { margin-left: -14%; translate: 0 -20px; }
  .crop--persona { aspect-ratio: 1.02; }
  .crop--persona img { width: 245%; margin-left: -46%; }
  .app { grid-template-columns: 1fr; padding: 24px 20px 0; }
  .app__copy { padding-bottom: 0; }
  .app__phones { min-height: 0; padding-top: 8px; }
  .app__phones .phone { width: 52%; margin-bottom: -60px; }
  .app__phones .phone--back { width: 42%; bottom: 80px; right: 2%; }
  .app__phones .phone--front { margin-right: 30%; }
  .ops { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-flow: dense; }
  .ops__card { padding: 16px; }
  .ops__card--wide, .ops__card:nth-child(2), .ops__card:nth-child(4) { grid-column: span 2; }
  .ops__card:nth-child(5) { grid-column: span 1; }
  .ops__card figcaption { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.85rem; }
  .ops__big { font-size: 1.9rem; }
  .donut { width: 104px; height: 104px; }
  .donut::after { inset: 14px; }
  .donut span { font-size: 1.2rem; }
  .ops__legend { font-size: 0.75rem; gap: 4px; flex-wrap: wrap; }
  .funnel li { grid-template-columns: 96px 1fr 32px; }
  .net { gap: 32px; }
  .net__row + .net__row::before { top: -32px; height: 32px; }
  .net__row--branches { grid-template-columns: 1fr; gap: 10px; }
  .net__row--branches::before { top: -32px !important; height: 32px !important; }
  .net__row--branches::after, .node--branch::before { display: none; }
  .node--branch { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 10px; }
  .node--branch .node__tags { grid-column: 1 / -1; justify-content: flex-start; margin-top: 4px; }
  .net__shot { display: none; }
  .sec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sec-grid__wide { grid-column: span 2; }
  .sec-grid li { padding: 18px 16px; }
  .sec-grid h3 { margin-top: 14px; font-size: 1rem; }
  .sec-grid p { font-size: 0.85rem; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 0.98rem; }
  .cta-box { padding: 44px 24px; border-radius: 24px; }
  .page-head { padding-top: calc(var(--hdr) + 24px); padding-bottom: 40px; }
  .page-head__in { padding: 28px 22px; border-radius: 22px; }
  .page-head h1 { font-size: 2.3rem; }
  .card { padding: 22px; }
  .app-row { padding: 22px; gap: 28px; }
  .app-row__phones { gap: 10px; }
  .app-row__phones .phone { width: 48%; }
  .app-row__phones .phone:nth-child(3) { display: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust li { padding: 18px 16px; }
  .trust h3 { font-size: 0.98rem; }
  .trust p { font-size: 0.85rem; }
  .legal__doc { padding: 28px 20px; font-size: 1rem; }
  .legal-meta .print-btn { margin-left: 0; }
  .ftr { margin-top: 72px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 56px; }
  .ftr__grid > nav:last-child { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .sec-grid, .trust, .auto__col { grid-template-columns: 1fr; }
  .sec-grid__wide { grid-column: auto; }
  .tabs__tab { font-size: 0.74rem; }
}

@media print {
  .hdr, .ftr, .legal__aside, .draft-banner, .print-btn, .skip, .aurora { display: none !important; }
  body { background: #fff; } body::before { display: none; }
  .page-head { margin: 0; padding: 0 0 16px; } .page-head::before { display: none; }
  .page-head__in { padding: 0; box-shadow: none; border: 0; background: none; backdrop-filter: none; }
  .legal { display: block; }
  .legal__doc { box-shadow: none; padding: 0; max-width: none; }
}
