/* ============================================================
   FamilyAtlas — promo site
   Palette drawn from the product's 3D illustration set:
   deep navy, cyan, blue, purple, pink.
   ============================================================ */

:root {
  --navy-950: #070d24;
  --navy-900: #0b1230;
  --navy-800: #131c42;
  --navy-700: #1d2856;
  --ink: #16214a;
  --ink-soft: #4a5578;
  /* Warm ivory rather than the blue-white this used to be. Every alternating section on the page
     is painted with it, and a cold grey-blue behind copy about somebody's children reads like a
     bank. The ink and brand colours are unchanged: they are the accessible pair, and warmth is
     not a reason to reopen contrast. */
  --cloud: #f7f1e7;
  --ivory: #fdf8f1;
  --sand: #f2e7d6;
  --edge: #e8dcc9;
  /* Warmth, used for emphasis and for the sun. Never the only carrier of meaning. */
  --apricot: #e8853f;
  /* The same warmth, dark enough to be read at 13px: 4.7:1 on --cloud, 5.0:1 on --ivory. */
  --apricot-ink: #a8541a;
  --apricot-soft: #fceadb;
  --clay: #f2b441;
  --teal-deep: #0a5a62;
  --white: #ffffff;
  --cyan: #35d6d0;
  --cyan-soft: #9ef0ec;
  --blue: #3b6cf6;
  --blue-soft: #a9c0ff;
  --purple: #8b5cf6;
  --pink: #f472b6;
  --amber: #ffb347;
  --grad-brand: linear-gradient(120deg, #35d6d0 0%, #3b6cf6 55%, #8b5cf6 100%);
  --grad-warm: linear-gradient(120deg, #f2b441, #e8853f);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 18px 50px -18px rgba(22, 33, 74, 0.25);
  --shadow-pop: 0 30px 80px -20px rgba(22, 33, 74, 0.38);
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1140px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

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

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

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

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

/* ---------- typography ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* Was --cyan, which came out at 1.9:1 on white — decorative-looking text that turned out to be
     the only label many sections had. */
  color: var(--apricot-ink);
}

.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--grad-warm);
  border-radius: 2px;
}

/* Sections on the dark hero and the dark final panel keep the light-on-dark treatment. */
.hero .eyebrow, .final .eyebrow { color: var(--cyan-soft); }
.hero .eyebrow::before, .final .eyebrow::before { background: var(--grad-brand); }

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  margin: 14px 0 16px;
}

.section-lead {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
}

.accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 14px 34px -12px rgba(59, 108, 246, 0.65);
}

.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 44px -12px rgba(59, 108, 246, 0.75); }

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-dark {
  color: var(--white);
  background: var(--navy-900);
}

.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(11, 18, 48, 0.6); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(7, 13, 36, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
}

.logo svg, .logo .logo-icon { width: 32px; height: 29px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.lang-switch {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  flex: none;
}

.lang-switch option { color: var(--ink); background: #fff; }

/* ---------- RTL (Arabic) fixes ---------- */

[dir="rtl"] .setup-connector svg { transform: scaleX(-1); }
[dir="rtl"] .side-toggle.child .thumb { transform: translateX(-100%); }
[dir="rtl"] .article-body ul,
[dir="rtl"] .article-body ol { margin-left: 0; margin-right: 22px; }

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  flex: none;
}

.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(7, 13, 36, 0.97);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 8px 20px 22px;
  z-index: 59;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:hover { color: #fff; }
.mobile-menu a.btn { border-bottom: 0; text-align: center; }

@media (max-width: 900px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding: calc(var(--nav-h) + 64px) 0 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora .a1 { width: 560px; height: 560px; background: #274bcf; top: -180px; left: -120px; }
.aurora .a2 { width: 480px; height: 480px; background: #0f8f8a; bottom: -140px; right: -80px; animation-delay: -5s; }
.aurora .a3 { width: 380px; height: 380px; background: #6d3bd1; top: 10%; right: 14%; animation-delay: -9s; opacity: 0.35; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 90px;
}

.hero-copy .eyebrow { color: var(--cyan-soft); }

.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  margin: 20px 0 8px;
}

.hero h1 .line2 { display: block; }

.hero-sub {
  margin: 18px 0 30px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chip svg { width: 14px; height: 14px; color: var(--cyan); }

.platform-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.platform-badge svg { width: 16px; height: 16px; }

.platform-badge.dark { color: var(--ink-soft); }

.hero-visual { position: relative; }

.hero-visual .hero-img {
  width: min(520px, 100%);
  margin-inline: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 7s ease-in-out infinite;
}

.float-card .dot { width: 9px; height: 9px; border-radius: 50%; }

.float-card.fc1 { top: 8%; left: -2%; animation-delay: -2s; }
.float-card.fc1 .dot { background: #22c55e; }
.float-card.fc2 { bottom: 14%; right: -2%; animation-delay: -4s; }
.float-card.fc2 .dot { background: var(--purple); }

.float-card small { display: block; font-weight: 500; color: var(--ink-soft); }

.hero-wave {
  display: block;
  width: 100%;
  margin-top: -2px;
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span { display: inline-flex; align-items: center; gap: 14px; }
.ticker-track .star { color: var(--cyan); }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

section { padding: 96px 0; }

/* letter */

.letter { background: var(--cloud); }

.letter-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.letter-visual { position: relative; }

.letter-visual img {
  width: min(430px, 100%);
  margin-inline: auto;
}

.letter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.letter-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 26px;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.letter-card p { margin-bottom: 16px; color: var(--ink-soft); font-size: 16.5px; }

.letter-card p strong { color: var(--ink); }

.letter-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.letter-sign .avatars { display: flex; }

.letter-sign .avatars span {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.letter-sign .avatars span:first-child { background: var(--blue); }
.letter-sign .avatars span:last-child { background: var(--pink); margin-left: -10px; }

.letter-sign b { font-family: var(--font-display); font-size: 15px; }
.letter-sign small { display: block; color: var(--ink-soft); }

/* privacy manifesto */

.privacy {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.privacy .glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 108, 246, 0.35), transparent 65%);
  top: -300px; right: -200px;
  pointer-events: none;
}

.privacy .section-lead { color: rgba(255, 255, 255, 0.7); }

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.promise {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.promise:hover { transform: translateY(-6px); border-color: rgba(53, 214, 208, 0.5); background: rgba(255, 255, 255, 0.06); }

.promise .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.promise h3 { font-size: 22px; margin: 14px 0 12px; }

.promise p { color: rgba(255, 255, 255, 0.68); font-size: 15.5px; }

/* walkthrough (scrollytelling) */

.day .section-head { max-width: 720px; }

.setup-steps {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0 8px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #e6ecfc;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -20px rgba(22, 33, 74, 0.18);
}

.setup-step { flex: 1; text-align: center; }

.setup-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.setup-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.setup-step p { font-size: 14px; color: var(--ink-soft); }

.setup-connector { flex: none; color: #c7d1ee; }
.setup-connector svg { width: 22px; height: 22px; }

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}

.day-steps { display: flex; flex-direction: column; gap: 8px; }

.day-step {
  border-left: 3px solid #e3e9fb;
  padding: 26px 0 26px 28px;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.45;
  cursor: pointer;
}

.day-step.active { border-color: var(--blue); opacity: 1; }

.day-step time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
}

.day-step h3 { font-size: 21px; margin: 8px 0 8px; }

.day-step p { color: var(--ink-soft); font-size: 15.5px; max-width: 420px; }

.day-visual { position: relative; }

.day-visual-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  place-items: center;
  min-height: 460px;
  background: radial-gradient(circle at 50% 40%, #eef3ff 0%, #f9fbff 70%);
  border-radius: var(--radius-lg);
  border: 1px solid #e6ecfc;
  overflow: hidden;
}

.day-visual-sticky img {
  position: absolute;
  width: min(400px, 82%);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.day-visual-sticky img.show { opacity: 1; transform: translateY(0) scale(1); }

/* features */

.features { background: var(--cloud); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 10px 30px -18px rgba(22, 33, 74, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.feature .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature .icon svg { width: 26px; height: 26px; color: #fff; }

.icon.i-filter { background: linear-gradient(135deg, #3b6cf6, #6d8dff); }
.icon.i-time { background: linear-gradient(135deg, #35d6d0, #2ab3c8); }
.icon.i-focus { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.icon.i-map { background: linear-gradient(135deg, #22c55e, #4ade80); }
.icon.i-reward { background: linear-gradient(135deg, #f472b6, #fb7185); }
.icon.i-shield { background: linear-gradient(135deg, #ffb347, #fb923c); }

.feature h3 { font-size: 19px; margin-bottom: 10px; }

.feature p { font-size: 15px; color: var(--ink-soft); }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.feature-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: #eef2fe;
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- concerns ---------- */

.concerns { background: var(--white); }

.concern-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.concern-chip {
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--cloud);
  border: 1px solid #e6ecfc;
  color: var(--ink);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.concern-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -14px rgba(22, 33, 74, 0.3);
  border-color: var(--blue-soft);
}

/* ---------- comparison table ---------- */

.compare { background: var(--cloud); }

.compare-table {
  margin-top: 44px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid #e6ecfc;
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  align-items: center;
}

.compare-row:not(:last-child) { border-bottom: 1px solid #eef1fb; }

.compare-head {
  background: var(--navy-950);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
}

.compare-cell { padding: 18px 20px; font-size: 14.5px; color: var(--ink-soft); }

.compare-label { color: var(--ink); font-weight: 600; font-size: 15px; }

.compare-us { text-align: center; color: var(--cyan); }

.compare-row:not(.compare-head) .compare-us { background: #eefdfc; }

.compare-row:not(.compare-head) .compare-us svg { width: 22px; height: 22px; }

.compare-head .compare-us { background: transparent; color: #fff; text-align: center; }

.compare-no { color: #b45f6c; }

.compare-footnote { margin-top: 16px; font-size: 12.5px; color: #8792ad; }

@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1.4fr 0.8fr 1.1fr; }
  .compare-cell { padding: 14px 10px; font-size: 13px; }
  .compare-label { font-size: 13.5px; }
}

/* transparency toggle */

.two-sides .section-head { text-align: center; margin-inline: auto; }
.two-sides .section-lead { margin-inline: auto; }

.side-toggle {
  display: flex;
  justify-content: center;
  margin: 44px 0 34px;
}

.side-toggle .track {
  display: inline-flex;
  background: #e9eefc;
  border-radius: 999px;
  padding: 5px;
  position: relative;
}

.side-toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.side-toggle button.active { color: #fff; }

.side-toggle .thumb {
  position: absolute;
  inset: 5px auto 5px 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--navy-900);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-toggle.child .thumb { transform: translateX(100%); }

.side-panels { position: relative; max-width: 920px; margin-inline: auto; }

.side-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e6ecfc;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-card);
}

.side-panel.active { display: grid; animation: fade-up 0.45s ease; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.side-panel img { width: min(330px, 100%); margin-inline: auto; }

.side-panel h3 { font-size: 23px; margin-bottom: 14px; }

.side-panel ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.side-panel li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-soft); }

.side-panel li svg { flex: none; width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }

.side-note {
  text-align: center;
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.side-note b { color: var(--ink); }

/* ages */

.ages { background: var(--navy-950); color: var(--white); overflow: hidden; }

.ages .section-lead { color: rgba(255, 255, 255, 0.7); }

.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.age-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px 22px 30px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.age-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.08); }

.age-card img { width: 150px; margin: 0 auto 16px; }

.age-card .range {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.age-card h3 { font-size: 18px; margin: 8px 0 8px; }

.age-card p { font-size: 14px; color: rgba(255, 255, 255, 0.65); margin-bottom: 12px; }

.age-points { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 6px; }

.age-points li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 14px;
  position: relative;
}

.age-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* pricing */

.pricing .section-head { text-align: center; margin-inline: auto; }
.pricing .section-lead { margin-inline: auto; }

.price-card {
  max-width: 560px;
  margin: 50px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  border: 1px solid #e6ecfc;
  overflow: hidden;
  text-align: center;
}

.price-card .price-top {
  background: var(--grad-brand);
  color: #fff;
  padding: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
}

.price-card .price-body { padding: clamp(28px, 4vw, 44px); }

.price-card .big {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 800;
}

.price-card .big small { font-size: 17px; font-weight: 600; color: var(--ink-soft); }

.price-tag { margin: 6px 0 24px; color: var(--ink-soft); font-size: 15.5px; }

.price-card ul {
  list-style: none;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price-card li { display: flex; gap: 10px; font-size: 15.5px; }

.price-card li svg { flex: none; width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }

/* waitlist */

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 430px;
  margin-inline: auto;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #dbe3f8;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59, 108, 246, 0.14); }

/* Sets the expectation before the button is pressed, not after. */
.waitlist-hint {
  max-width: 480px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.55;
}

.waitlist-ok {
  display: none;
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 500;
}

.waitlist-ok a { color: inherit; text-decoration: underline; }

/* faq */

.blog-teaser { background: var(--white); }

.faq { background: var(--cloud); }

.faq-list { max-width: 780px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid #e6ecfc;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #eef2fe;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }

.faq-item .faq-body { padding: 0 26px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* final cta */

.final {
  background: var(--navy-950);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final .aurora span { opacity: 0.35; }

.final .wrap { position: relative; }

.final h2 { font-size: clamp(30px, 4.6vw, 50px); max-width: 760px; margin-inline: auto; }

.final p { color: rgba(255, 255, 255, 0.72); margin: 18px auto 34px; max-width: 560px; }

.final .waitlist-form input { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; }
.final .waitlist-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.final .waitlist-ok { color: var(--cyan-soft); }
.final .waitlist-hint { color: rgba(255, 255, 255, 0.72); }

/* footer */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 44px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer .logo { font-size: 16px; }
.footer .logo svg, .footer .logo .logo-icon { width: 26px; height: 24px; }

.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: #fff; }

.footer .made { width: 100%; text-align: center; margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 60px; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-chips { justify-content: center; }
  .float-card.fc1 { left: 2%; }
  .float-card.fc2 { right: 2%; }
  .letter-grid { grid-template-columns: 1fr; }
  .letter-visual { order: -1; }
  .promises { grid-template-columns: 1fr; }
  .day-grid { grid-template-columns: 1fr; gap: 30px; }
  .day-visual { display: none; }
  .day-step { opacity: 1; }
  .day-step .step-img-inline { display: block; width: min(300px, 80%); margin-top: 18px; }
  .setup-steps { flex-direction: column; align-items: stretch; }
  .setup-connector { transform: rotate(90deg); align-self: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .side-panel { grid-template-columns: 1fr; text-align: center; }
  .side-panel ul { text-align: left; }
  .age-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 981px) {
  .day-step .step-img-inline { display: none; }
}

@media (max-width: 640px) {
  section { padding: 68px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .age-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .age-card img { width: 110px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .float-card { display: none; }
}

/* ---------- blog: index ---------- */

.blog-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: calc(var(--nav-h) + 64px) 0 70px;
  position: relative;
  overflow: hidden;
}

.blog-hero .section-lead { color: rgba(255, 255, 255, 0.72); }

.blog-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  margin: 16px 0 14px;
}

.crumbs {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.crumbs a { color: rgba(255, 255, 255, 0.8); }
.crumbs a:hover { color: #fff; }

.blog-list { background: var(--cloud); padding: 70px 0 96px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}

.blog-grid.featured-grid { grid-template-columns: 1.3fr 1fr; margin-bottom: 30px; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(22, 33, 74, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.blog-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #eef3ff, #f7f2ff);
  display: grid;
  place-items: center;
  padding: 18px;
}

.blog-card.featured .thumb { aspect-ratio: 16/11; }

.blog-card .thumb img { width: 62%; }

.blog-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eef2fe;
  padding: 5px 12px;
  border-radius: 999px;
}

.blog-card h2, .blog-card h3 { font-size: 19px; line-height: 1.3; }

.blog-card.featured h2 { font-size: 25px; }

.blog-card p.excerpt { color: var(--ink-soft); font-size: 14.5px; flex: 1; }

.blog-card .meta { font-size: 13px; color: #8792ad; display: flex; gap: 8px; align-items: center; margin-top: auto; }

.blog-card .read-more { font-weight: 700; color: var(--blue); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- blog: article ---------- */

.article-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: calc(var(--nav-h) + 54px) 0 54px;
}

.article-hero .tag { background: rgba(255, 255, 255, 0.12); color: var(--cyan-soft); }

.article-hero h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 800;
  margin: 16px 0 14px;
  max-width: 800px;
}

.article-hero .dek { font-size: 18px; color: rgba(255, 255, 255, 0.75); max-width: 680px; }

.article-hero .meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.article-hero .meta .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 13px;
}

.article-cover { background: var(--cloud); padding: 0; }

.article-cover img {
  width: min(760px, 100%);
  margin: -48px auto 0;
  display: block;
  position: relative;
}

.article-body-wrap { background: var(--cloud); padding: 30px 0 96px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  gap: 50px;
  align-items: start;
}

.article-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 54px);
  box-shadow: var(--shadow-card);
  font-size: 17px;
  color: var(--ink);
}

.article-body h2 {
  font-size: 25px;
  margin: 38px 0 16px;
  font-weight: 700;
}

.article-body h2:first-child { margin-top: 0; }

.article-body p { margin-bottom: 18px; color: var(--ink-soft); line-height: 1.75; }

.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--ink-soft); line-height: 1.75; }
.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--ink); }

.article-cta {
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, #eef3ff, #f5eeff);
  border: 1px solid #e3e9fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.article-cta p { margin: 0; color: var(--ink); font-weight: 600; font-size: 15.5px; max-width: 420px; }

.article-side { position: sticky; top: calc(var(--nav-h) + 26px); display: flex; flex-direction: column; gap: 18px; }

.side-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 10px 28px -18px rgba(22, 33, 74, 0.2);
}

.side-card h3 { font-size: 15px; margin-bottom: 14px; }

.side-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.side-card li a { font-size: 14.5px; color: var(--ink-soft); display: block; transition: color 0.2s; }
.side-card li a:hover { color: var(--blue); }

.side-card.promo {
  background: var(--navy-950);
  color: #fff;
}

.side-card.promo h3 { color: #fff; }
.side-card.promo p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-bottom: 14px; }
.side-card.promo .btn { width: 100%; padding: 12px; font-size: 14px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid.featured-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; flex-direction: row; overflow-x: auto; }
  .article-side .side-card { min-width: 260px; }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-side { flex-direction: column; }
}

/* ---------- interactive product demo (solar system) ---------- */

/*
  A working miniature of the app's home screen, in the page.

  Two things it must never do. It must never look like a signed-in dashboard — everything in it is
  sample data, it says so in a banner that is part of the section rather than a footnote, and every
  "save" reports in words that nothing was saved. And it must work without the orbit: the markup is
  an ordinary list of buttons, and the orbit is arithmetic applied on top of it. Narrow screens, and
  anyone without the script, get the list — the same controls in a plainer arrangement.
*/

.demo { background: var(--ivory); padding: 86px 0 96px; }

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--apricot-soft);
  border: 1px solid #f0cfae;
  color: #7a3d10;
  font-size: 15px;
  line-height: 1.55;
  max-width: 760px;
}

.demo-note svg { width: 22px; height: 22px; flex: none; margin-top: 1px; stroke: currentColor; fill: none; stroke-width: 2; }

.demo-stage {
  position: relative;
  background: var(--white);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.demo-bar h3 { font-size: 19px; }
.demo-bar p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

.demo-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  background: #e3f2f3;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.demo-back:hover { background: #d3eaec; }
.demo-back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.demo-back[hidden] { display: none; }

/* The orbit surface: one positioning context shared by the centre and the lists, so the sun and
   the ring are measured from the same origin. The script gives it a size in orbit mode and takes
   it away again in list mode. */
.demo-canvas { position: relative; }
.demo-stage.is-orbit .demo-canvas { margin-inline: auto; }

.demo-orbit {
  list-style: none;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.demo-stage.is-orbit .demo-orbit {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

/* After the orbit rule, and at least as specific as it: `hidden` has to win in both modes, or
   every member's orbit is drawn on top of every other one. */
.demo-orbit[hidden],
.demo-stage.is-orbit .demo-orbit[hidden] { display: none; }

.demo-stage.is-orbit .demo-orbit > li {
  position: absolute;
  margin: 0;
}

.demo-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-md);
  background: var(--ivory);
  text-align: start;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.2s;
}

.demo-node:hover { border-color: var(--teal-deep); box-shadow: 0 10px 22px -14px rgba(22, 33, 74, 0.5); }
.demo-node:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }

.demo-stage.is-orbit .demo-node {
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  min-height: 0;
  text-align: center;
  background: transparent;
  border-color: transparent;
}

.demo-stage.is-orbit .demo-node:hover { background: var(--ivory); border-color: var(--edge); }

.demo-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--edge);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.demo-avatar svg { width: 20px; height: 20px; stroke: var(--teal-deep); fill: none; stroke-width: 2; }
.demo-node[data-kind="device"] .demo-avatar { background: #e3f2f3; border-color: var(--teal-deep); }
.demo-node[data-kind="setting"] .demo-avatar { background: var(--apricot-soft); border-color: #eec49c; }
.demo-node[data-kind="setting"] .demo-avatar svg { stroke: #8a4413; }

.demo-node-copy { min-width: 0; }
.demo-node-name { display: block; font-weight: 600; font-size: 14.5px; }
.demo-node-meta { display: block; font-size: 12.5px; color: var(--ink-soft); }
.demo-stage.is-orbit .demo-node-name { font-size: 13px; }
.demo-stage.is-orbit .demo-node-meta { font-size: 11px; line-height: 1.35; }

.demo-node-changed {
  display: none;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apricot-ink);
}

.demo-node.is-changed .demo-node-changed { display: block; }

/* The centre. Drawn as a centre only once the orbit is on; in list mode it is a heading strip. */
.demo-centre {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--apricot-soft), var(--sand));
  border: 1px solid var(--edge);
}

.demo-stage.is-orbit .demo-centre {
  position: absolute;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  pointer-events: none;
}

.demo-centre img { width: 62px; height: 62px; object-fit: contain; }
.demo-stage.is-orbit .demo-centre img { width: 100%; height: auto; }

.demo-centre-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.demo-centre-meta { font-size: 13px; color: var(--ink-soft); }
.demo-stage.is-orbit .demo-centre-name { font-size: 15px; }
.demo-stage.is-orbit .demo-centre-meta { display: none; }

/* What happened, said out loud. */
.demo-status {
  margin-top: 18px;
  min-height: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--teal-deep);
}

.demo-status:not(:empty) {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #e3f2f3;
  border: 1px solid #bfdfe1;
}

/* ---------- the demo's dialogs ---------- */

.demo-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}

.demo-dialog::backdrop { background: rgba(28, 20, 12, 0.5); }

.demo-dialog form { margin: 0; }

.demo-dialog-head { padding: 22px 24px 4px; }
.demo-dialog-head h3 { font-size: 21px; }
.demo-dialog-head p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

.demo-dialog-body { padding: 16px 24px 4px; display: flex; flex-direction: column; gap: 12px; }

.demo-field { display: flex; flex-direction: column; gap: 8px; }
.demo-field > span { font-weight: 600; font-size: 14px; }

.demo-field select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: inherit;
}

.demo-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  cursor: pointer;
}

.demo-choice input { accent-color: var(--teal-deep); width: 18px; height: 18px; }
.demo-choice:has(input:checked) { border-color: var(--teal-deep); background: #e3f2f3; }
.demo-choice:focus-within { outline: 3px solid var(--apricot); outline-offset: 2px; }

.demo-dialog-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 24px 22px;
}

.demo-dialog-foot button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.demo-save { background: var(--teal-deep); color: #fff; }
.demo-save:hover { background: #084850; }
.demo-cancel { background: var(--sand); color: var(--ink); }
.demo-cancel:hover { background: var(--edge); }
.demo-dialog-foot button:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }

.demo-dialog-note {
  padding: 0 24px 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a3d10;
}

@media (max-width: 720px) {
  .demo { padding: 62px 0 70px; }
  .demo-stage { padding: 16px; }
  .demo-orbit { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .hero-visual .hero-img, .float-card, .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .day-visual-sticky img { transition: none; }
  .demo-node { transition: none; }
}

/* Float the symbols only: labels and click targets remain still. */
@keyframes orbit-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.demo-avatar, .demo-centre img { animation: orbit-bob 5s ease-in-out infinite; }
.demo-orbit li:nth-child(2n) .demo-avatar { animation-delay: -1.6s; }
.demo-orbit li:nth-child(3n) .demo-avatar { animation-delay: -3.2s; }
.demo-node:hover .demo-avatar, .demo-node:focus-visible .demo-avatar,
.demo-stage.is-paused .demo-avatar, .demo-stage.is-paused .demo-centre img { animation-play-state: paused; }
.demo-centre-avatar { width: 62px; height: 62px; background: var(--apricot-soft); font-size: 28px; }
.demo-stage.is-orbit .demo-centre-avatar { width: 100%; height: auto; aspect-ratio: 1; font-size: 40px; }
.demo-centre [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .demo-avatar, .demo-centre img { animation: none; transform: none; }
}
