/* MyMOO Landing — light + dark, clean, generous. */

:root {
  color-scheme: light dark;

  --bg-page: #f7f7f7;
  --bg-surface: #ededed;
  --bg-alt: #fafafa;
  --bg-card: #ffffff;

  --text-primary: #1a1a1a;
  --text-secondary: #5a5a62;
  --text-tertiary: #86868b;
  --text-muted: #b5b5bc;

  --accent: #2dd4a0;
  --accent-hover: #25b888;
  --accent-strong: #07815f;
  --accent-strong-hover: #06694e;
  --accent-strong-fg: #ffffff;
  --accent-soft: rgba(64, 229, 181, 0.14);
  --accent-ring: rgba(64, 229, 181, 0.28);

  --btn-bg: #40e5b5;
  --btn-bg-hover: #2dd4a0;
  --btn-fg: #0c0c0d;

  --gold: #d4a00a;
  --gold-soft: rgba(212, 160, 10, 0.12);

  --positive: #2dd4a0;
  --warning: #d4a00a;
  --negative: #e06666;

  --border-hairline: rgba(26, 26, 26, 0.06);
  --border-soft: rgba(26, 26, 26, 0.1);

  --surface-overlay: rgba(26, 26, 26, 0.05);
  --surface-overlay-strong: rgba(26, 26, 26, 0.08);
  --nav-bg: rgba(247, 247, 247, 0.88);

  --shadow-sm:
    0 1px 2px rgba(26, 26, 26, 0.04), 0 1px 3px rgba(26, 26, 26, 0.04);
  --shadow-md:
    0 2px 6px rgba(26, 26, 26, 0.04), 0 8px 20px rgba(26, 26, 26, 0.06);
  --shadow-lg:
    0 4px 14px rgba(26, 26, 26, 0.05), 0 24px 48px rgba(26, 26, 26, 0.08);

  --font-display:
    "Bebas Neue", "Impact", "Helvetica Neue Condensed", sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

:root[data-theme="dark"] {
  --bg-page: #0c0c0d;
  --bg-surface: #18181a;
  --bg-alt: #111113;
  --bg-card: #16161a;

  --text-primary: #f3f3f5;
  --text-secondary: #9a9aa3;
  --text-tertiary: #6a6a72;
  --text-muted: #404048;

  --accent: #40e5b5;
  --accent-hover: #5cf0c2;
  --accent-strong: #40e5b5;
  --accent-strong-hover: #5cf0c2;
  --accent-strong-fg: #0c0c0d;
  --accent-soft: rgba(64, 229, 181, 0.16);
  --accent-ring: rgba(64, 229, 181, 0.34);

  --btn-bg: #40e5b5;
  --btn-bg-hover: #5cf0c2;
  --btn-fg: #0c0c0d;

  --positive: #40e5b5;

  --border-hairline: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.1);

  --surface-overlay: rgba(255, 255, 255, 0.05);
  --surface-overlay-strong: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(14, 14, 16, 0.82);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-page: #0c0c0d;
    --bg-surface: #18181a;
    --bg-alt: #111113;
    --bg-card: #16161a;

    --text-primary: #f3f3f5;
    --text-secondary: #9a9aa3;
    --text-tertiary: #6a6a72;
    --text-muted: #404048;

    --accent: #40e5b5;
    --accent-hover: #5cf0c2;
    --accent-strong: #40e5b5;
    --accent-strong-hover: #5cf0c2;
    --accent-strong-fg: #0c0c0d;
    --accent-soft: rgba(64, 229, 181, 0.16);
    --accent-ring: rgba(64, 229, 181, 0.34);

    --btn-bg: #40e5b5;
    --btn-bg-hover: #5cf0c2;
    --btn-fg: #0c0c0d;

    --positive: #40e5b5;

    --border-hairline: rgba(255, 255, 255, 0.06);
    --border-soft: rgba(255, 255, 255, 0.1);

    --surface-overlay: rgba(255, 255, 255, 0.05);
    --surface-overlay-strong: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(14, 14, 16, 0.82);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img-dark-mode {
  display: none;
}
:root[data-theme="dark"] .logo-img-light-mode {
  display: none;
}
:root[data-theme="dark"] .logo-img-dark-mode {
  display: block;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.theme-toggle:hover {
  background: var(--surface-overlay);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--surface-overlay);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.nav-link-mobile-login {
  display: none;
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.nav-mobile-toggle:hover {
  background: var(--surface-overlay);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}
.nav-mobile-toggle svg {
  width: 18px;
  height: 18px;
}
.nav-mobile-toggle .icon-close {
  display: none;
}
.nav-mobile-toggle[aria-expanded="true"] .icon-bars {
  display: none;
}
.nav-mobile-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* BUTTONS — pill shape, Rocket Money-ish */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.btn-primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-soft);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--text-primary);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--surface-overlay);
  color: var(--text-primary);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}
.cta-note {
  font-weight: 500;
  opacity: 0.75;
  font-size: 0.92em;
}
.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* HERO — soft card matted inside painterly background */
.hero {
  position: relative;
  max-width: calc(var(--container) + 80px);
  margin: 24px auto;
  padding: 36px 24px 44px;
  border-radius: var(--radius-xl);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/beach_scene.jpg");
  background-size: cover;
  background-position: center 40%;
  z-index: -1;
}
.hero-inner {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.hero-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}
.hero-tagline {
  font-family: var(--font-display);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.cta-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.15s ease;
}
.cta-link:hover {
  color: var(--accent-strong);
}
.cta-link .arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.cta-link:hover .arrow {
  transform: translateX(2px);
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 13px;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .check {
  color: var(--accent);
  font-weight: 700;
}

/* HERO VISUAL (mock dashboard) */
.hero-visual {
  position: relative;
}
.mock-dashboard {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.mock-window-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mock-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-overlay-strong);
}
.mock-window-bar span:nth-child(1) {
  background: #f0a3a3;
}
.mock-window-bar span:nth-child(2) {
  background: #f0d29a;
}
.mock-window-bar span:nth-child(3) {
  background: #a3e0c0;
}

.mock-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
}
.mock-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mock-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.mock-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.mock-card-tag {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.progress-bar {
  height: 8px;
  background: var(--surface-overlay-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-tertiary);
}
.progress-label .pct {
  color: var(--accent-strong);
  font-weight: 600;
}

.mock-steps {
  list-style: none;
}
.mock-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}
.mock-steps li:last-child {
  border-bottom: 0;
}
.mock-steps .check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.mock-steps .done .check-dot {
  background: var(--accent);
  color: #ffffff;
}
.mock-steps .done {
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
}
.mock-steps .pending .check-dot {
  background: transparent;
  border: 1.5px solid var(--text-muted);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-kpi {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.mock-kpi .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.mock-kpi .label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 220px;
}
.floating-badge .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}
.fb-top-right {
  top: -16px;
  right: -16px;
}
.fb-top-right .icon {
  background: var(--gold-soft);
  color: var(--gold);
}
.fb-bottom-left {
  bottom: -28px;
  left: -72px;
}
.fb-bottom-left .icon {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* SECTIONS */
.section {
  padding: 104px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-surface);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.section h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent-strong);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 600;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-strong);
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* STAGES GRID */
.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stage {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: default;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stage-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.stage:hover::before {
  opacity: 0.06;
}
.stage:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stage > * {
  position: relative;
  z-index: 1;
}
.stage-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--stage-gradient);
  display: grid;
  place-items: center;
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--stage-color) 22%, transparent);
}
.stage h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.stage p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CALCULATORS */
.calcs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.calc {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.calc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.calc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.calc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent-strong);
}
.calc-tag {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--surface-overlay);
  border-radius: var(--radius-pill);
}
.calc h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.calc p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.calc-previews {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 64px;
  flex-wrap: wrap;
}
.calc-preview {
  flex: 1 1 440px;
  max-width: 560px;
  margin: 0;
  padding: 0 0 24px;
}
.calc-preview-frame {
  position: relative;
  border-radius: var(--radius-lg);
}
.calc-preview-frame > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.calc-preview-detail {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 38%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-card);
  background: var(--bg-card);
}
.calc-preview-detail {
  background-repeat: no-repeat;
  background-color: var(--bg-card);
}
.calc-preview-detail img {
  display: none;
}
.calc-preview-1 .calc-preview-detail {
  background-image: url("assets/mymoo-calc-screen.png");
  background-size: 320% auto;
  background-position: 100% 65%;
}
.calc-preview-2 .calc-preview-detail {
  background-image: url("assets/mymoo-compound-screen.jpg");
  background-size: 340% auto;
  background-position: 100% 51%;
}
.calc-preview figcaption {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 820px) {
  .calc-previews {
    gap: 28px;
  }
  .calc-preview {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .calc-preview-detail {
    width: 42%;
    bottom: 5%;
    right: 5%;
  }
}

/* FAMILY / KIDS */
.family {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.family-text h2 {
  margin-bottom: 20px;
}
.family-text p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}
.family-bullets {
  list-style: none;
}
.family-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 15px;
}
.family-bullets li:last-child {
  border-bottom: 0;
}
.family-bullets .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.qr-panel {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.qr-visual {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  place-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.qr-visual:hover,
.qr-visual:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}
.qr-visual img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.kid-tag {
  font-family: var(--font-display);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.qr-panel h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.qr-panel p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ORGANIZATIONS */
.org-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.org-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.org-card .section-eyebrow {
  margin-bottom: 14px;
}
.org-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.org-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.org-cta {
  display: flex;
  justify-content: center;
}
@media (max-width: 820px) {
  .org-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .org-card {
    padding: 28px 24px;
  }
}

/* ADVISOR */
.advisor-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.advisor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.advisor-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.advisor-info .role {
  font-size: 12px;
  color: var(--accent-strong);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.advisor-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* FINAL CTA */
.final-cta {
  padding: 120px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}
.final-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--bg-surface);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo-text {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.logo-sub {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 340px;
  margin-top: 16px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.disclaimer {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.55;
  max-width: 100%;
  margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 36px;
  }
  .family {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps,
  .calcs {
    grid-template-columns: repeat(2, 1fr);
  }
  .stages {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 80px 0;
  }

  /* Mobile nav: hamburger + drawer */
  .nav {
    /* drop backdrop-filter so the fixed-position drawer escapes containing block */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  .nav-cta-login {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px;
    background: var(--bg-page);
    border-top: 1px solid var(--border-hairline);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 49;
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
  }
  .nav-link {
    font-size: 17px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }
  .nav-link-mobile-login {
    display: block;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-hairline);
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 0 40px;
  }
  .hero-inner {
    padding: 36px 24px;
  }
  .section {
    padding: 64px 0;
  }
  .steps,
  .calcs,
  .stages {
    grid-template-columns: 1fr;
  }
  .advisor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .advisor-avatar {
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .floating-badge {
    display: none;
  }
  .final-cta {
    padding: 80px 0;
  }
}

/* REQUEST A SESSION — form page */
.request-hero {
  padding: 120px 0 32px;
}
.request-hero .container {
  max-width: 760px;
}
.request-hero h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.request-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
}
.request-form-section {
  padding: 24px 0 96px;
}
.request-form-section .container {
  max-width: 760px;
}
.request-form {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.form-field .req {
  color: var(--accent-strong);
  margin-left: 2px;
}
.form-field .hint {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-note {
  font-size: 13px;
  color: var(--text-tertiary);
}
.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text-primary);
  font-size: 14px;
  margin-top: 16px;
}
.form-success.is-visible {
  display: block;
}
@media (max-width: 720px) {
  .request-form {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
