/* ============================================================
   STR Projections Lite — Page Styles
   Standalone web page, no Elementor.
   Wrapper class: .spl
   Depends on:
     - /shared/css/tokens.web.css  (design tokens)
     - /shared/css/wizard.css      (.at-wiz-* shared wizard chrome)
   ============================================================ */


/* ── Reset / Base ───────────────────────────────────────── */

.spl,
.spl *,
.spl *::before,
.spl *::after {
  box-sizing: border-box;
}
.spl {
  font-family: var(--at-font-body, 'Inter', system-ui, -apple-system, sans-serif);
  color: var(--at-text-body-dark, rgba(220,228,238,0.82));
  line-height: 1.5;
  min-height: 100vh;
  /* Dark navy steel cinematic background */
  background:
    radial-gradient(ellipse 42% 50% at 5% 70%,
      rgba(69,196,176,0.08) 0%, rgba(69,196,176,0.02) 50%, transparent 78%),
    radial-gradient(ellipse 38% 45% at 85% 20%,
      rgba(69,196,176,0.06) 0%, rgba(69,196,176,0.015) 50%, transparent 78%),
    radial-gradient(ellipse 30% 35% at 50% 90%,
      rgba(69,196,176,0.04) 0%, transparent 76%),
    linear-gradient(135deg,
      #0a1222 0%, #0f1a30 22%, #142240 46%, #0f1a30 74%, #0a1222 100%);
  background-attachment: fixed;
}
.spl h1, .spl h2, .spl h3, .spl h4, .spl p, .spl ul, .spl ol, .spl dl {
  margin: 0;
}
.spl a { color: var(--at-cta-teal, #45C4B0); }
.spl button { font: inherit; }


/* Subtle noise overlay for cinematic feel */
.spl::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image:
    repeating-radial-gradient(circle at 22% 34%, #fff 0px, transparent 1px),
    repeating-radial-gradient(circle at 68% 58%, #fff 0px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}
.spl > * { position: relative; z-index: 1; }


/* ── Header / Brand bar ─────────────────────────────────── */

.spl__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 36px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spl__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f2efe8;
  text-decoration: none;
}
.spl__brand-tag {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  padding: 3px 8px;
  border: 1px solid rgba(69,196,176,0.40);
  border-radius: 4px;
}
.spl__product-meta {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(220,228,238,0.55);
}
@media (max-width: 480px) {
  .spl__product-meta { display: none; }
}

.spl__topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.spl__admin-toggle {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  background: rgba(69,196,176,0.08);
  border: 1px solid rgba(69,196,176,0.40);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.spl__admin-toggle:hover {
  background: rgba(69,196,176,0.14);
  border-color: rgba(69,196,176,0.60);
}
.spl__admin-toggle[aria-expanded="true"] {
  background: var(--at-cta-teal, #45C4B0);
  color: var(--at-cta-dark-text, #06201D);
  border-color: var(--at-cta-teal, #45C4B0);
}
/* Admin toggle starts with `hidden` attribute. lite.js removes it when
   an admin unlocks, so the button only ever appears for admins. */
.spl__admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}


/* ── Watermark / Buyer ownership marker ─────────────────── */

.spl__watermark {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px clamp(20px, 5vw, 36px);
  background: rgba(69,196,176,0.05);
  border-bottom: 1px solid rgba(69,196,176,0.12);
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11.5px;
  color: rgba(220,228,238,0.70);
}
.spl__watermark-label {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  font-size: 10.5px;
}
.spl__watermark-divider {
  color: rgba(220,228,238,0.30);
}
.spl__watermark[hidden] { display: none; }

/* Watermark label has two variants — buyer (default) and admin. */
.spl__watermark-label-admin { display: none; }
.spl[data-admin="true"] .spl__watermark {
  background: rgba(255,184,77,0.07);     /* warm amber tint for admin */
  border-bottom-color: rgba(255,184,77,0.22);
}
.spl[data-admin="true"] .spl__watermark-label {
  color: #ffb84d;
}
.spl[data-admin="true"] .spl__watermark-label-buyer { display: none; }
.spl[data-admin="true"] .spl__watermark-label-admin { display: inline; }

@media (max-width: 480px) {
  .spl__watermark { font-size: 10.5px; padding: 8px 20px; }
}


/* ── Admin panel (drawer below the topbar) ──────────────── */

.spl__admin-panel {
  margin: 14px clamp(20px, 5vw, 36px);
  padding: 18px 20px 16px;
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,184,77,0.22);
  border-radius: 14px;
  color: rgba(220,228,238,0.82);
}
.spl__admin-panel[hidden] { display: none; }

.spl__admin-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.spl__admin-panel-title {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #f2efe8;
  margin: 0;
}
.spl__admin-panel-count {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,184,77,0.85);
}
.spl__admin-panel-note {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 12.5px;
  color: rgba(220,228,238,0.60);
  margin: 0 0 12px;
  line-height: 1.45;
}
.spl__admin-panel-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 3px;
  color: rgba(220,228,238,0.85);
}

.spl__admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}
.spl__admin-empty {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(220,228,238,0.50);
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  text-align: center;
}

.spl__admin-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-family: var(--at-font-body, 'Inter', sans-serif);
}
.spl__admin-row.is-revoked {
  opacity: 0.55;
  border-color: rgba(229,107,82,0.40);
}
.spl__admin-row-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.spl__admin-slug {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--at-cta-teal, #45C4B0);
}
.spl__admin-name {
  font-size: 13px;
  font-weight: 620;
  color: #f2efe8;
}
.spl__admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 11.5px;
  color: rgba(220,228,238,0.60);
}
.spl__admin-email { color: rgba(220,228,238,0.78); }
.spl__admin-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0ad9d;
  background: rgba(229,107,82,0.14);
  padding: 2px 6px;
  border-radius: 3px;
}

@media (max-width: 480px) {
  .spl__admin-panel { padding: 14px; margin: 12px 16px; }
  .spl__admin-row-main { flex-direction: column; gap: 2px; }
}


/* ── Main shell ─────────────────────────────────────────── */

.spl__main {
  padding: clamp(40px, 8vw, 72px) clamp(20px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.spl__shell {
  width: 100%;
  max-width: 720px;
}


/* ── Pre-unlock vs post-unlock visibility ───────────────── */

.spl[data-unlocked="false"] .spl__post-unlock { display: none; }
.spl[data-unlocked="true"]  .spl__pre-unlock  { display: none; }


/* ── Access Gate (slide 0) ──────────────────────────────── */

.spl__gate {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 40px) clamp(24px, 4.5vw, 36px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.30);
}
.spl__gate-eyebrow {
  display: inline-block;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  margin-bottom: 14px;
}
.spl__gate-title {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: #f2efe8;
  margin-bottom: 12px;
}
.spl__gate-body {
  font-size: 14px;
  color: rgba(220,228,238,0.78);
  margin-bottom: 22px;
  line-height: 1.5;
}
.spl__gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spl__gate-label {
  display: block;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220,228,238,0.65);
  margin-bottom: 4px;
}
.spl__gate-input {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 500;
  color: #f2efe8;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
}
.spl__gate-input::placeholder { color: rgba(220,228,238,0.40); }
.spl__gate-input:focus {
  outline: none;
  border-color: rgba(69,196,176,0.55);
  box-shadow: 0 0 0 3px rgba(69,196,176,0.14);
  background: rgba(255,255,255,0.08);
}
.spl__gate-input.is-invalid {
  border-color: rgba(229,107,82,0.60);
  box-shadow: 0 0 0 3px rgba(229,107,82,0.12);
}
.spl__gate-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--at-cta-dark-text, #06201D);
  background: var(--at-cta-teal, #45C4B0);
  border: none;
  border-radius: 12px;
  padding: 16px 26px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow:
    0 4px 18px rgba(69,196,176,0.30),
    0 1px 3px rgba(0,0,0,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.spl__gate-submit:hover {
  background: var(--at-cta-teal-hover, #5ED6C3);
  transform: translateY(-1px);
  box-shadow:
    0 7px 22px rgba(69,196,176,0.38),
    0 2px 6px rgba(0,0,0,0.12);
}
.spl__gate-error {
  font-size: 13px;
  color: #f0ad9d;
  margin-top: 8px;
  line-height: 1.4;
}
.spl__gate-error[hidden] { display: none; }
.spl__gate-help {
  font-size: 12px;
  font-style: italic;
  color: rgba(220,228,238,0.50);
  margin-top: 14px;
  text-align: center;
}


/* ── Intro slide (slide 1) ──────────────────────────────── */

.spl__intro {
  text-align: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px);
}
.spl__intro-kicker {
  display: inline-block;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(69,196,176,0.30);
  border-radius: 999px;
  background: rgba(69,196,176,0.05);
}
.spl__intro-title {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw + 0.5rem, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f2efe8;
  margin-bottom: 16px;
}
.spl__intro-body {
  font-size: clamp(0.95rem, 1vw + 0.4rem, 1.05rem);
  color: rgba(220,228,238,0.82);
  margin-bottom: 28px;
  line-height: 1.55;
}
.spl__intro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 620;
  color: var(--at-cta-dark-text, #06201D);
  background: var(--at-cta-teal, #45C4B0);
  border: none;
  border-radius: 14px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 4px 18px rgba(69,196,176,0.32),
    0 1px 4px rgba(0,0,0,0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.spl__intro-cta:hover {
  background: var(--at-cta-teal-hover, #5ED6C3);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .spl__intro-cta { width: 100%; padding: 16px 24px; }
}
.spl__intro-micro {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  font-style: italic;
  color: rgba(220,228,238,0.55);
}


/* ── (intro flow state removed — wizard shows directly after unlock) ── */


/* ── Wizard custom step content ─────────────────────────── */

.spl__field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Tighter spacing for the compressed wizard */
.spl__field-group--tight { gap: 12px; }

/* 2-column row that collapses to 1 column on narrow screens */
.spl__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.spl__row-2 .spl__col--narrow {
  /* "Bedrooms" segmented control needs less width */
}
@media (max-width: 480px) {
  .spl__row-2 { grid-template-columns: 1fr; }
}

.spl__optional {
  text-transform: none;
  font-weight: 440;
  color: var(--at-text-faint-light, #7a8698);
  font-size: 0.85em;
  letter-spacing: 0;
}

.spl__challenge {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--at-text-headline-light, #1a1f2b);
  background: rgba(69,196,176,0.06);
  border-left: 3px solid var(--at-cta-teal, #45C4B0);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 14px 0 18px;
}
/* Tighter spacing for compressed step 4 */
.spl__challenge--tight { padding: 10px 14px; margin: 10px 0 14px; font-size: 0.95rem; }
.spl__challenge-hint   { margin-top: 10px !important; margin-bottom: 4px !important; }

.spl__months {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  margin-top: 6px;
}
@media (max-width: 380px) {
  .spl__months { grid-template-columns: 1fr; }
}
.spl__month-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spl__month-label {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--at-text-muted-light, #5a6575);
}
.spl__month-input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.spl__month-input-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--at-text-muted-light, #5a6575);
  font-size: 13px;
}
.spl__month-input {
  flex: 1;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--at-text-headline-light, #1a1f2b);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 0 8px 8px 0;
  padding: 10px 10px;
  width: 100%;
  min-width: 0;
}
.spl__month-input:focus {
  outline: none;
  border-color: rgba(69,196,176,0.55);
  box-shadow: 0 0 0 3px rgba(69,196,176,0.10);
}
.spl__month-input::-webkit-outer-spin-button,
.spl__month-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.spl__secondary-cta {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 540;
  text-align: center;
  color: var(--at-text-muted-light, #5a6575);
  background: transparent;
  border: 1px dashed rgba(0,0,0,0.16);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.spl__secondary-cta:hover {
  border-color: rgba(69,196,176,0.40);
  color: var(--at-text-headline-light, #1a1f2b);
  background: rgba(69,196,176,0.03);
}


/* ── Result step content (slides 5 & 8) ─────────────────── */

.spl__result-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 18px;
}
.spl__result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 14.5px;
  color: var(--at-text-body-light, #2e3442);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.spl__result-row:last-child { border-bottom: none; }
.spl__result-row dt { font-weight: 460; flex: 1 1 auto; min-width: 0; }
.spl__result-row dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--at-text-headline-light, #1a1f2b);
}
.spl__result-row--highlight dd {
  color: var(--at-cta-teal, #45C4B0);
  background: rgba(69,196,176,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.spl__result-reframe {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  color: var(--at-text-headline-light, #1a1f2b);
  padding: 16px 0;
  margin: 6px 0 8px;
  border-top: 1px solid rgba(69,196,176,0.18);
  border-bottom: 1px solid rgba(69,196,176,0.18);
}

.spl__warning {
  display: block;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--at-text-muted-light, #5a6575);
  background: rgba(255,255,255,0.65);
  border-left: 3px solid rgba(69,196,176,0.30);
  padding: 12px 14px;
  border-radius: 6px;
  margin: 14px 0;
}


/* ── Bridge / Upgrade CTA block (slide 7) ────────────────── */

.spl__bridge-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 8px;
}
.spl__bridge-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--at-text-body-light, #2e3442);
}
.spl__bridge-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--at-cta-teal, #45C4B0);
  box-shadow: 0 0 6px rgba(69,196,176,0.30);
}

.spl__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.spl__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 620;
  color: var(--at-cta-dark-text, #06201D);
  background: var(--at-cta-teal, #45C4B0);
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 4px 18px rgba(69,196,176,0.30),
    0 1px 3px rgba(0,0,0,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.spl__cta-primary:hover {
  background: var(--at-cta-teal-hover, #5ED6C3);
  transform: translateY(-1px);
}
.spl__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 540;
  color: var(--at-text-muted-light, #5a6575);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.spl__cta-secondary:hover {
  border-color: rgba(69,196,176,0.30);
  color: var(--at-text-headline-light, #1a1f2b);
  background: rgba(69,196,176,0.03);
}
.spl__cta-microcopy {
  font-size: 12.5px;
  font-style: italic;
  color: var(--at-text-faint-light, #7a8698);
  text-align: center;
  margin-top: 6px;
}


/* ── Final summary (slide 8) ────────────────────────────── */

.spl__final {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 40px) clamp(24px, 4vw, 36px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    0 2px 8px rgba(0,0,0,0.04);
}
.spl__final-eyebrow {
  display: inline-block;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--at-cta-teal, #45C4B0);
  margin-bottom: 14px;
}
.spl__final-title {
  font-family: var(--at-font-heading, 'Playfair Display', serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw + 0.4rem, 2rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--at-text-headline-light, #1a1f2b);
  margin-bottom: 12px;
}
.spl__final-body {
  font-size: 14.5px;
  color: var(--at-text-body-light, #2e3442);
  margin-bottom: 8px;
}


/* ── Collapsible Lite Summary (step 5) ──────────────────── */

.spl__summary {
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 14px;
}
.spl__summary-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.04em;
  color: var(--at-text-headline-light, #1a1f2b);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.spl__summary-toggle:hover {
  border-color: rgba(69,196,176,0.40);
  background: rgba(69,196,176,0.03);
}
.spl__summary-toggle-icon {
  font-size: 18px;
  line-height: 1;
  color: var(--at-text-muted-light, #5a6575);
  transition: transform 0.2s ease;
}
.spl__summary.is-open .spl__summary-toggle-icon { transform: rotate(90deg); }
.spl__summary.is-open .spl__summary-toggle {
  border-color: rgba(69,196,176,0.30);
  background: rgba(69,196,176,0.04);
}
.spl__summary-body {
  margin-top: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}
.spl__summary-body[hidden] { display: none; }
.spl__summary-help {
  font-size: 13px;
  color: var(--at-text-muted-light, #5a6575);
  margin-bottom: 8px;
  line-height: 1.45;
}
.spl__summary-body .spl__cta-secondary { margin-top: 12px; }
@media (max-width: 480px) {
  .spl__summary-body { padding: 14px; }
}


/* ── Compressed-mode tightening for mobile ──────────────── */

@media (max-width: 480px) {
  /* Reduce wizard card padding on mobile */
  .at-wiz__card { padding: 18px 16px !important; min-height: 0 !important; }
  /* Tighter top eyebrow + title spacing */
  .at-wiz__eyebrow { margin-bottom: 6px; font-size: 10.5px; }
  .at-wiz__title   { margin-bottom: 6px; }
  .at-wiz__help    { margin-bottom: 14px; line-height: 1.45; }
  /* Tighter input vertical rhythm */
  .at-wiz__field-label { margin-bottom: 4px; font-size: 11px; }
  .at-wiz__input       { padding: 10px 12px; font-size: 15px; }
  .at-wiz__form-input  { padding: 10px 12px; font-size: 15px; }
  .at-wiz__input-prefix { padding: 0 11px; font-size: 14px; }
  /* Compress segmented control padding */
  .at-wiz__seg-btn { padding: 9px 4px; font-size: 13px; }
  /* Tighter footer */
  .at-wiz__footer  { padding: 12px 16px 16px; }
  .at-wiz__next, .at-wiz__submit { padding: 13px 22px; font-size: 15px; }
  /* Months grid: keep 2 cols even on 375px (single col was too tall) */
  .spl__months { grid-template-columns: repeat(2, 1fr); gap: 8px 10px; }
  .spl__month-input { padding: 9px 8px; font-size: 14px; }
  .spl__month-input-prefix { padding: 0 8px; font-size: 12px; }
  .spl__month-label { font-size: 10px; }
}


/* ── Footer ─────────────────────────────────────────────── */

.spl__footer {
  padding: 24px clamp(20px, 5vw, 36px) 32px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
}
.spl__footer-text {
  font-family: var(--at-font-body, 'Inter', sans-serif);
  font-size: 11.5px;
  color: rgba(220,228,238,0.45);
  letter-spacing: 0.06em;
}
.spl__footer-text a {
  color: rgba(220,228,238,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(220,228,238,0.20);
}


/* ── Focus states ───────────────────────────────────────── */

.spl :focus-visible {
  outline: 2px solid rgba(69,196,176,0.60);
  outline-offset: 4px;
}
