/* =========================================================
   EduConsult — landing page
   Sections: tokens · base · buttons · header · hero & laptop ·
   app mockup · proof · features · journey · destinations ·
   stories · pricing · faq · cta · footer · motion · responsive
   ========================================================= */

:root {
  --bg: #F6F6FB;
  --bg-2: #EEEFF8;
  --surface: #FFFFFF;
  --ink: #0B0D21;
  --text: #3A3E5C;
  --muted: #6B7091;
  --line: #E5E7F0;
  --line-2: #D8DBE8;
  --iris: #5546FF;
  --iris-600: #4535EE;
  --iris-50: #EEEDFF;
  --violet: #9B5CFF;
  --sky: #38BDF8;
  --sunset: #FF6A3D;
  --amber: #FFB020;
  --mint: #12B886;
  --rose: #FF4D6D;
  --night: #06081A;
  --night-2: #0D1028;
  --night-line: rgba(255, 255, 255, .09);
  --on-dark: #E9EAF7;
  --on-dark-muted: rgba(233, 234, 247, .66);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 51, .05), 0 2px 6px -2px rgba(16, 18, 51, .06);
  --shadow: 0 18px 40px -18px rgba(22, 24, 64, .22), 0 4px 10px -4px rgba(22, 24, 64, .08);
  --shadow-lg: 0 40px 90px -30px rgba(22, 24, 64, .35), 0 14px 30px -14px rgba(22, 24, 64, .16);

  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(85, 70, 255, .2); }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 8px; }

.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; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; clip-path: circle(50%); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 1.2rem + 3.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--light { color: #fff; }
.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.012em;
  line-height: .9;
  padding-right: .08em;
  background: linear-gradient(100deg, var(--iris) 0%, var(--violet) 45%, var(--sunset) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2--light .accent-serif, .hero.is-dark .accent-serif { background-image: linear-gradient(100deg, #A9A0FF 0%, #E3A6FF 45%, #FFB08F 100%); }
.lead { font-size: clamp(1.03rem, .96rem + .35vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.lead--light { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--iris);
}
.eyebrow .i { width: 15px; height: 15px; }
.eyebrow--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #C9C3FF; box-shadow: none; }

.section-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(44px, 6vw, 76px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn .i { width: 17px; height: 17px; transition: transform .35s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #6D5FFF 0%, #4A3AF5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(20, 10, 120, .25), 0 12px 26px -10px rgba(85, 70, 255, .75), 0 2px 4px rgba(40, 30, 160, .2);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  background-size: 260% 100%; background-position: 130% 0;
  transition: background-position .8s var(--ease-out);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(20, 10, 120, .25), 0 18px 34px -12px rgba(85, 70, 255, .85), 0 2px 4px rgba(40, 30, 160, .2); }
.btn--primary:hover::after { background-position: -30% 0; }
.btn--glass { color: var(--ink); background: rgba(255, 255, 255, .72); border: 1px solid rgba(11, 13, 33, .08); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: #fff; transform: translateY(-1px); }
.btn--outline { color: var(--ink); background: #fff; border: 1px solid var(--line-2); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { background: #1D2050; }
.btn--light { color: var(--ink); background: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.btn--light:hover { transform: translateY(-1px); }
.btn__play { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; background: var(--ink); color: #fff; }
.btn__play .i { width: 12px; height: 12px; transform: none !important; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 12px 12px 0; pointer-events: none; }
.site-header__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  max-width: 1200px; height: 62px; margin-inline: auto;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 10px 34px -14px rgba(20, 22, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background-color .35s, border-color .35s, box-shadow .35s, color .35s;
}
.site-header.is-dark .site-header__inner { background: rgba(12, 14, 36, .55); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); box-shadow: 0 10px 40px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.035em; }
.brand__mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 8px rgba(85, 70, 255, .35)); }
.site-header.is-dark .brand, .brand--light { color: #fff; }

.nav { position: relative; margin-inline: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { position: relative; z-index: 1; display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: color .25s; }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--ink); }
.site-header.is-dark .nav__list a { color: rgba(233, 234, 247, .75); }
.site-header.is-dark .nav__list a:hover, .site-header.is-dark .nav__list a[aria-current="true"] { color: #fff; }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(85, 70, 255, .09); opacity: 0; pointer-events: none; transition: transform .4s var(--ease-out), width .4s var(--ease-out), opacity .25s; }
.site-header.is-dark .nav__pill { background: rgba(255, 255, 255, .1); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-link { padding: 8px 12px; font-size: 14.5px; font-weight: 500; border-radius: 999px; transition: background-color .2s; }
.header-link:hover { background: rgba(85, 70, 255, .08); }
.site-header.is-dark .header-link:hover { background: rgba(255, 255, 255, .1); }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); }
.site-header.is-dark .menu-toggle { background: #fff; }
.menu-toggle span { position: absolute; left: 14px; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out); }
.site-header.is-dark .menu-toggle span { background: var(--ink); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  position: absolute; left: 12px; right: 12px; top: 84px;
  display: grid; gap: 20px;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  visibility: hidden; opacity: 0;
  transform: translateY(-10px) scale(.98); transform-origin: top center;
  transition: opacity .3s, transform .45s var(--ease-out), visibility 0s .45s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .45s var(--ease-out); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.mobile-menu__ctas { display: grid; gap: 10px; }

/* =========================================================
   Hero + scroll-driven laptop
   ========================================================= */
.hero {
  position: relative;
  --lw: min(1000px, 86vw, calc((100vh - 340px) * 1.3));
  --pad-top: 84px;
}
@supports (height: 100svh) {
  .hero { --lw: min(1000px, 86vw, calc((100svh - 340px) * 1.3)); }
}
.js .hero { height: 440vh; }
.tour-anchor { position: absolute; left: 0; top: 0; width: 1px; height: 1px; scroll-margin-top: 0; }
.js .tour-anchor { top: 98vh; }

.hero__sticky {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--pad-top) 0 24px;
  overflow: hidden;
  isolation: isolate;
}
.js .hero__sticky { position: sticky; top: 0; height: 100vh; }
@supports (height: 100svh) { .js .hero__sticky { height: 100svh; min-height: 0; } }

/* Background layers */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); }
.hero__mesh {
  position: absolute; inset: -12%;
  background:
    radial-gradient(38% 42% at 16% 18%, rgba(124, 108, 255, .30), transparent 70%),
    radial-gradient(34% 38% at 86% 12%, rgba(255, 138, 92, .26), transparent 70%),
    radial-gradient(42% 40% at 72% 82%, rgba(56, 189, 248, .22), transparent 70%),
    radial-gradient(36% 36% at 18% 88%, rgba(255, 176, 32, .16), transparent 70%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 13, 33, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 13, 33, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 32%, #000 30%, transparent 78%);
  mask-image: radial-gradient(70% 55% at 50% 32%, #000 30%, transparent 78%);
}
.hero__night {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(110% 75% at 50% 105%, #1B1458 0%, #0B0B2A 38%, var(--night) 70%);
}
.hero__stars { position: absolute; left: 0; top: 0; width: 1.5px; height: 1.5px; border-radius: 50%; animation: twinkle 4s ease-in-out infinite alternate; }
.hero__stars--b { animation-delay: -2s; animation-duration: 5.5s; }
.hero__aurora {
  position: absolute; left: 50%; top: 52%;
  width: min(1500px, 160vw); aspect-ratio: 1.7;
  transform: translate(-50%, -50%);
  opacity: 0;
  background:
    radial-gradient(26% 30% at 50% 48%, rgba(85, 70, 255, .55), transparent 70%),
    radial-gradient(22% 26% at 32% 56%, rgba(56, 189, 248, .32), transparent 70%),
    radial-gradient(24% 28% at 68% 44%, rgba(155, 92, 255, .42), transparent 70%),
    radial-gradient(18% 18% at 56% 74%, rgba(255, 106, 61, .26), transparent 70%);
  animation: auroraSpin 26s linear infinite;
}

/* Copy */
.hero__copy {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: 100%; padding: 30px var(--gutter) 40px;
  text-align: center;
  transform-origin: 50% 0;
}
.js .hero__copy { position: absolute; top: 0; left: 0; right: 0; padding-top: clamp(104px, 14.5vh, 150px); }
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(11, 13, 33, .07);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.announce:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.announce__tag { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.announce .i { width: 15px; height: 15px; color: var(--iris); }
.hero__title {
  display: grid; justify-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.65rem, 1.25rem + 4.6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--ink);
}
.hero__kicker {
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--iris);
}
.hero__line { display: block; }
.hero__sub { max-width: 640px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .i { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(18, 184, 134, .14); color: var(--mint); stroke-width: 3; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; z-index: 6;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(11, 13, 33, .06);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.scroll-cue__mouse { position: relative; width: 18px; height: 26px; border: 2px solid var(--ink); border-radius: 10px; }
.scroll-cue__mouse i { position: absolute; left: 50%; top: 4px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--ink); animation: wheel 1.6s var(--ease-out) infinite; }
html:not(.js) .scroll-cue { display: none; }

/* ---------- Stage & laptop ---------- */
.stage { position: relative; z-index: 2; width: var(--lw); height: calc(var(--lw) * .8); flex: none; }
.stage__device { position: absolute; inset: 0; }
.rig {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(var(--lw) * .65);
  perspective: calc(var(--lw) * 4.6);
  perspective-origin: 50% 62%;
  transform-origin: 50% 100%;
}
.laptop { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(-4deg); }
.lid { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 100%; transform: translateY(-2px) rotateX(4deg); }
.js .laptop { transform: rotateX(-24deg); }
.js .lid { transform: translateY(-2px) rotateX(-90deg); }
.reduced .laptop { transform: rotateX(-4deg); }
.reduced .lid { transform: translateY(-2px) rotateX(4deg); }

.lid__front, .lid__back {
  position: absolute; inset: 0;
  border-radius: calc(var(--lw) * .026) calc(var(--lw) * .026) calc(var(--lw) * .01) calc(var(--lw) * .01);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.lid__front {
  padding: calc(var(--lw) * .02) calc(var(--lw) * .02) calc(var(--lw) * .028);
  background: #0A0A0D;
  box-shadow: inset 0 0 0 calc(var(--lw) * .0025) #4A4C55, inset 0 0 0 calc(var(--lw) * .0045) #17181C, 0 0 0 1px rgba(255, 255, 255, .04);
}
.lid__back {
  display: grid; place-items: center;
  transform: rotateX(180deg);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(255, 255, 255, .14), transparent 55%),
    linear-gradient(160deg, #4A4D57 0%, #2C2E35 45%, #1C1D22 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 -10px 30px rgba(0, 0, 0, .35);
}
.lid__logo { width: calc(var(--lw) * .075); height: calc(var(--lw) * .075); opacity: .92; filter: drop-shadow(0 0 18px rgba(85, 70, 255, .55)); }
.lid__notch { position: absolute; left: 50%; top: calc(var(--lw) * .02 - 1px); z-index: 6; width: calc(var(--lw) * .12); height: calc(var(--lw) * .018); transform: translateX(-50%); border-radius: 0 0 calc(var(--lw) * .009) calc(var(--lw) * .009); background: #0A0A0D; }
.lid__notch i { position: absolute; left: 50%; top: 32%; width: calc(var(--lw) * .006); height: calc(var(--lw) * .006); margin-left: calc(var(--lw) * -.003); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3B4A7A, #0d1020 70%); }

.screen {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  border-radius: calc(var(--lw) * .007) calc(var(--lw) * .007) calc(var(--lw) * .004) calc(var(--lw) * .004);
  background: radial-gradient(120% 90% at 50% 0%, #10121C 0%, #030306 70%);
}
.screen__glare { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .02) 28%, transparent 42%); }
.boot { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: calc(var(--lw) * .028); background: #000; opacity: 0; transition: opacity .4s; }
.boot__logo { width: calc(var(--lw) * .07); height: calc(var(--lw) * .07); opacity: 0; transform: scale(.85); }
.boot__bar { display: block; width: calc(var(--lw) * .13); height: calc(var(--lw) * .004); border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.boot__bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left; }
.screen.is-on .boot { opacity: 1; }
.screen.is-on .boot__logo { animation: bootLogo .7s var(--ease-out) .15s forwards; }
.screen.is-on .boot__bar i { animation: bootBar 1.1s var(--ease-io) .4s forwards; }
.screen.is-ready .boot { opacity: 0; transition: opacity .5s .05s; }

/* Keyboard deck & front lip */
.base { position: absolute; left: -.3%; right: -.3%; top: 100%; height: 0; transform-style: preserve-3d; }
.base__deck {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(var(--lw) * .65);
  transform-origin: 50% 0; transform: rotateX(90deg);
  border-radius: 0 0 calc(var(--lw) * .024) calc(var(--lw) * .024);
  background: linear-gradient(180deg, #34363E 0%, #26282E 60%, #202127 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.base__keys {
  position: absolute; left: 8.5%; right: 8.5%; top: 6%; height: 45%;
  border-radius: calc(var(--lw) * .006);
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(var(--lw) * .049), #2A2C33 calc(var(--lw) * .049) calc(var(--lw) * .054)),
    repeating-linear-gradient(0deg, transparent 0 calc(var(--lw) * .049), #2A2C33 calc(var(--lw) * .049) calc(var(--lw) * .054)),
    #0C0D10;
  box-shadow: 0 0 0 calc(var(--lw) * .004) #2A2C33;
}
.base__pad { position: absolute; left: 31%; right: 31%; top: 58%; height: 33%; border-radius: calc(var(--lw) * .012); background: linear-gradient(180deg, #2E3037, #25272D); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.base__front {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(var(--lw) * .022);
  transform: translateZ(calc(var(--lw) * .65));
  border-radius: 0 0 calc(var(--lw) * .03) calc(var(--lw) * .03) / 0 0 calc(var(--lw) * .02) calc(var(--lw) * .02);
  background: linear-gradient(180deg, #8A8D96 0%, #4A4C54 18%, #2A2B31 55%, #141518 100%);
}
.base__front i { position: absolute; left: 50%; top: 0; width: 13%; height: 38%; transform: translateX(-50%); border-radius: 0 0 calc(var(--lw) * .01) calc(var(--lw) * .01); background: linear-gradient(180deg, #17181C, #26272D); }
.stage__shadow {
  position: absolute; left: 4%; right: 4%; top: calc(var(--lw) * .69);
  height: calc(var(--lw) * .1);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 60%, transparent);
  filter: blur(8px);
  opacity: .5;
  z-index: -1;
}

/* ---------- Floating context cards ---------- */
.floaters { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.floater {
  position: absolute;
  width: clamp(188px, 16.5vw, 248px);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.9);
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.floater--l { left: calc(clamp(56px, 9vw, 150px) * -1); top: 14%; }
.floater:has(.fl--notify), .floater:has(.fl--stamp) { width: max-content; max-width: 320px; }
.fl--notify .fl__txt, .fl--stamp .fl__txt { white-space: nowrap; }
.floater--r { right: calc(clamp(56px, 9vw, 150px) * -1); top: 50%; }
.floater.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.floater.is-on > * { animation: bob 6s ease-in-out infinite; }
.floater--r.is-on > * { animation-delay: -3s; }
.fl {
  display: grid; gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.fl__row { display: flex; align-items: center; gap: 8px; }
.fl__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, white); }
.fl__ic .i { width: 15px; height: 15px; }
.fl__label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.fl__big { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.fl__muted { font-size: 12px; color: var(--muted); }
.fl__bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.fl__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #34D399, #12B886); opacity: .35; }
.fl__bars i:last-child { opacity: 1; }
.fl--notify { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.fl__txt { display: grid; line-height: 1.3; }
.fl__txt b { font-size: 13.5px; }
.fl__txt small { font-size: 12px; color: var(--muted); }
.fl__app { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.fl__app .i { width: 20px; height: 20px; }
.fl__score { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: #C2410C; background: #FFEDD5; }
.fl__emoji { font-size: 26px; line-height: 1; }
.fl__checks { display: grid; gap: 5px; font-size: 12.5px; font-weight: 500; }
.fl__checks li { display: flex; align-items: center; gap: 8px; }
.fl__checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.fl--stamp { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.fl-stamp {
  display: grid; place-items: center;
  width: 70px; height: 70px;
  border: 3px double var(--mint); border-radius: 50%;
  font-family: var(--font-mono); font-size: 10px; font-weight: 800; line-height: 1.15; letter-spacing: .08em; text-align: center; text-transform: uppercase;
  color: var(--mint);
  transform: rotate(-14deg);
}
.floater.is-on .fl-stamp { animation: stampIn .55s var(--ease-out) .45s both; }

.mini-pass {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.mini-pass__top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mini-pass__top svg { width: 20px; height: 20px; }
.mini-pass__route { display: flex; align-items: center; gap: 10px; margin: 8px 0 10px; }
.mini-pass__route b { font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; line-height: 1; }
.mini-pass__line { flex: 1; display: grid; place-items: center; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 9px); }
.mini-pass__line .i { width: 18px; height: 18px; padding: 2px; color: var(--iris); background: #fff; transform: rotate(45deg); }
.mini-pass__meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 2px dashed var(--line); font-size: 12.5px; font-weight: 600; }
.mini-pass__meta small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mini-pass__uni { margin-top: 8px; font-size: 11.5px; color: var(--muted); }

/* ---------- Tour UI (chapter steps + captions) ---------- */
.tour { position: relative; z-index: 4; width: min(720px, 100% - 2 * var(--gutter)); margin-top: clamp(14px, 2.6vh, 30px); text-align: center; color: #fff; }
.js .tour { opacity: 0; }
.tour__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.tour__step { display: grid; gap: 9px; text-align: left; font-size: 13px; font-weight: 600; color: rgba(233, 234, 247, .45); transition: color .3s; }
.tour__step span { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour__step b { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: rgba(233, 234, 247, .32); }
.tour__step i { display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.tour__step s { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), #8B7DFF); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.tour__step.is-active, .tour__step:hover { color: #fff; }
.tour__step.is-active b { color: var(--sky); }
.tour__captions { display: grid; }
.tour__caption { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .7s var(--ease-out); }
.tour__caption.is-active { opacity: 1; transform: none; }
.tour__caption h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(1.35rem, .95rem + 1.5vw, 2.15rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; color: #fff; }
.tour__caption p { max-width: 58ch; margin-inline: auto; font-size: clamp(.94rem, .9rem + .2vw, 1.05rem); color: var(--on-dark-muted); }
html:not(.js) .tour, .reduced .tour { color: var(--ink); }
html:not(.js) .tour__caption h3, .reduced .tour__caption h3 { color: var(--ink); }
html:not(.js) .tour__caption p, .reduced .tour__caption p { color: var(--muted); }
html:not(.js) .tour__step, .reduced .tour__step { color: var(--muted); }
html:not(.js) .tour__step.is-active, .reduced .tour__step.is-active { color: var(--ink); }
html:not(.js) .tour__step i, .reduced .tour__step i { background: var(--line); }

/* =========================================================
   App mockup (1280 × 800 design canvas, scaled to the screen)
   ========================================================= */
.app {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: grid; grid-template-columns: 220px 1fr;
  width: 1280px; height: 800px;
  transform-origin: 0 0;
  background: #F4F5FA;
  color: #1A1D3A;
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.4;
  text-align: left;
  opacity: 0;
  transition: opacity .6s;
}
.screen.is-ready .app, html:not(.js) .app, .reduced .app { opacity: 1; }
.app b { font-weight: 600; }
.app small { font-size: 11px; color: #7A7F9E; }
.app .i { width: 16px; height: 16px; }

/* Sidebar */
.app-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px 14px; background: #fff; border-right: 1px solid #ECEDF4; }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px; font-family: var(--font-display); font-size: 17px; letter-spacing: -.03em; color: var(--ink); }
.app-brand b { font-weight: 700; }
.app-brand__mark { width: 28px; height: 28px; }
.app-ws { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 12px; border: 1px solid #ECEDF4; background: #FAFAFD; }
.app-ws__logo { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: linear-gradient(135deg, #FF8A5B, #FF4D6D); color: #fff; font-size: 11px; font-weight: 700; }
.app-ws__txt { display: grid; flex: 1; line-height: 1.25; }
.app-ws__txt b { font-size: 12.5px; color: var(--ink); }
.app-ws .i { width: 14px; height: 14px; color: #9A9EB8; }
.app-nav { display: grid; gap: 2px; }
.app-nav__label { margin: 8px 10px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A0A4BE; }
.app-nav a { display: flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: #555A7A; cursor: pointer; transition: background-color .25s, color .25s; }
.app-nav a:hover { background: #F4F5FA; }
.app-nav a.is-active { background: var(--iris-50); color: var(--iris); font-weight: 600; }
.app-nav a em { margin-left: auto; padding: 1px 7px; border-radius: 99px; background: #FFE4DA; color: #E8501F; font-size: 11px; font-weight: 600; font-style: normal; }
.app-nav__new { margin-left: auto; padding: 2px 7px; border-radius: 99px; background: linear-gradient(90deg, #5546FF, #9B5CFF); color: #fff; font-size: 10px; font-weight: 700; }
.app-goal { display: grid; gap: 8px; margin-top: auto; padding: 12px; border-radius: 14px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #9B7BFF 0%, #5546FF 55%, #3F2FE0 100%); }
.app-goal__top { display: flex; justify-content: space-between; font-size: 12px; }
.app-goal__bar { height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.app-goal__bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: #fff; }
.app-goal small { color: rgba(255, 255, 255, .8); }
.app-user { display: flex; align-items: center; gap: 9px; padding: 10px 4px 0; border-top: 1px solid #ECEDF4; }
.app-user__txt { display: grid; flex: 1; line-height: 1.25; }
.app-user__txt b { font-size: 12.5px; color: var(--ink); }
.app-user .i { color: #9A9EB8; }

/* Main column + top bar */
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; height: 60px; flex: none; padding: 0 24px; background: rgba(255, 255, 255, .75); border-bottom: 1px solid #ECEDF4; }
.app-search { display: flex; align-items: center; gap: 9px; width: 290px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid #ECEDF4; background: #F4F5FA; color: #9A9EB8; font-size: 12.5px; }
.app-search kbd { margin-left: auto; padding: 2px 6px; border-radius: 6px; border: 1px solid #E5E7F0; background: #fff; font-family: var(--font-sans); font-size: 11px; color: #6B7091; }
.app-top__right { display: flex; align-items: center; gap: 10px; }
.app-live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #0E9F6E; }
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: #12B886; box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); animation: livePulse 1.8s infinite; }
.app-chip { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid #E5E7F0; background: #fff; font-size: 12.5px; font-weight: 500; }
.app-chip .i { width: 14px; height: 14px; color: #7A7F9E; }
.app-iconbtn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #E5E7F0; background: #fff; color: #555A7A; }
.app-iconbtn i { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #FF4D6D; box-shadow: 0 0 0 2px #fff; }
.app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 10px; background: var(--iris); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(85, 70, 255, .7); }
.app-btn .i { width: 14px; height: 14px; }
.app-btn--ghost { background: #fff; color: #1A1D3A; border: 1px solid #E5E7F0; box-shadow: none; }
.app-btn--wa { background: #22C55E; box-shadow: 0 6px 14px -6px rgba(34, 197, 94, .7); }
.app-btn--sm { height: 28px; padding: 0 10px; font-size: 11.5px; }

/* Views */
.app-views { position: relative; flex: 1; min-height: 0; }
.view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 24px 22px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s, transform .6s var(--ease-out), visibility 0s .4s;
}
.view.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .05s, transform .6s var(--ease-out) .05s, visibility 0s; }
html:not(.js) .view--dash { opacity: 1; visibility: visible; transform: none; }
.v-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.v-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.v-sub { margin-top: 2px; font-size: 12.5px; color: #7A7F9E; }
.v-actions { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid #E5E7F0; background: #fff; }
.seg i { padding: 5px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; font-style: normal; color: #7A7F9E; transition: background-color .3s, color .3s; }
.seg i.is-on { background: var(--ink); color: #fff; }
.view.s-intake .seg i:first-child { background: transparent; color: #7A7F9E; }
.view.s-intake .seg i[data-c="intake"] { background: var(--ink); color: #fff; }

.card { min-width: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid #ECEDF4; background: #fff; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.card__head b { color: var(--ink); }
.muted { font-size: 11.5px; color: #9A9EB8; }
.link { font-size: 11.5px; font-weight: 600; color: var(--iris); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #6B7091; }
.legend .dot:not(:first-child) { margin-left: 8px; }
.dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; }
.dot--iris { background: var(--iris); }
.dot--sun { background: var(--sunset); }
.dot--mint { background: var(--mint); }
.dot--gray { background: #D8DBE8; }

/* Shared atoms */
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--av); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 0 0 2px #fff; }
.av--1 { --av: linear-gradient(135deg, #7B6CFF, #A86BFF); }
.av--2 { --av: linear-gradient(135deg, #38BDF8, #5546FF); }
.av--3 { --av: linear-gradient(135deg, #FF6A3D, #FFB020); }
.av--4 { --av: linear-gradient(135deg, #12B886, #38BDF8); }
.av--5 { --av: linear-gradient(135deg, #FF4D8D, #FF8A5B); }
.av--6 { --av: linear-gradient(135deg, #9B5CFF, #FF5C9A); }
.av--7 { --av: linear-gradient(135deg, #F5A524, #3CCB7F); }
.av--8 { --av: linear-gradient(135deg, #2B2E5A, #5546FF); }
.av--xs { width: 20px; height: 20px; font-size: 8px; box-shadow: none; }
.av--sm { width: 24px; height: 24px; font-size: 9px; }
.av--md { width: 42px; height: 42px; font-size: 14px; }
.av--lg { width: 44px; height: 44px; font-size: 14px; }
.uni { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--u); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; }
.u1 { --u: linear-gradient(135deg, #7442B8, #4B2A85); }
.u2 { --u: linear-gradient(135deg, #1D4E9E, #0B2A5B); }
.u3 { --u: linear-gradient(135deg, #1A8BE0, #0A5FAF); }
.u4 { --u: linear-gradient(135deg, #17A589, #0E6E5C); }
.u5 { --u: linear-gradient(135deg, #E0453A, #A3201A); }
.u6 { --u: linear-gradient(135deg, #3A4FC7, #1E2C86); }
.u7 { --u: linear-gradient(135deg, #2E8B57, #1F6F3A); }
.u8 { --u: linear-gradient(135deg, #C2357F, #8A1F5A); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; font-style: normal; white-space: nowrap; }
.pill--red { background: #FFE4E6; color: #E11D48; }
.pill--amber { background: #FEF3C7; color: #B45309; }
.pill--green { background: #DCFCE7; color: #15803D; }
.pill--sky { background: #E0F2FE; color: #0369A1; }
.pill--iris { background: #EEEDFF; color: #4535EE; }
.pill--gray { background: #F1F2F8; color: #6B7091; }
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease-out); }
.swap > span:last-child { opacity: 0; transform: translateY(6px); }

/* Dashboard */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { position: relative; display: grid; gap: 4px; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid #ECEDF4; background: #fff; overflow: hidden; }
.kpi__top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #6B7091; }
.kpi__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }
.kpi__ic .i { width: 14px; height: 14px; }
.trend { margin-left: auto; padding: 2px 7px; border-radius: 99px; background: #E3F8EF; color: #0E9F6E; font-size: 11px; font-weight: 700; }
.kpi__num { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi__spark { position: absolute; right: 14px; bottom: 14px; width: 96px; height: 30px; overflow: visible; }
.kpi__spark path { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.view.is-active .kpi__spark path, html:not(.js) .kpi__spark path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out) .35s; }

.dash-row { display: grid; grid-template-columns: 1fr 330px; gap: 14px; }
.dash-row--3 { grid-template-columns: repeat(3, 1fr); }
.chart { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 178px auto; gap: 8px 10px; }
.chart__y { position: relative; font-size: 10.5px; color: #A0A4BE; text-align: right; }
.chart__y span { position: absolute; right: 0; transform: translateY(-50%); }
.chart__y span:nth-child(1) { top: 15%; }
.chart__y span:nth-child(2) { top: 35%; }
.chart__y span:nth-child(3) { top: 55%; }
.chart__y span:nth-child(4) { top: 75%; }
.chart__y span:nth-child(5) { top: 95%; }
.chart__plot { position: relative; }
.chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid { fill: none; stroke: #EEF0F6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__area { opacity: 0; transition: opacity 1s; }
.chart__line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart__line--iris { stroke: var(--iris); }
.chart__line--sun { stroke: var(--sunset); }
.view.is-active .chart__area, html:not(.js) .chart__area { opacity: 1; transition-delay: .8s; }
.view.is-active .chart__line, html:not(.js) .chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) .25s; }
.view.is-active .chart__line--sun { transition-delay: .5s; }
.chart__cross { fill: none; stroke: #C9CCE0; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s; }
.chart__pt { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 3px solid var(--iris); background: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease-out); }
.chart__pt--sun { border-color: var(--sunset); }
.chart__tip { position: absolute; z-index: 2; display: grid; gap: 3px; min-width: 150px; padding: 9px 11px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11.5px; box-shadow: 0 14px 28px -12px rgba(11, 13, 33, .55); opacity: 0; transform: translate(-50%, calc(-100% - 6px)); transition: opacity .3s, transform .45s var(--ease-out); }
.chart__tip span { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .72); }
.chart__tip em { margin-left: auto; font-style: normal; font-weight: 700; color: #fff; }
.view.s-tip .chart__pt { opacity: 1; transform: none; }
.view.s-tip .chart__cross { opacity: 1; }
.view.s-tip .chart__tip { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }
.chart__x { grid-column: 2; display: flex; justify-content: space-between; margin: 0 -6px; font-size: 10.5px; color: #A0A4BE; }

.donut-wrap { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 16px; padding-top: 6px; }
.donut { position: relative; width: 128px; height: 128px; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__track { fill: none; stroke: #F1F2F8; stroke-width: 14; }
.donut__seg { fill: none; stroke: var(--c); stroke-width: 14; stroke-dasharray: 0 100; stroke-dashoffset: var(--o); }
.view.is-active .donut__seg, html:not(.js) .donut__seg { stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1s var(--ease-out) calc(var(--d) * .12s + .35s); }
.donut__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.donut__c b { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.donut__legend { display: grid; gap: 8px; font-size: 12px; color: #3A3E5C; }
.donut__legend li { display: flex; align-items: center; gap: 7px; }
.donut__legend .flag { width: 15px; height: 15px; }
.donut__legend b { margin-left: auto; color: var(--ink); }

.dl { display: grid; gap: 10px; }
.dl li { display: flex; align-items: center; gap: 10px; }
.dl__t { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.dl__t b { font-size: 12.5px; color: var(--ink); }
.dl__t small, .lb__n small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb { display: grid; gap: 11px; }
.lb li { display: grid; grid-template-columns: 28px 86px 1fr 22px; align-items: center; gap: 10px; }
.lb__n { display: grid; min-width: 0; line-height: 1.2; }
.lb__n b { font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.lb__bar, .srcs__bar, .cb__bar { height: 7px; border-radius: 7px; overflow: hidden; background: #F1F2F8; }
.lb__bar i, .srcs__bar i, .cb__bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--c, linear-gradient(90deg, #8B7DFF, #5546FF)); transform: scaleX(0); transform-origin: left; }
.view.is-active .lb__bar i, .view.is-active .srcs__bar i, .view.is-active .cb__bar i, html:not(.js) .lb__bar i, html:not(.js) .srcs__bar i { transform: scaleX(1); transition: transform 1.1s var(--ease-out) .5s; }
.lb__v { font-size: 13px; text-align: right; color: var(--ink); }
.srcs { display: grid; gap: 10px; }
.srcs li { display: grid; grid-template-columns: 64px 1fr 30px; align-items: center; gap: 10px; font-size: 12px; color: #3A3E5C; }
.srcs b { text-align: right; color: var(--ink); }

/* Leads */
.tabs-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #E5E7F0; }
.tab { display: flex; align-items: center; gap: 6px; margin-bottom: -1px; padding: 8px 12px 10px; border-bottom: 2px solid transparent; font-size: 12.5px; font-weight: 600; color: #7A7F9E; }
.tab em { padding: 1px 6px; border-radius: 99px; background: #F1F2F8; color: #6B7091; font-size: 10.5px; font-style: normal; }
.tab.is-on { color: var(--iris); border-bottom-color: var(--iris); }
.tab.is-on em { background: var(--iris-50); color: var(--iris); }
.tabs-row__end { display: flex; gap: 6px; margin-left: auto; padding-bottom: 6px; }
.fchip { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid #E5E7F0; background: #fff; font-size: 11.5px; font-weight: 500; }
.fchip .i { width: 13px; height: 13px; }
.leads { display: grid; grid-template-columns: 1fr 360px; gap: 14px; flex: 1; min-height: 0; }
.tbl { padding: 0; overflow: hidden; }
.tbl__row { display: grid; grid-template-columns: 1.5fr 1.55fr .95fr .5fr .55fr .72fr; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-bottom: 1px solid #F1F2F8; font-size: 12px; transition: background-color .4s, box-shadow .4s; }
.tbl__row--head { height: 38px; background: #FAFAFD; color: #9A9EB8; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.tc-st, .tc-in { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tc-st > span:last-child, .tc-in > span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.tc-st b, .tc-in b { font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-in .flag { width: 18px; height: 18px; }
.tc-t { font-size: 11.5px; color: #9A9EB8; }
.src { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.src--ig { background: #FDE7F0; color: #D1246C; }
.src--web { background: #EEEDFF; color: #4535EE; }
.src--ref { background: #FEF3C7; color: #B45309; }
.src--wa { background: #DCFCE7; color: #15803D; }
.src--fb { background: #E0EBFF; color: #1D5BD6; }
.src--fair { background: #E0F2FE; color: #0369A1; }
.src--gads { background: #FFEDD5; color: #C2410C; }
.src--walk { background: #F1F2F8; color: #5A5F7E; }
.score { display: inline-grid; place-items: center; width: 30px; height: 24px; border-radius: 7px; font-size: 11.5px; font-weight: 700; }
.score--hot { background: #FFEDD5; color: #C2410C; }
.score--warm { background: #FEF9C3; color: #A16207; }
.score--cool { background: #E0F2FE; color: #0369A1; }
.unassigned { font-size: 11px; font-weight: 600; color: #B45309; }
.tbl__new { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .6s var(--ease-out); }
.tbl__new > .tbl__row { min-height: 0; overflow: hidden; }
.view.s-new .tbl__new, html:not(.js) .tbl__new { grid-template-rows: 1fr; }
.view.s-new .tbl__new .tbl__row { animation: rowFlash 2.6s ease-out .2s both; }
.view.s-select .tbl__new .tbl__row { background: #F5F4FF; box-shadow: inset 3px 0 0 var(--iris); animation: none; }

.lp { position: relative; display: flex; flex-direction: column; padding: 16px; overflow: hidden; }
.lp__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; font-size: 12.5px; color: #A0A4BE; transition: opacity .3s; }
.lp__empty .i { width: 30px; height: 30px; stroke-width: 1.5; }
.lp__body { display: flex; flex: 1; flex-direction: column; gap: 12px; opacity: 0; }
.view.s-select .lp__empty { opacity: 0; }
.view.s-select .lp__body { opacity: 1; }
.view.s-select .lp__body > * { animation: fadeUp .55s var(--ease-out) both; }
.view.s-select .lp__body > :nth-child(2) { animation-delay: .06s; }
.view.s-select .lp__body > :nth-child(3) { animation-delay: .12s; }
.view.s-select .lp__body > :nth-child(4) { animation-delay: .18s; }
.view.s-select .lp__body > :nth-child(5) { animation-delay: .24s; }
.view.s-select .lp__body > :nth-child(6) { animation-delay: .3s; }
.lp__head { display: flex; align-items: center; gap: 12px; }
.lp__id { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.lp__id b { font-size: 15px; color: var(--ink); }
.ring { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #F1F2F8; stroke-width: 4; }
.ring .ring__bar { stroke: #F97316; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease-out) .3s; }
.view.s-select .ring__bar { stroke-dasharray: var(--v) 100; }
.ring b { font-size: 13px; color: #C2410C; }
.lp__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp__tags span { padding: 4px 9px; border-radius: 7px; background: #F4F5FA; font-size: 11px; font-weight: 500; color: #3A3E5C; }
.lp__ai { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #F3F0FF, #FFF1EC); font-size: 11.5px; line-height: 1.45; color: #3A3E5C; }
.lp__ai .i { color: var(--violet); }
.lp__ai b { color: var(--ink); }
.lp__label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9A9EB8; }
.lp__matches { display: grid; gap: 8px; }
.lp__matches li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 11px; border: 1px solid #F1F2F8; }
.lp__m { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.lp__m b { font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp__matches em { font-size: 12px; font-weight: 700; font-style: normal; color: #15803D; }
.lp__actions { display: flex; gap: 8px; margin-top: auto; }
.lp__actions .app-btn { flex: 1; }

/* Applications board */
.kb { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; flex: 1; min-height: 0; }
.kb__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 10px; border-radius: 16px; background: #ECEDF5; }
.kb__head { display: flex; align-items: center; gap: 7px; padding: 2px 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.kb__head > i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.kb__head em { margin-left: auto; padding: 1px 7px; border-radius: 99px; background: #fff; color: #6B7091; font-size: 11px; font-style: normal; }
.kb__list { display: flex; flex-direction: column; }
.kc { display: grid; gap: 2px; margin-bottom: 9px; padding: 11px; border-radius: 12px; border: 1px solid #E7E8F1; background: #fff; box-shadow: 0 1px 2px rgba(16, 18, 51, .04); font-size: 11.5px; }
.kc b { font-size: 12.5px; line-height: 1.25; color: var(--ink); }
.kc__top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.kc .uni { width: 26px; height: 26px; border-radius: 7px; font-size: 8.5px; }
.kc .flag { width: 15px; height: 15px; }
.kc__due { display: flex; align-items: center; gap: 3px; margin-left: auto; font-size: 10.5px; font-weight: 500; color: #6B7091; }
.kc__due .i, .kc__docs .i { width: 11px; height: 11px; }
.tag { margin-left: auto; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tag--green { background: #DCFCE7; color: #15803D; }
.tag--amber { background: #FEF3C7; color: #B45309; }
.tag--iris { background: #EEEDFF; color: #4535EE; }
.tag--sky { background: #E0F2FE; color: #0369A1; }
.tag--gray { background: #F1F2F8; color: #6B7091; }
.kc__foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #F1F2F8; }
.kc__name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; font-weight: 500; color: #3A3E5C; }
.kc__docs { display: flex; align-items: center; gap: 3px; font-size: 10.5px; color: #9A9EB8; }
.kc-wrap { display: grid; grid-template-rows: 1fr; margin-bottom: 9px; overflow: hidden; transition: grid-template-rows .55s var(--ease-out), margin .55s var(--ease-out), opacity .3s; }
.kc-wrap > .kc { min-height: 0; margin-bottom: 0; overflow: hidden; transition: opacity .3s, border-color .3s; }
.kc-wrap--slot { grid-template-rows: 0fr; margin-bottom: 0; }
.kc--slot { height: 118px; padding: 0; border: 2px dashed #C9C4FF; background: rgba(85, 70, 255, .05); box-shadow: none; }
.view.s-grab .kc-wrap--src .kc { opacity: .4; border-style: dashed; box-shadow: none; }
.view.s-move .kc-wrap--slot { grid-template-rows: 1fr; margin-bottom: 9px; }
.view.s-drop .kc-wrap--src { grid-template-rows: 0fr; margin-bottom: 0; opacity: 0; }
.view.s-drop .kb__head .swap > span:first-child { opacity: 0; transform: translateY(-6px); }
.view.s-drop .kb__head .swap > span:last-child { opacity: 1; transform: none; }
.kc--ghost { position: absolute; z-index: 5; left: var(--gx, 0); top: var(--gy, 0); width: var(--gw, 180px); margin: 0; opacity: 0; pointer-events: none; transition: transform 1.05s cubic-bezier(.55, 0, .25, 1), box-shadow .3s, opacity .2s; }
.view.s-grab .kc--ghost { opacity: 1; transform: rotate(-3deg) scale(1.05); box-shadow: 0 26px 44px -16px rgba(11, 13, 33, .4); }
.view.s-move .kc--ghost { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(2.5deg) scale(1.05); }
.view.s-drop .kc--ghost { transform: translate(var(--dx, 0), var(--dy, 0)); box-shadow: 0 1px 2px rgba(16, 18, 51, .04); transition: transform .35s var(--ease-out), box-shadow .4s; }
.burst { position: absolute; z-index: 6; left: var(--bx, 50%); top: var(--by, 50%); width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; background: var(--c, #FF6A3D); opacity: 0; }
.burst i:nth-child(3n) { --c: #5546FF; }
.burst i:nth-child(3n + 1) { --c: #12B886; }
.burst i:nth-child(3n + 2) { --c: #FFB020; }
.view.s-drop .burst i { animation: burst .9s var(--ease-out) forwards; }

/* Visas & commissions */
.visa-grid { display: grid; grid-template-columns: 1fr 440px; gap: 14px; flex: 1; min-height: 0; }
.vcase { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.vcase__head { display: flex; align-items: center; gap: 12px; }
.vcase__id { display: grid; flex: 1; line-height: 1.3; }
.vcase__id b { font-size: 16px; color: var(--ink); }
.flag--lg { width: 30px; height: 30px; }
.vsteps { display: grid; }
.vsteps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 38px; bottom: -6px; width: 2px; border-radius: 2px; background: #BBF7D0; }
.vsteps li > i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px dashed #CDD0E0; background: #F6F7FB; color: transparent; transition: background-color .3s, border-color .3s, color .3s; }
.vsteps li > i .i { width: 14px; height: 14px; stroke-width: 3; }
.vsteps li.is-done > i { border: 0; background: var(--mint); color: #fff; }
.vsteps li > span:not(.app-btn) { display: grid; flex: 1; line-height: 1.25; }
.vsteps li b { font-size: 13px; color: var(--ink); }
.vsteps__decision > i { animation: pendingPulse 1.6s ease-in-out infinite; }
.view.s-stamp .vsteps__decision > i { border: 0; background: var(--mint); color: #fff; animation: none; }
.view.s-stamp .vsteps__decision .app-btn { opacity: .45; }
.view.s-stamp .vsteps__decision .swap > span:first-child { opacity: 0; transform: translateY(-6px); }
.view.s-stamp .vsteps__decision .swap > span:last-child { opacity: 1; transform: none; color: #0E9F6E; font-weight: 600; }
.stamp { position: absolute; right: 34px; top: 120px; z-index: 3; display: grid; justify-items: center; padding: 10px 18px; border: 4px double #12B886; border-radius: 14px; color: #0E9F6E; font-family: var(--font-mono); text-transform: uppercase; opacity: 0; transform: rotate(-12deg) scale(2.2); pointer-events: none; }
.stamp b { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: .14em; }
.stamp small { font-size: 10px; letter-spacing: .22em; color: #0E9F6E; }
.view.s-stamp .stamp { animation: stampSlam .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.view.s-stamp .vcase { animation: shake .45s .22s; }
.vcase__others { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #F1F2F8; }
.vo { display: grid; grid-template-columns: 18px 112px 1fr auto; align-items: center; gap: 10px; font-size: 12px; }
.vo .flag { width: 18px; height: 18px; }
.vo b { color: var(--ink); }
.vo span { color: #7A7F9E; }
.comm { display: flex; flex-direction: column; gap: 11px; padding: 16px 18px; }
.comm__big b { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.comm__big small { display: block; margin-top: 4px; font-size: 11.5px; }
.comm__meter { height: 10px; border-radius: 10px; overflow: hidden; background: #F1F2F8; }
.comm__meter i { display: block; width: 49.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34D399, #12B886); transform: scaleX(0); transform-origin: left; }
.view.is-active .comm__meter i { transform: scaleX(1); transition: transform 1.2s var(--ease-out) .45s; }
.comm__legend { display: flex; gap: 16px; font-size: 11.5px; color: #6B7091; }
.comm__legend span { display: flex; align-items: center; gap: 6px; }
.comm__bars { display: grid; gap: 9px; padding: 11px 0; border-block: 1px solid #F1F2F8; }
.cb { display: grid; grid-template-columns: 140px 1fr 46px; align-items: center; gap: 10px; font-size: 11.5px; color: #3A3E5C; }
.cb b { text-align: right; color: var(--ink); }
.comm__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9A9EB8; }
.inv { display: grid; gap: 4px; }
.inv li { display: grid; grid-template-columns: 64px 1fr 62px 66px; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: 11.5px; }
.inv__id { font-family: var(--font-mono); font-size: 10.5px; color: #7A7F9E; }
.inv__u { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #3A3E5C; }
.inv b { text-align: right; color: var(--ink); }
.inv .pill { justify-self: end; }
.pill--swap { display: inline-grid; background: #FEF3C7; color: #B45309; transition: background-color .35s, color .35s; }
.pill--swap > span { grid-area: 1 / 1; transition: opacity .25s; }
.pill--swap > span:last-child { opacity: 0; }
.view.s-paid .pill--swap { background: #DCFCE7; color: #15803D; }
.view.s-paid .pill--swap > span:first-child { opacity: 0; }
.view.s-paid .pill--swap > span:last-child { opacity: 1; }
.view.s-paid [data-c="inv"] { animation: rowFlashGreen 1.8s ease-out; }

/* Toasts + fake cursor */
.app-toasts { position: absolute; right: 22px; top: 72px; z-index: 20; display: grid; gap: 8px; width: 300px; pointer-events: none; }
.app-toast { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: rgba(11, 13, 33, .93); color: #fff; box-shadow: 0 18px 36px -14px rgba(11, 13, 33, .55); opacity: 0; transform: translateY(-10px) scale(.96); transition: opacity .35s, transform .5s var(--ease-out); }
.app-toast.is-in { opacity: 1; transform: none; }
.app-toast.is-out { opacity: 0; transform: translateX(24px); }
.app-toast__ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--tc, #5546FF); }
.app-toast__ic .i { width: 15px; height: 15px; }
.app-toast b { display: block; font-size: 12.5px; }
.app-toast small { color: rgba(255, 255, 255, .7); }
.app-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 22px; opacity: 0; pointer-events: none; transform: translate(960px, 640px); transition: transform 1s cubic-bezier(.45, .05, .25, 1), opacity .3s; }
.screen.is-ready .app-cursor { opacity: 1; }
.app-cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.app-cursor path { fill: #0B0D21; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.app-cursor > i { position: absolute; left: 4px; top: 2px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--iris); opacity: 0; }
.app-cursor.is-click > i { animation: clickRing .6s var(--ease-out); }
.app-cursor.is-click svg { animation: clickPress .3s; }

/* Inline icon data for list bullets */
:root {
  --ic-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
  --ic-check-iris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235546FF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
  --ic-check-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
  --ic-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA580C' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7M12 17.5h.01'/%3E%3C/svg%3E");
  --ic-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7091' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* =========================================================
   Social proof (dark)
   ========================================================= */
.proof { position: relative; z-index: 1; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(120px, 14vw, 180px); background: var(--night); color: var(--on-dark); }
.proof::before { content: ""; position: absolute; left: 50%; top: -40%; width: 120%; height: 80%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(85, 70, 255, .22), transparent 70%); pointer-events: none; }
.proof__title { position: relative; margin-bottom: 30px; text-align: center; font-size: 15px; font-weight: 500; color: var(--on-dark-muted); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__track--slow { animation-duration: 64s; animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logos { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: rgba(233, 234, 247, .5); transition: color .3s; }
.logo svg { width: 24px; height: 24px; flex: none; }
.logo:hover { color: #fff; }
.logo--serif { font-family: var(--font-serif); font-size: 26px; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.logo--wide { font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(52px, 6vw, 84px); border-top: 1px solid var(--night-line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 30px 26px 0; border-left: 1px solid var(--night-line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dd { font-family: var(--font-display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #A9ADDA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt { max-width: 22ch; font-size: 15px; color: var(--on-dark-muted); }

/* =========================================================
   Features — bento
   ========================================================= */
.features { z-index: 2; margin-top: calc(clamp(32px, 4.5vw, 64px) * -1); border-radius: clamp(32px, 4.5vw, 64px) clamp(32px, 4.5vw, 64px) 0 0; background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; min-width: 0;
  overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(85, 70, 255, .1), transparent 45%); transition: opacity .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9D6FF; }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile__text { padding: 26px 26px 0; }
.tile__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, white); }
.tile__icon .i { width: 20px; height: 20px; }
.tile h3 { margin: 16px 0 6px; font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.tile p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tile__visual { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 250px; padding: 22px; }
.tile .pill { padding: 4px 10px; font-size: 12px; }
.tile .uni { width: 34px; height: 34px; font-size: 10px; }

/* Course finder */
.finder { justify-content: flex-start; }
.finder__search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 0 0 4px rgba(85, 70, 255, .07), 0 10px 22px -14px rgba(85, 70, 255, .45); font-size: 15px; font-weight: 500; color: var(--ink); }
.finder__search .i { color: var(--iris); }
.finder__search kbd { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--font-sans); font-size: 13px; }
.finder__q.is-typing::after, .ai__typed.is-typing + .ai__caret { opacity: 1; }
.finder__q::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--iris); opacity: 0; animation: caret 1s steps(1) infinite; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.finder__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 12.5px; font-weight: 500; color: var(--text); }
.finder__chips .flag { width: 15px; height: 15px; }
.finder__results { display: grid; gap: 8px; }
.finder__results li { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(90px, 120px); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s; }
.finder__results li:hover { transform: translateX(4px); border-color: #CFCBFF; box-shadow: var(--shadow-sm); }
.fr__t { display: grid; min-width: 0; line-height: 1.3; }
.fr__t b { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr__t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr__m { display: flex; align-items: center; gap: 8px; }
.fr__m i { position: relative; flex: 1; height: 6px; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.fr__m i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #34D399, #12B886); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.tile.is-in .fr__m i::after, html:not(.js) .fr__m i::after { transform: scaleX(1); }
.finder__results li:nth-child(2) .fr__m i::after { transition-delay: .15s; }
.finder__results li:nth-child(3) .fr__m i::after { transition-delay: .3s; }
.fr__m b { width: 36px; font-size: 13px; text-align: right; color: #15803D; }

/* Document vault */
.docs { justify-content: flex-start; }
.docs__head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--bg); }
.docs__head > span:last-child { display: grid; line-height: 1.3; }
.docs__head > span:last-child b { font-size: 14px; color: var(--ink); }
.docs__head small { font-size: 12.5px; color: var(--muted); }
.docs__ring { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; }
.docs__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.docs__ring circle { fill: none; stroke: #E3E5F0; stroke-width: 5; }
.docs__ring .docs__bar { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease-out) .25s; }
.docs__ring b { font-size: 12px; color: var(--ink); }
.tile.is-in .docs__bar, html:not(.js) .docs__bar { stroke-dasharray: 83 100; }
.tile--docs:hover .docs__bar { stroke-dasharray: 100 100; transition-delay: 0s; }
.docs__b { display: none; }
.tile--docs:hover .docs__a { display: none; }
.tile--docs:hover .docs__b { display: inline; }
.docs__list { display: grid; gap: 8px; }
.docs__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.docs__list li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--mint) var(--ic-check-white) center / 12px no-repeat; transition: background-color .3s; }
.docs__list li.miss::before { background: #FFF1E6 var(--ic-alert) center / 13px no-repeat; box-shadow: inset 0 0 0 1.5px #FDBA74; }
.tile--docs:hover .docs__list li.miss::before { background: var(--mint) var(--ic-check-white) center / 12px no-repeat; box-shadow: none; }
.docs__list em { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--iris-50); color: var(--iris); font-size: 11.5px; font-weight: 600; font-style: normal; white-space: nowrap; }
.docs__list li.miss em { background: #FFEDD5; color: #C2410C; }
.docs__list li.miss em.docs__b { background: #DCFCE7; color: #15803D; }

/* WhatsApp inbox */
.chat { justify-content: flex-start; }
.chat__tabs { display: flex; gap: 6px; }
.chat__tabs span { padding: 5px 11px; border-radius: 99px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600; }
.chat__tabs .is-on { background: #DCFCE7; color: #15803D; }
.chat__thread { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 186px; padding: 14px; border-radius: 18px; background: #EFE7DD radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px) 0 0 / 14px 14px; }
.msg { max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg--in { align-self: flex-start; border-top-left-radius: 4px; background: #fff; color: var(--ink); }
.msg--out { align-self: flex-end; border-top-right-radius: 4px; background: #D9FDD3; color: #0B3B1F; }
.msg--typing { display: flex; gap: 4px; padding: 11px 12px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA0B4; animation: typingDot 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
.js .tile--inbox .msg { opacity: 0; }
.js .tile--inbox.is-in .msg:nth-child(1) { animation: chat1 10s var(--ease-out) infinite; }
.js .tile--inbox.is-in .msg:nth-child(2) { animation: chat2 10s var(--ease-out) infinite; }
.js .tile--inbox.is-in .msg:nth-child(3) { animation: chat3 10s var(--ease-out) infinite; }
.js .tile--inbox.is-in .msg:nth-child(4) { animation: chat4 10s var(--ease-out) infinite; }

/* Automations */
.flow { flex-direction: row; align-items: center; justify-content: space-between; gap: 0; }
.flow__node { position: relative; display: grid; gap: 2px; max-width: 176px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font-size: 12.5px; line-height: 1.3; }
.flow__node small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #15803D; }
.flow__node b { font-weight: 600; color: var(--ink); }
.flow__node--trigger { border-color: #FDE3B0; background: linear-gradient(135deg, #FFF7E6, #fff); }
.flow__node--trigger small { color: #B45309; }
.flow__node--if { border-color: #DCD7FF; background: linear-gradient(135deg, #F1EFFF, #fff); }
.flow__node--if small { color: var(--iris); }
.flow__acts .flow__node { border-color: #C9F1DA; background: linear-gradient(135deg, #ECFDF5, #fff); }
.flow__link { position: relative; flex: 1; min-width: 16px; height: 2px; background: repeating-linear-gradient(90deg, #B9B2FF 0 6px, transparent 6px 11px) 0 0 / 22px 2px; animation: dashFlow 1s linear infinite; }
.flow__link::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 6px solid #B9B2FF; border-right: 0; }
.flow__acts { position: relative; display: grid; gap: 8px; padding-left: 18px; }
.flow__acts::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(180deg, #B9B2FF 0 6px, transparent 6px 11px) 0 0 / 2px 22px; animation: dashFlowY 1s linear infinite; }
.flow__acts .flow__node::before { content: ""; position: absolute; left: -18px; top: 50%; width: 18px; height: 2px; background: #B9B2FF; }
.tile.is-in .flow__node { animation: nodePulse 4.5s var(--ease-out) infinite; }
.tile.is-in .flow__node--if { animation-delay: .5s; }
.tile.is-in .flow__acts .flow__node:nth-child(1) { animation-delay: 1s; }
.tile.is-in .flow__acts .flow__node:nth-child(2) { animation-delay: 1.25s; }
.tile.is-in .flow__acts .flow__node:nth-child(3) { animation-delay: 1.5s; }

/* AI assistant */
.ai { justify-content: flex-start; }
.ai__prompt { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -14px rgba(11, 13, 33, .6); }
.ai__prompt .i { color: #C4B5FD; }
.ai__caret { width: 2px; height: 18px; margin-left: -6px; background: #C4B5FD; opacity: 0; animation: caret 1s steps(1) infinite; }
.ai__answer { display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1px solid #ECE7FF; background: linear-gradient(135deg, #F6F3FF, #FFF4EE); font-size: 13.5px; color: var(--text); }
.js .ai__answer p { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease-out); }
.js .tile--ai.is-answered .ai__answer p { opacity: 1; transform: none; }
.tile--ai.is-answered .ai__answer p:nth-child(2) { transition-delay: .15s; }
.tile--ai.is-answered .ai__answer p:nth-child(3) { transition-delay: .3s; }
.tile--ai.is-answered .ai__answer p:nth-child(4) { transition-delay: .45s; }
.ai__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.js .ai__chips { opacity: 0; transition: opacity .5s .7s; }
.js .tile--ai.is-answered .ai__chips { opacity: 1; }

/* Student portal phone */
.phone-wrap { align-items: center; justify-content: flex-end; min-height: 290px; padding-bottom: 0; }
.phone { position: relative; width: 204px; height: 330px; margin-bottom: -84px; padding: 9px; border-radius: 38px; background: #0B0D21; box-shadow: 0 34px 50px -22px rgba(11, 13, 33, .55), inset 0 0 0 2px #2A2D4A; transform: rotate(-5deg) translateY(10px); transition: transform .7s var(--ease-out); }
.tile--portal:hover .phone { transform: rotate(0) translateY(-8px); }
.phone__screen { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px 12px; overflow: hidden; border-radius: 30px; background: linear-gradient(180deg, #F2EFFF, #fff 42%); }
.ph__bar { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 600; color: var(--ink); }
.ph__bar i { width: 58px; height: 17px; border-radius: 99px; background: #0B0D21; }
.ph__hi { margin-top: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.ph__muted { margin-top: -6px; font-size: 11px; color: var(--muted); }
.ph__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.ph__steps li { position: relative; padding-top: 11px; text-align: center; font-size: 8.5px; font-weight: 600; color: var(--muted); }
.ph__steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: #E5E7F0; }
.ph__steps li.done::before { background: var(--mint); }
.ph__steps li.now { color: var(--iris); }
.ph__steps li.now::before { background: linear-gradient(90deg, var(--iris) 55%, #E5E7F0 55%); }
.ph__card { display: grid; gap: 2px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.ph__card b { font-size: 11.5px; color: var(--ink); }
.ph__card small { font-size: 10px; color: var(--muted); }
.ph__btn { justify-self: start; margin-top: 5px; padding: 4px 11px; border-radius: 99px; background: var(--iris); color: #fff; font-size: 10px; font-weight: 600; }
.ph__card--soft { border-color: transparent; background: #F1EFFF; }

/* Commissions */
.commi { justify-content: flex-end; gap: 8px; }
.commi__label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.commi__num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.commi__bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-top: 8px; }
.commi__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #B4ACFF, #DAD6FF); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease-out); }
.commi__bars i:last-child { background: linear-gradient(180deg, #34D399, #12B886); }
.tile.is-in .commi__bars i, html:not(.js) .commi__bars i { transform: scaleY(1); }
.commi__bars i:nth-child(2) { transition-delay: .06s; }
.commi__bars i:nth-child(3) { transition-delay: .12s; }
.commi__bars i:nth-child(4) { transition-delay: .18s; }
.commi__bars i:nth-child(5) { transition-delay: .24s; }
.commi__bars i:nth-child(6) { transition-delay: .3s; }
.commi__bars i:nth-child(7) { transition-delay: .36s; }
.commi__bars i:nth-child(8) { transition-delay: .42s; }
.commi__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Branch network */
.net { min-height: 260px; margin: 6px 18px 18px; padding: 0; border-radius: 20px; background: radial-gradient(55% 60% at 50% 50%, rgba(255, 106, 61, .08), transparent 70%), var(--bg); }
.net__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__lines path { fill: none; stroke: #D3D6E6; stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.net__lines .net__pulse { stroke: var(--sunset); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 1000; animation: netPulse 3.2s linear infinite; }
.net__node { position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font-size: 12.5px; line-height: 1.25; text-align: center; white-space: nowrap; transform: translate(-50%, -50%); }
.net__node b { font-weight: 600; color: var(--ink); }
.net__node small { font-size: 11px; color: var(--muted); }
.net__node--hq { padding: 10px 16px; border: 0; background: var(--ink); box-shadow: 0 16px 30px -12px rgba(11, 13, 33, .55); }
.net__node--hq b { color: #fff; }
.net__node--hq small { color: rgba(255, 255, 255, .65); }
.net__node--hq::before { content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: 16px; border: 2px solid rgba(255, 106, 61, .45); animation: hqPulse 2.4s var(--ease-out) infinite; }
.net__node--sub { border-color: #FFD5C7; background: #FFF1EC; }
.net__node--sub b { color: #C2410C; }

/* Integrations */
.integrations { display: grid; gap: 18px; margin-top: clamp(44px, 5vw, 64px); text-align: center; }
.integrations > p { font-size: 14px; font-weight: 600; color: var(--muted); }
.chips { display: flex; gap: 10px; padding: 4px 10px 8px 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chips li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

/* =========================================================
   Journey (scroll-drawn flight path)
   ========================================================= */
.journey { background: linear-gradient(180deg, var(--bg) 0%, #fff 22%, #fff 78%, var(--bg) 100%); }
.journey__track { position: relative; }
.journey__svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey__base { fill: none; stroke: #D3D6E6; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.journey__progress { fill: none; stroke: url(#g-route); stroke-width: 3.5; stroke-linecap: round; }
.journey__measure { fill: none; stroke: none; }
.journey__plane { transition: opacity .3s; }
.journey__halo { fill: rgba(85, 70, 255, .12); }
.journey__plane path { fill: var(--iris); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
html:not(.js) .journey__svg { display: none; }
.journey__stops { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.stop { display: grid; grid-template-rows: 1fr 124px 1fr; justify-items: center; min-height: 520px; }
.stop__dot { position: relative; z-index: 2; grid-row: 2; align-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--muted); box-shadow: var(--shadow-sm); transition: background-color .45s, color .45s, border-color .45s, box-shadow .45s; }
.stop__dot .i { width: 22px; height: 22px; }
.stop:nth-child(odd) .stop__dot { translate: 0 -28px; }
.stop:nth-child(even) .stop__dot { translate: 0 28px; }
.stop__card { grid-row: 1; align-self: end; width: 232px; margin-bottom: 26px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .45s, box-shadow .45s; }
.stop:nth-child(even) .stop__card { grid-row: 3; align-self: start; margin: 26px 0 0; }
.stop__num { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--muted); transition: color .45s; }
.stop__card h3 { margin: 4px 0 6px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.stop__card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.stop.is-passed .stop__dot { border-color: var(--iris); background: var(--iris); color: #fff; box-shadow: 0 0 0 7px rgba(85, 70, 255, .14), 0 12px 24px -8px rgba(85, 70, 255, .6); }
.stop.is-passed .stop__card { border-color: #D9D6FF; box-shadow: var(--shadow); }
.stop.is-passed .stop__num { color: var(--iris); }

/* =========================================================
   Destinations (dark) + boarding passes
   ========================================================= */
.destinations { overflow: hidden; background: var(--night); color: var(--on-dark); }
.destinations__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 45% at 50% 0%, rgba(85, 70, 255, .35), transparent 70%), radial-gradient(40% 40% at 92% 100%, rgba(255, 106, 61, .16), transparent 70%), radial-gradient(35% 35% at 5% 80%, rgba(56, 189, 248, .12), transparent 70%); }
.destinations .container { position: relative; }
.dest__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.dest__tabs button { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: rgba(233, 234, 247, .8); font-size: 14.5px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.dest__tabs button .flag { width: 28px; height: 28px; }
.dest__tabs button:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.dest__tabs button[aria-selected="true"] { border-color: #fff; background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(85, 70, 255, .75); }
.dest__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 3.5vw, 48px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.dest__panel[hidden] { display: none; }
.dest__panel:focus-visible { outline-offset: 4px; border-radius: 32px; }
.dest__panel.is-entering .dest__info > * { animation: fadeUp .6s var(--ease-out) both; }
.dest__panel.is-entering .dest__info > :nth-child(2) { animation-delay: .07s; }
.dest__panel.is-entering .dest__info > :nth-child(3) { animation-delay: .14s; }
.dest__panel.is-entering .pass-wrap { animation: passIn .8s var(--ease-out) both; }
.dest__info h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: #fff; }
.dest__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 22px; }
.dest__facts div { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .05); }
.dest__facts dt { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(233, 234, 247, .55); }
.dest__facts dd { margin-top: 4px; font-size: 15px; font-weight: 600; color: #fff; }
.dest__check { display: grid; gap: 11px; }
.dest__check li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: rgba(233, 234, 247, .86); }
.dest__check li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(18, 184, 134, .16) var(--ic-check-mint) center / 12px no-repeat; }
.pass-wrap { position: relative; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .5)); }
.pass {
  display: grid; grid-template-columns: minmax(0, 1fr) 128px;
  border-radius: 24px;
  background: #fff; color: var(--ink);
  transform: rotate(-2.5deg);
  -webkit-mask: radial-gradient(circle 13px at calc(100% - 128px) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - 128px) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at calc(100% - 128px) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - 128px) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.pass__main { min-width: 0; padding: 22px 24px; }
.pass__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.pass__brand svg { width: 22px; height: 22px; }
.pass__brand span { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pass__route { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.pass__route > div { display: grid; line-height: 1.1; }
.pass__route > div:last-child { text-align: right; }
.pass__route small, .pass__grid small, .pass__stub small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pass__route b { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; }
.pass__route span { font-size: 12.5px; color: var(--muted); }
.pass__path { position: relative; display: grid; flex: 1; place-items: center; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.pass__path .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #fff; color: var(--iris); transform: rotate(45deg); }
.pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 16px; border-top: 2px dashed var(--line); }
.pass__grid div { display: grid; min-width: 0; line-height: 1.35; }
.pass__grid b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 600; }
.pass__stub { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border-left: 2px dashed var(--line-2); }
.pass__stub div { display: grid; line-height: 1.25; }
.pass__stub b { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.pass__status b { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: #15803D; }
.pass__barcode { height: 46px; margin-top: auto; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }
.pass__stamp { position: absolute; right: 116px; bottom: -16px; padding: 6px 14px; border: 3px solid #12B886; border-radius: 12px; background: rgba(255, 255, 255, .65); color: #0E9F6E; font-family: var(--font-mono); font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-16deg); }
.dest__panel.is-entering .pass__stamp { animation: stampIn .55s cubic-bezier(.2, 1.4, .4, 1) .6s both; }

/* =========================================================
   Customer stories — boarding-pass tickets
   ========================================================= */
.stories { background: #fff; }
.tickets { columns: 3 300px; column-gap: 20px; }
.ticket { position: relative; display: flex; flex-direction: column; margin: 0 0 20px; break-inside: avoid; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--bg); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.ticket:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow); border-color: #D9D6FF; }
.ticket__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--ink); color: #fff; }
.ticket__air { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.ticket__air svg { width: 20px; height: 20px; }
.ticket__stars { display: flex; gap: 2px; color: var(--amber); }
.ticket__stars .i { width: 14px; height: 14px; }
.ticket__quote { padding: 22px 22px 14px; }
.ticket__quote p { font-size: 16.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.ticket__metric { align-self: flex-start; margin: 0 22px 20px; padding: 5px 11px; border-radius: 99px; background: var(--iris-50); color: var(--iris); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.ticket__tear { position: relative; height: 0; margin: 0 18px; border-top: 2px dashed var(--line-2); }
.ticket__tear::before, .ticket__tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.ticket__tear::before { left: -31px; }
.ticket__tear::after { right: -31px; }
.ticket__stub { display: flex; align-items: center; gap: 12px; padding: 18px 20px 20px; }
.ticket__who { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.ticket__who b { font-size: 15px; font-weight: 600; color: var(--ink); }
.ticket__who small { font-size: 13px; color: var(--muted); }
.ticket__route { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.ticket__route .i { width: 16px; height: 16px; color: var(--iris); transform: rotate(45deg); }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { background: radial-gradient(60% 40% at 50% 0%, rgba(85, 70, 255, .08), transparent 70%), var(--bg); }
.pricing__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-bottom: clamp(36px, 5vw, 60px); }
.billing { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.billing button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.billing button[aria-checked="true"] { color: #fff; }
.billing__thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 99px; background: var(--ink); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.save { padding: 3px 8px; border-radius: 99px; background: rgba(18, 184, 134, .14); color: #0A8F67; font-size: 11.5px; font-weight: 700; transition: background-color .3s, color .3s; }
[aria-checked="true"] .save { background: rgba(255, 255, 255, .16); color: #7CF3C8; }
.seats { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.seats label { font-size: 14px; font-weight: 600; color: var(--ink); }
.seats output { min-width: 112px; font-size: 14px; font-weight: 600; color: var(--iris); font-variant-numeric: tabular-nums; }
.seats input[type="range"] { -webkit-appearance: none; appearance: none; width: 190px; height: 6px; margin: 0; border-radius: 6px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--iris) var(--pct, 8%), #E3E5F0 var(--pct, 8%)); }
.seats input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 6px solid var(--iris); background: #fff; box-shadow: 0 4px 12px rgba(85, 70, 255, .45); transition: transform .2s; }
.seats input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.seats input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; border: 6px solid var(--iris); background: #fff; box-shadow: 0 4px 12px rgba(85, 70, 255, .45); }
.seats input[type="range"]:focus-visible { outline: 2px solid var(--iris); outline-offset: 8px; }
.currency { position: relative; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); color: var(--muted); }
.currency select { -webkit-appearance: none; appearance: none; padding: 6px 22px 6px 0; border: 0; outline: none; background: transparent var(--ic-chevron) right center / 15px no-repeat; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.currency:focus-within { outline: 2px solid var(--iris); outline-offset: 2px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.plan:hover { box-shadow: var(--shadow); }
.plan__name { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.plan__desc { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.plan__price { display: flex; align-items: flex-end; gap: 12px; transition: opacity .3s; }
.plan__amount { display: flex; align-items: flex-start; font-family: var(--font-display); font-weight: 700; line-height: .9; color: var(--ink); }
.plan__cur { margin: 6px 2px 0 0; font-size: 26px; }
.plan__num { font-size: clamp(3rem, 2.4rem + 2vw, 4rem); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan__per { padding-bottom: 6px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.plan__total { min-height: 2.8em; margin-top: -8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.plan.is-limited .plan__price { opacity: .4; }
.plan.is-limited .plan__total { color: #C2410C; font-weight: 600; }
.plan__features { display: grid; gap: 11px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__features li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.plan__features li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--iris-50) var(--ic-check-iris) center / 12px no-repeat; }
.plan__features li:has(> b:only-child)::before { display: none; }
.plan__features b { font-weight: 600; color: var(--ink); }
.plan--featured { border-color: transparent; background: radial-gradient(120% 70% at 50% 0%, #2B1F86 0%, var(--night-2) 58%); color: var(--on-dark); box-shadow: 0 40px 80px -30px rgba(40, 30, 160, .6); }
.plan--featured::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--ang), #5546FF, #38BDF8, #FF6A3D, #9B5CFF, #5546FF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spinAngle 6s linear infinite; }
.plan--featured .plan__name, .plan--featured .plan__amount, .plan--featured .plan__features b { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__per, .plan--featured .plan__total { color: var(--on-dark-muted); }
.plan--featured .plan__features { border-top-color: var(--night-line); }
.plan--featured .plan__features li { color: rgba(233, 234, 247, .86); }
.plan--featured .plan__features li::before { background-color: rgba(255, 255, 255, .1); background-image: var(--ic-check-white); }
.plan__badge { position: absolute; top: 28px; right: 28px; padding: 5px 12px; border-radius: 99px; background: linear-gradient(90deg, #FF8A5B, #FF4D8D); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(255, 77, 141, .7); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.enterprise { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 30px 34px; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, #0E1030 0%, #1C1660 60%, #3B1F7A 100%); color: var(--on-dark); }
.enterprise::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.enterprise__txt, .enterprise .btn { position: relative; z-index: 1; }
.enterprise h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.enterprise p { max-width: 70ch; margin-top: 6px; font-size: 15px; color: var(--on-dark-muted); }
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances .i { color: var(--iris); }

.compare { margin-top: 36px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare summary { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; list-style: none; font-weight: 600; color: var(--ink); cursor: pointer; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary .i { transition: transform .35s var(--ease-out); }
.compare[open] summary { border-bottom: 1px solid var(--line); }
.compare[open] summary .i { transform: rotate(180deg); }
.compare__wrap { overflow-x: auto; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare__table th, .compare__table td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare__table thead th { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }
.compare__table thead th:first-child, .compare__table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.compare__table thead th:first-child { font-family: var(--font-sans); font-size: 14.5px; }
.compare__table .group th { padding-top: 22px; background: var(--bg); text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--iris); }
.compare__table td { font-weight: 500; color: var(--ink); }
.compare__table td:nth-child(3) { background: rgba(85, 70, 255, .035); }
.compare__table td.y, .compare__table td.n { font-size: 0; }
.compare__table td.y::before { content: ""; display: inline-block; width: 22px; height: 22px; vertical-align: middle; border-radius: 50%; background: var(--iris-50) var(--ic-check-iris) center / 13px no-repeat; }
.compare__table td.n::before { content: ""; display: inline-block; width: 14px; height: 2px; vertical-align: middle; border-radius: 2px; background: var(--line-2); }
.compare__table tbody tr:not(.group):hover > * { background-color: #FAFAFE; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(36px, 6vw, 100px); }
.faq__intro { position: sticky; top: 110px; display: grid; justify-items: start; gap: 18px; }
.faq__help { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 8px; padding: 14px 14px 14px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg); }
.av-stack { display: flex; }
.av-stack .av { width: 34px; height: 34px; font-size: 11px; }
.av-stack .av + .av { margin-left: -10px; }
.faq__help-txt { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.faq__help-txt b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.faq__help-txt small { font-size: 13px; color: var(--muted); }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.acc__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease-out); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn:hover .acc__icon { border-color: var(--ink); }
.acc.is-open .acc__icon { border-color: var(--ink); background: var(--ink); color: #fff; transform: rotate(180deg); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease-out); }
.js .acc__panel { grid-template-rows: 0fr; }
.js .acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { min-height: 0; overflow: hidden; }
.js .acc:not(.is-open) .acc__inner { visibility: hidden; transition: visibility 0s .5s; }
.acc__inner p { max-width: 64ch; padding: 0 50px 24px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* =========================================================
   Final CTA + split-flap departure board
   ========================================================= */
.cta { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0; background: var(--night); color: var(--on-dark); }
.cta__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 12% 30%, rgba(85, 70, 255, .4), transparent 70%), radial-gradient(40% 55% at 92% 75%, rgba(255, 106, 61, .22), transparent 70%), radial-gradient(30% 40% at 60% 0%, rgba(56, 189, 248, .18), transparent 70%); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(40px, 5vw, 80px); }
.cta__copy { display: grid; justify-items: start; gap: 20px; }
.cta__form { display: flex; gap: 6px; width: 100%; max-width: 500px; padding: 6px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .3s, box-shadow .3s; }
.cta__form:focus-within { border-color: rgba(139, 125, 255, .8); box-shadow: 0 0 0 4px rgba(85, 70, 255, .25); }
.cta__form.is-error { border-color: #FF6B81; }
.cta__form input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; outline: none; background: transparent; color: #fff; font-size: 15.5px; }
.cta__form input::placeholder { color: rgba(233, 234, 247, .5); }
.cta__msg, .footer__msg { min-height: 1.4em; margin-top: -8px; font-size: 14px; color: #7CF3C8; }
.cta__msg.is-error, .footer__msg.is-error { color: #FF9AAA; }
.cta__points { display: grid; gap: 8px; font-size: 15px; color: rgba(233, 234, 247, .8); }
.cta__points li { display: flex; align-items: center; gap: 10px; }
.cta__points .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(18, 184, 134, .2); color: #5EEAD4; stroke-width: 3; }

.flap-wrap { container-type: inline-size; perspective: 1600px; }
.flap-board {
  --cell: clamp(8px, calc((100cqi - 44px - 72px) / 29.8), 20px);
  padding: 20px 22px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #15172D, #0B0C1B);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateY(-10deg) rotateX(4deg);
  transform-origin: 30% 50%;
  transition: transform .9s var(--ease-out);
}
.flap-wrap:hover .flap-board { transform: rotateY(-3deg) rotateX(1deg); }
.flap-board__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #FFB020; }
.flap-board__top span:first-child { display: flex; align-items: center; gap: 8px; }
.flap-board__top i { width: 8px; height: 8px; border-radius: 50%; background: #FFB020; box-shadow: 0 0 10px #FFB020; animation: blink 1.4s steps(2) infinite; }
.flap-board__clock { color: rgba(255, 255, 255, .75); letter-spacing: .1em; }
.flap-board__head, .flap-row { display: grid; grid-template-columns: calc(var(--cell) * 9 + 16px) calc(var(--cell) * 6 + 10px) calc(var(--cell) * 3 + 4px) calc(var(--cell) * 9 + 16px); justify-content: space-between; column-gap: calc(var(--cell) * .6); }
.flap-board__head { margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.flap-board__rows { display: grid; gap: 7px; }
.flap-group { display: flex; gap: 2px; }
.flap { position: relative; display: grid; place-items: center; width: var(--cell); height: calc(var(--cell) * 1.45); overflow: hidden; border-radius: 3px; background: linear-gradient(180deg, #25283F 0 50%, #1B1D31 50% 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .5); font-family: var(--font-mono); font-size: calc(var(--cell) * .86); font-weight: 700; line-height: 1; color: #F4F5FF; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap-group--status .flap { color: var(--st, #FFB020); }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--night-line); background: var(--night); color: var(--on-dark-muted); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(36px, 5vw, 80px); padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
.footer__brand { display: grid; align-content: start; justify-items: start; gap: 16px; }
.footer__brand > p:not(.footer__msg) { max-width: 34ch; font-size: 15px; }
.footer__news { display: flex; width: 100%; max-width: 340px; padding: 5px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); }
.footer__news input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 0; outline: none; background: transparent; color: #fff; font-size: 14.5px; }
.footer__news input::placeholder { color: rgba(233, 234, 247, .45); }
.footer__news button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--iris); color: #fff; transition: transform .3s var(--ease-out); }
.footer__news button:hover { transform: translateX(2px); }
.footer__news:focus-within { border-color: rgba(139, 125, 255, .8); }
.footer__msg { margin-top: -10px; font-size: 13px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__cols h3 { margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer__cols ul { display: grid; gap: 4px; }
.footer__cols a { display: inline-block; padding: 4px 0; font-size: 14.5px; transition: color .2s; }
.footer__cols a:hover, .footer__legal a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px 0; font-size: 14px; }
.footer__legal { display: flex; gap: 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); transition: background-color .25s, color .25s, border-color .25s; }
.footer__social a:hover { border-color: #fff; background: #fff; color: var(--ink); }
.footer__social .i { width: 17px; height: 17px; }
.footer__word { margin-top: 12px; font-family: var(--font-display); font-size: clamp(4rem, 18vw, 16.5rem); font-weight: 800; line-height: .8; letter-spacing: -.065em; text-align: center; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(10%); }

/* =========================================================
   Reveal on scroll + offscreen animation pausing
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  transition: opacity .9s var(--ease-out), translate 1s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s;
}
.js [data-reveal].is-in { opacity: 1; translate: none; }
[data-play]:not(.is-playing) *, .marquee:not(.is-playing) .marquee__track { animation-play-state: paused !important; }

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes meshDrift { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
@keyframes auroraSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes bootLogo { to { opacity: 1; transform: none; } }
@keyframes bootBar { to { transform: scaleX(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-26deg) scale(2); } 70% { opacity: 1; transform: rotate(-13deg) scale(.94); } 100% { opacity: 1; transform: rotate(-15deg) scale(1); } }
@keyframes stampSlam { 0% { opacity: 0; transform: rotate(-20deg) scale(2.4); } 60% { opacity: 1; transform: rotate(-11deg) scale(.94); } 100% { opacity: .95; transform: rotate(-12deg) scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 2px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(-2px, 1px); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); } 70% { box-shadow: 0 0 0 7px rgba(18, 184, 134, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 184, 134, 0); } }
@keyframes pendingPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(85, 70, 255, .35); } 50% { box-shadow: 0 0 0 6px rgba(85, 70, 255, 0); } }
@keyframes rowFlash { 0%, 35% { background-color: #F1EFFF; } 100% { background-color: transparent; } }
@keyframes rowFlashGreen { 0%, 30% { background-color: #E7FBEF; } 100% { background-color: transparent; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(76px) rotate(140deg) scale(.5); } }
@keyframes clickRing { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes clickPress { 50% { transform: scale(.82); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes chat1 { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.96); } 8%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes chat2 { 0%, 16% { opacity: 0; transform: translateY(8px) scale(.96); } 21%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes chat3 { 0%, 36% { opacity: 0; transform: translateY(8px) scale(.96); } 41%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes chat4 { 0%, 50% { opacity: 0; transform: translateY(8px) scale(.96); } 55%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes dashFlow { to { background-position: 22px 0; } }
@keyframes dashFlowY { to { background-position: 0 22px; } }
@keyframes nodePulse { 0%, 22%, 100% { box-shadow: var(--shadow-sm); } 8% { box-shadow: 0 0 0 5px rgba(85, 70, 255, .16), var(--shadow-sm); } }
@keyframes netPulse { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -440; } }
@keyframes hqPulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes passIn { from { opacity: 0; transform: translateY(26px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes spinAngle { to { --ang: 360deg; } }
@keyframes blink { 50% { opacity: .25; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .nav, .header-link { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .floater--l { left: -36px; }
  .floater--r { right: -36px; }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stop__card { width: 200px; }
}
@media (max-width: 999px) {
  .journey__stops { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stop { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto; align-items: start; justify-items: stretch; gap: 16px; min-height: 0; }
  .journey .stop:nth-child(n) .stop__dot { grid-row: 1; grid-column: 1; translate: none; }
  .journey .stop:nth-child(n) .stop__card { grid-row: 1; grid-column: 2; align-self: start; width: auto; margin: 0; }
  .dest__panel { grid-template-columns: minmax(0, 1fr); }
  .pass-wrap { max-width: 520px; width: 100%; justify-self: center; }
  .cta__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .flap-board { transform: none; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .enterprise { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 24px; }
}
@media (min-width: 901px) {
  .plan--featured { transform: translateY(-14px); }
}
@media (max-width: 760px) {
  .floater { width: 180px; }
  .floater--r { display: none; }
  .floater--l { left: -6px; top: auto; bottom: 2%; }
  .floater--l .fl, .floater--l .mini-pass { transform: scale(.86); transform-origin: left bottom; }
  .tour__step span { justify-content: center; }
  .tour__step:not(.is-active) span { font-size: 0; }
  .tour__step:not(.is-active) b { font-size: 11px; }
  .tour__step { text-align: center; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: auto; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow__node { max-width: none; }
  .flow__link { flex: none; align-self: center; width: 2px; min-width: 0; height: 18px; background: repeating-linear-gradient(180deg, #B9B2FF 0 6px, transparent 6px 11px) 0 0 / 2px 22px; animation-name: dashFlowY; }
  .flow__link::after { right: -4px; top: auto; bottom: -5px; border: 5px solid transparent; border-top: 6px solid #B9B2FF; border-bottom: 0; }
  .flow__acts { padding-left: 0; }
  .flow__acts::before, .flow__acts .flow__node::before { display: none; }
  .net__node { padding: 6px 9px; font-size: 11px; }
  .pass { grid-template-columns: minmax(0, 1fr) 96px; -webkit-mask: radial-gradient(circle 11px at calc(100% - 96px) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 96px) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 11px at calc(100% - 96px) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 96px) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
  .pass__main { padding: 18px; }
  .pass__stub { padding: 18px 12px; }
  .pass__stamp { right: 60px; bottom: -18px; font-size: 12px; }
  .dest__tabs { flex-wrap: nowrap; justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dest__tabs::-webkit-scrollbar { display: none; }
  .dest__tabs button { flex: none; height: 42px; padding: 0 14px 0 8px; font-size: 13.5px; scroll-snap-align: start; }
  .dest__tabs button .flag { width: 24px; height: 24px; }
  .dest__panel { padding: 20px 16px; border-radius: 24px; }
  .dest__facts { gap: 6px; }
  .dest__facts div { padding: 10px; }
  .dest__facts dt { font-size: 9.5px; letter-spacing: .05em; }
  .dest__facts dd { font-size: 13px; }
  .dest__check li { font-size: 14px; }
  .pass__brand span { display: none; }
  .pass__route { gap: 8px; margin: 14px 0; }
  .pass__route b { font-size: 1.65rem; }
  .pass__route span { font-size: 11px; }
  .pass__path .i { width: 22px; height: 22px; padding: 4px; }
  .pass__grid { gap: 10px; }
  .pass__grid b { font-size: 12.5px; }
  .pass__stub b { font-size: 15px; }
  .pass__status b { font-size: 11.5px; }
  .pricing__controls { flex-direction: column; }
  .seats { width: 100%; max-width: 400px; justify-content: space-between; padding: 0 16px; }
  .seats input[type="range"] { flex: 1; width: auto; min-width: 0; }
  .seats output { min-width: 0; }
  .cta__form { flex-direction: column; border-radius: 24px; }
  .cta__form .btn { width: 100%; }
  .acc__inner p { padding-right: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { gap: 6px 14px; font-size: 13px; }
  .header-actions .btn { display: none; }
  .stat { padding: 22px 14px 0; }
  .stat dt { font-size: 13.5px; }
  .ticket__route { display: none; }
  .flap-board { --cell: clamp(8px, calc((100cqi - 36px - 50px) / 25.4), 16px); padding: 16px 18px 18px; }
  .flap-board__head, .flap-row { grid-template-columns: calc(var(--cell) * 9 + 16px) calc(var(--cell) * 6 + 10px) calc(var(--cell) * 9 + 16px); }
  .flap-board__head > :nth-child(3), .flap-row > :nth-child(3) { display: none; }
}

/* =========================================================
   Reduced motion: no scroll-jacking, static open laptop
   ========================================================= */
.reduced .hero { height: auto; }
.reduced .hero__sticky { position: relative; height: auto; min-height: 0; padding-bottom: 72px; }
.reduced .hero__copy { position: relative; padding-top: 120px; }
.reduced .scroll-cue { display: none; }
.reduced .tour { opacity: 1; }
.reduced .tour-anchor { top: 40%; }
.reduced .stage__shadow { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .tile--inbox .msg { opacity: 1; }
}

.reduced .app-cursor { display: none; }
.reduced .tour__step b { color: var(--muted); }
.reduced .tour__step.is-active b { color: var(--iris); }
.reduced .tour__step.is-active s { transform: scaleX(1); }
