/* MindUnlock public site. RTL-first, logical properties only. Colors meet WCAG AA for text on their backgrounds. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/heebo-hebrew-wght-normal.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/heebo-latin-wght-normal.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+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #6c5ce7;
  --brand-deep: #4334b0;
  --brand-soft: #f1efff;
  --ink: #1b1e2e;
  --muted: #4f5568;
  --line: #e4e6ef;
  --amber: #ffb020;
  --amber-soft: #fff6e0;
  --orange: #ff7a1a;
  --pink: #ff5c8a;
  --green: #12b886;
  --green-deep: #0a7a59;
  --green-soft: #e6f8f1;
  --sky: #2ea8ff;
  --sky-soft: #e7f5ff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(67, 52, 176, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Heebo', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
}

/* Fluid type scale (W17): six steps, readable from 320 to 1440 px. */
h1 {
  font-size: clamp(32px, 4.2vw + 14px, 50px);
}

h2 {
  font-size: clamp(26px, 2.2vw + 16px, 36px);
}

/* Line icons (Lucide, ISC) drawn with the current text colour through a mask. */
.ic {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
}

a[href^='mailto:'] {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Visually hidden (but read by screen readers) without pushing the page sideways in RTL. */
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-block-end: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.wrap,
header.top .inner,
footer .inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

header.top .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 10px;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 16px;
}

header.top nav a {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

header.top nav a:hover {
  background: var(--brand-soft);
}

header.top nav a.cta {
  background: var(--brand);
  color: #fff;
}

/* Layout */
main {
  display: block;
}

main.narrow {
  max-width: 860px;
  margin-inline: auto;
  padding: 36px 24px 64px;
}

.band {
  padding-block: 64px;
}

.band.soft {
  background: var(--brand-soft);
}

.band.warm {
  background: linear-gradient(180deg, #fff6ea, #fff);
}

.band.mint {
  background: var(--green-soft);
}

.band.sky {
  background: var(--sky-soft);
}

.band.dark {
  background: linear-gradient(135deg, #2b2170, #4334b0 60%, #6c5ce7);
  color: #fff;
}

.band.dark a {
  color: #fff;
}

.band.dark .lead {
  color: #e6e2ff;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-block-end: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

h1 {
  margin-block: 0 12px;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  margin-block: 0 12px;
  font-size: 34px;
  line-height: 1.25;
}

main.narrow h2 {
  margin-block-start: 36px;
  font-size: 28px;
}

h3 {
  margin-block: 0 6px;
  font-size: 20px;
  line-height: 1.35;
}

p {
  margin-block: 0 12px;
}

ul,
ol {
  margin-block: 0 12px;
  padding-inline-start: 24px;
}

li {
  margin-block-end: 6px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
}

.meta,
.lang-switch {
  color: var(--muted);
  font-size: 15px;
}

.grad-text {
  background: linear-gradient(90deg, var(--brand), var(--pink) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 72px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 176, 32, 0.35), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(46, 168, 255, 0.25), transparent 45%),
    linear-gradient(135deg, #f4f1ff, #fff3f7 55%, #fff8ec);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero .lead {
  color: #3d4256;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 18px 0;
  padding: 0;
  list-style: none;
}

.chips li {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.35);
  transition: transform 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.button.light {
  background: #fff;
  color: var(--brand-deep);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 22px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-block: 24px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card p,
.card li {
  font-size: 16px;
}

.card p:last-child,
.card ul:last-child {
  margin-block-end: 0;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-block-end: 12px;
  border-radius: 16px;
  font-size: 28px;
}

.i-purple {
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.i-orange {
  background: #ffeede;
  color: #c25a00;
}
.i-green {
  background: var(--green-soft);
  color: var(--green-deep);
}
.i-sky {
  background: var(--sky-soft);
  color: #0b6cb3;
}
.i-pink {
  background: #ffe8ef;
  color: #c2185b;
}
.i-amber {
  background: var(--amber-soft);
  color: #8a5400;
}

.card .icon .ic {
  width: 28px;
  height: 28px;
}

.subject-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.subject-row .ic {
  color: var(--brand);
}

.card.tint-purple {
  background: var(--brand-soft);
  box-shadow: none;
}
.card.tint-green {
  background: var(--green-soft);
  box-shadow: none;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps > li {
  position: relative;
  margin-block-end: 20px;
  padding-inline-start: 62px;
}

.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-weight: 800;
  line-height: 44px;
  text-align: center;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-block-start: 28px;
}

.flow .card {
  position: relative;
}

.flow .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-block-end: 8px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

/* Split rows with a mockup */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.split + .split {
  margin-block-start: 64px;
}

.hero .figure-note {
  margin-block-start: 44px;
}

.figure-note {
  margin-block-start: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Phone mockups (illustrations of the app, not screenshots) */
.phones {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.phone {
  flex: none;
  width: 270px;
  padding: 10px;
  border-radius: 38px;
  background: #1b1e2e;
  box-shadow: 0 24px 50px rgba(27, 30, 46, 0.28);
}

.phone.tilt-a {
  transform: rotate(-3deg);
}

.phone.tilt-b {
  transform: rotate(3deg) translateY(28px);
}

.screen {
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  background: #f6f5ff;
  font-size: 14px;
  line-height: 1.4;
}

.screen .bar {
  padding: 10px 14px 8px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 800;
  text-align: center;
}

.screen .pad {
  padding: 12px;
}

.kid-bg {
  background: linear-gradient(180deg, #ff9f6b, #ff6f91 45%, #8a5cf6);
}

.hi {
  margin-block-end: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.tile {
  margin-block-end: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
}

.tile small {
  display: block;
  font-weight: 500;
  opacity: 0.95;
}

.tile .big {
  font-size: 22px;
  font-weight: 900;
}

.t-purple {
  background: #5b4bd8;
}
.t-amber {
  background: #f2a10f;
  color: #3a2600;
}
.t-green {
  background: #129c74;
}
.t-orange {
  background: #f77a1d;
}
.t-sky {
  background: #1f8fe0;
}
.t-violet {
  background: #8b6cf0;
}

.tiles-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.progress {
  height: 7px;
  margin-block-start: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #fff;
}

.pill {
  display: block;
  margin-block: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(27, 30, 46, 0.55);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.lock-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 22px;
  background: linear-gradient(180deg, #2b2170, #4334b0);
  color: #fff;
  text-align: center;
}

.lock-screen .emoji {
  font-size: 54px;
}

.lock-screen h4 {
  margin: 8px 0 6px;
  font-size: 20px;
}

.lock-screen p {
  margin-block-end: 14px;
  color: #e6e2ff;
  font-size: 14px;
}

.ui-btn {
  display: block;
  margin-block: 8px;
  padding: 11px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 800;
}

.ui-btn.green {
  background: #12b886;
  color: #fff;
}

.ui-btn.ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.ui-btn.red {
  background: #ff5c5c;
  color: #fff;
}

.q-card {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.q-meta {
  display: flex;
  justify-content: space-between;
  margin-block-end: 8px;
  color: var(--muted);
  font-size: 12px;
}

.q-text {
  margin-block-end: 12px;
  font-size: 16px;
  font-weight: 700;
}

.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.answers span {
  padding: 12px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.answers span.right {
  background: #12b886;
  color: #fff;
}

.reward {
  margin-block-start: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #6b4500;
  font-weight: 700;
  text-align: center;
}

.p-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
}

.p-row b {
  font-size: 15px;
}

.badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge.ok {
  background: var(--green-soft);
  color: var(--green-deep);
}

.badge.warn {
  background: #fff1d6;
  color: #8a5400;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber-soft);
  font-size: 22px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 8px 4px 0;
}

.bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--brand), #a99cff);
}

.banner-warn {
  margin-block-end: 8px;
  padding: 10px 12px;
  border: 2px solid #f59e0b;
  border-radius: 16px;
  background: #fef3c7;
  color: #3d2b00;
  font-weight: 700;
}

.banner-warn small {
  display: block;
  font-weight: 500;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-block: 28px;
}

.plan {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan.featured {
  background: linear-gradient(160deg, #fff, #f3f0ff);
  box-shadow:
    0 0 0 3px var(--brand),
    var(--shadow);
}

.plan .tag {
  position: absolute;
  top: -14px;
  inset-inline-start: 24px;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--pink));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.price {
  margin-block: 8px 14px;
  font-size: 40px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

.checks {
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-inline-start: 30px;
}

.checks li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

/* Notes and FAQ */
.note {
  padding: 16px 20px;
  border-inline-start: 5px solid var(--amber);
  border-radius: 12px;
  background: var(--amber-soft);
}

.note.safe {
  border-color: var(--green);
  background: var(--green-soft);
}

.safety {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.safety .shield {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green), #4dd4a8);
  font-size: 58px;
}

details {
  margin-block-end: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(27, 30, 46, 0.07);
}

details[open] {
  box-shadow:
    inset 4px 0 0 var(--brand),
    0 2px 12px rgba(27, 30, 46, 0.07);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details > :not(summary):first-of-type {
  margin-block-start: 10px;
}

.toc {
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--brand-soft);
}

.toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px 18px;
  margin: 0;
}

.page-hero {
  padding-block: 44px 36px;
  background: linear-gradient(135deg, #f4f1ff, #fff3f7 60%, #fff8ec);
}

.page-hero .wrap {
  max-width: 860px;
}

.perm {
  margin-block: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.perm h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.perm .badge {
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

th {
  background: var(--brand-soft);
}

section + section {
  margin-block-start: 0;
}

main.narrow section + section {
  margin-block-start: 48px;
  padding-block-start: 32px;
  border-block-start: 1px solid var(--line);
}

/* Google Play CTA */
.button.play {
  background: linear-gradient(135deg, #1b1e2e, #3a3f5c);
  box-shadow: 0 8px 20px rgba(27, 30, 46, 0.3);
}

.button.play.soon {
  cursor: default;
  opacity: 0.85;
}

/* Reviews */
.stars {
  color: #f5a400;
  font-size: 22px;
  letter-spacing: 2px;
}

.review blockquote {
  margin: 8px 0 12px;
  font-size: 17px;
}

.early {
  max-width: 720px;
  margin-inline: auto;
}

/* Blog */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-block: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card .cover {
  display: grid;
  place-items: center;
  height: 150px;
  font-size: 64px;
}

.article-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.article-card .body p {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
}

.article-card .more {
  color: var(--brand-deep);
  font-weight: 800;
}

.c-purple {
  background: linear-gradient(135deg, #e9e5ff, #cfc6ff);
}
.c-orange {
  background: linear-gradient(135deg, #ffe9d6, #ffc999);
}
.c-green {
  background: linear-gradient(135deg, #dcf7ec, #a8ead0);
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 8px;
  color: var(--muted);
  font-size: 14px;
}

.article h2 {
  margin-block-start: 34px;
}

.article .callout {
  margin-block: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--brand-soft);
}

.article .sources {
  margin-block-start: 36px;
  color: var(--muted);
  font-size: 15px;
}

/* Interactive guide */
.guide {
  max-width: 980px;
  margin-inline: auto;
}

.guide-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-end: 16px;
  padding: 0;
  list-style: none;
}

.guide-progress button {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eceaf8;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.guide-progress button[aria-current='step'] {
  background: var(--brand);
  color: #fff;
}

.guide-progress button.done {
  background: var(--green-soft);
  color: var(--green-deep);
}

.guide-stage {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 28px;
  align-items: start;
}

.shot {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border: 10px solid #1b1e2e;
  border-radius: 34px;
  background: #f6f5ff;
  box-shadow: 0 20px 44px rgba(27, 30, 46, 0.25);
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 3px dashed #b9b0ff;
  border-radius: 24px;
  color: var(--brand-deep);
  font-size: 14px;
  text-align: center;
}

.highlight {
  position: absolute;
  border: 4px solid var(--orange);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(27, 30, 46, 0.45);
  pointer-events: none;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    border-color: #ffd23f;
  }
}

.pointer {
  position: absolute;
  font-size: 34px;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.guide-text {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-text .step-no {
  color: var(--brand-deep);
  font-weight: 800;
}

.guide-text .where {
  display: inline-block;
  margin-block: 4px 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #6b4500;
  font-size: 14px;
  font-weight: 700;
}

.guide-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 18px;
}

.guide-nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

button.button {
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Help chat */
.chat-fab {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(108, 92, 231, 0.45);
  cursor: pointer;
}

.chat-panel {
  position: fixed;
  inset-block-end: 94px;
  inset-inline-end: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(27, 30, 46, 0.3);
}

.chat-panel[hidden] {
  display: none;
}

.chat-head {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand), #8b6cf0);
  color: #fff;
}

.chat-head strong {
  display: block;
  font-size: 17px;
}

.chat-head span {
  font-size: 14px;
  opacity: 0.9;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f7f6fc;
}

.msg {
  max-width: 88%;
  margin-block-end: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
}

.msg.bot {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.msg.user {
  margin-inline-start: auto;
  background: var(--brand);
  color: #fff;
}

.msg a {
  font-weight: 700;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-end: 10px;
}

.chips-row button {
  padding: 6px 12px;
  border: 1px solid #d6d1ff;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-block-start: 1px solid var(--line);
}

.chat-form input {
  flex: 1;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c9ccda;
  border-radius: 12px;
  font: inherit;
}

.chat-form button {
  min-width: 64px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 760px) {
  .guide-stage {
    grid-template-columns: 1fr;
  }

  .shot {
    max-width: 300px;
    margin-inline: auto;
  }
}

/* Drawn app screens in the guide (texts and colors from the app) */
.m-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f6f5ff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.m-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 14px 12px;
  background: #fff;
  border-block-end: 1px solid var(--line);
  font-size: 15px;
}

.m-back {
  color: var(--brand-deep);
  font-weight: 800;
}

.m-pad {
  padding: 14px;
}

.m-center {
  padding-block-start: 34px;
  text-align: center;
}

.m-center h4 {
  margin: 6px 0 14px;
  font-size: 18px;
}

.m-logo {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #8b6cf0);
  font-size: 24px;
}

.m-btn {
  margin-block: 10px;
  padding: 11px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.m-btn.m-google {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #d8d8e4;
}

.m-btn.m-soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.m-btn.m-big {
  margin-block-start: 22px;
  padding: 14px;
  font-size: 15px;
}

.m-field {
  margin-block: 8px;
  padding: 10px 12px;
  border: 1px solid #d8d8e4;
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  text-align: start;
}

.m-codefield {
  color: var(--ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 3px;
  direction: ltr;
}

.m-or,
.m-link {
  margin: 6px 0;
  color: var(--muted);
  font-size: 12px;
}

.m-link {
  color: var(--brand-deep);
  font-weight: 700;
}

.m-dots {
  display: inline-flex;
  gap: 14px;
  padding: 8px 14px;
}

.m-dots i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.m-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 18px;
}

.m-keys span {
  padding: 10px 0;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.m-keys span:empty {
  visibility: hidden;
}

.m-sub {
  margin: 10px 0 6px;
  font-weight: 800;
}

.m-muted {
  margin: 4px 0;
  color: var(--muted);
}

.m-card {
  margin-block: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.m-card small {
  display: block;
  color: var(--muted);
}

.m-code {
  margin: 10px 0 4px;
  color: var(--brand-deep);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;
  direction: ltr;
}

.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
}

.m-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.m-pill {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 800;
}

.m-switch {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #c9ccda;
}

.m-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.m-switch.on {
  background: var(--brand);
}

.m-switch.on::after {
  left: auto;
  right: 3px;
}

.m-android {
  padding: 0 0 10px;
  background: #fff;
  min-height: 100%;
}

.m-abar {
  padding: 28px 16px 14px;
  font-size: 17px;
  font-weight: 700;
}

.m-android .m-row {
  margin: 0;
  border-radius: 0;
  border-block-end: 1px solid #f0f0f4;
}

.m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-chips span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d8d8e4;
  font-size: 12px;
}

.m-chips span.on {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.m-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 8px;
}

.m-stepper span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 900;
}

.m-child {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
}

.m-child b {
  flex: 1;
}

.m-av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff7a1a;
  color: #fff;
  font-weight: 800;
}

.m-ok {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 12px;
}

.topic-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 16px;
}

.topic-jump a {
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Contact */
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block: 22px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 0;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-soft);
  font-size: 34px;
}

.contact-email {
  color: var(--brand-deep);
  font-size: 22px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Kids Mode on the parent's phone */
.kids-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.locked-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.locked-apps li {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .kids-mode {
    grid-template-columns: 1fr;
  }
}

/* Review form */
.review-form {
  margin-block: 24px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.review-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block-end: 16px;
  font-weight: 700;
}

.review-form input[type='text'],
.review-form textarea {
  padding: 10px 14px;
  border: 1px solid #c9ccda;
  border-radius: 12px;
  font: inherit;
  font-weight: 400;
}

.review-form label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.review-form label.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-block-start: 4px;
}

.star-field {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.star-field legend {
  margin-block-end: 6px;
  font-weight: 700;
}

.star-pick {
  display: flex;
  gap: 6px;
}

.star-pick button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 52px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: #f3f1fb;
  color: #c9c4e6;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.star-pick button.on {
  background: #fff4d6;
  color: #f5a400;
}

.form-status {
  font-weight: 700;
}

.form-status.error {
  color: #b42318;
}

.form-status.ok {
  padding: 18px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 18px;
}

/* Elegance pass: calmer rhythm, refined headings, consistent inner pages */
body {
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  letter-spacing: -0.3px;
}

.band {
  padding-block: 80px;
}

.band .center > h2 {
  max-width: 720px;
  margin-inline: auto;
}

.card {
  border: 1px solid rgba(108, 92, 231, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(67, 52, 176, 0.16);
}

.card.tint-purple:hover,
.card.tint-green:hover {
  transform: none;
}

header.top {
  box-shadow: 0 1px 0 rgba(27, 30, 46, 0.04), 0 6px 20px rgba(27, 30, 46, 0.04);
}

/* Inner pages (setup, help, privacy, terms, articles) get a soft heading band. */
main.narrow > h1:first-of-type,
main.narrow > section:first-child > h1 {
  position: relative;
  padding-block-end: 14px;
}

main.narrow > h1:first-of-type::after,
main.narrow > section:first-child > h1::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--pink), var(--orange));
}

main.narrow {
  position: relative;
}

body:has(main.narrow) {
  background: linear-gradient(180deg, #f6f3ff 0, #fff 360px);
}

main.narrow h2 {
  color: #24204f;
}

main.narrow ul li::marker {
  color: var(--brand);
}

footer {
  margin-block-start: 0;
}

footer nav a {
  opacity: 0.9;
}

footer nav a:hover {
  opacity: 1;
}

/* W01: compact header + menu drawer */
header.top .inner {
  flex-wrap: nowrap;
  min-height: 64px;
  padding-block: 8px;
}

.brand img {
  height: 36px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

header.top .cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #d6d1ff;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(27, 30, 46, 0.45);
}

.drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  width: min(340px, 88vw);
  padding: 16px 20px 24px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -10px 0 40px rgba(27, 30, 46, 0.25);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 14px;
}

.drawer-head img {
  height: 32px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 18px;
  cursor: pointer;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
}

.drawer nav a {
  padding: 12px 6px;
  border-block-end: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.drawer nav a.drawer-cta {
  margin-block-start: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-align: center;
}

.drawer-label {
  margin: 22px 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.drawer-more a {
  font-size: 16px;
  font-weight: 600 !important;
}

html.menu-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .nav-inline {
    display: none !important;
  }

  .menu-btn {
    display: inline-flex;
  }

  header.top {
    position: sticky;
  }
}

@media (max-width: 380px) {
  header.top .cta {
    padding: 8px 12px;
    font-size: 14px;
  }

  .brand img {
    height: 30px;
  }
}

/* W02 + W06: shorter hero, both screens visible on phones */
.trust-line {
  margin-block-start: 18px;
  color: #3d4256;
  font-size: 15px;
}

.soon-note {
  align-self: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero {
    padding-block: 28px 40px;
  }

  .hero .wrap {
    gap: 22px;
  }

  .hero .lead {
    font-size: 18px;
  }

  /* Two real-size drawings, scaled together so both fit side by side. */
  .hero .phones {
    gap: 14px;
    zoom: 0.58;
  }

  .hero .phone.tilt-a,
  .hero .phone.tilt-b {
    display: block;
    transform: none;
  }

  .hero .figure-note {
    margin-block-start: 6px;
  }
}

@media (max-width: 360px) {
  .hero .phones {
    zoom: 0.52;
  }
}

/* W05: subjects and age groups */
.subject-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.subject-row li {
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.age-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.age-card {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.age-tag {
  display: inline-block;
  margin-block-end: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.mini-q {
  margin-block-start: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--brand-soft);
}

.mini-q p {
  margin-block-end: 10px;
  font-weight: 700;
}

.mini-ans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-ans span {
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
  text-align: center;
}

.mini-ans span.ok {
  background: var(--green);
  color: #fff;
}

@media (max-width: 900px) {
  .age-cards {
    grid-template-columns: 1fr;
  }
}

/* W04: plan buttons */
.plan .plan-sub {
  margin-block-start: -4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan .plan-btn {
  display: block;
  margin-block-start: 16px;
  text-align: center;
}

.plan-terms {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
}

/* Waitlist */
.waitlist-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 36px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block-end: 14px;
  font-weight: 700;
}

.waitlist-form input[type='email'],
.waitlist-form input[type='text'],
.waitlist-form select {
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid #c9ccda;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.waitlist-form label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
}

.waitlist-form label.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-block-start: 3px;
}

.waitlist-form .button {
  width: 100%;
}

@media (max-width: 900px) {
  .waitlist-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
}

/* Help chat: labelled button + one-time greeting (W18) */
.chat-fab {
  inset-block-end: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
}

.chat-fab .fab-icon {
  font-size: 22px;
}

.chat-teaser {
  position: fixed;
  inset-block-end: calc(84px + env(safe-area-inset-bottom));
  inset-inline-end: 20px;
  z-index: 31;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: min(300px, calc(100vw - 40px));
  padding: 12px 12px 12px 14px;
  border-radius: 18px 18px 6px 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27, 30, 46, 0.22);
  animation: teaser-in 0.35s ease-out;
}

.chat-teaser .teaser-open {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.chat-teaser .teaser-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  cursor: pointer;
}

@keyframes teaser-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.chat-panel {
  inset-block-end: calc(84px + env(safe-area-inset-bottom));
}

.ask-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 10px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .chat-fab {
    height: 50px;
    padding: 0 14px 0 12px;
    font-size: 15px;
  }

  /* Keep the bottom of pages (forms, guide buttons) clear of the floating button. */
  main {
    padding-block-end: 80px;
  }
}

/* P1 home restructure */
.flow.flow-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.soft-cta {
  margin-block-start: 18px;
  font-weight: 800;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}

.value-row li {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.story-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.story-steps li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 0;
  padding-inline-start: 22px;
  border-inline-start: 3px solid #ffd6a8;
}

.story-steps li::before {
  content: '';
  position: absolute;
  inset-inline-start: -8px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
}

.story-steps strong {
  display: inline-block;
  min-width: 56px;
  color: var(--brand-deep);
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 14px 12px;
}

.scenario-tabs [role='tab'] {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #d6d1ff;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.scenario-tabs [role='tab'][aria-selected='true'] {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.scenario {
  min-height: 96px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.scenario p {
  margin: 0;
}

.reviews-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--amber-soft);
  text-align: center;
}

#reviews.band {
  padding-block: 36px;
}

.mini-faq {
  max-width: 760px;
  margin: 22px auto 0;
}

@media (max-width: 900px) {
  .flow.flow-3,
  .cards.cards-3,
  .value-row {
    grid-template-columns: 1fr;
  }
}

/* Help search (W23) and setup quick pick (W22) */
.help-search {
  margin-block: 18px;
}

.help-search input {
  width: 100%;
  min-height: 52px;
  padding: 10px 18px;
  border: 2px solid #d6d1ff;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
}

.help-search input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.help-none {
  margin-block-start: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--amber-soft);
}

.quick-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-pick p {
  flex-basis: 100%;
  margin: 0 0 4px;
  font-weight: 800;
}

.quick-pick a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  font-weight: 700;
  text-decoration: none;
}

/* Guide groups (W21) */
.guide-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 10px;
}

.guide-groups button {
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid #d6d1ff;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.guide-groups button[aria-current='true'] {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.guide-bar {
  height: 8px;
  margin-block-end: 18px;
  border-radius: 999px;
  background: #ece9fb;
}

.guide-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--pink));
  transition: width 0.2s ease;
}

/* Article byline and ending (W24/W28) */
.byline {
  margin-block: -4px 18px;
  color: var(--muted);
  font-size: 15px;
}

.article-end {
  margin-block-start: 44px;
  padding-block-start: 28px;
  border-block-start: 1px solid var(--line);
}

.article-end h2 {
  margin-block-start: 0;
}

.article-end ul {
  padding-inline-start: 22px;
}

.article-end .next-step {
  margin-block-start: 22px;
  padding: 22px;
  border-radius: 24px;
  background: var(--brand-soft);
}

.article-end .next-step .button {
  margin-block-start: 8px;
  margin-inline-end: 8px;
}

/* Footer */
footer {
  background: #1b1e2e;
  color: #c9cbe0;
  font-size: 15px;
}

footer a {
  color: #fff;
}

footer .inner {
  padding-block: 28px;
}

footer nav {
  gap: 6px 22px;
  margin-block-end: 10px;
}

@media (max-width: 900px) {
  .hero .wrap,
  .split {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .split .phones {
    order: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  /* The wrapped menu is tall on phones: let it scroll away instead of covering the page. */
  header.top {
    position: static;
  }

  header.top nav {
    font-size: 15px;
  }

  header.top nav a {
    padding: 4px 10px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .band {
    padding-block: 44px;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 240px;
  }

  .phone.tilt-b {
    display: none;
  }

  .safety {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .safety .shield {
    margin-inline: auto;
  }
}

.shot.empty .highlight {
  box-shadow: none;
}


/* Tutorial videos (guide.html): our own thumbnail until play is pressed */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.video {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-facade,
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  background: #1e1458;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(27, 30, 46, 0.18);
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #5b4bd8;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The triangle's weight sits to the left of its box: nudge it right (physical, it always points right). */
  padding-left: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.video-facade:hover .video-play,
.video-facade:focus-visible .video-play {
  transform: scale(1.08);
}
.video figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
}
.video figcaption span {
  color: var(--muted);
  white-space: nowrap;
}
/* The first episode spans the row, larger (guides page and home page). */
.video.featured {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}
.video.featured figcaption {
  font-size: 20px;
}
.video.featured .video-play {
  width: 104px;
  height: 104px;
  font-size: 42px;
}
.home-videos .video-grid {
  grid-template-columns: 1fr;
}

/* Guides: big entry points (home, guides page, photo guide) */
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-block: 26px 8px;
}
.button.big {
  padding: 18px 34px;
  font-size: 18px;
}
.guide-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-block-start: 28px;
}
@media (max-width: 560px) {
  .guide-tiles {
    grid-template-columns: 1fr;
  }
}
.guide-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(27, 30, 46, 0.1), inset 0 0 0 2px var(--brand-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-tile:hover,
.guide-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(108, 92, 231, 0.22), inset 0 0 0 2px var(--brand);
}
.guide-tile strong {
  font-size: 20px;
}
.guide-tile span:last-child {
  color: var(--muted);
}
.guide-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 24px;
  flex: none;
}
.install-callout,
.web-callout,
.video-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(27, 30, 46, 0.12), inset 0 0 0 2px var(--brand);
  transition: transform 0.15s ease;
}
.install-callout:hover,
.web-callout:hover,
.video-callout:hover {
  transform: translateY(-2px);
}
.install-callout {
  max-width: 860px;
  margin: 34px auto 0;
}
.install-callout-text,
.web-callout > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.install-callout strong {
  font-size: 24px;
}
.web-callout {
  margin-block-start: 22px;
}
.web-callout strong {
  font-size: 18px;
}
.install-callout-text span,
.web-callout > span:nth-child(2) span {
  color: var(--muted);
}
.video-callout {
  margin-block: 8px 0;
  font-size: 18px;
}
.video-callout > span:nth-child(2) {
  flex: 1;
}
/* Help center: "didn't find it?" at the end, after the questions */
.help-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block: 40px 8px;
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-soft), #fff6e0);
  box-shadow: 0 12px 30px rgba(27, 30, 46, 0.1);
}
.help-contact > div {
  flex: 1;
}
.help-contact h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.help-contact p {
  margin: 0;
  color: var(--muted);
}

/* Guides page: brand-tinted canvas, colorful tiles that each stand out */
.guides-page {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(108, 92, 231, 0.18), transparent 60%),
    radial-gradient(700px 380px at 0% 30%, rgba(255, 176, 32, 0.16), transparent 60%),
    linear-gradient(180deg, #f6f4ff 0%, #fffaf0 100%);
}
.guides-page .page-hero,
.guides-page .tutorials {
  background: transparent;
}
.guides-page .page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
}
.guides-page .guide-tile {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(27, 30, 46, 0.12);
}
.guides-page .guide-tile::after {
  content: '';
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--tile-tint, var(--brand-soft));
  opacity: 0.55;
}
.guides-page .guide-tile > * {
  position: relative;
}
.guides-page .guide-tile .guide-tile-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 28px;
  color: #fff;
  background: var(--tile-color, var(--brand));
  box-shadow: 0 10px 22px var(--tile-shadow, rgba(108, 92, 231, 0.35));
}
.guides-page .guide-tile strong {
  font-size: 22px;
}
.tile-purple {
  --tile-color: linear-gradient(135deg, #7c6cf0, #4334b0);
  --tile-tint: #e7e3ff;
  --tile-shadow: rgba(108, 92, 231, 0.35);
}
.tile-orange {
  --tile-color: linear-gradient(135deg, #ffb020, #ff7a1a);
  --tile-tint: #ffe8c7;
  --tile-shadow: rgba(255, 122, 26, 0.35);
}
.tile-green {
  --tile-color: linear-gradient(135deg, #34d399, #059669);
  --tile-tint: #d1fae5;
  --tile-shadow: rgba(5, 150, 105, 0.3);
}
.tile-blue {
  --tile-color: linear-gradient(135deg, #60a5fa, #2563eb);
  --tile-tint: #dbeafe;
  --tile-shadow: rgba(37, 99, 235, 0.3);
}
.guides-page .guide-tile {
  gap: 10px;
}
.tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tile-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(27, 30, 46, 0.1);
}
.guides-page .guide-tile .tile-badge {
  color: var(--ink);
}
.guides-page .guide-tile .tile-desc {
  color: var(--muted);
  font-size: 16px;
}
.tile-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tile-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(27, 30, 46, 0.16);
}
.tile-steps,
.tile-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.tile-steps > span:not(.arrow),
.tile-chips > span {
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--tile-tint, var(--brand-soft));
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.tile-steps .arrow {
  color: var(--muted);
  font-weight: 800;
}
.tile-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block-start: 8px;
  border-block-start: 1px dashed var(--line);
  color: var(--ink);
  font-size: 15px;
}
.guides-page .guide-tile .tile-list span {
  color: var(--ink);
}
.tile-cta {
  margin-block-start: auto;
  padding-block-start: 6px;
  color: var(--brand-deep);
  font-weight: 800;
}
.guides-page .guide-tile span.tile-cta {
  color: var(--brand-deep);
}
.guides-page .tutorials .video-grid {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(27, 30, 46, 0.08);
}
.guides-page .video figcaption {
  padding-inline: 4px;
}

@media (max-width: 640px) {
  .help-contact {
    flex-wrap: wrap;
  }
  .help-contact .button {
    width: 100%;
    text-align: center;
  }
  .install-callout {
    flex-wrap: wrap;
  }
  .install-callout .button {
    width: 100%;
    text-align: center;
  }
}

/* ===== 2026-11-15 upgrade: design only. Every text, price and section above stays as it was. ===== */

/* Text-on-gradient accents (WCAG AA): the pink/orange ends were under 3:1 on the light hero; deeper tones of the
   same hues keep the look and pass (≥4:1 for large text, ≥4.5:1 for white text on the chips). */
:root {
  --accent-grad: linear-gradient(90deg, var(--brand), #c2185b 55%, #b45309);
  --chip-grad: linear-gradient(135deg, var(--brand), #c2185b);
}

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

.chat-fab,
.plan .tag,
.steps > li::before {
  background: var(--chip-grad);
}

/* Correct-answer green with white text: the deeper green reaches 5:1. */
.mini-ans span.ok,
.answers span.right {
  background: var(--green-deep);
}

/* Video grid: the 300px minimum pushed the page sideways at 320px (measured: guides.html, 26px overflow). */
.video-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

/* Header: "כניסת הורים" stays where it is, as an outlined button, so the page's own CTA leads for new visitors. */
header.top .cta {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 2px var(--brand);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

header.top .cta:hover,
header.top .cta:focus-visible {
  background: var(--brand);
  color: #fff;
}

/* Bigger tap targets for footer links (WCAG 2.5.8). */
footer nav a {
  display: inline-block;
  padding-block: 6px;
}

/* Form fields flagged by the waitlist script. */
.waitlist-form [aria-invalid='true'] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

/* Mobile-first hero: the same texts in the same order; the illustration moves up right after the buttons, so the
   product shows on the first screen (it was at Y≈762 on a 390×844 phone). */
@media (max-width: 900px) {
  .hero .wrap > div:first-child {
    display: contents;
  }

  .hero .wrap {
    gap: 0;
  }

  .hero .eyebrow,
  .hero .ask-link {
    justify-self: start;
  }

  .hero .wrap > div:last-child {
    order: 1;
    margin-block: 18px 4px;
  }

  .hero .trust-line,
  .hero .ask-link {
    order: 2;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-block: 18px 32px;
  }

  .hero .eyebrow {
    margin-block-end: 8px;
  }

  .hero h1 {
    margin-block-end: 8px;
  }

  .hero .lead {
    margin-block-end: 0;
    line-height: 1.6;
  }

  .hero .actions {
    gap: 8px;
    margin-block-start: 16px;
  }

  .hero .actions .button {
    flex: 1 1 100%;
    padding-block: 12px;
    text-align: center;
  }

  .hero .soon-note {
    padding: 2px 10px;
  }

  .hero .trust-line {
    margin-block-start: 10px;
  }
}

/* Interactive age demo ("הדגמה") */
.demo {
  max-width: 980px;
  margin: 40px auto 0;
  padding: 26px;
  border: 1px solid rgba(108, 92, 231, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.demo-head {
  text-align: center;
}

.demo-head h3 {
  font-size: 24px;
}

.demo-head p {
  color: var(--muted);
  font-size: 17px;
}

.demo-badge {
  display: inline-block;
  margin-block-end: 6px;
  padding: 2px 12px;
  border: 1px dashed #c98a00;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #6b4500;
  font-size: 14px;
  font-weight: 800;
}

.demo-ages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block: 12px 20px;
}

.demo:not(.is-live) .demo-ages {
  display: none;
}

.demo-ages [role='tab'] {
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid #d6d1ff;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.demo-ages [role='tab']:hover {
  transform: translateY(-1px);
}

.demo-ages [role='tab'][aria-selected='true'] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.demo-screen {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(160deg, #8b6cf0, #4334b0);
  transition: background 0.3s ease;
}

.demo-screen:has(.age-young:not([hidden])) {
  background: linear-gradient(160deg, #ffb35c, #ff6f91);
}

.demo-screen:has(.age-teen:not([hidden])) {
  background: linear-gradient(160deg, #1f3c88, #1b1e2e);
}

.demo-panel {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(27, 30, 46, 0.12);
  animation: demo-in 0.3s ease-out;
}

.demo-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.demo-q {
  margin-block-end: 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.age-young .demo-q {
  font-size: 24px;
}

.demo-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.demo-answers button {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease;
}

.age-young .demo-answers button {
  min-height: 64px;
  font-size: 28px;
}

.demo-answers button:hover:not(:disabled) {
  background: #e2dcff;
  transform: translateY(-2px);
}

.demo-answers button:disabled {
  cursor: default;
}

.demo-answers button.is-right,
.demo:not(.is-live) .demo-answers [data-ok] {
  background: var(--green-deep);
  color: #fff;
  animation: pop 0.35s ease-out;
}

.demo-answers button.is-right::after,
.demo:not(.is-live) .demo-answers [data-ok]::after {
  content: ' ✓';
}

.demo-answers button.is-wrong {
  background: #ffe3e3;
  color: #9b1c1c;
  animation: shake 0.3s ease-in-out;
}

.demo-answers button.is-wrong::after {
  content: ' ✗';
}

.demo-why {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sky-soft);
  font-size: 16px;
}

.demo-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-feedback {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.demo-feedback:empty {
  display: none;
}

.demo-feedback.ok {
  color: var(--green-deep);
}

.demo-feedback.think {
  color: #6b4500;
}

.demo-bank {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.demo-bank > span:first-child {
  font-weight: 700;
}

.demo-bank b {
  font-size: 34px;
  line-height: 1.1;
}

.demo-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.demo-bar > span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: 999px;
  background: #ffd36b;
  transition: width 0.6s ease;
}

.demo-gain {
  font-size: 15px;
  font-weight: 700;
}

.demo-gain:not([hidden]) {
  animation: demo-in 0.35s ease-out;
}

.demo.is-done .demo-bank {
  animation: pop 0.45s ease-out;
}

.demo-again {
  align-self: flex-start;
}

.demo .figure-note {
  margin-block: 16px 0;
}

@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes pop {
  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

@media (max-width: 760px) {
  .demo {
    padding: 20px 16px;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-screen {
    padding: 12px;
  }
}

/* Parent tabs: the drawing follows the chosen scenario (the screen itself is unchanged; a note and a highlight
   are added on top). */
.scene-note {
  display: none;
  margin-block-end: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 800;
  animation: demo-in 0.3s ease-out;
}

.parent-scenes[data-scene='time'] .scene-time {
  display: block;
  background: var(--green-soft);
  color: var(--green-deep);
}

.parent-scenes[data-scene='learn'] .scene-learn {
  display: block;
  background: #fff1d6;
  color: #6b4500;
}

.parent-scenes[data-scene='sleep'] .scene-sleep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2b2170;
  color: #fff;
}

.scene-note .nowrap {
  white-space: nowrap;
}

.scene-note .m-switch {
  flex: none;
}

.parent-scenes .hl-time,
.parent-scenes .hl-learn {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.parent-scenes[data-scene='time'] .hl-time {
  box-shadow: inset 0 0 0 3px var(--brand);
  transform: scale(1.03);
}

.parent-scenes[data-scene='learn'] .hl-learn {
  box-shadow: inset 0 0 0 3px #f2a10f;
  transform: scale(1.03);
}

.parent-scenes .screen {
  transition: background 0.3s ease;
}

.parent-scenes[data-scene='sleep'] .screen {
  background: #e9e7f7;
}

.scenario:not([hidden]) {
  animation: demo-in 0.25s ease-out;
}

/* Help chat button: a gentle entrance, smaller and closer to the edge on phones, and out of the way while the
   visitor types in a form (the on-screen keyboard leaves little room). Texts and timing are unchanged. */
.chat-fab {
  animation: demo-in 0.4s ease-out 0.4s both;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.chat-fab:hover {
  transform: translateY(-2px);
}

html.field-focus .chat-fab,
html.field-focus .chat-teaser {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 640px) {
  .chat-fab {
    inset-block-end: calc(12px + env(safe-area-inset-bottom));
    inset-inline-end: 12px;
    height: 46px;
  }

  .chat-teaser {
    inset-block-end: calc(68px + env(safe-area-inset-bottom));
    inset-inline-end: 12px;
  }

  .chat-panel {
    inset-block-end: calc(68px + env(safe-area-inset-bottom));
    inset-inline-end: 12px;
    width: calc(100vw - 24px);
  }
}

/* Home: entry to the simulator page */
.try-band {
  padding-block: 48px;
}

.try-box {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 211, 107, 0.35), transparent 45%),
    linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 24px 50px rgba(67, 52, 176, 0.3);
}

.try-box h2 {
  color: #fff;
}

.try-box p {
  color: #ece9ff;
  font-size: 18px;
}

.try-box .button {
  background: #fff;
  color: var(--brand-deep);
}

.try-ages {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.try-ages li {
  margin: 0;
}

.try-ages a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.try-ages a:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-3px);
}

@media (max-width: 760px) {
  .try-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .try-box .button {
    width: 100%;
    text-align: center;
  }
}

/* Calm reveal while scrolling, only where the browser ties it to scroll position and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .flow .card,
    .cards .card,
    .age-card,
    .plan,
    .value-row li,
    .demo {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* 2026-11-15: seven header links (simulator added) stay on one line down to the drawer breakpoint. */
@media (min-width: 961px) and (max-width: 1099px) {
  header.top .nav-inline {
    gap: 2px;
    font-size: 15px;
  }

  header.top .nav-inline a {
    padding-inline: 8px;
  }
}

/* Policy pages: the English title is an h2 (one h1 per page) but keeps the title look. */
main.narrow > section[lang='en'] > h2:first-child {
  font-size: clamp(32px, 4.2vw + 14px, 50px);
  position: relative;
  padding-block-end: 14px;
}

main.narrow > section[lang='en'] > h2:first-child::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--pink), var(--orange));
}

/* 2026-12-02 site review fixes. */
/* A secondary (white) button inside a dark band kept the band's white link colour: white on white, invisible. */
.band.dark a.button.secondary,
.band.dark a.button.light {
  color: var(--brand-deep);
}

/* Check boxes reach the 24px minimum touch target (WCAG 2.5.8). */
.waitlist-form label.check input,
.review-form label.check input {
  width: 24px;
  height: 24px;
}

/* Contact: on phones the card stacks so the address fits on one line instead of breaking mid-word. */
@media (max-width: 480px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-email {
    font-size: 18px;
    overflow-wrap: normal;
    word-break: keep-all;
  }
}

/* Help chat on phones: a round icon button (its name stays in aria-label) so it covers less of the page. */
@media (max-width: 640px) {
  .chat-fab {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
  }

  .chat-fab .fab-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Page not found */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.notfound .code {
  margin: 0;
  color: var(--brand);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.notfound .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-block-start: 18px;
}

/* Home page on phones (2026-12-02): about 18 screens long. Same content, less repetition:
   - the three age cards keep their titles; their sample questions are played right below in the demo;
   - the story's lock-screen drawing (the hero already shows the app) is left out;
   - the "why it is different" cards put the icon beside the text. */
@media (max-width: 640px) {
  #learning .age-card .mini-q {
    display: none;
  }

  #learning .age-cards {
    gap: 10px;
  }

  #learning .age-card {
    padding-block: 14px;
  }

  #story .split > div:last-child {
    display: none;
  }

  #different .cards-3 .card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }

  #different .cards-3 .card .icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  #different .cards-3 .card h3 {
    margin-block: 2px 4px;
  }
}

/* Language switch in the header (Hebrew ⇄ English home pages). */
.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.lang-link:hover {
  text-decoration: underline;
}

/* English home: the sample question stands in for the Hebrew app drawings. */
.en-sample {
  max-width: 420px;
  margin-inline: auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 18px;
}

/* The Hebrew pages link to English from the footer and the menu (the header row is full); the English page has no
   menu, so its header keeps the switch back to Hebrew. */
@media (max-width: 640px) {
  html[lang='en'] header.top .cta {
    padding-inline: 12px;
  }
}

/* Phones: the three steps lay the icon beside the text, and the simulator band keeps its main button only (the
   age shortcuts are inside the simulator itself). */
@media (max-width: 640px) {
  #how .flow-3 .card {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }

  #how .flow-3 .card .num {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 12px;
    width: 28px;
    height: 28px;
    margin: 0;
    font-size: 15px;
  }

  #how .flow-3 .card .icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  #how .flow-3 .card h3 {
    margin-block: 2px 4px;
    padding-inline-end: 34px;
  }

  #try .try-ages {
    display: none;
  }
}

/* Real app screens (2026-12-02): web renders of the app's own screens with demo data, in the same phone frame. */
.phones.real .phone {
  padding: 8px;
}

.phones.real .shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #fbf7f0;
}

/* Section labels (2026-12-02): plain coloured text instead of a white pill, so pills stay for real controls.
   The hero keeps its pill as the one badge on the page. */
.eyebrow {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

.hero .eyebrow {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--brand-deep);
}

.band.dark .eyebrow,
.try-band .eyebrow {
  color: #e6e2ff;
}

/* Icons in place of emoji: tiles, callouts, the shield and store notes take the text colour. */
.guide-tile-icon .ic {
  width: 26px;
  height: 26px;
}

.safety .shield .ic {
  width: 56px;
  height: 56px;
  color: #fff;
}

.soon-note .ic,
.ask-link .ic {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

/* Trust facts (shown until there are real reviews; reviews.js hides it when reviews load). */
.trust-strip {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 16px;
  background: var(--brand-soft);
  font-size: 15px;
  line-height: 1.45;
}

.trust-strip li .ic {
  width: 28px;
  height: 28px;
  color: var(--brand-deep);
}

@media (max-width: 760px) {
  .trust-strip ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mindo, the MindUnlock character (approved design B, the lantern pose). */
.mindo-figure {
  display: block;
  width: 190px;
  height: auto;
  margin-block-end: 10px;
  filter: drop-shadow(0 14px 18px rgba(67, 52, 176, 0.18));
}

.notfound .mindo-figure {
  width: 170px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .waitlist-box .mindo-figure {
    float: inline-end;
    width: 104px;
    margin-block-end: 4px;
    margin-inline-start: 10px;
  }
}

.try-ages .ic {
  width: 20px;
  height: 20px;
}

/* Stage D (2026-12-02): three sections carry the page, the rest stays quiet.
   1. How it works: three steps on one line, not three more cards. */
@media (min-width: 641px) {
  #how .steps-line {
    position: relative;
    gap: 28px;
  }

  #how .steps-line::before {
    content: '';
    position: absolute;
    inset-block-start: 74px;
    inset-inline: 16%;
    border-block-start: 3px dashed rgba(108, 92, 231, 0.35);
  }

  #how .steps-line .card {
    position: relative;
    padding: 0 8px;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: center;
  }

  #how .steps-line .card:hover {
    transform: none;
    box-shadow: none;
  }

  #how .steps-line .num {
    display: grid;
    margin-inline: auto;
  }

  #how .steps-line .icon {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 6px auto 16px;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 0 0 6px var(--bg, #fff), var(--shadow);
  }

  #how .steps-line .icon .ic {
    width: 38px;
    height: 38px;
  }

  #how .steps-line h3 {
    font-size: 22px;
  }
}

/* 2. Kids Mode on the parent's phone: the one feature most apps do not have, on the brand colour. */
.band.feature {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 194, 71, 0.28), transparent 40%),
    linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.band.feature h2,
.band.feature .checks strong {
  color: #fff;
}

.band.feature p,
.band.feature .checks li {
  color: #ece9ff;
}

.band.feature .eyebrow {
  color: #ffd98a;
}

.band.feature .figure-note {
  color: #d9d4ff;
}

.band.feature .checks li::before {
  background: #fff;
  color: var(--brand-deep);
}

/* 3. Pricing: the family plan is the filled one. */
.plan.featured {
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 24px 50px rgba(67, 52, 176, 0.32);
}

.plan.featured h3,
.plan.featured .price,
.plan.featured .price small {
  color: #fff;
}

.plan.featured .plan-sub,
.plan.featured .checks li {
  color: #ece9ff;
}

.plan.featured .checks li::before {
  background: #fff;
  color: var(--brand-deep);
}

.plan.featured .button {
  background: #fff;
  color: var(--brand-deep);
}

.plan.featured .tag {
  background: #ffc247;
  color: #2a2140;
}

/* The rest: flat cards, no lift on hover, so the three sections above stand out. */
#different .card,
#learning .age-card {
  box-shadow: none;
}

#different .card:hover {
  transform: none;
  box-shadow: none;
}

.demo-ages .ic,
.demo-meta .ic,
.demo-bank .ic,
.scenario-tabs .ic {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
}

/* ==========================================================================
   "Lantern" design layer (2026-12-02). One idea from Mindo's own world: a lock that became a lantern.
   Night indigo for the moments that matter (opening, Kids Mode, the last call), lantern gold only where light
   falls, and quiet white and lavender everywhere else. Headings in Fredoka, rounded like the felt character.
   ========================================================================== */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/fredoka-hebrew-wght-normal.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/fredoka-latin-wght-normal.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 {
  --night: #191340;
  --night-2: #2c2275;
  --gold: #ffc247;
  --gold-deep: #ff9f1c;
  --paper-alt: #f6f4fc;
  --hair: rgba(67, 52, 176, 0.13);
  --accent-grad: linear-gradient(90deg, var(--brand), var(--brand-deep));
  --chip-grad: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

h1,
h2,
h3,
.price,
.notfound .code {
  font-family: 'Fredoka', 'Heebo', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  line-height: 1.2;
}

/* Fewer hues: lavender or white, nothing in between. */
.band.soft,
.band.sky,
.band.mint {
  background: var(--paper-alt);
}

.band.warm {
  background: #fff;
}

/* Cards sit on a hairline, not a cloud of shadow; nothing jumps on hover. */
.card,
.plan:not(.featured),
.waitlist-box,
.mini-faq details,
.trust-strip li,
.install-callout,
.web-callout {
  box-shadow: none;
  border: 1px solid var(--hair);
}

.card:hover {
  transform: none;
  box-shadow: none;
}

.button {
  box-shadow: none;
}

.button:hover {
  transform: none;
  filter: brightness(1.06);
}

/* ---- The opening: night, one screen, the lantern's light ---- */
.hero.hero-night {
  padding-block: 72px 88px;
  background:
    radial-gradient(60% 70% at 22% 55%, rgba(255, 194, 71, 0.2), transparent 70%),
    radial-gradient(50% 60% at 90% 0%, rgba(108, 92, 231, 0.45), transparent 70%),
    linear-gradient(160deg, var(--night), var(--night-2));
  color: #fff;
}

.hero-night .wrap {
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
}

.hero-night h1 {
  max-width: 13ch;
  margin-block-end: 18px;
  color: #fff;
  font-size: clamp(38px, 4.4vw + 12px, 64px);
  line-height: 1.08;
}

.hero-night .lead {
  max-width: 34em;
  color: #d9d4ff;
  font-size: 20px;
}

.hero-night .actions {
  margin-block-start: 26px;
}

.hero-night .button:not(.secondary) {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #2a2140;
}

.hero-night .button.secondary {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.hero-night .soon-note {
  background: rgba(255, 255, 255, 0.08);
  color: #d9d4ff;
}

.hero-facts {
  display: grid;
  gap: 6px;
  margin: 26px 0 14px;
  padding: 0;
  list-style: none;
  color: #c9c3f5;
  font-size: 15px;
}

.hero-facts li {
  position: relative;
  margin: 0;
  padding-inline-start: 20px;
}

.hero-facts li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-facts a,
.hero-night .ask-link {
  color: #fff;
}

.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding-block: 10px 0;
}

.lantern-glow {
  position: absolute;
  inset-block-end: 40px;
  inset-inline-end: 6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 71, 0.42), rgba(255, 159, 28, 0.12) 45%, transparent 70%);
  pointer-events: none;
}

.hero-night .hero-phone {
  position: relative;
  width: 290px;
  padding: 9px;
  border-radius: 42px;
  background: #0f0b29;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(5, 3, 20, 0.55),
    -30px 30px 90px rgba(255, 194, 71, 0.18);
  transform: rotate(3deg);
}

.hero-night .hero-phone .shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

/* Mindo stands in front of the phone on its outer side; the lantern lights the screen. */
.hero-mindo {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-end: calc(50% + 92px);
  width: 150px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(5, 3, 20, 0.5));
}

.hero-zik {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-start: calc(50% + 110px);
  width: 74px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(255, 194, 71, 0.85));
}

.hero-night .figure-note {
  margin-block-start: 18px;
  color: #a9a2e0;
}

@media (max-width: 900px) {
  .hero-night .wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero.hero-night {
    padding-block: 36px 44px;
  }

  .hero-night .lead {
    font-size: 17px;
  }

  .hero-night .hero-phone {
    width: 200px;
    border-radius: 24px;
  }

  .hero-night .hero-phone .shot {
    border-radius: 24px;
  }

  .hero-mindo {
    inset-inline-end: calc(50% + 56px);
    width: 104px;
  }

  .hero-zik {
    inset-inline-start: calc(50% + 70px);
    width: 52px;
  }

  .lantern-glow {
    width: 300px;
    height: 300px;
  }
}

/* ---- Night bands: Kids Mode, the simulator invite, the last call ---- */
.band.feature,
.band.dark {
  background:
    radial-gradient(45% 60% at 85% 10%, rgba(255, 194, 71, 0.18), transparent 70%),
    linear-gradient(160deg, var(--night), var(--night-2));
}

.try-box {
  background:
    radial-gradient(50% 80% at 10% 20%, rgba(255, 194, 71, 0.22), transparent 70%),
    linear-gradient(160deg, var(--night), var(--night-2));
  box-shadow: none;
}

.band.feature .eyebrow,
.try-band .eyebrow,
.band.dark .eyebrow {
  color: var(--gold);
}

/* Pricing: the filled family plan in night, its tag in lantern gold. */
.plan.featured {
  background: linear-gradient(160deg, var(--night), var(--night-2));
  box-shadow: 0 30px 60px rgba(25, 19, 64, 0.28);
}

.plan .tag {
  background: var(--gold);
  color: #2a2140;
}

/* Mindo on the waitlist card sits, so he needs a little less height. */
.waitlist-box .mindo-figure {
  width: 170px;
  filter: none;
}

.notfound .mindo-figure {
  width: 140px;
  filter: none;
}

/* The night opening on phones and tablets: one column in reading order, with the screen right after the buttons. */
@media (max-width: 900px) {
  .hero-night .wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-night .hero-stage {
    order: 1;
    margin-block: 34px 8px;
  }

  .hero-night .hero-facts,
  .hero-night .ask-link {
    order: 2;
  }

  .hero-night .ask-link {
    align-self: start;
  }
}

@media (min-width: 641px) {
  .hero-night h1 {
    max-width: 17ch;
  }
}

/* Each sentence of the headline on its own line. */
.hero-night h1 {
  max-width: none;
  font-size: clamp(31px, 3.2vw + 16px, 56px);
}

.hero-night h1 .line {
  display: block;
}

@media (min-width: 901px) {
  .hero-night h1 {
    font-size: clamp(40px, 2.4vw + 16px, 52px);
  }

  .hero-night h1 .line {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .hero-night .figure-note {
    margin-block-start: 26px;
  }
}

/* The safety note and the last call follow the same rules: hairline card, lantern-gold main button on night. */
.safety {
  box-shadow: none;
  border: 1px solid var(--hair);
}

.band.dark .button:not(.secondary):not(.light) {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #2a2140;
}

.band.dark a.button.secondary {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.band.dark .soon-note {
  background: rgba(255, 255, 255, 0.08);
  color: #d9d4ff;
}

/* English opening: the sample question stands in for the (Hebrew) app screen. */
.en-stage {
  padding-block-end: 70px;
}

.en-stage .en-sample {
  position: relative;
  width: min(100%, 420px);
  margin: 40px 0 0;
}

.en-stage .hero-mindo {
  inset-block-end: 0;
  inset-inline-end: 0;
  width: 120px;
}

.en-stage .hero-zik {
  inset-block-start: 0;
  inset-inline-start: 4%;
}

.en-stage .figure-note {
  max-width: 420px;
  text-align: start;
}

.en-sample .meta .ic {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
}

.en-stage {
  justify-items: start;
}

.en-stage .en-sample {
  width: min(74%, 380px);
  color: var(--ink);
}

.en-stage .en-sample .mini-ans span:not(.ok) {
  color: var(--ink);
}

.en-stage .hero-mindo {
  width: min(22%, 120px);
}

@media (max-width: 640px) {
  .en-stage .en-sample {
    padding: 16px;
    font-size: 15px;
  }
}

.en-stage .figure-note {
  max-width: 72%;
}

@media (max-width: 900px) {
  .waitlist-box .mindo-figure {
    width: 112px;
  }
}

/* ---- The quiet opening (2026-12-03): one idea, one main button, Mindo as the lead of the scene ---- */
.hero.hero-solo {
  padding-block: 64px 40px;
  background:
    radial-gradient(42% 46% at 50% 78%, rgba(255, 194, 71, 0.2), transparent 70%),
    radial-gradient(50% 60% at 92% 0%, rgba(108, 92, 231, 0.42), transparent 70%),
    linear-gradient(170deg, var(--night), var(--night-2));
}

.hero-solo .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.hero-solo .wrap > div:first-child,
.hero-solo .wrap > div:last-child {
  display: block;
  order: 0;
  margin: 0;
}

.hero-solo .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-solo h1 {
  margin-block-end: 20px;
  font-size: clamp(34px, 4.2vw + 14px, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero-solo .lead {
  max-width: 30em;
  margin-inline: auto;
  margin-block-end: 0;
  color: #d9d4ff;
  font-size: clamp(17px, 0.5vw + 15px, 21px);
}

.hero-solo .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  margin-block-start: 30px;
}

.hero-solo .actions .button {
  padding: 16px 30px;
  font-size: 18px;
}

.hero-solo .text-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 6px;
}

.hero-solo .text-link:hover {
  text-decoration-color: var(--gold);
}

.hero-soon {
  flex-basis: 100%;
  margin: 0;
  color: #a9a2e0;
  font-size: 15px;
}

/* The scene: the phone in the middle, Mindo in front of it lighting the screen, Zik above the other shoulder. */
.hero-solo .hero-stage {
  position: relative;
  width: min(720px, 100%);
  margin-block-start: 52px;
  padding: 0;
}

.hero-solo .lantern-glow {
  inset-block-end: 30px;
  inset-inline-end: 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
}

.hero-solo .hero-phone {
  width: 300px;
  margin-inline: auto;
  transform: rotate(-2deg);
}

.hero-solo .hero-mindo {
  inset-block-end: -6px;
  inset-inline-end: calc(50% + 70px);
  width: 230px;
}

.hero-solo .hero-zik {
  inset-block-start: 40px;
  inset-inline-start: calc(50% + 150px);
  width: 96px;
  z-index: 1;
}

.hero-solo .figure-note {
  margin-block-start: 18px;
}

.hero-solo .hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 34px;
  margin: 30px 0 0;
  padding-block-start: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: min(900px, 100%);
}

@media (min-width: 901px) {
  .hero-solo h1 {
    font-size: clamp(52px, 3.6vw + 20px, 76px);
  }
}

@media (max-width: 640px) {
  .hero.hero-solo {
    padding-block: 40px 32px;
  }

  .hero-solo .actions {
    margin-block-start: 24px;
  }

  .hero-solo .actions .button {
    flex: 0 1 auto;
    padding: 14px 24px;
    font-size: 17px;
  }

  .hero-solo .hero-stage {
    margin-block-start: 36px;
  }

  .hero-solo .hero-phone {
    width: 196px;
  }

  .hero-solo .hero-mindo {
    inset-inline-end: calc(50% + 34px);
    width: 128px;
  }

  .hero-solo .hero-zik {
    inset-block-start: 20px;
    inset-inline-start: calc(50% + 86px);
    width: 58px;
  }

  .hero-solo .lantern-glow {
    width: 340px;
    height: 340px;
  }

  .hero-solo .hero-facts {
    flex-direction: column;
    align-items: center;
    text-align: start;
  }
}

/* ---- The statement: a sentence the reader lights by scrolling ---- */
.statement {
  padding-block: clamp(90px, 12vw, 170px);
  background: #fff;
}

.statement-text {
  max-width: 21ch;
  margin: 0 auto;
  color: var(--ink, #1d1a33);
  font-family: 'Fredoka', 'Heebo', sans-serif;
  font-size: clamp(30px, 3.4vw + 12px, 60px);
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
}

.statement-text.is-lighting span {
  color: rgba(27, 30, 46, 0.15);
  transition: color 0.35s ease;
}

.statement-text.is-lighting span.on {
  color: var(--ink, #1d1a33);
}

/* ---- The header: four links, and the full menu is one tap away on every screen ---- */
.menu-btn {
  display: inline-flex;
}

@media (min-width: 961px) {
  header.top .nav-inline {
    gap: 6px;
    font-size: 16px;
  }
}

/* The quiet opening keeps reading order on every screen: words, scene, note, facts. */
.hero-solo .hero-stage,
.hero-solo .hero-facts,
.hero-solo .figure-note {
  order: 0;
}

.hero-solo .lead,
.statement-text {
  text-wrap: balance;
}

@media (min-width: 641px) {
  .hero-solo .hero-mindo {
    inset-inline-end: calc(50% + 104px);
  }
}

/* ---- The question wall (2026-12-03): real questions from the app, two rows drifting slowly ---- */
.wall {
  display: grid;
  gap: 18px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-block: 34px 14px;
  padding-block: 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.wall-row {
  display: flex;
  gap: 18px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: wall-drift 90s linear infinite;
}

.wall-row.rev {
  animation-direction: reverse;
}

.wall:hover .wall-row,
.wall:focus-within .wall-row {
  animation-play-state: paused;
}

/* Half the row is the hidden second copy, so moving by half (plus half a gap) loops without a jump. */
@keyframes wall-drift {
  to {
    transform: translateX(calc(50% + 9px));
  }
}

.wall-card {
  display: grid;
  align-content: start;
  gap: 10px;
  width: 290px;
  margin: 0;
  padding: 18px 20px 20px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: #fff;
  --s: var(--brand);
}

.wall-card.s-math {
  --s: #4334b0;
}

.wall-card.s-hebrew {
  --s: #b4530a;
}

.wall-card.s-english {
  --s: #0b6fb8;
}

.wall-card.s-logic {
  --s: #8a2fa8;
}

.wall-card.s-knowledge {
  --s: #18794e;
}

.wall-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--s);
  font-size: 14px;
  font-weight: 800;
}

.wall-tag .ic {
  width: 18px;
  height: 18px;
}

.wall-age {
  margin-inline-start: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--paper-alt);
  color: #55516f;
  font-weight: 700;
}

.wall-q {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.wall-q span[lang='en'] {
  text-align: start;
}

.wall-v {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.wall-a {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}

.wall-a span {
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--paper-alt);
  color: #3d3a55;
  font-size: 15px;
  font-weight: 700;
}

.wall-a span.ok {
  background: #e3f6ec;
  color: #14613f;
  box-shadow: inset 0 0 0 1.5px #3fbf86;
}

.wall-note {
  margin-block-end: 30px;
}

@media (max-width: 640px) {
  .wall-card {
    width: 250px;
    padding: 16px;
  }

  .wall-q {
    font-size: 16px;
  }
}

/* With reduced motion the wall stands still and is scrolled by hand. */
@media (prefers-reduced-motion: reduce) {
  .wall {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .wall-row {
    animation: none;
    padding-inline: 20px;
  }

  .wall-row [aria-hidden='true'] {
    display: none;
  }
}

/* ---- Mindo and Zik in the scenes (approved poses only) ---- */
.scene {
  height: auto;
}

.scene-think {
  display: block;
  width: 120px;
  margin: 0 auto 6px;
}

.try-box {
  position: relative;
}

.scene-cheer {
  position: absolute;
  inset-block-start: -46px;
  inset-inline-end: 44px;
  width: 104px;
  filter: drop-shadow(0 0 22px rgba(255, 194, 71, 0.8));
}

.safety .scene-asleep {
  width: 150px;
}

.scene-joy {
  display: block;
  width: 150px;
  margin: 0 auto 14px;
}

@media (max-width: 640px) {
  .scene-think {
    width: 96px;
  }

  .scene-cheer {
    inset-block-start: -38px;
    inset-inline-end: 20px;
    width: 76px;
  }

  .safety .scene-asleep {
    width: 104px;
  }

  .scene-joy {
    width: 120px;
  }
}

/* Wall cards share a height per row; the answers sit on the bottom edge so the row reads as one line. */
.wall-card {
  grid-template-rows: auto 1fr auto;
}

.wall-card:has(.wall-v) {
  grid-template-rows: auto auto 1fr auto;
}

.wall-v {
  align-self: center;
}

/* ==== One system for the whole Hebrew site (2026-12-03 audit) ==== */

/* The page fills the screen, so short pages keep the footer at the bottom. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

/* Labels above headings: a little darker, so they pass contrast on every background. */
.eyebrow {
  color: #4a3cc0;
}

.band.feature .eyebrow,
.try-band .eyebrow,
.band.dark .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

/* Touch targets: at least 44px for a finger. */
header.top .cta,
.hero-solo .text-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

input[type='checkbox'] {
  width: 24px;
  height: 24px;
  margin: 10px;
  accent-color: var(--brand);
}

/* How it works: each step shows a real piece of the app instead of an icon tile. */
#how .steps-line .card {
  padding-block-start: 0;
}

.step-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-block-end: 18px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(25, 19, 64, 0.1);
}

#how .steps-line .num {
  position: relative;
  z-index: 1;
  margin-block-end: -18px;
}

/* The trust facts sit under the peace-of-mind card, in the same section. */
#safety .trust-strip {
  margin-block-start: 28px;
}

/* ---- Inner pages speak the same language: a night head with the lantern's light ---- */
.page-hero,
.guides-page .page-hero {
  padding-block: 56px 48px;
  background:
    radial-gradient(45% 80% at 88% 0%, rgba(255, 194, 71, 0.2), transparent 70%),
    linear-gradient(160deg, var(--night), var(--night-2));
  color: #fff;
}

.page-hero h1,
.guides-page .page-hero h1 {
  color: #fff;
}

.page-hero .lead {
  color: #d9d4ff;
}

.page-hero .eyebrow {
  background: none;
}

.guides-page {
  background: var(--paper-alt);
}

/* The small bar under an inner page's title: lantern gold, one colour. */
main.narrow > h1:first-of-type::after,
main.narrow > section:first-child > h1::after {
  background: var(--gold);
}

/* Guide tiles and article cards: one card, one icon colour. */
.guides-page .guide-tile,
.article-card {
  border: 1px solid var(--hair);
  background: #fff;
  box-shadow: none;
}

.guides-page .guide-tile::before,
.guides-page .guide-tile::after {
  display: none;
}

.guides-page .guide-tile .guide-tile-icon,
.guide-tile-icon {
  background: var(--paper-alt);
  color: var(--brand-deep);
  box-shadow: none;
}

.article-card:hover,
.guides-page .guide-tile:hover {
  transform: none;
  border-color: rgba(67, 52, 176, 0.4);
}

.article-card .cover,
.article-card .cover.c-green,
.article-card .cover.c-orange,
.article-card .cover.c-purple {
  height: 120px;
  background: linear-gradient(160deg, var(--night), var(--night-2));
  color: var(--gold);
  font-size: 44px;
}

.contact-icon {
  color: var(--brand-deep);
}

.sim-idle-art {
  color: #fff;
}

/* ---- The footer: night, in columns, with the logo and Mindo asleep ---- */
footer.site-foot {
  padding-block: 56px 28px;
  background: linear-gradient(170deg, var(--night), #120d30);
  color: #cfc9f2;
  font-size: 16px;
  text-align: start;
}

footer.site-foot .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
}

.foot-brand {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.foot-logo img {
  display: block;
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.foot-brand p {
  max-width: 16em;
  margin: 0;
  color: #cfc9f2;
}

.foot-mindo {
  width: 92px;
  height: auto;
  margin-block-start: 6px;
}

.foot-col {
  display: grid;
  gap: 2px;
  justify-items: start;
  margin: 0;
}

.foot-col h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
}

footer.site-foot .foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #cfc9f2;
  text-decoration: none;
  opacity: 1;
}

footer.site-foot .foot-col a:hover,
footer.site-foot .foot-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.foot-legal {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-block-start: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9a2e0;
  font-size: 14px;
}

.foot-legal a {
  color: #fff;
}

@media (max-width: 900px) {
  footer.site-foot .inner {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  footer.site-foot .inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* The help button: an icon, not an emoji. */
.chat-fab .ic {
  width: 24px;
  height: 24px;
}

/* The footer uses the logo drawn for dark backgrounds; on phones the link columns sit two by two. */
.foot-logo img {
  filter: none;
}

@media (max-width: 480px) {
  footer.site-foot .inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  footer.site-foot {
    padding-block: 40px 96px;
  }

  .foot-brand {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .foot-brand .foot-logo {
    grid-column: 1 / -1;
  }

  .foot-mindo {
    width: 72px;
    margin: 0;
  }
}

/* Remaining touch targets: logos, header links and the magazine's topic links. */
.brand,
.foot-logo,
header.top .nav-inline a,
.page-hero nav a,
.topic-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Steps with real screens: no dashed line behind the pictures; on phones each step is picture first, words under it. */
#how .steps-line::before {
  display: none;
}

@media (max-width: 640px) {
  #how .flow-3 .card {
    display: block;
    padding: 0 0 16px;
    overflow: hidden;
  }

  #how .flow-3 .card .step-shot {
    margin-block-end: 14px;
    border: 0;
    border-block-end: 1px solid var(--hair);
    border-radius: 0;
    box-shadow: none;
  }

  #how .flow-3 .card .num {
    inset-block-start: 12px;
    inset-inline: 12px auto;
    z-index: 1;
    margin: 0;
  }

  #how .flow-3 .card h3,
  #how .flow-3 .card p {
    margin-inline: 16px;
    padding: 0;
  }
}

/* On narrow phones Mindo on the waitlist card steps aside, so the heading keeps whole words. */
@media (max-width: 480px) {
  .waitlist-box .mindo-figure {
    width: 84px;
  }
}

/* The step number sits above the picture, never on top of it. */
#how .steps-line .num {
  margin-block-end: 12px;
}

@media (max-width: 640px) {
  #how .flow-3 .card {
    padding-block-start: 14px;
  }

  #how .flow-3 .card .num {
    position: static;
    margin: 0 16px 12px;
  }

  #how .flow-3 .card .step-shot {
    border-block-start: 1px solid var(--hair);
  }
}

/* ==== Brand site (2026-12-03): night, gold used sparingly, ivory and a studio grey; a cinematic opening scene ==== */
:root {
  --lx-black: #0b0817;
  --lx-night: #15102f;
  --lx-gold: #e9b24c;
  --lx-gold-soft: #f4d595;
  --lx-gold-ink: #7a5a17;
  --lx-ivory: #f6f2ea;
  --lx-ink: #15122b;
  --lx-soft: #55516c;
  --lx-on-dark: #bdb7da;
  --lx-hair-dark: rgba(255, 255, 255, 0.14);
  --lx-hair: rgba(21, 18, 43, 0.14);
  --lx-display: 'Fredoka', 'Heebo', sans-serif;
}

/* The header is night on every page, so the brand opens the same way everywhere. */
body header.top {
  background: var(--lx-black);
  border-block-end: 1px solid var(--lx-hair-dark);
  backdrop-filter: none;
}

body header.top .nav-inline a {
  color: #d9d4f0;
  font-weight: 400;
}

body header.top .nav-inline a:hover,
body header.top .nav-inline a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body header.top .cta,
body header.top .cta:hover,
body header.top .cta:focus-visible {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--lx-gold-soft);
  font-weight: 500;
}

body header.top .menu-btn {
  background: transparent;
  border: 1px solid var(--lx-hair-dark);
  color: #fff;
}

body.lx-home {
  background: var(--lx-black);
}

.lx-home header.top {
  position: absolute;
  inset-inline: 0;
  background: transparent;
  border-block-end: 0;
}

.lx-home main {
  color: #fff;
  font-weight: 300;
  line-height: 1.7;
}

.lx-home main section + section {
  margin-block-start: 0;
}

.lx-home main h1,
.lx-home main h2,
.lx-home main h3,
.lx-home main p,
.lx-home main figure {
  margin: 0;
}

.lx-home main h1,
.lx-home main h2,
.lx-home main h3 {
  color: inherit;
  font-family: var(--lx-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.lx-home main h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  text-wrap: balance;
}

.lx-home main img {
  display: block;
  height: auto;
}

.lx-wrap {
  width: min(1240px, 100% - 112px);
  margin-inline: auto;
}

.lx-label {
  color: var(--lx-gold);
  font-family: var(--lx-display);
  font-size: 17px;
  font-weight: 500;
}

.lx-home main .lx-label {
  margin-block-end: 14px;
}

.lx-home main .lx-lead {
  font-size: 20px;
}

.lx-btn,
.lx-home main .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d48d, #e2a53d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 14px 44px rgba(233, 178, 76, 0.34);
  color: #1a1230;
  font-family: var(--lx-display);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.lx-btn:hover,
.lx-home main .button:hover {
  background: linear-gradient(180deg, #f9dea3, #e7ae4b);
  transform: translateY(-1px);
}

.lx-more,
.lx-home main .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-family: var(--lx-display);
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--lx-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.lx-home main .lx-more-ink {
  margin-block-start: 30px;
  color: var(--lx-ink);
  text-decoration-color: #b98a2b;
}

.lx-home main a:focus-visible,
.lx-home main button:focus-visible,
.lx-home main summary:focus-visible,
.lx-home main input:focus-visible,
.lx-home main select:focus-visible {
  outline: 3px solid var(--lx-gold);
  outline-offset: 3px;
}

/* 1. The opening scene */
.lx-film {
  position: relative;
  height: min(920px, 100vh);
  min-height: 720px;
  overflow: hidden;
}

.lx-plate {
  position: absolute;
  inset: 72px 0 0;
}

.lx-home main .lx-plate img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left bottom;
}

.lx-film::before,
.lx-film::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lx-film::before {
  background:
    linear-gradient(180deg, var(--lx-black) 72px, rgba(11, 8, 23, 0.6) 200px, transparent 460px),
    linear-gradient(270deg, rgba(11, 8, 23, 0.74), rgba(11, 8, 23, 0.34) 30%, transparent 50%);
}

.lx-film::after {
  background: linear-gradient(0deg, var(--lx-black), transparent 22%);
}

.lx-film-copy {
  position: relative;
  z-index: 3;
  width: min(600px, 100%);
  padding-block-start: clamp(150px, 19vh, 190px);
}

.lx-home main .lx-film h1 {
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.05;
  text-wrap: nowrap;
}

.lx-film h1 span {
  display: block;
}

.lx-film h1 .lx-lit {
  color: var(--lx-gold-soft);
}

.lx-home main .lx-film .lx-lead {
  max-width: 23em;
  margin-block-start: 24px;
  color: #e3dff5;
}

.lx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  margin-block-start: 34px;
}

.lx-home main .lx-actions .hero-soon {
  display: none;
}

.lx-soon {
  position: absolute;
  z-index: 3;
  inset-block-end: 30px;
  inset-inline: 0;
  color: #b3add2;
  font-size: 14px;
  font-weight: 400;
}

.lx-soon .lx-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--lx-hair-dark);
}

/* 2. The idea */
.lx-idea {
  padding-block: 150px 170px;
  text-align: center;
}

.lx-home main .lx-idea p {
  max-width: 17em;
  margin-inline: auto;
  font-family: var(--lx-display);
  font-size: clamp(28px, 3.9vw, 58px);
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}

.lx-idea .lx-dim {
  color: #8a84ab;
}

/* 3. The lantern: how it works */
.lx-object {
  background: linear-gradient(180deg, #cbcad6, #d3d0d9);
  color: var(--lx-ink);
  overflow: hidden;
}

.lx-object-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  min-height: 860px;
  padding-block: 90px;
}

.lx-home main .lx-object-grid > img {
  width: 640px;
  max-width: none;
  margin-inline-start: -40px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 62%, transparent 100%);
}

.lx-home main .lx-object h2 {
  max-width: 11em;
  margin-block-end: 44px;
}

.lx-object .lx-label,
.lx-learn .lx-label,
.lx-parent .lx-label,
.lx-pricing .lx-label {
  color: var(--lx-gold-ink);
}

.lx-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lx;
}

.lx-rows li {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding-block: 24px;
  border-block-start: 1px solid rgba(21, 18, 43, 0.18);
}

.lx-rows li:last-child {
  border-block-end: 1px solid rgba(21, 18, 43, 0.18);
}

.lx-rows li::before {
  counter-increment: lx;
  content: counter(lx);
  color: var(--lx-gold-ink);
  font-family: var(--lx-display);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}

.lx-home main .lx-rows h3 {
  font-size: 25px;
}

.lx-home main .lx-rows p {
  max-width: 26em;
  margin-block-start: 6px;
  color: #403c58;
  font-size: 17px;
  font-weight: 400;
}

/* 4. Inside the app */
.lx-inside {
  padding-block: 170px 150px;
  background: radial-gradient(60% 50% at 50% 62%, rgba(233, 178, 76, 0.16), transparent 70%), var(--lx-black);
  text-align: center;
}

.lx-home main .lx-inside h2 {
  max-width: 14em;
  margin-inline: auto;
}

.lx-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  align-items: end;
  width: min(1040px, 100%);
  margin: 84px auto 0;
}

.lx-device {
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3470, #0c0920 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 60px 100px rgba(0, 0, 0, 0.7);
}

.lx-home main .lx-device img {
  width: 100%;
  border-radius: 38px;
}

.lx-phones figure:nth-child(2) {
  transform: translateY(-46px);
}

.lx-phones figcaption {
  margin-block-start: 26px;
  color: var(--lx-on-dark);
  font-size: 16px;
  font-weight: 400;
}

.lx-phones figcaption strong {
  display: block;
  color: #fff;
  font-family: var(--lx-display);
  font-size: 21px;
  font-weight: 500;
}

.lx-home main .lx-tiny {
  margin-block-start: 40px;
  color: #a39dc4;
  font-size: 14px;
  font-weight: 400;
}

/* 5. Learning */
.lx-learn {
  background: var(--lx-ivory);
  color: var(--lx-ink);
  overflow: hidden;
}

.lx-learn-grid {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 90px;
  align-items: end;
}

.lx-learn-art {
  position: relative;
  padding-block-start: 120px;
}

.lx-learn-art::before {
  content: '';
  position: absolute;
  inset: 180px -60px 0;
  border-radius: 50% 50% 0 0 / 46% 46% 0 0;
  background: radial-gradient(60% 70% at 50% 40%, #2a2163, var(--lx-night));
}

.lx-home main .lx-learn-art img {
  position: relative;
  width: 430px;
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(11, 8, 23, 0.35));
}

.lx-learn-copy {
  padding-block: 150px 130px;
}

.lx-home main .lx-learn h2 {
  max-width: 12em;
  margin-block-end: 22px;
}

.lx-learn .lx-lead,
.lx-parent .lx-lead {
  color: var(--lx-soft);
}

.lx-home main .lx-subjects {
  margin-block-start: 30px;
  font-family: var(--lx-display);
  font-size: 22px;
  font-weight: 500;
}

.lx-subjects span {
  margin-inline: 10px;
  color: #b98a2b;
  font-weight: 300;
}

.lx-values {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.lx-values li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding-block: 20px;
  border-block-start: 1px solid var(--lx-hair);
  color: var(--lx-soft);
  font-size: 17px;
  font-weight: 400;
}

.lx-values li:last-child {
  border-block-end: 1px solid var(--lx-hair);
}

.lx-values strong {
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: 20px;
  font-weight: 500;
}

.lx-values-stack li {
  grid-template-columns: 1fr;
  gap: 2px;
}

/* 6. Try it */
.lx-try {
  padding-block: 130px;
  background: radial-gradient(50% 80% at 80% 50%, rgba(108, 92, 231, 0.2), transparent 70%), var(--lx-night);
}

.lx-try-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: center;
}

.lx-home main .lx-try h2 {
  max-width: 14em;
  margin-block-end: 20px;
}

.lx-try .lx-lead {
  max-width: 28em;
  color: var(--lx-on-dark);
}

.lx-try-side {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.lx-home main .lx-ages {
  display: flex;
  gap: 26px;
  font-size: 16px;
  font-weight: 400;
}

.lx-ages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lx-gold-soft);
  text-underline-offset: 6px;
}

/* 7. What the parent gets */
.lx-parent {
  padding-block: 150px;
  background: var(--lx-ivory);
  color: var(--lx-ink);
}

.lx-parent-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: start;
}

.lx-parent .lx-values {
  margin-block-start: 0;
}

.lx-values-wide li {
  grid-template-columns: 170px 1fr;
}

/* 8. Kids Mode */
.lx-kids {
  background: linear-gradient(180deg, #d3d0d9, #cbcad6);
  color: var(--lx-ink);
  overflow: hidden;
}

.lx-kids-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 110px;
  align-items: center;
  padding-block: 150px;
}

.lx-kids .lx-label {
  color: var(--lx-gold-ink);
}

.lx-home main .lx-kids h2 {
  max-width: 15em;
  margin-block-end: 22px;
}

.lx-kids .lx-lead {
  max-width: 32em;
  color: #403c58;
  font-weight: 400;
}

.lx-kids .lx-lead strong {
  font-weight: 600;
}

.lx-kids .lx-values li {
  border-color: rgba(21, 18, 43, 0.18);
  color: #403c58;
}

.lx-kids-shot .lx-device {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 50px 90px rgba(21, 18, 43, 0.45);
}

.lx-home main .lx-kids .lx-tiny {
  margin-block-start: 22px;
  color: #55516c;
  text-align: center;
}

/* 9. Safety */
.lx-safety {
  background: radial-gradient(44% 60% at 24% 70%, rgba(233, 178, 76, 0.2), transparent 70%), var(--lx-black);
  overflow: hidden;
}

.lx-safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: end;
}

.lx-safety-copy {
  padding-block: 150px;
}

.lx-home main .lx-safety h2 {
  max-width: 12em;
  margin-block-end: 26px;
}

.lx-safety .lx-lead {
  max-width: 30em;
  color: #ddd8f2;
}

.lx-home main .lx-note {
  max-width: 38em;
  margin-block-start: 20px;
  color: var(--lx-on-dark);
  font-size: 16px;
  font-weight: 400;
}

.lx-home main .lx-safety a,
.lx-home main .lx-last a {
  color: var(--lx-gold-soft);
}

.lx-home main .lx-safety-art {
  width: 420px;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.7));
}

.lx-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.lx-facts li {
  padding-block: 18px;
  border-block-start: 1px solid var(--lx-hair-dark);
  color: var(--lx-on-dark);
  font-size: 16px;
  font-weight: 400;
}

.lx-facts strong {
  display: block;
  color: #fff;
  font-family: var(--lx-display);
  font-size: 19px;
  font-weight: 500;
}

/* 10. Pricing */
.lx-pricing {
  padding-block: 150px;
  background: var(--lx-ivory);
  color: var(--lx-ink);
}

.lx-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-start: 60px;
  border-block: 1px solid var(--lx-hair);
}

.lx-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 48px 48px 0;
}

.lx-plan + .lx-plan {
  padding-inline: 48px 0;
  border-inline-start: 1px solid var(--lx-hair);
}

.lx-home main .lx-plan h3 {
  font-size: 26px;
}

.lx-plan h3 span {
  margin-inline-start: 12px;
  color: var(--lx-gold-ink);
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.lx-home main .lx-price {
  margin-block: 18px 22px;
  font-family: var(--lx-display);
  font-size: clamp(52px, 5.6vw, 84px);
  font-weight: 300;
  line-height: 1;
}

.lx-price small {
  color: var(--lx-soft);
  font-family: 'Heebo', sans-serif;
  font-size: 17px;
  font-weight: 400;
}

.lx-plan ul {
  flex: 1;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--lx-soft);
  font-size: 17px;
  font-weight: 400;
}

.lx-plan li {
  padding-block: 4px;
}

.lx-home main .lx-plan .button {
  min-height: 52px;
  padding: 0 28px;
  background: var(--lx-ink);
  box-shadow: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.lx-home main .lx-plan-main .button {
  background: linear-gradient(180deg, #f6d48d, #e2a53d);
  box-shadow: 0 12px 30px rgba(226, 165, 61, 0.34);
  color: #1a1230;
  font-weight: 600;
}

.lx-home main .lx-terms {
  max-width: 46em;
  margin-block-start: 26px;
  color: var(--lx-soft);
  font-size: 15px;
  font-weight: 400;
}

.lx-faq {
  max-width: 820px;
  margin-block-start: 60px;
}

.lx-home main .lx-faq details {
  margin: 0;
  padding: 0;
  border: 0;
  border-block-start: 1px solid var(--lx-hair);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.lx-home main .lx-faq details:last-child {
  border-block-end: 1px solid var(--lx-hair);
}

.lx-home main .lx-faq summary {
  padding-block: 20px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.lx-home main .lx-faq details p {
  margin: 0;
  padding-block-end: 22px;
  color: var(--lx-soft);
  font-size: 17px;
  font-weight: 400;
}

.lx-home main .lx-pricing a:not(.button) {
  color: #4334b0;
}

/* 11. Waitlist */
.lx-last {
  padding-block: 150px 160px;
  background: radial-gradient(50% 70% at 80% 30%, rgba(108, 92, 231, 0.22), transparent 70%), var(--lx-night);
}

.lx-last-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 90px;
  align-items: start;
}

.lx-home main .lx-last h2 {
  max-width: 11em;
  font-size: clamp(34px, 4.2vw, 64px);
}

.lx-last .lx-lead {
  max-width: 26em;
  margin-block-start: 26px;
  color: var(--lx-on-dark);
}

.lx-form {
  display: grid;
  gap: 18px;
}

.lx-form label {
  display: grid;
  gap: 6px;
  color: #ddd8f2;
  font-size: 15px;
  font-weight: 400;
}

.lx-opt {
  color: #a39dc4;
}

.lx-form input[type='email'],
.lx-form input[type='text'],
.lx-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 17px;
}

.lx-form select option {
  color: var(--lx-ink);
}

.lx-form [aria-invalid='true'] {
  border-color: #ff9d9d;
}

.lx-form label.lx-check {
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--lx-on-dark);
  font-size: 14px;
}

.lx-form .lx-check input {
  margin: 2px 0 0;
  accent-color: var(--lx-gold);
}

.lx-form .lx-btn {
  justify-self: start;
}

.lx-home main .lx-form .form-status {
  min-height: 1.6em;
  color: #fff;
  font-size: 16px;
}

.lx-home main .lx-form .form-status.error {
  color: #ffb4b4;
}

.lx-home main .lx-form .form-status.ok {
  color: #a8f0c8;
}

.lx-home footer.site-foot {
  margin-block-start: 0;
}

@media (max-width: 1100px) {
  .lx-object-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .lx-home main .lx-object-grid > img {
    width: 460px;
  }

  .lx-learn-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 60px;
  }

  .lx-home main .lx-learn-art img {
    width: 320px;
  }

  .lx-safety-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .lx-home main .lx-safety-art {
    width: 300px;
  }

  .lx-last-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 50px;
  }

  .lx-kids-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 60px;
  }

  .lx-parent-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lx-phones {
    gap: 32px;
  }
}

@media (max-width: 800px) {
  .lx-wrap {
    width: calc(100% - 44px);
  }

  .lx-home main .lx-lead {
    font-size: 18px;
  }

  .lx-btn,
  .lx-home main .button {
    min-height: 54px;
    padding: 0 24px;
    font-size: 17px;
  }

  .lx-film {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .lx-film::before,
  .lx-film::after {
    content: none;
  }

  .lx-film > .lx-wrap {
    order: 1;
  }

  .lx-plate {
    position: relative;
    inset: auto;
    order: 2;
    display: block;
    height: 112vw;
    margin-block-start: 26px;
  }

  .lx-plate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--lx-black), transparent 24%, transparent 84%, var(--lx-black));
  }

  .lx-home main .lx-plate img {
    object-position: 66% bottom;
  }

  .lx-film-copy {
    padding-block-start: 96px;
  }

  .lx-home main .lx-film h1 {
    font-size: 9.4vw;
  }

  .lx-home main .lx-film .lx-lead {
    margin-block-start: 16px;
  }

  .lx-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-block-start: 22px;
  }

  .lx-soon {
    position: static;
    order: 3;
    padding-block-end: 8px;
    font-size: 13px;
  }

  .lx-soon .lx-wrap {
    padding-block-start: 12px;
  }

  .lx-idea {
    padding-block: 84px 96px;
  }

  .lx-object-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 0 70px;
  }

  .lx-home main .lx-object-grid > img {
    order: -1;
    width: 300px;
    margin: 0 auto;
  }

  .lx-home main .lx-object h2 {
    margin-block-end: 28px;
  }

  .lx-rows li {
    grid-template-columns: 52px 1fr;
    padding-block: 20px;
  }

  .lx-rows li::before {
    font-size: 36px;
  }

  .lx-inside {
    padding-block: 90px 80px;
  }

  .lx-phones {
    grid-template-columns: 1fr;
    gap: 56px;
    width: 250px;
    margin-block-start: 48px;
  }

  .lx-phones figure:nth-child(2) {
    transform: none;
  }

  .lx-device {
    padding: 7px;
    border-radius: 38px;
  }

  .lx-home main .lx-device img {
    border-radius: 31px;
  }

  .lx-learn-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lx-learn-copy {
    order: -1;
    padding-block: 84px 20px;
  }

  .lx-learn-art {
    padding-block-start: 40px;
  }

  .lx-learn-art::before {
    inset: 90px -22px 0;
  }

  .lx-home main .lx-learn-art img {
    width: 280px;
  }

  .lx-home main .lx-subjects {
    font-size: 19px;
    line-height: 1.8;
  }

  .lx-subjects span {
    margin-inline: 6px;
  }

  .lx-values li,
  .lx-values-wide li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lx-try {
    padding-block: 84px;
  }

  .lx-try-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lx-try-side {
    justify-items: start;
  }

  .lx-parent,
  .lx-pricing {
    padding-block: 84px;
  }

  .lx-kids-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 84px;
  }

  .lx-kids-shot {
    width: 250px;
    margin-inline: auto;
  }

  .lx-safety-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lx-safety-copy {
    padding-block: 84px 30px;
  }

  .lx-home main .lx-safety-art {
    width: 260px;
    margin-inline: auto;
  }

  .lx-facts {
    grid-template-columns: 1fr;
  }

  .lx-plans {
    grid-template-columns: 1fr;
    margin-block-start: 36px;
  }

  .lx-plan,
  .lx-plan + .lx-plan {
    padding: 32px 0;
    border-inline-start: 0;
  }

  .lx-plan + .lx-plan {
    border-block-start: 1px solid var(--lx-hair);
  }

  .lx-plan h3 span {
    display: block;
    margin: 6px 0 0;
  }

  .lx-last {
    padding-block: 84px 96px;
  }

  .lx-last-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lx-home header.top .inner {
  width: min(1240px, 100% - 112px);
  max-width: none;
  padding-inline: 0;
}

@media (max-width: 800px) {
  .lx-home header.top .inner {
    width: calc(100% - 44px);
  }
}

body header.top .lang-link {
  color: #d9d4f0;
}

/* ==== Articles and the articles page (2026-12-03): a night head, an ivory reading column, figures on night ==== */
body:has(main.lx-art),
body:has(main.lx-blog) {
  background: var(--lx-ivory);
}

.lx-art,
.lx-blog {
  color: #2a2740;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
}

.lx-art-in {
  width: min(720px, 100% - 44px);
  margin-inline: auto;
}

.lx-blog-in {
  width: min(1080px, 100% - 44px);
  margin-inline: auto;
}

.lx-art-head {
  padding-block: 84px 72px;
  background: radial-gradient(60% 90% at 86% 0%, rgba(108, 92, 231, 0.3), transparent 70%), var(--lx-night);
  color: #fff;
}

.lx-art-head .lx-art-in {
  width: min(860px, 100% - 44px);
}

.lx-art-head .lx-art-kicker {
  margin: 0 0 18px;
  color: var(--lx-gold);
  font-family: var(--lx-display);
  font-size: 17px;
  font-weight: 500;
}

.lx-art-head .lx-art-kicker a {
  color: inherit;
  text-underline-offset: 5px;
}

.lx-art-head .lx-art-kicker span {
  margin-inline: 6px;
  opacity: 0.6;
}

.lx-art-head h1 {
  margin: 0;
  color: #fff;
  font-family: var(--lx-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.lx-art-head h1::after {
  content: none;
}

.lx-art-head .byline {
  margin: 20px 0 0;
  color: #b3add2;
  font-size: 15px;
}

.lx-art-head .lead {
  max-width: 34em;
  margin: 24px 0 0;
  color: #e3dff5;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.7;
}

.lx-art-body {
  padding-block: 64px 96px;
}

.lx-art-body h2 {
  margin: 64px 0 16px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}

.lx-art-body h3 {
  margin: 36px 0 8px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: 22px;
  font-weight: 500;
}

.lx-art-body p {
  margin: 0 0 20px;
}

.lx-art-body strong {
  color: var(--lx-ink);
  font-weight: 600;
}

.lx-art-body a {
  color: #4334b0;
}

.lx-art-body ul,
.lx-art-body ol {
  margin: 0 0 24px;
  padding-inline-start: 26px;
}

.lx-art-body li {
  margin-block-end: 10px;
}

.lx-art-body li::marker {
  color: #b98a2b;
  font-weight: 600;
}

.lx-brief {
  margin: 0 0 48px;
  padding: 28px 30px;
  border-block-start: 3px solid var(--lx-gold);
  background: #efe9dc;
}

.lx-art-body .lx-brief h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.lx-art-body .lx-brief ul {
  margin: 0;
}

.lx-art-body .lx-brief li:last-child {
  margin: 0;
}

.lx-art-body .callout,
.lx-help {
  margin: 36px 0;
  padding: 22px 26px;
  border: 0;
  border-inline-start: 3px solid var(--lx-gold);
  border-radius: 0;
  background: #efe9dc;
  box-shadow: none;
  color: #2a2740;
}

.lx-art-body .lx-help h2,
.lx-art-body .lx-help h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.lx-art-body .lx-help > :last-child {
  margin-block-end: 0;
}

.lx-fig {
  margin: 44px 0;
  padding: 34px 30px 26px;
  border-radius: 18px;
  background: radial-gradient(70% 90% at 80% 0%, rgba(108, 92, 231, 0.28), transparent 70%), var(--lx-night);
  color: #fff;
}

.lx-fig svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: 'Heebo', sans-serif;
}

.lx-fig figcaption {
  margin-block-start: 18px;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--lx-hair-dark);
  color: var(--lx-on-dark);
  font-size: 15px;
  line-height: 1.6;
}

.lx-table-wrap {
  margin: 30px 0;
  overflow-x: auto;
}

.lx-art-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.lx-art-body th,
.lx-art-body td {
  padding: 14px 12px;
  border-block-end: 1px solid var(--lx-hair);
  text-align: start;
  vertical-align: top;
}

.lx-art-body th {
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-weight: 500;
}

.lx-art-body details {
  margin: 0;
  padding: 0;
  border: 0;
  border-block-start: 1px solid var(--lx-hair);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.lx-art-body details:last-of-type {
  border-block-end: 1px solid var(--lx-hair);
}

.lx-art-body summary {
  padding-block: 18px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.lx-art-body details p {
  margin: 0 0 20px;
}

.lx-sources,
.lx-art-body .sources {
  margin-block-start: 64px;
  padding: 0;
  border: 0;
  border-block-start: 1px solid var(--lx-hair);
  background: none;
  color: var(--lx-soft);
  font-size: 15px;
  line-height: 1.7;
}

.lx-art-body .sources {
  padding-block-start: 20px;
}

.lx-art-body .lx-sources h2 {
  margin-block-start: 36px;
  font-size: 22px;
}

.lx-sources li {
  margin-block-end: 12px;
  overflow-wrap: anywhere;
}

.lx-sources cite {
  font-style: normal;
}

.lx-art .article-end {
  margin: 0;
  padding: 80px max(22px, calc((100% - 860px) / 2));
  border: 0;
  border-radius: 0;
  background: var(--lx-black);
  color: #fff;
}

.lx-art .article-end h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--lx-display);
  font-size: 26px;
  font-weight: 500;
}

.lx-art .article-end ul {
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}

.lx-art .article-end li {
  border-block-start: 1px solid var(--lx-hair-dark);
}

.lx-art .article-end li a {
  display: block;
  padding-block: 16px;
  color: #fff;
  font-family: var(--lx-display);
  font-size: 20px;
  text-decoration: none;
}

.lx-art .article-end li a:hover {
  color: var(--lx-gold-soft);
}

.lx-art .article-end .next-step {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--lx-on-dark);
}

.lx-art .article-end .next-step p {
  max-width: 34em;
  margin: 0 0 22px;
}

.lx-art .article-end .next-step strong {
  color: #fff;
}

.lx-art .article-end .button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d48d, #e2a53d);
  box-shadow: none;
  color: #1a1230;
  font-family: var(--lx-display);
  font-weight: 600;
}

.lx-art .article-end .button.secondary {
  margin-inline-start: 10px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 500;
}

/* The articles page */
.lx-blog .lx-art-head h1 {
  max-width: 14em;
}

.lx-blog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-block-start: 34px;
  font-family: var(--lx-display);
  font-size: 17px;
}

.lx-blog-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lx-gold-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.lx-blog-body {
  padding-block: 30px 110px;
}

.lx-blog-cat h2 {
  margin: 70px 0 6px;
  color: var(--lx-gold-ink);
  font-family: var(--lx-display);
  font-size: 19px;
  font-weight: 500;
}

.lx-blog-rows,
.lx-blog-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-blog-rows li,
.lx-blog-featured li {
  border-block-start: 1px solid var(--lx-hair);
}

.lx-blog-rows a,
.lx-blog-featured a {
  display: block;
  height: 100%;
  padding-block: 26px 30px;
  color: inherit;
  text-decoration: none;
}

.lx-row-meta {
  display: block;
  color: var(--lx-soft);
  font-size: 14px;
}

.lx-blog-rows strong,
.lx-blog-featured strong {
  display: block;
  margin-block: 6px 8px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.lx-blog-rows a:hover strong,
.lx-blog-featured a:hover strong {
  color: #4334b0;
}

.lx-row-desc {
  display: block;
  color: var(--lx-soft);
  font-size: 17px;
  line-height: 1.65;
}

.lx-blog-featured {
  grid-template-columns: 1fr;
  margin-block-start: 40px;
}

.lx-blog-featured li {
  border-block-start: 3px solid var(--lx-gold);
}

.lx-blog-featured strong {
  max-width: 18em;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
}

.lx-blog-featured .lx-row-desc {
  max-width: 38em;
  font-size: 19px;
}

.lx-blog-note {
  max-width: 46em;
  margin: 70px 0 0;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--lx-hair);
  color: var(--lx-soft);
  font-size: 15px;
}

@media (max-width: 800px) {
  .lx-art,
  .lx-blog {
    font-size: 18px;
  }

  .lx-art-head {
    padding-block: 52px 46px;
  }

  .lx-art-head .lead {
    font-size: 19px;
  }

  .lx-art-body {
    padding-block: 40px 64px;
  }

  .lx-art-body h2 {
    margin-block-start: 48px;
  }

  .lx-brief {
    padding: 22px 20px;
  }

  .lx-fig {
    margin-inline: -22px;
    padding: 24px 10px 20px;
    border-radius: 0;
  }

  .lx-fig figcaption,
  .lx-fig .lx-ladder {
    margin-inline: 12px;
  }

  .lx-blog-rows {
    grid-template-columns: 1fr;
  }

  .lx-blog-rows strong {
    font-size: 22px;
  }

  .lx-art .article-end .button.secondary {
    margin: 10px 0 0;
  }
}

.lx-ladder {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-fig .lx-ladder li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--lx-hair-dark);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
}

.lx-ladder li:nth-child(1) { margin-inline-start: 25%; }
.lx-ladder li:nth-child(2) { margin-inline-start: 20%; }
.lx-ladder li:nth-child(3) { margin-inline-start: 15%; }
.lx-ladder li:nth-child(4) { margin-inline-start: 10%; }
.lx-ladder li:nth-child(5) { margin-inline-start: 5%; }

.lx-ladder span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lx-gold-soft);
  color: #1a1230;
  font-family: var(--lx-display);
  font-weight: 600;
}

@media (max-width: 800px) {
  .lx-ladder li:nth-child(n) {
    margin-inline-start: 0;
  }
}

/* ==== Inner pages in the new look (2026-12-03): help, contact, setup, review, legal, guides, simulator, 404 ==== */
.lx-art-head .meta,
.lx-art-head .lx-art-switch {
  margin: 18px 0 0;
  color: #b3add2;
  font-size: 15px;
}

.lx-art-head .lx-art-switch a {
  color: var(--lx-gold-soft);
  text-underline-offset: 5px;
}

.lx-page .lx-art-body > h2:first-child,
.lx-page .lx-art-body > section:first-child > h2:first-child {
  margin-block-start: 0;
}

.lx-page .lx-art-body section + section {
  margin-block-start: 72px;
  padding-block-start: 56px;
  border-block-start: 1px solid var(--lx-hair);
}

.lx-page .lx-art-body section > h1 {
  margin: 0 0 12px;
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
}

.lx-page .lx-art-body section > h1::after {
  content: none;
}

.lx-page .lx-art-body .meta {
  color: var(--lx-soft);
}

.page-hero,
.guides-page .page-hero {
  padding-block: 84px 72px;
  background: radial-gradient(60% 90% at 86% 0%, rgba(108, 92, 231, 0.3), transparent 70%), var(--lx-night);
}

.page-hero h1,
.guides-page .page-hero h1 {
  font-family: var(--lx-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.page-hero h1::after {
  content: none;
}

.page-hero .lead {
  color: #e3dff5;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.7;
}

.page-hero .eyebrow {
  color: var(--lx-gold);
  font-family: var(--lx-display);
  font-size: 17px;
  font-weight: 500;
}

body:has(main.guides-page),
body:has(.page-hero),
body:has(main.notfound),
.guides-page {
  background: var(--lx-ivory);
}

.notfound h1 {
  color: var(--lx-ink);
  font-family: var(--lx-display);
  font-weight: 500;
}

.notfound h1::after {
  content: none;
}

.notfound .code {
  color: #b98a2b;
  font-family: var(--lx-display);
  font-weight: 500;
}

.lx-page .lx-art-body a.button:not(.secondary) {
  color: #fff;
}

/* The English home: the scene is mirrored so the copy sits over the dark room, as in Hebrew. */
html[dir='ltr'] .lx-home main .lx-plate img {
  transform: scaleX(-1);
}

html[dir='ltr'] .lx-film::before {
  background:
    linear-gradient(180deg, var(--lx-black) 72px, rgba(11, 8, 23, 0.6) 200px, transparent 460px),
    linear-gradient(90deg, rgba(11, 8, 23, 0.74), rgba(11, 8, 23, 0.34) 30%, transparent 50%);
}

@media (max-width: 800px) {
  html[dir='ltr'] .lx-home main .lx-film h1 {
    font-size: 8vw;
  }
}

/* Landing pages: Mindo stands beside the title in the night head. */
.lx-has-figure .lx-art-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.lx-has-figure .lx-art-copy {
  grid-column: 1;
  grid-row: 1;
}

.lx-art-figure {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  height: clamp(200px, 24vw, 300px);
  margin-block-end: -72px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

@media (max-width: 800px) {
  .lx-has-figure .lx-art-in {
    grid-template-columns: minmax(0, 1fr);
  }

  .lx-art-figure {
    grid-column: 1;
    grid-row: 2;
    height: 180px;
    justify-self: end;
    margin-block-start: -8px;
  }
}

/* ---------- Short waitlist form (end of articles, landing pages, comparison pages) ---------- */
.mu-wl-box {
  margin-block-start: 48px;
  padding: 28px 28px 22px;
  border-radius: 20px;
  background: var(--lx-night, #0d0b1d);
  color: #fff;
  scroll-margin-top: 90px;
}

.lx-art .lx-art-body .mu-wl-box h2,
.mu-wl-box h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.lx-art .lx-art-body .mu-wl-box p,
.mu-wl-box p {
  margin: 0 0 16px;
  color: #ddd8f2;
  font-size: 16px;
}

.mu-wl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.mu-wl-row label {
  display: grid;
  flex: 1 1 240px;
  gap: 6px;
  color: #ddd8f2;
  font-size: 15px;
}

.mu-wl-row input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 17px;
}

.mu-wl-row input[aria-invalid='true'] {
  border-color: #ff9d9d;
}

.lx-page .lx-art-body .mu-wl-box .button,
.lx-art .lx-art-body .mu-wl-box .button,
.mu-wl-box .button {
  min-height: 52px;
  margin: 0;
  border: 0;
  background: var(--lx-gold, #f0b64a);
  color: #1b1533;
  cursor: pointer;
}

.mu-wl-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-block-start: 14px;
  color: #c9c3e6;
  font-size: 14px;
  line-height: 1.5;
}

.mu-wl-check input {
  margin: 3px 0 0;
  accent-color: var(--lx-gold, #f0b64a);
}

.lx-art .lx-art-body .mu-wl-box a,
.mu-wl-box a {
  color: #fff;
}

.mu-wl-box .form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #fff;
}

.mu-wl-box .form-status.error {
  color: #ffb4b4;
}

.mu-wl-box .form-status.ok {
  color: #a8f0c8;
}

.article-end .next-links {
  display: flex;
  gap: 22px;
  margin: 10px 0 0;
}

#waitlist {
  scroll-margin-top: 70px;
}

/* ---------- Phone bar: the same step, always within reach, with a close button ---------- */
.wl-bar {
  display: none;
}

@media (max-width: 760px) {
  .wl-bar:not([hidden]) {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 60;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-block-start: 1px solid rgba(255, 255, 255, 0.16);
    background: #0d0b1d;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
  }

  .wl-bar-go {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--lx-gold, #f0b64a);
    color: #1b1533;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .wl-bar-x {
    flex: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  body.has-wl-bar .chat-fab {
    inset-block-end: calc(84px + env(safe-area-inset-bottom));
  }

  body.has-wl-bar footer.site-foot {
    padding-block-end: 90px;
  }
}

/* ---------- About page: the founder's letter, then what each side gets and the promises ---------- */
.about .lx-art-body .about-letter {
  max-width: 34em;
  margin-block-end: 72px;
}

.about .lx-art-body .about-letter p {
  margin-block: 0 22px;
  color: var(--lx-ink, #15102f);
  font-size: 22px;
  line-height: 1.7;
}

.about .lx-art-body .about-letter .about-turn {
  margin-block: 44px 40px;
  padding-inline-start: 22px;
  border-inline-start: 4px solid var(--lx-gold, #e9b24c);
  font-family: var(--lx-display, inherit);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
}

.about .lx-art-body .about-letter .about-by {
  margin-block-start: 34px;
  color: #6b6584;
  font-size: 17px;
}

.about .lx-art-body .about-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.about .lx-art-body .about-cols h3 {
  margin: 0;
  padding-block-end: 12px;
  border-block-end: 2px solid var(--lx-ink, #15102f);
  font-size: 22px;
}

.about .lx-art-body .about-cols ul,
.about .lx-art-body .about-promises {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about .lx-art-body .about-cols li {
  padding-block: 14px;
  border-block-end: 1px solid var(--lx-hair, rgba(21, 16, 47, 0.14));
  font-size: 18px;
}

.about .lx-art-body .about-cols li::before,
.about .lx-art-body .about-promises li::before {
  content: none;
}

.about .lx-art-body .about-promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-block-end: 26px;
}

.about .lx-art-body .about-promises li {
  padding-block: 18px;
  border-block-start: 1px solid var(--lx-hair, rgba(21, 16, 47, 0.14));
  font-size: 17px;
}

.about .lx-art-body .about-promises strong {
  display: block;
  font-family: var(--lx-display, inherit);
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .about .lx-art-body .about-letter {
    margin-block-end: 52px;
  }

  .about .lx-art-body .about-letter p {
    font-size: 19px;
  }

  .about .lx-art-body .about-cols,
  .about .lx-art-body .about-promises {
    grid-template-columns: 1fr;
  }

  .about .lx-art-body .about-cols > div + div {
    margin-block-start: 28px;
  }
}

/* App screenshots inside an article page (why-mindunlock). */
.art-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-block: 28px 14px;
}
.art-shots figure {
  margin: 0;
  text-align: center;
}
.art-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(21, 18, 43, 0.12),
    0 18px 40px rgba(21, 18, 43, 0.18);
}
.art-shots figcaption {
  margin-block-start: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.8;
}
@media (max-width: 760px) {
  .art-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
