:root {
  --cream: #fff9f0;
  --cream-deep: #f8f1e7;
  --paper: #ffffff;
  --ink: #1f2937;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e7e0d6;
  --violet: #7c3aed;
  --violet-dark: #5b21b6;
  --violet-soft: #f1eaff;
  --emerald: #0f9f7a;
  --emerald-soft: #e8f8f2;
  --sky: #0ea5e9;
  --sky-soft: #e8f5fd;
  --amber: #f59e0b;
  --amber-soft: #fff4dc;
  --shadow: 0 18px 50px rgba(72, 48, 24, 0.1);
  --shadow-soft: 0 8px 24px rgba(72, 48, 24, 0.08);
  --radius: 24px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", "Manrope", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 224, 214, 0.8);
  background: rgba(255, 249, 240, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-owl {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(72, 48, 24, 0.14);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-family: "Nunito", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-tagline {
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--violet);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  padding: 11px 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: "Nunito", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--violet);
  border-color: var(--violet-dark);
  color: white;
  box-shadow: 0 6px 0 var(--violet-dark);
}

.btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 4px 0 var(--violet-dark);
}

.btn-secondary {
  background: white;
  border-color: #d8d0c4;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
}

.btn-light {
  background: white;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--violet-dark);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.16);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.86rem;
  border-radius: 12px;
}

.btn-large {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.12), transparent 34%),
    radial-gradient(circle at 88% 30%, rgba(15, 159, 122, 0.12), transparent 32%),
    linear-gradient(180deg, #fffaf2 0%, #fff9f0 64%, #fffdf9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -220px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #d9c9ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--violet-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 900;
  color: var(--ink);
}

.hero-kicker {
  max-width: 620px;
  margin-top: 18px;
  color: var(--violet-dark);
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 900;
  line-height: 1.3;
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 900;
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.16), rgba(15, 159, 122, 0.12));
  filter: blur(2px);
}

.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  aspect-ratio: 390 / 844;
  padding: 10px;
  border-radius: 44px;
  background: #1f2937;
  box-shadow: 0 34px 70px rgba(38, 28, 18, 0.26);
  transform: rotate(-2deg);
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1f2937;
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  object-fit: cover;
  object-position: top center;
}

.phone-small {
  width: 260px;
  transform: rotate(2deg);
}

.letter-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(72, 48, 24, 0.16);
}

.tile-1 {
  top: 58px;
  left: 12px;
  background: var(--amber-soft);
  transform: rotate(-9deg);
}

.tile-2 {
  top: 110px;
  right: 0;
  background: var(--sky-soft);
  transform: rotate(8deg);
}

.tile-3 {
  bottom: 86px;
  left: -4px;
  background: var(--violet-soft);
  transform: rotate(6deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 1px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  font-size: 0.72rem;
  color: var(--muted);
}

.floating-card strong {
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.floating-time {
  top: 30px;
  right: 4px;
}

.floating-xp {
  right: 10px;
  bottom: 52px;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-alt {
  background:
    radial-gradient(circle at 12% 20%, rgba(124, 58, 237, 0.06), transparent 30%),
    linear-gradient(180deg, #f7f1ff 0%, #f4efff 100%);
}

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

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

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.75);
}

.section-head h2,
.parents-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 900;
}

.section-head p,
.parents-copy > p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section-head p + p {
  margin-top: 10px;
}

/* How it works */

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  margin-top: 46px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  position: relative;
  padding: 22px 24px 22px 76px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.step-number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-family: "Nunito", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.step p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.how-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.note-card {
  position: absolute;
  right: -8px;
  bottom: 58px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid #d9f0e8;
  border-radius: 16px;
  background: var(--emerald-soft);
  box-shadow: var(--shadow-soft);
  font-size: 0.75rem;
  color: var(--emerald);
}

.note-card strong {
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  color: #0b6b52;
}

/* Method */

.method-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.method-quote {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--emerald);
  border-radius: 0 16px 16px 0;
  background: white;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.method-card {
  padding: 22px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.method-mark {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mark-sky {
  background: var(--sky-soft);
  color: #0369a1;
}

.mark-amber {
  background: var(--amber-soft);
  color: #92400e;
}

.mark-violet {
  background: var(--violet-soft);
  color: var(--violet-dark);
}

.mark-emerald {
  background: var(--emerald-soft);
  color: #0b6b52;
}

.method-card h3 {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.method-card p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Parents */

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

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 900;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #faf7f2;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f1b4a8;
}

.browser-bar span:nth-child(2) {
  background: #f6d58a;
}

.browser-bar span:nth-child(3) {
  background: #a8d8bd;
}

.browser-bar em {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

/* Levels */

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.level-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.level-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.level-card h3 {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 900;
}

.level-age {
  margin-top: 2px;
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.level-card p:last-child {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.levels-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.price-card-featured {
  border: 2px solid var(--violet);
  background: linear-gradient(180deg, #fbf7ff 0%, #ffffff 70%);
  box-shadow: 0 22px 54px rgba(124, 58, 237, 0.18);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--violet);
  color: white;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.price {
  margin-top: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-note {
  margin-top: 2px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
}

.price-features {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
}

.price-features li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--emerald);
  font-weight: 900;
}

.pricing-note {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Partners */

.partners-section {
  padding: 20px 0 88px;
}

.partner-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  color: white;
  box-shadow: 0 28px 60px rgba(76, 29, 149, 0.26);
}

.partner-badge {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.partner-copy p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.partner-numbers {
  display: grid;
  place-items: center;
  padding: 28px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.partner-numbers strong {
  font-family: "Nunito", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.partner-numbers > span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
}

.partner-examples {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #d9f7ec;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 2px 0 rgba(72, 48, 24, 0.03);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: "Nunito", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
}

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

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--violet);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Final CTA */

.final-cta {
  padding: 0 0 88px;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #0f9f7a 0%, #0b6b52 100%);
  color: white;
  box-shadow: 0 28px 60px rgba(11, 107, 82, 0.24);
}

.final-cta h2 {
  max-width: 620px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.final-cta p {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

/* Footer */

.site-footer {
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.brand-footer .brand-name {
  font-size: 1.1rem;
}

.footer-note {
  max-width: 360px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-footer a:not(.brand):hover {
  color: var(--violet);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

/* Reveal animation (progressive enhancement: visible without JS) */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
    font-size: 0.82rem;
  }
  .hero-grid,
  .how-grid,
  .parents-grid,
  .method-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-visual {
    min-height: 520px;
  }
  .method-grid .section-head {
    max-width: 720px;
  }
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .partner-card {
    grid-template-columns: 1fr;
  }
  .partner-numbers {
    justify-self: start;
    min-width: 240px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }
  .header-inner {
    min-height: 68px;
  }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 16px 30px rgba(72, 48, 24, 0.08);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(231, 224, 214, 0.7);
  }
  .main-nav a:last-child {
    border-bottom: 0;
  }
  .menu-button {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .hero-visual {
    min-height: 470px;
  }
  .phone {
    width: 260px;
  }
  .phone-small {
    width: 230px;
  }
  .letter-tile {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }
  .tile-1 {
    left: 0;
  }
  .tile-2 {
    right: -4px;
  }
  .floating-time {
    right: 0;
  }
  .floating-xp {
    right: 0;
    bottom: 28px;
  }
  .section {
    padding: 60px 0;
  }
  .section-head h2,
  .parents-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
  .method-cards,
  .levels-grid {
    grid-template-columns: 1fr;
  }
  .step {
    padding: 20px 20px 20px 70px;
  }
  .step-number {
    top: 20px;
    left: 18px;
  }
  .browser-frame {
    margin-inline: -4px;
  }
  .partner-card,
  .final-cta-inner {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .partner-copy h2,
  .final-cta h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }
  .trust-list {
    display: grid;
    gap: 8px;
  }
  .floating-card {
    padding: 9px 12px;
  }
  .floating-card strong {
    font-size: 0.88rem;
  }
  .partner-actions .btn,
  .final-cta .btn {
    width: 100%;
  }
}

/* Legal page */

.legal-page {
  padding: 56px 0 80px;
}

.legal-banner {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid #f1d28b;
  border-radius: 16px;
  background: #fff8e6;
  color: #7c4a03;
  font-size: 0.86rem;
  font-weight: 600;
}

.legal-content {
  max-width: 820px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
}

.legal-content h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 900;
}

.legal-content h3 {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 900;
}

.legal-content p,
.legal-content li {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-content a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .legal-content {
    padding: 24px 20px;
    border-radius: 18px;
  }
}
