/* Zume website styles. No external resources: fonts are self-hosted, every image is inline SVG or same-origin. */

/* Baloo 2 (Ek Type, SIL Open Font License 1.1, see /assets/fonts/OFL-Baloo2.txt), variable weight 400-800. */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/baloo2-latin-ext.dfd52ee2e6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/baloo2-latin.26fb4610d4.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --grape: #6b5bd6;
  --grape-deep: #4b3db8;
  --sun: #ffb92e;
  --ink: #2b2a4c;
  --ink-soft: #55547a;
  --cream: #fff6e9;
  --sky: #cde7ff;
  --mint: #cdf0dc;
  --mint-deep: #9ed9b8;
  --peach: #ffd9c2;
  --lavender: #e0d8ff;
  --lilac-wash: #f1edff;
  --rose: #ffd1dc;
  --butter: #ffeba8;
  --white: #ffffff;
  --line: #e6e1f5;
  --display: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
  --wrap: 1160px;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(43, 42, 76, 0.06), 0 14px 34px -16px rgba(43, 42, 76, 0.32);
  --shadow-soft: 0 1px 2px rgba(43, 42, 76, 0.05), 0 8px 22px -14px rgba(43, 42, 76, 0.28);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  line-height: 1;
}
h2 {
  font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.3rem);
}
h3 {
  font-size: 1.32rem;
  line-height: 1.18;
}
p,
ul,
ol {
  margin: 0 0 1em;
}
a {
  color: var(--grape-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--grape-deep);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
strong {
  font-weight: 750;
}
code,
kbd,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}
code {
  background: var(--lilac-wash);
  border-radius: 6px;
  padding: 0.08em 0.35em;
}
img,
svg {
  max-width: 100%;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 700px) {
  .wrap {
    width: min(100% - 4rem, var(--wrap));
  }
}
.skip {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
  color: var(--white);
}

/* ---------- Small parts ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--grape-deep);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  max-width: 44rem;
}
.small {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.center {
  text-align: center;
  margin-inline: auto;
}
.pill {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.05rem 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.6;
}
.tag {
  display: inline-block;
  vertical-align: 0.15em;
  background: var(--butter);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.05rem 0.6rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}
mark.tbc {
  background: var(--butter);
  color: var(--ink);
  border: 2px dashed var(--ink);
  border-radius: 8px;
  padding: 0 0.35em;
  font-weight: 700;
  font-size: 0.92em;
}
.bg-sky {
  background: var(--sky);
}
.bg-lavender {
  background: var(--lavender);
}
.bg-butter {
  background: var(--butter);
}
.bg-peach {
  background: var(--peach);
}
.bg-mint {
  background: var(--mint);
}
.bg-rose {
  background: var(--rose);
}

.ticks {
  list-style: none;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 2rem;
  margin: 0.45rem 0;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.42em;
  width: 0.95em;
  height: 0.5em;
  border-left: 3px solid var(--grape);
  border-bottom: 3px solid var(--grape);
  transform: rotate(-45deg);
}
.plain-list {
  list-style: none;
  padding: 0;
}
.plain-list li {
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.6rem 1.35rem 0.55rem;
  border: 3px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--grape);
  color: var(--white);
  box-shadow: 0 4px 0 var(--grape-deep);
}
.btn-primary:hover {
  background: var(--grape-deep);
  color: var(--white);
}
.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--grape-deep);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--lavender);
  color: var(--ink);
}
/* White with black text, raised on a dark edge: the main button where purple would be too much (the hero). */
.btn-white {
  background: var(--white);
  color: #000000;
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-white:hover {
  background: var(--lavender);
  color: #000000;
}
.btn-white:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}
.btn-small {
  min-height: 40px;
  padding: 0.4rem 1rem 0.35rem;
  font-size: 1rem;
}
.btn-large {
  min-height: 58px;
  padding: 0.75rem 1.7rem 0.7rem;
  font-size: 1.22rem;
}
.btn-note {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.btn[aria-disabled="true"] {
  background: var(--line);
  color: var(--ink);
  box-shadow: none;
  cursor: default;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 233, 0.94);
  border-bottom: 1px solid rgba(43, 42, 76, 0.08);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(255, 246, 233, 0.82);
    backdrop-filter: saturate(1.5) blur(12px);
  }
}
.header-row {
  display: flex;
  flex-wrap: wrap; /* with very large text, the invite button moves to a second row instead of off the screen */
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  border-radius: 12px;
  margin-right: auto;
}
.brand-mark {
  display: block;
}
.site-nav {
  position: static;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  border-radius: 999px;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: var(--lavender);
  color: var(--ink);
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
}
.menu-icon {
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-icon::before {
  top: -6px;
}
.menu-icon::after {
  top: 6px;
}
.is-open .menu-icon {
  background: transparent;
}
.is-open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.is-open .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1099.98px) {
  .no-js .menu-link,
  .js .menu-button {
    display: inline-flex;
  }
  .nav-list {
    display: none;
  }
  .js .site-nav.is-open .nav-list {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid rgba(43, 42, 76, 0.12);
    box-shadow: 0 24px 30px -24px rgba(43, 42, 76, 0.45);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .js .site-nav.is-open .nav-list a {
    padding: 0.8rem 1rem;
    font-size: 1.12rem;
    border-radius: 16px;
  }
}
@media (min-width: 1100px) {
  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .nav-list a {
    padding: 0.45rem 0.75rem;
    font-size: 0.98rem;
  }
}
@media (max-width: 379.98px) {
  .header-cta {
    display: none;
  }
}

/* ---------- Sections ---------- */
.section,
.how,
.apps,
.parents,
.ai-teaser,
.ai-apps,
.limits,
.install-teaser,
.pricing,
.phones,
.faq,
.invite {
  padding-block: clamp(3.75rem, 8vw, 6.5rem);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 235, 168, 0.85) 0, rgba(255, 235, 168, 0) 34%),
    linear-gradient(180deg, #d7ecff 0%, #e9f4ff 38%, var(--cream) 88%);
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.hero-copy h1 {
  margin-bottom: 0.4em;
  text-wrap: balance;
}
/* Each sentence of the headline starts its own line: "More than a phone." / "Made for being a kid." */
.hero-copy h1 span {
  display: block;
}
.hero-copy .lead {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.38rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.2rem;
}
.hero-meta {
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta .ico {
  color: var(--grape-deep);
}
.hero-art {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.hero-svg {
  display: block;
  width: 100%;
  height: auto;
  /* Dissolve the picture's square edges into the page. */
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 42%, #000 68%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse 72% 78% at 50% 42%, #000 68%, rgba(0, 0, 0, 0) 100%);
}
.bubbles {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bubble {
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.22;
  padding: 0.65rem 0.95rem 0.55rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 599.98px) {
  .bubbles {
    display: grid;
    gap: 0.6rem;
    margin-top: -0.75rem;
    position: relative;
  }
  .bubble {
    max-width: 85%;
    border-bottom-left-radius: 6px;
  }
  .bubble.b2 {
    justify-self: end;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 6px;
  }
}
@media (min-width: 600px) {
  .bubble {
    position: absolute;
    max-width: 13.5rem;
  }
  .b1 {
    top: 6%;
    left: -3%;
    border-bottom-left-radius: 6px;
  }
  .b2 {
    top: 44%;
    right: -4%;
    border-bottom-right-radius: 6px;
  }
  .b3 {
    bottom: 5%;
    left: 0;
    border-top-left-radius: 6px;
  }
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 2.5rem;
  }
}

/* ---------- The day story ---------- */
.story {
  position: relative;
  --dawn: linear-gradient(180deg, #f7d9e8 0%, #ffe1cf 46%, #fff0d6 100%);
  --day: linear-gradient(180deg, #a7d4ff 0%, #cfe8ff 52%, #eaf5ff 100%);
  --golden: linear-gradient(180deg, #ffd49a 0%, #ffe5be 52%, #fff1dc 100%);
  --dusk: linear-gradient(180deg, #5b52b5 0%, #b089d6 52%, #ffb79e 100%);
  --night: linear-gradient(180deg, #1b1a36 0%, #2b2a4c 58%, #3a3868 100%);
}
/* The sky spans the whole story; inside it, one screen-sized frame sticks to the top while the scenes scroll over it
   and stops exactly at the end of the story. */
.story-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
}
.sky {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.sky-dawn {
  background: var(--dawn);
  opacity: 1;
}
.sky-day {
  background: var(--day);
}
.sky-golden {
  background: var(--golden);
}
.sky-dusk {
  background: var(--dusk);
}
.sky-night {
  background: var(--night);
}
.stars {
  display: block;
  width: 100%;
  height: 70%;
}
.sky-sun,
.sky-moon {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  will-change: transform, opacity;
}
.sky-sun {
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  background: radial-gradient(circle, #ffd25e 0 40%, rgba(255, 210, 94, 0.45) 41% 55%, rgba(255, 210, 94, 0) 72%);
  opacity: 0;
}
.sky-moon {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  box-shadow: 18px -10px 0 0 #fff2c4;
  opacity: 0;
}
.story-intro,
.scene {
  position: relative;
  z-index: 1;
}
.story-intro {
  padding: clamp(4rem, 10vw, 7rem) 0 1rem;
  text-align: center;
}
.story-intro .lead {
  margin-inline: auto;
}
.story-intro::before {
  /* Soft hand-over from the cream hero into the dawn sky. */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 50%;
  background: linear-gradient(180deg, var(--cream), rgba(255, 246, 233, 0));
  z-index: -1;
}
.story::after {
  /* Soft hand-over from the night sky into the cream page, through lavender rather than grey. */
  content: "";
  display: block;
  position: relative;
  z-index: 1;
  height: 26vh;
  background: linear-gradient(
    180deg,
    rgba(107, 91, 214, 0) 0%,
    rgba(150, 132, 230, 0.55) 38%,
    rgba(232, 224, 255, 0.92) 72%,
    var(--cream) 100%
  );
}
.scene {
  display: grid;
  align-items: center;
  min-height: 94vh;
  min-height: 94svh;
  padding: 3.5rem 0;
}
.scene-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.scene-art {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.6) inset, 0 26px 50px -26px rgba(43, 42, 76, 0.55);
  background: var(--white);
  border: 6px solid var(--white);
}
.scene-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.scene-card {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  padding: 1.4rem 1.5rem 1.3rem;
  box-shadow: 0 22px 44px -22px rgba(43, 42, 76, 0.5);
  max-width: 32rem;
}
.scene-time {
  margin: 0 0 0.7rem;
}
.scene-time time {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 0.12rem 0.75rem 0.08rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
}
.scene-card h3 {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--grape-deep);
  margin: 0 0 0.35rem;
}
.quote {
  margin: 0 0 1rem;
}
.quote p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.15rem);
  line-height: 1.16;
  margin: 0;
  text-wrap: pretty;
}
.scene-note {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 2px dashed var(--lavender);
}
@media (min-width: 860px) {
  .scene-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
  .scene-flip .scene-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .scene-flip .scene-art {
    order: 2;
  }
  .scene-flip .scene-card {
    justify-self: end;
  }
}
@media (max-width: 859.98px) {
  .scene-card {
    margin-top: -2.75rem;
    margin-inline: 0.6rem;
  }
}

/* Without the moving sky (no JavaScript, or reduced motion): each scene carries its own sky. */
.static-sky .story-sky {
  display: none;
}
.static-sky .story-intro {
  background: linear-gradient(180deg, var(--cream), #f7d9e8);
}
.static-sky .story-intro::before {
  content: none;
}
.static-sky [data-sky="dawn"] {
  background: linear-gradient(180deg, #f7d9e8, #ffe6cc);
}
.static-sky [data-sky="morning"] {
  background: linear-gradient(180deg, #ffe6cc, #d6ebff);
}
.static-sky [data-sky="day"] {
  background: linear-gradient(180deg, #d6ebff, #c6e3ff);
}
.static-sky [data-sky="afternoon"] {
  background: linear-gradient(180deg, #c6e3ff, #ffe3b4);
}
.static-sky [data-sky="golden"] {
  background: linear-gradient(180deg, #ffe3b4, #ffc6a6);
}
.static-sky [data-sky="dusk"] {
  background: linear-gradient(180deg, #ffc6a6, #6b5fc4);
}
.static-sky [data-sky="night"] {
  background: linear-gradient(180deg, #3a3868, #1f1e3a);
}
.static-sky .scene {
  /* Without the moving sky there is nothing to watch between scenes: keep them close together. */
  min-height: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.static-sky::after {
  background: linear-gradient(180deg, #1f1e3a 0%, #5b4fb8 38%, #d9d0fb 72%, var(--cream) 100%);
}

/* ---------- How we do it ---------- */
.how {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.h-small {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem);
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.how-steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.how-steps h3 {
  margin-bottom: 0.35rem;
}
.how-steps p {
  margin: 0;
}
.how-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  padding-top: 0.1em;
}
@media (min-width: 760px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* How we do it: Your Google Pixel + our image = a Zume. Stacked on a phone, in a row from 640px. */
.how-lead {
  max-width: 44rem;
}
.equation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.15;
  text-align: center;
}
.eq-term {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.eq-art {
  display: block;
  width: 60px;
  height: 110px;
}
.eq-disc {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-block: 7px; /* as tall as the phone drawings (110px), so the three labels line up */
  border-radius: 50%;
  background: var(--lavender);
  color: var(--grape-deep);
}
.eq-op {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--grape);
}
.eq-result {
  color: var(--grape-deep);
}
@media (min-width: 640px) {
  .equation {
    flex-direction: row;
    justify-content: center;
    gap: 1.75rem;
    padding: 1.75rem 2rem;
  }
  .eq-term {
    min-width: 8.5rem;
  }
}

/* ---------- What is a Zume? (a dictionary entry) ---------- */
.what {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.what-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.what-copy .lead {
  margin-bottom: 0;
}
.definition {
  background: var(--white);
  border: 3px solid var(--lavender);
  border-radius: 28px;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  box-shadow: var(--shadow);
}
.def-head {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.8rem + 2vw, 3.1rem);
  line-height: 1;
  color: var(--grape-deep);
}
.def-pos {
  margin-left: 0.35rem;
  font-family: var(--body);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
}
.def-senses {
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.8rem;
}
.def-senses li::marker {
  font-family: var(--display);
  font-weight: 800;
  color: var(--grape);
}
.def-see {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 2px solid var(--line);
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .what-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
  }
}

/* ---------- Apps ---------- */
.app-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}
.app {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.app h3 {
  font-size: 1.22rem;
  margin: 0.75rem 0 0.25rem;
}
.app p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.app-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--ink);
}
@media (max-width: 599.98px) {
  .app {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    align-items: start;
    padding: 0.9rem 1rem;
  }
  .app-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .app h3 {
    margin: 0.05rem 0 0.15rem;
    font-size: 1.15rem;
  }
}
.soon-title {
  margin: 3rem 0 0;
  font-size: 1.6rem;
}
.app-grid-soon {
  margin-top: 1rem;
}
.app-grid-soon .app {
  background: rgba(255, 255, 255, 0.55);
  border: 2px dashed #b9b0ea;
  box-shadow: none;
}
.app-grid-soon h3 .tag {
  margin-left: 0.3rem;
}

/* ---------- Parents ---------- */
.parents {
  background: var(--lilac-wash);
}
.parents-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}
.portal-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  margin-inline: auto;
}
.rule-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.rule-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border-radius: 16px;
  padding: 0.6rem 0.9rem;
  font-weight: 650;
}
.rule-list .ico {
  color: var(--white);
  background: var(--grape);
  border-radius: 50%;
  padding: 3px;
  stroke-width: 3;
}
@media (min-width: 900px) {
  .parents-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}
.feature-cards {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.feature h3 {
  margin: 0.8rem 0 0.4rem;
}
.feature p {
  margin: 0;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--ink);
}
.callout {
  margin-top: 2rem;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.2rem;
}
.callout h3 {
  margin-bottom: 0.4rem;
}
.callout p {
  margin: 0;
  max-width: 50rem;
}
.callout-sun {
  background: var(--butter);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ---------- AI teaser (dark) ---------- */
.ai-teaser {
  background: var(--ink);
  color: var(--cream);
}
.ai-teaser .eyebrow {
  color: var(--sun);
}
.ai-teaser a:not(.btn) {
  color: var(--butter);
}
.ai-teaser :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sun);
}
.ai-teaser .ticks li::before {
  border-color: var(--sun);
}
.ai-teaser .btn-primary {
  box-shadow: 0 4px 0 #1b1a36;
}
.ai-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.ai-art svg {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .ai-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

/* ---------- Which Zume apps use AI ---------- */
.ai-apps .feature-cards {
  margin-top: 2rem;
}
.ai-apps .feature h3 .tag {
  margin-left: 0.3rem;
}
.ai-more {
  margin: 1.25rem 0 0;
  max-width: 50rem;
  color: var(--ink-soft);
}

/* ---------- What Zume can't do ---------- */
.limits {
  background: #fff0e4;
}
.limit-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .limit-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.limit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.limit h3 {
  margin: 0.8rem 0 0.4rem;
}
.limit p {
  margin: 0;
}

/* ---------- Install teaser and the risk notice ---------- */
.risk {
  position: relative;
  margin: 1.75rem 0;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--rose);
  padding: 1.3rem 1.5rem 1.1rem 4.6rem;
  max-width: 52rem;
  box-shadow: 6px 6px 0 var(--ink);
}
.risk::before {
  content: "!";
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font: 800 1.5rem/2.5rem var(--display);
  text-align: center;
}
.risk h2,
.risk h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.risk p {
  font-weight: 650;
}
.risk p:last-child {
  margin-bottom: 0;
}
.mini-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  counter-reset: mini;
}
.mini-steps li {
  counter-increment: mini;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.mini-steps li::before {
  content: counter(mini);
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--sun);
  font: 800 1rem/1 var(--display);
  padding-top: 0.12em;
}
.mini-steps .ico {
  color: var(--grape-deep);
}

/* ---------- Pricing ---------- */
.pricing {
  background: #eaf5ff;
}
.price-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.25rem;
  display: grid;
  gap: 1rem;
}
.price {
  background: var(--white);
  border-radius: 28px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.price h3 {
  margin-bottom: 0.35rem;
}
.price p:last-child {
  margin: 0;
}
.price-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  line-height: 1;
  color: var(--grape-deep);
  margin: 0 0 0.6rem;
}
.price-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.price-main {
  background: var(--grape);
  color: var(--white);
}
.price-main .price-big,
.price-main .price-unit {
  color: var(--white);
}
@media (min-width: 900px) {
  .price-steps {
    grid-template-columns: 1fr 1fr 1.25fr;
  }
}

/* ---------- Prerequisites (the phones drawing and the list) ---------- */
.phones-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.phones-grid > * {
  min-width: 0;
}
/* "Prerequisites" is one long word: with large text on a phone it breaks, with a hyphen, instead of widening the page. */
.phones-copy h2 {
  overflow-wrap: break-word;
  hyphens: auto;
}
.phones-art svg {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
}
@media (min-width: 860px) {
  .phones-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3.5rem;
  }
}

/* ---------- FAQ ---------- */
.faq {
  background: #fff0dd;
}
.faq-wrap {
  max-width: 54rem;
}
.faq-list {
  margin-top: 1.75rem;
}
.faq-list details {
  background: var(--white);
  border-radius: 20px;
  margin: 0 0 0.75rem;
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 4rem 1rem 1.4rem;
  border-radius: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 3px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 3px 14px no-repeat,
    var(--lavender);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover {
  background: var(--lilac-wash);
}
.answer {
  padding: 0 1.4rem 1.1rem;
}
.answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Invite ---------- */
.invite {
  background: linear-gradient(180deg, var(--cream) 0%, var(--lilac-wash) 100%);
}
.invite-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.already {
  background: var(--white);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-soft);
  max-width: 30rem;
}
.invite-card {
  background: var(--white);
  border-radius: 32px;
  padding: 1.6rem 1.5rem 1.2rem;
  box-shadow: var(--shadow);
}
.invite-card-art svg {
  display: block;
  margin: 0 auto 0.5rem;
}
.invite-lead {
  font-size: 1.15rem;
  font-weight: 650;
}
.invite-address {
  font-weight: 800;
  display: inline-block; /* the number moves to the next line whole, rather than splitting after "+91" */
  max-width: 100%;
  overflow-wrap: anywhere; /* breaks only when the text is very large */
}
.note {
  background: var(--rose);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  font-weight: 650;
}
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.25rem;
}
.copy-status {
  min-height: 1.6em;
  font-weight: 700;
  color: var(--grape-deep);
  margin: 0.25rem 0 0.5rem;
}
@media (min-width: 900px) {
  .invite-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .invite-card {
    padding: 2rem 2.1rem 1.5rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grape-deep);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
}
.site-footer a {
  color: var(--cream);
}
.site-footer a:hover {
  color: var(--butter);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-grid:focus {
  outline: none;
}
.footer-brand p {
  max-width: 18rem;
  margin-top: 1rem;
}
.footer-logo {
  display: block;
}
.footer-col h2 {
  font-size: 1.15rem;
  color: var(--butter);
  margin-bottom: 0.6rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin: 0.5rem 0;
}
.footer-fine {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 246, 233, 0.28);
  font-size: 0.9rem;
  color: var(--lavender);
  display: grid;
  gap: 0.3rem;
}
.footer-fine p {
  margin: 0;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 0.9fr 1.3fr;
  }
}

/* ---------- Inner pages (AI, install, invite, terms, privacy) ---------- */
.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #d7ecff 0%, var(--cream) 100%);
}
.page-head h1 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem);
}
.page-head .lead {
  margin-bottom: 0;
}
.page-body {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem);
}
.draft-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--butter);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.75rem;
  font-weight: 700;
  max-width: 46rem;
}
.draft-banner p {
  margin: 0;
}
.prose {
  max-width: 46rem;
}
.prose h2 {
  font-size: clamp(1.65rem, 1.35rem + 1.1vw, 2.15rem);
  margin-top: 2.6rem;
}
.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
}
.prose li {
  margin: 0.35rem 0;
}
.prose li::marker {
  color: var(--grape-deep);
}
.prose hr {
  border: 0;
  border-top: 2px dashed var(--line);
  margin: 2.5rem 0;
}
.toc {
  background: var(--white);
  border-radius: 20px;
  padding: 1.1rem 1.4rem 0.8rem;
  box-shadow: var(--shadow-soft);
  margin: 0 0 2rem;
  max-width: 46rem;
}
.toc h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.toc ol {
  margin: 0 0 0.4rem;
  padding-left: 1.3rem;
  columns: 2 15rem;
  column-gap: 2rem;
}
.toc li {
  margin: 0.2rem 0;
  break-inside: avoid;
}
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.96rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--lilac-wash);
  font-weight: 800;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
.box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem 1.1rem;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0;
}
.box > :first-child {
  margin-top: 0;
}
.box > :last-child {
  margin-bottom: 0;
}
.meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.page-head .meta {
  margin-top: 1rem;
}

/* Install steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  counter-reset: step;
  max-width: 50rem;
}
.step {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.1rem 4.6rem;
  margin: 0 0 1rem;
  box-shadow: var(--shadow-soft);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sun);
  font: 800 1.3rem/1 var(--display);
  padding-top: 0.1em;
}
.step h2,
.step h3 {
  font-size: 1.35rem;
  margin: 0.25rem 0 0.5rem;
}
.step > :last-child {
  margin-bottom: 0;
}
.step ul,
.step ol {
  padding-left: 1.3rem;
}
.step li {
  margin: 0.3rem 0;
}
@media (max-width: 479.98px) {
  .step {
    padding-left: 1.2rem;
    padding-top: 4.2rem;
  }
}

/* ---------- AI training ---------- */
.training {
  max-width: 52rem;
}
.lesson-progress {
  display: none;
}
.card-deck {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson {
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin: 0 0 1.5rem;
  overflow: hidden;
}
.lesson-art {
  background: var(--sky);
}
.lesson-art svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
}
.lesson-body {
  padding: 1.4rem 1.6rem 1.3rem;
}
.lesson-body h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}
.lesson-body > :last-child {
  margin-bottom: 0;
}
.lesson-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--grape-deep);
  margin: 0 0 0.2rem;
}
.zume-helps {
  background: var(--lilac-wash);
  border: 2px solid var(--lavender);
  border-radius: 16px;
  padding: 0.75rem 1rem;
}
/* A short bulleted list inside a guide card. */
.points {
  list-style: disc; /* inside the card list, browsers would otherwise draw hollow circles */
  padding-left: 1.4rem;
}
.points li {
  margin: 0.35rem 0;
}
.points li::marker {
  color: var(--grape-deep);
}
/* A "How Zume helps" note with more than one paragraph. */
div.zume-helps {
  margin: 0 0 1em;
}
.zume-helps > p {
  margin: 0 0 0.6em;
}
.zume-helps > p:last-child {
  margin-bottom: 0;
}
.try-this {
  background: var(--mint);
  border-radius: 16px;
  padding: 0.75rem 1rem;
}
.cite {
  font-size: 0.8em;
  vertical-align: super;
  line-height: 0;
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.1em;
}
.deck-nav {
  display: none;
}
.js .training.is-deck .lesson {
  display: none;
}
.js .training.is-deck .lesson.is-current {
  display: block;
}
.js .training.is-deck .deck-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 2rem;
}
.js .training.is-deck .lesson-progress {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.dots {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.4rem;
}
.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
}
.dots span.is-done {
  background: var(--grape);
}
.quiz fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}
.quiz legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.choice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--lilac-wash);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin: 0 0 0.6rem;
  cursor: pointer;
}
.choice:hover {
  border-color: var(--lavender);
}
.choice input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--grape-deep);
  flex: none;
}
.choice:has(input:checked) {
  border-color: var(--grape);
  background: var(--white);
}
.feedback {
  border-radius: 16px;
  padding: 0;
  font-weight: 650;
}
.feedback:not(:empty) {
  padding: 0.8rem 1rem;
  margin-top: 0.75rem;
  background: var(--mint);
}
.feedback.is-wrong {
  background: var(--peach);
}
.badge {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.badge svg {
  flex: none;
}
.pledge {
  list-style: none;
  padding: 0;
}
.pledge li {
  margin: 0 0 0.55rem;
}
.pledge label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--cream);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}
.pledge input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--grape-deep);
  flex: none;
}
.sources {
  padding-left: 1.4rem;
}
.sources li {
  margin: 0 0 0.9rem;
}

.js .quiz-answer {
  display: none;
}
.quiz-answer summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--grape-deep);
}
.badge-box h2 {
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem);
  margin-bottom: 0.2rem;
}
.step h2 .ico {
  color: var(--grape-deep);
  vertical-align: -0.18em;
  margin-right: 0.2rem;
}
[tabindex="-1"]:focus {
  outline: none;
}

/* ---------- Invite landing page ---------- */
.invite-status {
  max-width: 40rem;
  /* Room for the result, so the footer starts below the screen and nothing in view moves when the check returns. */
  min-height: 75vh;
  min-height: 75svh;
}
.status-card {
  background: var(--white);
  border-radius: 30px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}
.status-card h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
}
.status-card > :last-child {
  margin-bottom: 0;
}
.status-card[hidden] {
  display: none;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 5px solid var(--lavender);
  border-top-color: var(--grape);
  margin: 0 0 1rem;
}
.next-steps {
  padding-left: 1.4rem;
}
.next-steps li {
  margin: 0 0 0.6rem;
}
.invite-request-block {
  margin-top: 2.5rem;
  max-width: 40rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

/* ---------- Not found ---------- */
.lost {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.lost svg {
  display: block;
  margin: 0 auto 1.5rem;
}
.lost .lead {
  margin-inline: auto;
}
.lost .actions {
  justify-content: center;
}

/* ---------- Reveal on scroll (added only by JavaScript, only below the fold, never with reduced motion) ---------- */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(26px);
}

/* ---------- Ambient motion (only when the visitor hasn't asked for less motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .sun-dot,
  .hero-sun {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 4.2s ease-in-out infinite;
  }
  .drift-a {
    animation: drift 13s ease-in-out infinite alternate;
  }
  .drift-b {
    animation: drift 17s ease-in-out -6s infinite alternate-reverse;
  }
  .twinkle > * {
    transform-box: fill-box;
    transform-origin: center;
    animation: twinkle 3.2s ease-in-out infinite;
  }
  .twinkle > .t2 {
    animation-delay: -1.1s;
  }
  .twinkle > .t3 {
    animation-delay: -2.2s;
  }
  .ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring 2.6s ease-in-out infinite;
  }
  .zzz text {
    animation: zzz 3.6s ease-in-out infinite;
    opacity: 0;
  }
  .zzz text:nth-child(2) {
    animation-delay: 1.2s;
  }
  .zzz text:nth-child(3) {
    animation-delay: 2.4s;
  }
  .bubble {
    animation: bob 6s ease-in-out infinite;
  }
  .b2 {
    animation-delay: -2s;
  }
  .b3 {
    animation-delay: -4s;
  }
  .spinner {
    animation: spin 0.9s linear infinite;
  }
  .anim-paused,
  .anim-paused * {
    animation-play-state: paused !important;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes drift {
  from {
    transform: translateX(-12px);
  }
  to {
    transform: translateX(16px);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}
@keyframes ring {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes zzz {
  0% {
    opacity: 0;
    transform: translate(0, 6px);
  }
  30% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translate(5px, -12px);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .story-sky,
  .skip,
  .deck-nav,
  .hero-actions,
  .invite-actions {
    display: none !important;
  }
  body,
  .hero,
  .parents,
  .pricing,
  .faq,
  .invite,
  .ai-teaser,
  .site-footer,
  .page-head {
    background: #fff !important;
    color: #000 !important;
  }
  .site-footer a,
  .ai-teaser a {
    color: #000 !important;
  }
  .reveal.is-hidden {
    opacity: 1;
    transform: none;
  }
  .js .training.is-deck .lesson {
    display: block;
  }
}
