/* ===============================
   Evrystay Investor Portal
   Light theme, purple-lavender palette,
   liquid glass, pill UI, aurora
   =============================== */

:root {
  /* Base surfaces (light) */
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #ffffff;

  /* Ink (dark navy like the evrystay product) */
  --ink: #1b1f3f;
  --ink-2: #3a3f66;
  --ink-3: #6b7299;
  --ink-4: #9aa0c1;

  /* Lines & outlines */
  --line:   rgba(27, 31, 63, 0.08);
  --line-2: rgba(27, 31, 63, 0.14);

  /* Brand accents lifted from the evrystay logo + product UI */
  --brand-0: #efe9ff; /* wash   */
  --brand-1: #a695ff; /* lavender */
  --brand-2: #7a67ff; /* primary violet */
  --brand-3: #5b4fe9; /* deep purple (CTAs) */
  --brand-4: #8cbdff; /* sky accent */
  --brand-ink: #171a3f; /* dark navy secondary */
  --brand-glow: rgba(122, 103, 255, 0.35);

  /* Glass (frosted white on light bg) */
  --glass-bg:    rgba(255, 255, 255, 0.62);
  --glass-bg-2:  rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shine:  rgba(255, 255, 255, 0.9);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(27, 31, 63, 0.05);
  --shadow-md: 0 16px 40px -20px rgba(91, 79, 233, 0.25), 0 1px 0 rgba(255,255,255,0.9) inset;
  --shadow-lg: 0 30px 80px -30px rgba(91, 79, 233, 0.35), 0 1px 0 rgba(255,255,255,0.9) inset;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swoop: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 220ms;
  --dur-2: 420ms;
  --dur-3: 720ms;

  /* Typography */
  --ff-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

/* =========
   Logo intro
   ========= */
.logo-intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #ffffff;
  pointer-events: none;
}
.logo-intro__img {
  width: clamp(180px, 26vw, 300px);
  height: auto;
  transform-origin: center center;
  will-change: transform, filter, opacity;
  animation: introFlash 1150ms var(--ease-swoop) both;
}
.logo-intro.is-flying .logo-intro__img {
  animation: none;
  transition:
    transform 900ms var(--ease-swoop),
    filter 600ms ease-out;
  filter: drop-shadow(0 0 0 rgba(122, 103, 255, 0));
}
.logo-intro.is-fade {
  opacity: 0;
  transition: opacity 360ms ease;
}
@keyframes introFlash {
  0%   { opacity: 0; transform: scale(0.86); filter: drop-shadow(0 0 0 rgba(122, 103, 255, 0)); }
  18%  { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 28px rgba(122, 103, 255, 0.75)); }
  34%  { opacity: 0.5; filter: drop-shadow(0 0 6px rgba(122, 103, 255, 0.15)); }
  54%  { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 36px rgba(122, 103, 255, 0.9)); }
  72%  { opacity: 0.78; filter: drop-shadow(0 0 10px rgba(122, 103, 255, 0.25)); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 18px rgba(122, 103, 255, 0.5)); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-intro { display: none; }
}

/* =========
   Background
   ========= */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #ffffff;
}
.bg-grid,
.bg-noise,
.bg-orb { display: none; }

/* =========
   Navigation
   ========= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.55));
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.nav__logo {
  height: 28px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.nav__meta { display: flex; align-items: center; gap: 10px; }

/* =========
   Shared
   ========= */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.pill--ghost { color: var(--ink-3); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: transform var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              color var(--dur-1) var(--ease-out);
  user-select: none;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 45%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform var(--dur-3) var(--ease-swoop);
  pointer-events: none;
  z-index: 2;
}
.btn:hover::after { transform: translateX(120%); }
.btn > * { position: relative; z-index: 3; }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #8a77ff 0%, #6a56f0 55%, #5143d9 100%);
  border-color: rgba(255,255,255,0.35);
  box-shadow:
    0 12px 30px -12px rgba(91, 79, 233, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -10px 20px rgba(23, 26, 63, 0.22);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 46px -14px rgba(91, 79, 233, 0.7),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -12px 24px rgba(23, 26, 63, 0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--ink);
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-shine);
}
.btn--ghost:hover {
  background: var(--glass-bg-2);
  border-color: var(--line-2);
  transform: translateY(-1px);
}
.btn--dark {
  color: #fff;
  background: linear-gradient(180deg, #24274c 0%, #171a3f 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px -14px rgba(23, 26, 63, 0.5), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--dark:hover {
  background: linear-gradient(180deg, #2b2f58 0%, #1d2048 100%);
  transform: translateY(-1px);
}
.btn--sm {
  padding: 9px 14px;
  font-size: 13.5px;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-3);
  outline-offset: 2px;
}

.btn--send .btn__spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  display: none;
  animation: spin 0.8s linear infinite;
}
.btn--send.is-loading .btn__label { opacity: 0.5; }
.btn--send.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glass containers */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-md);
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 32%);
  pointer-events: none;
}
.glass--xl { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* =========
   Hero
   ========= */
main { max-width: 1160px; margin: 0 auto; padding: 0 28px 96px; }

.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero__copy {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 700ms var(--ease-swoop) both;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity: 1 } 50%{ opacity: 0.4 } }

.hero__title-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.hero__title {
  font-family: var(--ff-sans);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: var(--brand-ink);
  text-wrap: balance;
  position: relative;
  z-index: 2;
}
.hero__title-accent {
  font-weight: 800;
}
.hero__title-accent .w {
  background: linear-gradient(120deg, var(--brand-2) 0%, var(--brand-3) 55%, var(--brand-4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Extend the painted box so background-clip:text doesn't crop descenders (g, y) */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* Per-word dance — slow, sophisticated, no vertical overshoot */
.hero__title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) rotate(-2.5deg) scale(0.95);
  transform-origin: 50% 90%;
  filter: blur(6px);
  will-change: transform, opacity, filter;
}
body.is-ready .hero__title .w {
  animation: wordDance 1600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 180ms + 120ms);
}
@keyframes wordDance {
  0%   { opacity: 0; transform: translateY(22px) rotate(-2.5deg) scale(0.95); filter: blur(6px); }
  45%  { opacity: 1; transform: translateY(6px) rotate(0.8deg) scale(1.005); filter: blur(0); }
  75%  { transform: translateY(1px) rotate(-0.25deg) scale(1); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
}

/* Sparkle + AI icon layer */
.hero__fx {
  position: absolute;
  inset: -56px -60px -40px -60px;
  pointer-events: none;
  z-index: 1;
}
.spark {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0%, rgba(166,149,255,0.95) 28%, rgba(140,189,255,0.55) 55%, transparent 75%);
  box-shadow: 0 0 14px rgba(122,103,255,0.55);
  opacity: 0;
}
body.is-ready .spark {
  animation: sparkTwinkle var(--dur, 2.8s) ease-in-out infinite;
  animation-delay: var(--delay, 0ms);
}
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.25); }
  50%      { opacity: 1; transform: scale(1); }
}
.spark--1 { top: 4%;   left: 6%;  --delay: 2600ms; --dur: 5.0s; width: 7px; height: 7px; }
.spark--2 { top: 14%;  right: 8%; --delay: 3100ms; --dur: 5.6s; width: 10px; height: 10px; }
.spark--3 { top: 48%;  left: -1%; --delay: 3600ms; --dur: 4.4s; width: 6px; height: 6px; }
.spark--4 { top: 42%;  right: 0;  --delay: 3300ms; --dur: 5.2s; width: 8px; height: 8px; }
.spark--5 { bottom: 6%; left: 22%; --delay: 4000ms; --dur: 6.0s; width: 9px; height: 9px; }
.spark--6 { bottom: 20%; right: 24%; --delay: 2900ms; --dur: 4.8s; width: 7px; height: 7px; }
.spark--7 { top: 26%;  left: 38%; --delay: 4300ms; --dur: 5.4s; width: 6px; height: 6px; }
.spark--8 { bottom: 36%; left: 64%; --delay: 3500ms; --dur: 6.4s; width: 8px; height: 8px; }

.ai {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-3);
  opacity: 0;
  filter: drop-shadow(0 4px 14px rgba(91, 79, 233, 0.28));
}
body.is-ready .ai {
  animation:
    aiEnter 1400ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
    aiFloat 9s ease-in-out infinite;
  animation-delay: var(--d, 2200ms), calc(var(--d, 2200ms) + 1400ms);
}
@keyframes aiEnter {
  0%   { opacity: 0; transform: scale(0.6) rotate(-10deg); filter: drop-shadow(0 0 0 rgba(91,79,233,0)); }
  60%  { opacity: 0.9; transform: scale(1.05) rotate(4deg); }
  100% { opacity: 0.92; transform: scale(1) rotate(0deg); filter: drop-shadow(0 4px 14px rgba(91, 79, 233, 0.28)); }
}
@keyframes aiFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  50%      { transform: translateY(-6px) rotate(3deg); opacity: 1; }
}
.ai--1 { top: -34px;  left: -4px;   --d: 2100ms; }
.ai--2 { top: -18px;  right: 6%;    --d: 2350ms; }
.ai--3 { top: 46%;    left: -34px;  --d: 2600ms; }
.ai--4 { top: 52%;    right: -26px; --d: 2450ms; }
.ai--5 { bottom: -18px; left: 24%;  --d: 2800ms; }
.ai--6 { bottom: 8px; right: 18%;   --d: 2250ms; }

@media (max-width: 640px) {
  .ai { transform: scale(0.7); }
  .ai--3, .ai--4 { display: none; }
  .hero__fx { inset: -34px -8px -28px -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .w { opacity: 1; transform: none; animation: none; }
  .spark, .ai { opacity: 1; animation: none; }
}
.hero__lede {
  max-width: 620px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  margin: 0 auto 32px;
  animation: fadeUp 900ms var(--ease-swoop) 160ms both;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  animation: fadeUp 900ms var(--ease-swoop) 240ms both;
}

/* Deadline countdown */
.deadline {
  margin-top: 32px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 18px;
  animation: fadeUp 900ms var(--ease-swoop) 320ms both;
}
.deadline__head {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.deadline__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
  animation: deadlinePulse 1.8s ease-out infinite;
}
@keyframes deadlinePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}
.deadline__label { color: var(--ink-3); }
.deadline__date {
  color: var(--brand-ink);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.deadline__clock {
  display: inline-flex; align-items: flex-end; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.deadline__cell {
  display: inline-flex; flex-direction: column; align-items: center;
  min-width: 44px;
  padding: 4px 8px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--glass-border);
}
.deadline__num {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}
.deadline__unit {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.deadline__sep {
  color: var(--ink-4);
  font-weight: 600;
  padding-bottom: 16px;
}
.deadline__closed {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
}
.deadline.is-closed .deadline__clock { display: none; }
.deadline.is-closed .deadline__closed { display: inline-block; }
@media (max-width: 520px) {
  .deadline { padding: 12px 14px; gap: 12px; border-radius: 18px; width: 100%; justify-content: center; }
  .deadline__cell { min-width: 40px; }
  .deadline__num { font-size: 18px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Brand plate: displays the evrystay logo centred on a gradient field */
.brand-plate {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(120% 120% at 85% 110%, rgba(140, 189, 255, 0.55), transparent 55%),
    linear-gradient(135deg, #cbbfff 0%, #b4a4ff 45%, #9eb6ff 100%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-lg);
  animation: fadeUp 1000ms var(--ease-swoop) 280ms both;
  transition: transform var(--dur-2) var(--ease-out);
}
.brand-plate:hover { transform: translateY(-3px) rotate(-0.25deg); }
.brand-plate__logo {
  width: 68%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(23, 26, 63, 0.18));
  animation: plateFloat 6s var(--ease-swoop) infinite;
  position: relative;
  z-index: 2;
}
@keyframes plateFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.brand-plate__shine {
  position: absolute; inset: -2px;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: plateShine 6s var(--ease-swoop) infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes plateShine {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* =========
   The ask
   ========= */
.ask { padding: 72px 0 16px; }
.ask__head { margin-bottom: 24px; }
.ask__title {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--brand-ink);
}
.ask__lede {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
}

.ask__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
  animation: fadeUp 900ms var(--ease-swoop) both;
}
.ask-tile {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.ask-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ask-tile__label {
  color: var(--brand-3);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.ask-tile__value {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-ink);
}
.ask-tile__currency {
  color: var(--brand-3);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 10px;
}
.ask-tile__alt {
  color: var(--ink-3);
  font-size: 13.5px;
  margin-top: 6px;
}
/* Featured tile: filled purple like the reference */
.ask-tile--feature {
  background: linear-gradient(160deg, #8877ff 0%, #6a56f0 55%, #5143d9 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  box-shadow:
    0 22px 50px -22px rgba(91, 79, 233, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.ask-tile--feature::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 36%);
  pointer-events: none;
}
.ask-tile--feature .ask-tile__label,
.ask-tile--feature .ask-tile__currency { color: rgba(255,255,255,0.85); }
.ask-tile--feature .ask-tile__value { color: #fff; }
.ask-tile--feature .ask-tile__alt { color: rgba(255,255,255,0.78); }

/* Packages table */
.packages {
  padding: 24px 28px 22px;
  border-radius: var(--r-lg);
  animation: fadeUp 900ms var(--ease-swoop) 120ms both;
}
.packages__eyebrow {
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.packages__table { display: grid; width: 100%; }
.packages__row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.1fr 1.1fr 1.4fr;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  transition: background var(--dur-1) var(--ease-out);
  border-radius: 10px;
}
.packages__row:hover:not(.packages__row--head) { background: rgba(166, 149, 255, 0.08); }
.packages__row:last-child { border-bottom: 0; }
.packages__row--head {
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
}
.packages__row--head:hover { background: transparent; }
.packages__equity {
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.packages__scenario {
  color: var(--ink-2);
}
.packages__structure {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.packages__structure strong { color: var(--brand-ink); font-weight: 600; }

/* Thesis */
.thesis { padding: 48px 0 32px; }
.thesis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card { padding: 28px; }
.card__num {
  display: block;
  font-family: var(--ff-sans);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-3);
  text-stroke: 1.5px var(--brand-3);
  font-variant-numeric: tabular-nums;
}
.card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--brand-ink);
}
.card p { color: var(--ink-2); margin: 0; font-size: 14.5px; line-height: 1.55; }

/* =========
   Enquiry shell
   ========= */
.enquiry { padding: 48px 0 16px; }
.enquiry__shell {
  position: relative;
  padding: 34px;
  overflow: hidden;
}
.enquiry__shell::after {
  content: "";
  position: absolute; inset: -40%;
  background:
    radial-gradient(460px 280px at 20% 0%, rgba(166, 149, 255, 0.30), transparent 60%),
    radial-gradient(540px 340px at 100% 100%, rgba(140, 189, 255, 0.28), transparent 60%);
  pointer-events: none;
  animation: causticShift 16s ease-in-out infinite;
  z-index: 0;
}
@keyframes causticShift {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-24px, 12px); }
}

.progress {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.progress__bar {
  flex: 1;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(27, 31, 63, 0.06);
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2) 50%, var(--brand-3));
  box-shadow: 0 0 14px var(--brand-glow);
  transition: width 600ms var(--ease-swoop);
}
.progress__meta {
  color: var(--ink-3); font-size: 13px;
  white-space: nowrap;
}
.progress__dot { opacity: 0.5; margin: 0 4px; }

/* Steps */
.form { position: relative; z-index: 2; }
.step {
  border: 0; padding: 0; margin: 0;
  display: none;
  animation: stepIn 560ms var(--ease-swoop) both;
}
.step.is-active { display: block; }
.step.is-leaving { animation: stepOut 360ms var(--ease-out) both; display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px) scale(0.992); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1);        filter: blur(0); }
}
@keyframes stepOut {
  from { opacity: 1; transform: translateY(0);     filter: blur(0); }
  to   { opacity: 0; transform: translateY(-8px);  filter: blur(4px); }
}

.step__eyebrow {
  display: inline-block;
  color: var(--brand-3);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.step__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--brand-ink);
}
.step__lede { color: var(--ink-2); max-width: 640px; margin: 0 0 28px; }

.step__actions {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.step__actions--center { justify-content: center; }

/* Fields */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.field-grid--split { grid-template-columns: repeat(2, 1fr); }
.field {
  display: block;
  position: relative;
}
.field__label {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  font-weight: 500;
}
.field__hint { color: var(--ink-4); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  font-family: inherit;
  color: var(--ink);
  font-size: 15px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(27,31,63,0.04);
  transition: border-color var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }
.field input:hover,
.field textarea:hover { border-color: rgba(122,103,255,0.35); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(122,103,255,0.6);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(122, 103, 255, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(232, 105, 125, 0.55);
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
  cursor: pointer;
  opacity: 0.6;
}

.field--reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 480ms var(--ease-swoop),
              opacity 300ms var(--ease-out),
              transform 480ms var(--ease-swoop),
              margin var(--dur-2) var(--ease-out);
  margin-top: 0;
}
.field--reveal.is-visible {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}

/* Choice cards */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.choice-grid--lines { grid-template-columns: 1fr; }
.choice {
  position: relative;
  display: block;
  padding: 16px 18px 16px 48px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,31,63,0.04);
}
.choice::before {
  content: "";
  position: absolute; left: 18px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  transition: all var(--dur-1) var(--ease-out);
}
.choice--check::before { border-radius: 6px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: rgba(122,103,255,0.4); background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.choice:has(input:checked) {
  border-color: var(--brand-2);
  background: linear-gradient(180deg, rgba(166, 149, 255, 0.16), rgba(140, 189, 255, 0.10));
  box-shadow:
    0 0 0 1px rgba(122,103,255,0.25) inset,
    0 12px 30px -14px rgba(91, 79, 233, 0.35);
}
.choice:has(input:checked)::before {
  background: radial-gradient(circle, #ffffff 0 30%, transparent 32%),
              linear-gradient(135deg, var(--brand-2), var(--brand-3));
  border-color: transparent;
}
.choice--check:has(input:checked)::before {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  border-color: transparent;
}
.choice--check:has(input:checked)::after {
  content: "";
  position: absolute; left: 22px; top: 50%;
  width: 10px; height: 6px; margin-top: -5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.choice__body { display: flex; flex-direction: column; gap: 2px; }
.choice__title { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.choice__sub { color: var(--ink-3); font-size: 13px; }
.choice--line .choice__body {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline; gap: 12px;
}
.choice--line .choice__title { font-size: 17px; font-weight: 600; }
.choice:focus-within { outline: 2px solid var(--brand-3); outline-offset: 2px; }

/* Scales */
.scale { margin-bottom: 22px; }
.scale__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 12px;
}
.scale__label { color: var(--ink-2); font-size: 14.5px; }
.scale__value {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 56px;
  text-align: right;
  padding-right: 2px;
  font-variant-numeric: tabular-nums;
  transition: transform var(--dur-1) var(--ease-out);
}
.scale__axis {
  display: flex; justify-content: space-between;
  color: var(--ink-4); font-size: 12px; margin-top: 10px;
  letter-spacing: 0.02em;
}
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 30px;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--r-pill);
  background:
    linear-gradient(90deg, var(--brand-1), var(--brand-2) 50%, var(--brand-3)) 0/var(--fill, 50%) 100% no-repeat,
    rgba(27, 31, 63, 0.08);
  border: 1px solid var(--line);
}
.range::-moz-range-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(27, 31, 63, 0.08);
  border: 1px solid var(--line);
}
.range::-moz-range-progress {
  height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2) 50%, var(--brand-3));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #e8e1ff 60%, var(--brand-2) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    0 4px 10px rgba(91, 79, 233, 0.25),
    0 0 0 4px rgba(122, 103, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95);
  margin-top: -10px;
  cursor: grab;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.range:active::-webkit-slider-thumb { transform: scale(1.08); cursor: grabbing; }
.range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #e8e1ff 60%, var(--brand-2) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(91, 79, 233, 0.25), 0 0 0 4px rgba(122, 103, 255, 0.18);
}

/* Review */
.review {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 6px 0 0;
  border-top: 1px solid var(--line);
}
.review__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review__term { color: var(--ink-3); font-size: 13px; letter-spacing: 0.02em; }
.review__desc { color: var(--ink); font-size: 15px; }
.review__desc--empty { color: var(--ink-4); font-style: italic; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px; align-items: start;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.consent input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  cursor: pointer; position: relative;
  transition: all var(--dur-1) var(--ease-out);
}
.consent input:checked {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  border-color: transparent;
}
.consent input:checked::after {
  content: "";
  position: absolute; left: 4px; top: 3px;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.consent__inline-btn {
  background: none; border: 0; padding: 0;
  color: var(--brand-3);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent__inline-btn:hover { color: var(--brand-2); }

/* Disclaimer nav button pulse when required */
.btn--disclaimer { position: relative; }
.btn--disclaimer.must-read::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(122,103,255,0.5);
  animation: mustRead 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mustRead {
  0%,100% { opacity: 0.0; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.06); }
}
.btn--disclaimer.is-read {
  color: var(--brand-3);
}
.btn--disclaimer.is-read .disc-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
}

/* Disclaimer modal */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(23, 26, 63, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 260ms var(--ease-out) both;
}
.modal__dialog {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: min(80vh, 760px);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 40px 120px -30px rgba(23, 26, 63, 0.45), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 32px;
  overflow: auto;
  animation: dialogIn 420ms var(--ease-swoop) both;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1);       filter: blur(0); }
}
.modal__eyebrow {
  color: var(--brand-3);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal__title {
  font-size: 26px; font-weight: 600; letter-spacing: -0.025em;
  color: var(--brand-ink);
  margin: 0 0 14px;
}
.modal__body { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.modal__body p { margin: 0 0 14px; }
.modal__actions {
  margin-top: 22px;
  display: flex; justify-content: flex-end; gap: 10px;
}
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: var(--r-pill);
  background: var(--glass-bg);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out);
}
.modal__close:hover { background: #fff; color: var(--ink); }

.disc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(122,103,255,0.6);
  display: inline-block;
}

/* Done state */
.done { text-align: center; padding: 28px 8px; }
.done__mark {
  display: grid; place-items: center;
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(122, 103, 255, 0.25), transparent 70%);
  animation: doneIn 700ms var(--ease-swoop) both;
}
.done .step__title { text-align: center; }
.done .step__lede { margin-left: auto; margin-right: auto; }
@keyframes doneIn {
  from { transform: scale(0.6); opacity: 0; filter: blur(6px); }
  to   { transform: scale(1);   opacity: 1; filter: blur(0); }
}

/* Footer */
.foot {
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  display: grid;
  gap: 6px;
}
.foot__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.foot__row--muted { color: var(--ink-4); font-size: 12px; }
.foot__sep { opacity: 0.5; }

/* =========
   Responsive
   ========= */
@media (max-width: 880px) {
  .thesis__grid { grid-template-columns: 1fr; }
  .ask__tiles { grid-template-columns: 1fr; }
  .packages { padding: 18px 16px 14px; overflow-x: auto; }
  .packages__row { grid-template-columns: 70px 1fr 1fr 1fr 1.2fr; gap: 8px; font-size: 13.5px; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .enquiry__shell { padding: 22px; }
  .review__row { grid-template-columns: 1fr; gap: 2px; }
  .review__term { font-size: 12.5px; }
  .modal__dialog { padding: 24px; max-height: 85vh; }
}

@media (max-width: 640px) {
  .packages__table { min-width: 520px; }
  .packages { position: relative; }
}

@media (max-width: 520px) {
  main { padding: 0 16px 64px; }
  .nav { padding: 14px 16px; }
  .hero { padding: 48px 0 32px; }
  .btn { padding: 12px 18px; font-size: 14.5px; }
  .step__actions { flex-direction: row; }
  .nav__meta .pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .bg-orb { animation: none; }
}
