:root {
  --night: #0d1a2d;
  --night-2: #13263f;
  --navy: #1f3a5f;
  --navy-deep: #182f4e;
  --navy-soft: #e8edf5;
  --gold: #e6b84f;
  --gold-deep: #c99a33;
  --gold-text: #8a6a1a;
  --cream: #f6f2ea;
  --paper: #fbf9f4;
  --white: #ffffff;
  --ink: #121c2b;
  --ink-2: #3e4a5c;
  --muted: #6c7686;
  --line: #e3e4e0;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --shadow-card: 0 1px 0 rgba(18, 28, 43, 0.04), 0 18px 50px -20px rgba(18, 28, 43, 0.25);
  --shadow-float: 0 12px 30px -10px rgba(13, 26, 45, 0.35);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }

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

.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px;
  transform: translateY(-150%);
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0); }
.pill-lg { padding: 15px 26px; font-size: 1rem; }
.pill-sm { padding: 9px 16px; font-size: 0.82rem; }
.pill-navy { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px -8px rgba(31, 58, 95, 0.6); }
.pill-navy:hover { background: var(--navy-deep); }
.pill-gold { background: var(--gold); color: var(--night); box-shadow: 0 10px 24px -8px rgba(201, 154, 51, 0.7); }
.pill-gold:hover { background: #f2c65c; }
.pill-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pill-ghost:hover { background: var(--white); }
.pill-outline { background: var(--white); color: var(--navy); border-color: rgba(31, 58, 95, 0.25); }
.pill-outline:hover { border-color: var(--navy); }
.pill-outline-light { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); }
.pill-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.5;
}
.tag-navy { background: #e3eaf6; color: #24467a; }
.tag-gold { background: #fdefc4; color: var(--gold-text); }
.tag-grey { background: #eceee9; color: var(--ink-2); }
.tag-live { background: rgba(230, 184, 79, 0.16); color: var(--gold); letter-spacing: 0.12em; font-size: 0.6rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 28, 43, 0.06);
}
.nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; color: var(--navy); }
.brand img { width: 32px; height: 32px; }
.brand em { font-style: normal; color: var(--gold-deep); }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #eaf0f8 0%, #f5f3ed 62%, #f6f2ea 100%);
  overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; width: 140px; height: 44px; border-radius: 999px;
  background: var(--white); opacity: 0.55;
  filter: drop-shadow(0 8px 14px rgba(18, 28, 43, 0.06));
  animation: drift 22s linear infinite;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; bottom: 0; background: var(--white); border-radius: 50%;
}
.cloud::before { width: 60px; height: 60px; left: 22px; bottom: 10px; }
.cloud::after { width: 44px; height: 44px; left: 66px; bottom: 14px; }
.cloud-a { top: 2%; left: -6%; transform: scale(0.6); }
.cloud-b { top: 6%; left: 44%; transform: scale(0.45); animation-duration: 30s; animation-delay: -10s; }
.cloud-c { top: 1%; left: 78%; transform: scale(0.55); animation-duration: 26s; animation-delay: -18s; }
@keyframes drift { from { translate: 0 0; } to { translate: 120vw 0; } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.18fr 1fr; gap: 24px; align-items: center;
  padding: 56px 0 24px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 999px; padding: 6px 12px 6px 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-card);
}
.chip-badge { background: var(--gold); color: var(--night); padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.04em; }

h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: var(--ink);
}
h1 mark, .night h2 mark {
  display: inline-block;
  background: var(--gold); color: var(--night);
  padding: 0.04em 0.26em 0.07em; margin-left: -0.26em; margin-top: 0.12em;
  border-radius: 0.22em;
  box-shadow: 0 8px 26px -8px rgba(201, 154, 51, 0.6);
}
.lede { margin-top: 22px; font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.kicker { margin-top: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-2); }

.hero-float { position: relative; min-height: 440px; }
.mascot {
  position: absolute; width: 58%; max-width: 380px; left: 6%; top: 12%;
  filter: drop-shadow(0 30px 40px rgba(13, 26, 45, 0.22));
  animation: bob 6s ease-in-out infinite;
}
.sun {
  position: absolute; right: 4%; top: 6%; width: 118px; height: 118px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe08a, var(--gold) 55%, #d9a22c 100%);
  box-shadow: 0 0 0 26px rgba(230, 184, 79, 0.12), 0 0 80px rgba(230, 184, 79, 0.55), inset -10px -14px 24px rgba(150, 100, 10, 0.25);
  animation: glow 5s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 26px rgba(230, 184, 79, 0.12), 0 0 80px rgba(230, 184, 79, 0.5), inset -10px -14px 24px rgba(150, 100, 10, 0.25); } 50% { box-shadow: 0 0 0 36px rgba(230, 184, 79, 0.16), 0 0 110px rgba(230, 184, 79, 0.7), inset -10px -14px 24px rgba(150, 100, 10, 0.25); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

.toast {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); padding: 9px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(18, 28, 43, 0.06);
  opacity: 0; animation: toastIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, floaty 7s ease-in-out infinite;
}
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); flex: none; }
.toast-1 { right: 0; top: 42%; animation-delay: 0.5s, 0.5s; }
.toast-2 { right: 6%; top: 60%; animation-delay: 1.4s, 1.4s; }
.toast-3 { left: 20%; top: 80%; animation-delay: 2.3s, 2.3s; }
.toast-gold { background: var(--gold); color: var(--night); border-color: transparent; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.hero-scene { position: relative; z-index: 1; margin-top: -40px; }
.hero-scene img {
  width: 100%; aspect-ratio: 1280 / 720; object-fit: cover; object-position: center 70%;
  max-height: 520px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}
.scene-labels {
  position: absolute; left: 50%; bottom: 8%; translate: -50% 0;
  display: flex; justify-content: space-between; gap: 10px;
}
.label {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; box-shadow: var(--shadow-float);
}
.label i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.label-gold { background: var(--gold); color: var(--night); }
.label-gold i { background: var(--night); }

/* ---------- Stats ---------- */
.stats { background: var(--cream); border-block: 1px solid rgba(18, 28, 43, 0.06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.stats-grid div { display: grid; gap: 4px; }
.stats-grid b { font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-weight: 800; }
.stats-grid > div > span { font-size: 0.88rem; color: var(--ink-2); font-weight: 600; }

/* ---------- Section heads ---------- */
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800;
}
.section-head .accent { color: var(--navy); }
.section-head p { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.section-head .pill { margin-top: 24px; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.section-head.split p { margin-top: 0; justify-self: end; }
.section-head.light h2 { color: var(--white); }
.section-head.light .accent { color: var(--gold); }
.section-head.light p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Console ---------- */
.console { background: var(--night-2); padding: 88px 0 0; position: relative; overflow: hidden; }
.console::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: var(--paper);
}
.console .section-head { text-align: center; margin-inline: auto; max-width: 700px; }
.console .section-head p { margin-inline: auto; }

.app {
  position: relative; z-index: 1;
  margin-top: 48px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f5f6f2; }
.app-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8dbd3; }
.app-bar p { margin-left: auto; margin-right: auto; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.app-body { display: grid; grid-template-columns: 220px 1fr; }
.app-side { border-right: 1px solid var(--line); padding: 18px 12px; background: #fafbf7; display: grid; gap: 4px; align-content: start; }
.side-title { font-size: 0.62rem; letter-spacing: 0.14em; font-weight: 700; color: var(--muted); padding: 10px 10px 4px; }
.app-side a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.app-side a b { color: var(--ink); font-weight: 700; }
.app-side a.active { background: var(--navy-soft); color: var(--navy); }
.app-main { padding: 20px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; }
.kpis small { font-size: 0.62rem; letter-spacing: 0.12em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.kpis b { font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 800; }
.kpis em { font-style: normal; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.kpis em.up { color: #2a5a9c; }
.app-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.app-table th { text-align: left; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--muted); padding: 10px 14px; background: #f7f8f4; text-transform: uppercase; }
.app-table td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.app-table td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- Paths ---------- */
.paths { padding: 96px 0 40px; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.path {
  background: var(--white); border-radius: 22px; padding: 22px 22px 24px;
  border: 1px solid rgba(18, 28, 43, 0.06); box-shadow: var(--shadow-card);
  display: grid; justify-items: center; text-align: center; align-content: start; gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(18, 28, 43, 0.35); }
.path img { width: 110px; height: 110px; margin-bottom: 8px; }
.path h3 { font-size: 1.02rem; letter-spacing: -0.01em; font-weight: 800; }
.path p { font-size: 0.85rem; color: var(--muted); }
.path-dark { background: var(--night-2); color: var(--white); border-color: transparent; }
.path-dark p { color: var(--gold); font-weight: 700; }
.ring {
  width: 64px; height: 64px; border-radius: 50%; margin: 20px 0 26px;
  border: 2px dashed var(--gold); position: relative;
  animation: spin 14s linear infinite;
}
.ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--gold)); }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Bento ---------- */
.bento-section { padding: 56px 0 96px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.card {
  background: var(--white); border-radius: var(--r-lg); padding: 26px;
  border: 1px solid rgba(18, 28, 43, 0.06); box-shadow: var(--shadow-card);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 1.12rem; letter-spacing: -0.015em; font-weight: 800; }
.card > p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
.card-dark { background: var(--night-2); color: var(--white); border-color: transparent; }
.card-dark > p { color: rgba(255, 255, 255, 0.72); }

.steps { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.steps li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: #f6f7f3; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  font-size: 0.85rem; font-weight: 700;
}
.steps li b { font-size: 0.7rem; color: var(--muted); }
.steps li.now { background: var(--white); border: 1.5px solid var(--navy); }
.progress { margin-top: 16px; height: 6px; border-radius: 999px; background: #e9ebe4; overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--w); background: var(--navy); border-radius: inherit; transform-origin: left; animation: grow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }

.match { margin-top: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; }
.match small { font-size: 0.62rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.match b { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 800; color: var(--gold); }
.match-row { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.match-row i { display: block; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); position: relative; overflow: hidden; }
.match-row i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); border-radius: inherit; transform-origin: left; animation: grow 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.cal { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.cal-days span { padding: 6px 0; border-radius: 8px; }
.cal-days .on { background: var(--navy); color: var(--white); }
.cal-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cal-slots span { border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--ink-2); }
.cal-slots .pick { border: 1.5px solid var(--navy); color: var(--navy); background: var(--navy-soft); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 58, 95, 0.25); } 50% { box-shadow: 0 0 0 6px rgba(31, 58, 95, 0); } }
.cal .pill { width: 100%; }

.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-soft); color: var(--navy); font-size: 0.75rem; font-weight: 800;
  display: inline-grid; place-items: center; margin-top: 1px;
}

/* ---------- Questions ---------- */
.questions { background: var(--cream); padding: 96px 0; }
.questions-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.qlist { list-style: none; display: grid; gap: 12px; }
.qlist li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: var(--white); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 28, 43, 0.05);
}
.qlist span { width: 40px; height: 40px; border-radius: 12px; background: var(--night-2); color: var(--gold); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }
.qlist b { display: block; font-size: 0.98rem; letter-spacing: -0.01em; }
.qlist p { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid rgba(18, 28, 43, 0.07); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-card); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 0.98rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform 0.25s ease, background 0.25s ease; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--navy); translate: -50% -50%; }
.faq-list summary span::after { rotate: 90deg; }
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--navy-soft); border-color: transparent; }
.faq-list details p { padding: 0 0 20px; color: var(--ink-2); font-size: 0.92rem; }

/* ---------- Night ---------- */
.night { position: relative; background: radial-gradient(120% 80% at 50% 0%, #1d3a62 0%, var(--night-2) 45%, var(--night) 100%); color: var(--white); overflow: hidden; }
.stars { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 30%, rgba(243,198,80,0.9) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 62% 8%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 78% 26%, rgba(255,255,255,0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 14%, rgba(243,198,80,0.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 8% 44%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 46%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 70% 40%, rgba(255,255,255,0.75) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 94% 42%, rgba(255,255,255,0.8) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }
.night-copy { position: relative; z-index: 2; text-align: center; padding: 80px 0 20px; display: grid; justify-items: center; }
.night-mascot { width: 120px; height: 120px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)); animation: bob 6s ease-in-out infinite; mix-blend-mode: normal; }
.night h2 { margin-top: 18px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.night h2 mark { color: var(--night); }
.night-copy p { margin-top: 20px; color: rgba(255, 255, 255, 0.75); max-width: 46ch; }
.night-scene { position: relative; z-index: 1; margin-top: -10px; }
.night-scene img {
  width: 100%; aspect-ratio: 1280 / 720; object-fit: cover; object-position: center 72%; max-height: 520px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}
.night-cards { position: absolute; left: 50%; bottom: 5%; translate: -50% 0; display: flex; justify-content: center; gap: 14px; }
.ncard {
  background: rgba(19, 38, 63, 0.78); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 16px 20px;
  display: grid; gap: 6px; min-width: 180px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.ncard small { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.ncard a { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.ncard a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot-inner { padding: 26px 0 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; font-size: 0.74rem; }
.disclosure { max-width: 70ch; line-height: 1.6; }
.foot-links { display: flex; gap: 16px; font-weight: 700; }
.foot-links a:hover { color: var(--white); }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal article { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em; font-weight: 800; }
.legal .updated { margin-top: 6px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.legal h2 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 800; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 0.95rem; }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy.reveal { transition-delay: 0.05s; }

.hide-mobile { display: inline-flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .hide-mobile { display: none; }
  .nav-inner { min-height: 60px; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 28px; height: 28px; }
  .pill-navy.pill { padding: 10px 16px; font-size: 0.85rem; }

  .hero-grid { grid-template-columns: 1fr; padding: 32px 0 0; gap: 0; }
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  h1 mark, .night h2 mark {
    display: inline; line-height: 1.25;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding: 0.02em 0.22em 0.06em; margin-left: -0.22em;
  }
  .lede { font-size: 1rem; }
  .hero-actions .pill-lg { padding: 13px 20px; font-size: 0.95rem; }
  .hero-actions .pill-outline { display: none; }
  .hero-float { min-height: 300px; margin-top: 16px; }
  .mascot { width: 52%; max-width: 260px; left: 2%; top: 4%; }
  .sun { width: 84px; height: 84px; right: 8%; top: 4%; }
  .toast { font-size: 0.72rem; padding: 8px 12px; }
  .toast-1 { right: 0; top: 46%; }
  .toast-2 { right: 4%; top: 64%; }
  .toast-3 { left: 6%; top: 84%; }
  .hero-scene { margin-top: -30px; }
  .hero-scene img { max-height: 280px; object-position: center 78%; }
  .scene-labels { position: static; translate: none; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 0 18px; }
  .hero-scene { background: linear-gradient(180deg, transparent 0 60%, var(--cream) 100%); }
  .label { font-size: 0.68rem; padding: 6px 10px; }

  .stats-grid { padding: 28px 0; gap: 18px; }
  .stats-grid b { font-size: 1.7rem; }
  .stats-grid > div > span { font-size: 0.8rem; }

  .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  .section-head h2 { font-size: 1.75rem; }
  .section-head.split p { justify-self: start; }
  .console { padding-top: 64px; }
  .app { margin-top: 32px; border-radius: 20px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-main { padding: 14px; }
  .kpis { grid-template-columns: 1fr; gap: 8px; }
  .kpis b { font-size: 1.15rem; }
  .app-table { font-size: 0.74rem; }
  .app-table th:nth-child(2), .app-table td:nth-child(2) { display: none; }

  .paths { padding: 64px 0 24px; }
  .path-grid { gap: 12px; margin-top: 28px; }
  .path { padding: 16px 14px 18px; border-radius: 18px; }
  .path img { width: 84px; height: 84px; }
  .path h3 { font-size: 0.92rem; }
  .path p { font-size: 0.78rem; }
  .ring { width: 52px; height: 52px; margin: 14px 0 22px; }

  .bento-section { padding: 40px 0 64px; }
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .card { padding: 20px; border-radius: 22px; }
  .card h3 { font-size: 1rem; }
  .card-head { flex-wrap: wrap; gap: 8px; }

  .questions { padding: 64px 0; }
  .questions-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .qlist li { padding: 14px 16px; }
  .faq { padding: 64px 0; }
  .faq-list details { padding: 0 16px; }
  .faq-list summary { font-size: 0.92rem; padding: 15px 0; }

  .night-copy { padding: 56px 0 10px; }
  .night-mascot { width: 88px; height: 88px; }
  .hero-actions.center .pill-outline-light { display: none; }
  .night-scene img { max-height: 300px; object-position: center 80%; }
  .night-cards { position: static; translate: none; flex-wrap: wrap; gap: 10px; padding: 0 0 28px; margin-top: -40px; }
  .ncard { min-width: 0; flex: 1 1 45%; padding: 14px 16px; }
  .ncard a { font-size: 0.78rem; }

  .foot-inner { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .toast { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
