/* Elevest Retirement Application — redesign ("Private Client File").
   Palette from elevestcapital.com only: night #0B0518 / #140536, violet #7B3FF2, lilac #A77CF7, paper #F6F3FD. */

@font-face {
  font-family: "Urbanist";
  src: url("./urbanist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0b0518;
  --night-2: #140536;
  --night-3: #22085a;
  --violet: #7b3ff2;
  --violet-deep: #5b2bd9;
  --lilac: #a77cf7;
  --lilac-soft: #c9b8ff;
  --paper: #f6f3fd;
  --paper-2: #ede7f8;
  --ink: #16121f;
  --ink-soft: #4f4860;
  --ink-mute: #7a7290;
  --line: #e4dcf5;
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-night: #e4dcf5;
  --on-night-mute: #b3a6da;
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
sup { font-size: 0.6em; line-height: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.logo { height: 56px; width: auto; }
.logo--light { filter: brightness(0) invert(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn--violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px rgba(123, 63, 242, 0.35); }
.btn--violet:hover { background: var(--violet-deep); }
.btn--white { background: #fff; color: var(--night-2); }
.btn--line { background: transparent; color: var(--ink-soft); padding: 0 14px; }
.btn--line:hover { color: var(--ink); }
.btn--line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn svg { flex: none; }

/* ---------- Night canvas ---------- */
.night {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(75, 28, 190, 0.42), transparent 70%),
    radial-gradient(40% 40% at 100% 30%, rgba(91, 43, 217, 0.25), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 70%);
  overflow: hidden;
  isolation: isolate;
}
.night::before {
  /* fine architectural grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
}

.night--flow {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(75, 28, 190, 0.42), transparent 70%),
    radial-gradient(60% 25% at 50% 92%, rgba(123, 63, 242, 0.3), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 40%, #170842 80%, #130536 100%);
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.topbar__right { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--on-night-mute); }
.topbar__right a { text-decoration: none; color: var(--on-night); }
.topbar__right a:hover { color: #fff; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }

/* ---------- Stepper (shared across pages) ---------- */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 8px auto 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--on-night-mute);
}
.stepper li { display: flex; align-items: center; gap: 10px; }
.stepper li + li::before {
  content: "";
  width: clamp(24px, 6vw, 72px);
  height: 1px;
  margin: 0 14px;
  background: rgba(255, 255, 255, 0.22);
}
.stepper__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
}
.stepper .is-done .stepper__n { background: var(--lilac); border-color: var(--lilac); color: var(--night); }
.stepper .is-now { color: #fff; font-weight: 600; }
.stepper .is-now .stepper__n { background: #fff; border-color: #fff; color: var(--night-2); }

/* ---------- Hero (index) ---------- */
.hero { padding: 6px 0 118px; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(167, 124, 247, 0.45);
  background: linear-gradient(180deg, rgba(123, 63, 242, 0.3), rgba(123, 63, 242, 0.12));
  box-shadow: 0 0 24px rgba(123, 63, 242, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.badge svg { color: var(--lilac); flex: none; }
.show-mobile { display: none !important; }
.headline {
  margin: 18px auto 0;
  font-size: clamp(2.3rem, 4.5vw, 3.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.headline__line { display: inline; }
@media (min-width: 760px) { .headline__line { display: block; white-space: nowrap; } }
.headline em {
  font-style: normal;
  color: var(--lilac);
  background: linear-gradient(90deg, var(--violet), var(--lilac)) no-repeat 0 92% / 100% 0.09em;
}
.hero__sub {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  color: var(--on-night);
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 22px;
}
/* Stars and rating on the left; the avatar stack fills the open space to their right,
   ending in line with "Trusted by 1,200+ accredited investors" underneath. */
.hero__proof {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "stars avatars" "rating avatars" "trust trust";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-night-mute);
}
.hero__proof .stars { grid-area: stars; }
.hero__proof-rating { grid-area: rating; }
.hero__proof .avatars { grid-area: avatars; justify-self: end; }
.hero__proof-trust { grid-area: trust; }
.avatars { display: flex; align-items: center; }
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -10px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--night);
  background: linear-gradient(135deg, var(--lilac), var(--violet));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(11, 5, 24, 0.5);
}
.avatar:first-child { margin-left: 0; }
.avatar--2 { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); }
.avatar--3 { background: linear-gradient(135deg, #9c8ad6, #5b2bd9); }
.avatar--more { background: #fff; color: var(--night-2); font-size: 10px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero__proof strong { color: #fff; font-weight: 600; }
.stars { color: #fff; letter-spacing: 2px; font-size: 13px; }

/* Seal: rotating-text stamp around a shield */
.stamp {
  position: relative;
  width: 76px;
  height: 76px;
  flex: none;
}
.stamp__ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.stamp__ring text { fill: var(--on-night); font-size: 10.6px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.stamp__core {
  position: absolute;
  inset: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lilac), var(--violet) 55%, var(--violet-deep));
  box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.18), 0 8px 24px rgba(123, 63, 242, 0.5);
  color: #fff;
}
.stamp-row { display: flex; align-items: center; gap: 12px; text-align: left; }
.stamp__core svg { width: 20px; height: 20px; }
.stamp-row__text { display: grid; gap: 2px; }
.stamp-row__k { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lilac); }
.stamp-row__main { font-size: 16px; font-weight: 700; line-height: 1.2; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Application console ---------- */
.console-wrap { position: relative; z-index: 2; margin-top: -92px; scroll-margin-top: 24px; }
.console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
  margin-inline: auto;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(11, 5, 24, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.file {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 34px 28px;
  background: var(--night-2);
  color: var(--on-night);
}
.file__head { display: grid; gap: 6px; }
.file__head .eyebrow { color: var(--lilac); }
.file__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: #fff; }
.file__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
.file__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--on-night-mute);
  transition: background 0.2s, color 0.2s;
}
.file__item small { display: block; margin-top: 2px; font-size: 12px; color: var(--lilac-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
}
.file__item.is-done { color: var(--on-night); }
.file__item.is-done .file__n { background: var(--lilac); border-color: var(--lilac); color: var(--night); }
.file__item.is-now { background: rgba(255, 255, 255, 0.08); color: #fff; }
.file__item.is-now .file__n { border-color: #fff; background: #fff; color: var(--night-2); }
.file__foot { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--on-night-mute); }

.stage { display: flex; flex-direction: column; padding: 30px clamp(22px, 4.5vw, 60px) 26px; min-width: 0; }
.stage__secure { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-mute); }
.stage__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stage__count { font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.stage__count b { color: var(--violet); }
.segments { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin-top: 14px; }
.segments i { height: 4px; border-radius: 4px; background: var(--line); transition: background 0.3s; }
.segments i.on { background: var(--violet); }

.steps { position: relative; flex: 1; margin-top: 26px; }
.step { display: none; }
.step.is-active { display: block; animation: rise 0.45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.step__q { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
.step__hint { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.choices--one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s var(--ease), background 0.18s;
}
.choice:hover { border-color: var(--lilac); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91, 43, 217, 0.1); }
.choice:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.choice__key {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  background: var(--paper);
}
.choice__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); color: var(--violet); }
.choice__text { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.choice__text small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-mute); }
.choice.is-selected { border-color: var(--violet); background: #fbf9ff; box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.14); }
.choice.is-selected .choice__key { background: var(--violet); border-color: var(--violet); color: #fff; }

.textq { margin-top: 26px; max-width: 680px; }
.textq textarea {
  width: 100%;
  min-height: 150px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.textq textarea:focus, .field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.15); }
.textq__meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-mute); }

.fit { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.fit__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; flex: none; }
.fit strong { display: block; font-size: 16px; }
.fit div span { display: block; font-size: 14px; color: var(--ink-soft); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field__err { min-height: 0; font-size: 13px; color: #c0264b; }
.has-error input, .has-error textarea { border-color: #c0264b !important; }

.optin { display: grid; gap: 10px; margin-top: 18px; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }
.optin p { margin: 0; }
.optin a { color: var(--violet-deep); }
.optin__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); cursor: pointer; }
.optin__check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); flex: none; }
.optin__hint { margin: -2px 0 0 28px !important; font-size: 13px; font-weight: 600; color: var(--violet-deep); }

.stage__error { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecef; color: #9b1c3a; font-size: 14px; font-weight: 500; }
.stage__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.stage__nav [data-next] { min-width: 160px; }
.stage__nav [data-next]:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.stage__hint { font-size: 13px; color: var(--ink-mute); }
.stage__hint kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 12px; font-weight: 600; }
.stage__right { display: flex; align-items: center; gap: 16px; }

/* ---------- Lower page canvas: one continuous themed background ---------- */
.lower {
  position: relative;
  color: #fff;
  /* Mirrors the hero: deep night body, one soft violet glow rising into the closing CTA and footer. */
  background:
    radial-gradient(62% 20% at 50% 104%, rgba(123, 63, 242, 0.3), transparent 75%),
    radial-gradient(38% 10% at 50% 86%, rgba(167, 124, 247, 0.1), transparent 70%),
    radial-gradient(30% 9% at 8% 38%, rgba(123, 63, 242, 0.08), transparent 70%),
    radial-gradient(30% 9% at 94% 58%, rgba(91, 43, 217, 0.08), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night) 62%, #0e0626 84%, #130536 100%);
  isolation: isolate;
}
.lower::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 22% at 50% 92%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 22% at 50% 92%, #000 0%, transparent 80%);
}
.lower .eyebrow { color: var(--lilac); }
.lower__reviews { padding-bottom: 40px; }
.lower .quote { background: linear-gradient(180deg, rgba(123, 63, 242, 0.1), rgba(255, 255, 255, 0.02)); }

/* ---------- Ledger stats ---------- */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 64px 0 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.ledger div { padding: 28px 22px; text-align: center; }
.ledger div + div { border-left: 1px solid var(--line-dark); }
.ledger b { display: block; font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.ledger span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 0.04em; color: var(--on-night-mute); }

/* ---------- Reviews ---------- */
.section { padding: 96px 0; }
.section--night { background: var(--night); color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section__title { margin: 10px 0 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.section--night .eyebrow { color: var(--lilac); }
.google { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); font-size: 14px; color: var(--on-night); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(123, 63, 242, 0.14), rgba(123, 63, 242, 0.03));
  border: 1px solid var(--line-dark);
}
.quote__mark { font-size: 54px; font-weight: 800; line-height: 0.6; color: var(--lilac); height: 22px; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--on-night); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.quote figcaption small { display: block; font-weight: 400; color: var(--on-night-mute); }
.initials { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); font-size: 13px; font-weight: 700; }

/* ---------- Closing ---------- */
.closing { padding: 80px 0 120px; text-align: center; }
.closing h2 { margin: 16px auto 0; max-width: 980px; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.closing h2 em { font-style: normal; color: var(--lilac); }
.closing p { max-width: 560px; margin: 18px auto 32px; color: var(--on-night); }
.closing .eyebrow { color: var(--lilac); }

/* ---------- Page head (book / confirmation / not-ready) ---------- */
.page-head { padding: 28px 0 56px; text-align: center; }
.page-head .eyebrow { margin-top: 34px; color: var(--lilac); }
.page-head h1 { margin: 14px auto 0; max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.page-head h1 em { font-style: normal; color: var(--lilac); }
.page-head p.lead { max-width: 640px; margin: 18px auto 0; font-size: 17px; color: var(--on-night); }
.page-head p.lead--wide { max-width: 860px; }
.page-head h1, .page-head p.lead { text-wrap: balance; }
.urgency { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--on-night); }

/* ---------- Booking ---------- */
.book { width: min(1040px, 100%); margin: 0 auto; padding-bottom: 96px; }
.ticket {
  position: relative;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.ticket__top { padding: 26px 26px 22px; background: var(--night-3); color: #fff; }
.ticket__top .eyebrow { color: var(--lilac-soft); }
.ticket__name { margin: 8px 0 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.ticket__perf { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 20px; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); }
.ticket__perf::before { left: -33px; }
.ticket__perf::after { right: -33px; }
.ticket__body { padding: 22px 26px 26px; display: grid; gap: 14px; }
.ticket dl { margin: 0; display: grid; gap: 12px; }
.ticket dl div { display: grid; gap: 2px; }
.ticket dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.ticket dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ticket h3 { margin: 6px 0 0; font-size: 15px; }
.ticket ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.ticket li { display: flex; gap: 10px; align-items: flex-start; }
.ticket li svg { flex: none; margin-top: 3px; color: var(--violet); }

/* No container of our own: Calendly's card sits straight on the page. The frame is widened past the
   column to absorb Calendly's built-in page margin, so the card lines up with the content width. */
.calendar { position: relative; margin: -48px -66px 0; }
.calendar iframe { display: block; width: 100%; height: 700px; border: 0; background: transparent; color-scheme: normal; }
.calendar__loading { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 420px; margin: 48px 66px 0; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); font-size: 16px; font-weight: 600; color: var(--on-night); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }
.urgency b { color: #fff; font-weight: 700; }
.calendar__fallback { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--on-night-mute); }
.calendar__fallback a { color: #fff; }

/* Calendly caps its card width, so on large screens scale the whole frame up instead. */
@media (min-width: 1280px) {
  .calendar { height: 760px; }
  .calendar iframe { transform: scale(1.12); transform-origin: 50% 0; }
}

/* ---------- Confirmation ---------- */
.theatre { padding-bottom: 24px; }
.player {
  position: relative;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(167, 124, 247, 0.5), rgba(123, 63, 242, 0.1));
  box-shadow: 0 50px 140px rgba(123, 63, 242, 0.35);
}
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__note { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--on-night-mute); }
.meta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px auto 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-night); }
.chip b { color: #fff; font-weight: 600; }

.paper { background: var(--paper); color: var(--ink); }
.prep { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.prep .eyebrow { color: var(--violet); }
.prep h2 { margin: 12px 0 0; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.prep__lead { margin: 14px 0 0; color: var(--ink-soft); }
.meter { margin-top: 28px; }
.meter__bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--lilac)); transition: width 0.4s var(--ease); }
.meter__label { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: c; }
.checklist li { position: relative; }
.checklist label {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist__box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.checklist input:checked + .checklist__box { background: var(--violet); border-color: var(--violet); color: #fff; }
.checklist input:focus-visible + .checklist__box { outline: 2px solid var(--violet); outline-offset: 2px; }
.checklist strong { display: block; font-size: 16.5px; }
.checklist span.d { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-soft); }
.checklist input:checked ~ div strong { text-decoration: line-through; text-decoration-color: var(--lilac); color: var(--ink-mute); }

.after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.after div { padding: 30px 28px; }
.after div + div { border-left: 1px solid var(--line-dark); }
.after b { display: block; font-size: 13px; letter-spacing: 0.2em; color: var(--lilac); }
.after h3 { margin: 12px 0 8px; font-size: 19px; }
.after p { margin: 0; font-size: 14.5px; color: var(--on-night-mute); }
.resched { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--on-night-mute); }
.resched a { color: #fff; }

/* ---------- Confirmation lower page: one dark canvas, glass panels ---------- */
.lower--confirm { margin-top: -1px; }
.confirm-prep { padding: 56px 0 40px; }
.confirm-prep .prep { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.confirm-prep .eyebrow { color: var(--lilac); }
.confirm-prep h2 { color: #fff; }
.confirm-prep .prep__lead { color: var(--on-night); max-width: 420px; }
.confirm-prep .meter__bar { background: rgba(255, 255, 255, 0.1); }
.confirm-prep .meter__label { color: var(--on-night-mute); }
.checklist-panel {
  position: relative;
  padding: 10px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(123, 63, 242, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(167, 124, 247, 0.22);
  box-shadow: 0 30px 80px rgba(11, 5, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.confirm-prep .checklist label { border-bottom-color: rgba(255, 255, 255, 0.08); align-items: center; }
.confirm-prep .checklist li:last-child label { border-bottom: 0; }
.confirm-prep .checklist__box { width: 40px; height: 40px; border-radius: 50%; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); }
.confirm-prep .checklist label:hover .checklist__box { border-color: var(--lilac); }
.confirm-prep .checklist input:checked + .checklist__box { background: linear-gradient(135deg, var(--lilac), var(--violet)); border-color: transparent; box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.2); }
.confirm-prep .checklist strong { color: #fff; font-weight: 600; }
.confirm-prep .checklist span.d { color: var(--on-night-mute); }
.confirm-prep .checklist input:checked ~ div strong { color: var(--on-night-mute); text-decoration-color: var(--lilac); }

.confirm-next { padding: 56px 0 112px; }
.confirm-next__head { text-align: center; }
.confirm-next .section__title { margin-top: 10px; }
.confirm-next .after {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
/* Connector line through the step markers */
.confirm-next .after::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 124, 247, 0.5), transparent);
}
.confirm-next .after li {
  position: relative;
  padding: 26px 26px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(123, 63, 242, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
}
.confirm-next .after li:hover { transform: translateY(-4px); border-color: rgba(167, 124, 247, 0.4); box-shadow: 0 24px 60px rgba(123, 63, 242, 0.18); }
.confirm-next .after b { position: absolute; top: 26px; right: 26px; font-size: 12px; letter-spacing: 0.2em; color: var(--lilac); }
.after__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lilac), var(--violet));
  color: #fff;
  box-shadow: 0 0 0 6px rgba(11, 5, 24, 0.9), 0 10px 26px rgba(123, 63, 242, 0.45);
}
.confirm-next .after h3 { margin: 18px 0 8px; font-size: 18px; color: #fff; }
.confirm-next .after p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--on-night-mute); }
.confirm-next .resched { margin-top: 36px; }

@media (max-width: 1023px) {
  .confirm-prep .prep { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 767px) {
  .confirm-prep { padding: 48px 0 24px; }
  .checklist-panel { padding: 4px 18px; border-radius: 20px; }
  .confirm-prep .checklist label { gap: 14px; padding: 15px 0; grid-template-columns: 36px minmax(0, 1fr); }
  .confirm-prep .checklist__box { width: 36px; height: 36px; }
  .confirm-next { padding: 40px 0 80px; }
  .confirm-next .after { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .confirm-next .after::before { display: none; }
  .meta-row { gap: 8px; }
  .meta-row .chip { font-size: 12.5px; padding: 8px 12px; }
}

/* ---------- Footer (Elevest funnels standard) ---------- */
.journey-footer { background: radial-gradient(62% 140px at 50% 0, rgba(123, 63, 242, 0.22), transparent 100%), #130536; color: #d0c2e0; }
.journey-footer-inner { width: min(1280px, calc(100% - 160px)); margin-inline: auto; padding-block: 70px 44px; }
.journey-footer-top { display: grid; align-items: start; justify-content: space-between; gap: 40px; grid-template-columns: 1.1fr 1fr 1fr; }
.journey-footer-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.journey-footer-brand img { width: 150px; height: auto; display: block; filter: brightness(0) invert(1); }
.journey-footer-brand-block { display: grid; justify-items: center; align-content: start; gap: 18px; width: fit-content; }
.journey-footer-social { display: flex; align-items: center; justify-content: center; gap: 20px; }
.journey-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: #fff; }
.journey-footer-social svg { width: 20px; height: 20px; }
.journey-footer-contact, .journey-footer-office { min-width: 0; display: grid; justify-items: start; align-content: start; font-size: 14px; font-style: normal; line-height: 1.8; }
.journey-footer-contact h2, .journey-footer-office h2 { margin: 0 0 12px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; }
.journey-footer-contact a { max-width: 100%; overflow-wrap: anywhere; color: inherit; text-decoration: none; padding-block: 1px; }
.journey-footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.journey-footer-contact a:last-child { text-decoration: underline; text-underline-offset: 3px; }
.journey-footer-disclosure { margin: 48px 0 14px; font-size: 13px; line-height: 1.7; color: #c3b3d6; }
.journey-footer-disclosure a { color: inherit; text-underline-offset: 3px; }
.journey-footer-note { margin: 0 0 6px; font-size: 12px; line-height: 1.6; color: #b7a5cc; }
.journey-footer-legal { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 48px; border-top: 1px solid #3a2455; padding-top: 18px; }
.journey-footer-legal a { display: inline-flex; align-items: center; min-height: 34px; font-size: 13px; line-height: 1.5; text-decoration: none; color: #e4d8f4; }
.journey-footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.journey-footer-copyright { padding-top: 18px; margin: 0; font-size: 12px; line-height: 1.6; color: #b7a5cc; text-align: center; }

/* ---------- Motion & polish ---------- */
@keyframes intro {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes underline { from { background-size: 0% 0.09em; } to { background-size: 100% 0.09em; } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(2%, 3%, 0) scale(1.08); opacity: 1; }
}
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(0.97); } 100% { transform: scale(1); } }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(123, 63, 242, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(123, 63, 242, 0); }
}
@keyframes riseBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes riseFwd { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes checkIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Load-in sequence (hero + page heads) */
.js .intro { opacity: 0; animation: intro 0.9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
.js .headline em { background-size: 0% 0.09em; animation: underline 0.9s var(--ease) 0.95s forwards; }

/* Ambient hero glow that slowly breathes */
.night::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -18%;
  width: 70%;
  height: 70%;
  margin-left: -35%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 18, 160, 0.38), transparent);
  filter: blur(30px);
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* Buttons: light sweep on hover */
.btn--violet, .btn--white { position: relative; overflow: hidden; isolation: isolate; }
.btn--violet::after, .btn--white::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}
.btn--white::after { background: linear-gradient(90deg, transparent, rgba(123, 63, 242, 0.18), transparent); }
.btn--violet:not(:disabled):hover::after, .btn--white:hover::after { animation: shine 0.8s var(--ease); }
.btn--violet:not(:disabled):active, .btn--white:active { transform: translateY(0) scale(0.98); }

/* Survey: cursor spotlight, direction-aware steps, tactile choices */
.console { position: relative; transition: box-shadow 0.4s var(--ease); }
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(123, 63, 242, 0.09), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.console:hover::before { opacity: 1; }
.stage { position: relative; }
.steps[data-dir="fwd"] .step.is-active { animation: riseFwd 0.5s var(--ease); }
.steps[data-dir="back"] .step.is-active { animation: riseBack 0.5s var(--ease); }
@keyframes choiceIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.step.is-active .choice { animation: choiceIn 0.55s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms + 60ms); }
.step.is-active .choice.is-selected { animation: pop 0.35s var(--ease), ring 0.7s var(--ease); }
.choice__icon { transition: transform 0.25s var(--ease), background 0.2s, color 0.2s; }
.choice:hover .choice__icon { transform: scale(1.06) rotate(-3deg); }
.choice.is-selected .choice__icon { background: var(--violet); color: #fff; }
.segments i { position: relative; overflow: hidden; background: var(--line); }
.segments i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lilac)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.segments i.on { background: var(--line); }
.segments i.on::after { transform: scaleX(1); }
.fit__icon svg { animation: checkIn 0.5s var(--ease) 0.15s both; }

/* Seal + cards */
.stamp__core { transition: transform 0.4s var(--ease); }
.stamp-row:hover .stamp__core { transform: scale(1.08); }
.quote { transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease); }
.quote:hover { transform: translateY(-4px); border-color: rgba(167, 124, 247, 0.4); box-shadow: 0 24px 60px rgba(123, 63, 242, 0.18); }
.ledger b { font-variant-numeric: tabular-nums; }
.stepper .is-now .stepper__n { animation: ring 1.8s ease-out infinite; }
.calendar, .player { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.player:hover { transform: translateY(-3px); box-shadow: 0 60px 160px rgba(123, 63, 242, 0.45); }
.checklist input:checked + .checklist__box { animation: pop 0.35s var(--ease); }
.after div { transition: background 0.3s; }
.after div:hover { background: rgba(123, 63, 242, 0.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .file { display: none; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .prep { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .journey-footer-inner { width: min(900px, calc(100% - 48px)); }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 32px); }
  .logo { height: 44px; }
  .topbar__right .hide-sm { display: none; }
  .hero { padding: 4px 0 92px; }
  .page-head p.lead { font-size: clamp(14px, 3.85vw, 15px); line-height: 1.55; }
  .urgency { display: block; max-width: 320px; margin-left: auto; margin-right: auto; font-size: 13px; line-height: 1.5; text-wrap: balance; }
  .urgency .dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
  .badge { gap: 6px; padding: 7px 11px; font-size: clamp(8px, 2.45vw, 10px); letter-spacing: 0.06em; white-space: nowrap; }
  .badge svg { width: 12px; height: 12px; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: flex !important; margin-top: 28px; }
  .hero { padding-bottom: 88px; }
  .choices--one { grid-template-columns: minmax(0, 1fr); }
  .stage__secure { display: none; }
  .headline { font-size: clamp(1.45rem, 7.9vw, 2.4rem); letter-spacing: -0.035em; }
  .hero__sub { font-size: clamp(0.8rem, 3.6vw, 1rem); line-height: 1.5; letter-spacing: -0.01em; max-width: none; }
  .hero__actions { gap: 22px; margin-top: 30px; }
  .console-wrap { margin-top: -72px; }
  .console { border-radius: 22px; min-height: 0; }
  .stage { padding: 24px 18px 20px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice { padding: 12px 14px; gap: 12px; }
  .choice__key { display: none; }
  .stage__hint { display: none; }
  .calendar__fallback, .resched { white-space: nowrap; font-size: 13px; }
  .hero__proof { justify-content: center; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .ledger div:nth-child(3) { border-left: 0; }
  .ledger div:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .section { padding: 64px 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .closing { padding: 72px 0; }
  .stepper { font-size: 0; }
  .stepper li + li::before { width: 28px; margin: 0 8px; }
  .stepper .is-now { font-size: 13px; }
  /* Calendly's phone layout is a plain white page, so give it our own rounded edge here. */
  .calendar { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; }
  .calendar iframe { height: 900px; }
  .calendar__loading { margin: 0; background: transparent; color: var(--ink-soft); }
  .after { grid-template-columns: minmax(0, 1fr); }
  .after div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .journey-footer-inner { width: min(560px, calc(100% - 40px)); padding-block: 42px 28px; }
  .journey-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 20px; }
  .journey-footer-brand-block { grid-column: 1 / -1; }
  .journey-footer-contact, .journey-footer-office { font-size: 12px; line-height: 1.6; }
  .journey-footer-brand img { width: 136px; }
  .journey-footer-legal { justify-content: flex-start; gap: 7px 18px; margin-top: 32px; }
  .journey-footer-legal a { font-size: 11px; }
  .journey-footer-disclosure { margin: 32px 0 12px; font-size: 11px; }
  .journey-footer-note { font-size: 11px; }
}

@media (max-width: 380px) {
  .journey-footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .intro, .js [data-reveal], .step.is-active .choice { opacity: 1 !important; transform: none !important; translate: none !important; filter: none !important; }
  .js .headline em { background-size: 100% 0.09em; }
}
