:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #38bdf8;
  --ink: #10172f;
  --muted: #5f6d86;
  --paper: #f7f9fd;
  --white: #fff;
  --line: #e4eaf4;
  --violet: #7c3aed;
  --radius: 22px;
  --shadow: 0 22px 55px rgba(25, 48, 93, 0.12);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
.brand span {
  font-family: "Fredoka", "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
  border-radius: 6px;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  backdrop-filter: blur(20px);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #111b36;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.brand-accent {
  color: var(--blue);
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  position: relative;
  padding: 9px 0;
  color: #52617a;
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(112deg, #3478ff 0%, #2563eb 52%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  color: white;
}

.button-primary:hover {
  box-shadow: 0 13px 29px rgba(37, 99, 235, 0.29);
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 11px;
}

.nav-download {
  margin-left: auto;
}

.mobile-menu {
  position: relative;
  flex: 0 0 auto;
}

.mobile-menu summary {
  display: flex;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-menu nav {
  position: absolute;
  top: 50px;
  right: 0;
  display: grid;
  width: min(270px, calc(100vw - 40px));
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 11px 12px;
  border-radius: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.mobile-menu nav a:hover {
  background: #eff6ff;
  color: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 55px 0 0;
  background:
    radial-gradient(ellipse at 78% 42%, rgba(56, 189, 248, 0.22), transparent 34%),
    radial-gradient(ellipse at 13% 8%, rgba(99, 102, 241, 0.09), transparent 36%),
    linear-gradient(135deg, #fff 0%, #f6f8ff 57%, #edf8ff 100%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 10px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 10px 0 0;
  animation: enter-up 650ms ease-out both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 11px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.07);
  letter-spacing: 0.4px;
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px #e0f2fe;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 650px;
  margin: 22px 0 15px;
  font-size: clamp(42px, 11vw, 67px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.06;
}

.hero h1 span {
  background: linear-gradient(105deg, #2563eb 4%, #4f46e5 61%, #0891b2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 510px;
  margin-bottom: 24px;
  color: #53617a;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.button-large {
  min-height: 51px;
  padding-inline: 21px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.platform-badge {
  display: grid;
  min-height: 48px;
  grid-template-columns: 22px auto;
  align-items: center;
  column-gap: 8px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}

.platform-badge svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.platform-badge span small,
.platform-badge span strong {
  display: block;
  line-height: 1.2;
}

.platform-badge small {
  color: #8290a4;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.platform-badge strong {
  color: #17243c;
  font-size: 10px;
}

.platform-badge em {
  grid-column: 2;
  color: #8491a2;
  font-size: 7px;
  font-style: normal;
  line-height: 1.2;
}

.availability-note {
  margin: 7px 0 0;
  color: #8a96a7;
  font-size: 9px;
}

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

.hero-glow {
  position: absolute;
  width: min(86vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(56, 189, 248, 0.33), rgba(79, 70, 229, 0.13) 52%, rgba(37, 99, 235, 0) 72%);
  filter: blur(5px);
}

.mascot-frame {
  position: relative;
  z-index: 1;
  width: min(76vw, 325px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #dbeafe, #e0f2fe);
  box-shadow: 0 28px 70px rgba(35, 77, 168, 0.22), 0 0 0 1px rgba(37, 99, 235, 0.08);
  animation: mascot-float 5s ease-in-out infinite;
}

.mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 18px 42px rgba(30, 64, 175, 0.15);
  backdrop-filter: blur(12px);
}

.floating-word {
  top: 20px;
  left: 1%;
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  transform: rotate(-4deg);
}

.preview-label {
  color: #8091aa;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.floating-word strong {
  color: #10284f;
  font-family: Georgia, serif;
  font-size: 16px;
}

.floating-word > span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.floating-quiz {
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  transform: rotate(3deg);
}

.quiz-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 14px;
  font-weight: 800;
}

.floating-quiz strong,
.floating-quiz small {
  display: block;
}

.floating-quiz strong {
  color: #24344c;
  font-size: 9px;
}

.floating-quiz small {
  color: #8592a4;
  font-size: 7px;
}

.hero-spark {
  position: absolute;
  z-index: 2;
  color: var(--blue);
}

.spark-one {
  top: 14%;
  right: 15%;
  font-size: 23px;
}

.spark-two {
  bottom: 21%;
  left: 7%;
  color: #a855f7;
  font-size: 19px;
}

.hero-proof {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
  color: #64748b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
}

.section-pad {
  padding: 82px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h2,
.exam-heading h2,
.ai-copy h2,
.progress-copy h2,
.download-copy h2 {
  margin: 12px 0;
  font-size: clamp(29px, 7vw, 43px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.12;
}

.section-heading h2 span {
  color: var(--blue);
}

.section-heading p,
.exam-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.problem {
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.library {
  background:
    radial-gradient(ellipse at 50% 0, rgba(56, 189, 248, 0.07), transparent 45%),
    white;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.library-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 21px;
  background: linear-gradient(145deg, #fff 8%, #f9fbff 100%);
  box-shadow: 0 12px 28px rgba(22, 45, 86, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.library-card:hover {
  transform: translateY(-5px);
  border-color: #bfd5ff;
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.11);
}

.library-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: 19px;
  font-weight: 700;
}

.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-pink { background: #fce7f3; color: #db2777; }
.icon-green { background: #dcfce7; color: #16a34a; }

.library-count {
  color: #2459d1;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.1;
}

.library-count.library-label {
  font-size: clamp(19px, 5vw, 25px);
  letter-spacing: -0.8px;
}

.library-card h3 {
  margin: 5px 0 2px;
  font-size: 11px;
  line-height: 1.35;
}

.library-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.problem-grid {
  display: grid;
  gap: 12px;
}

.problem-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 21px;
  background: linear-gradient(145deg, #fff 12%, #f8fbff 100%);
  box-shadow: 0 13px 30px rgba(22, 45, 86, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(22, 45, 86, 0.1);
}

.problem-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 11px;
  font-size: 19px;
  font-weight: 700;
}

.icon-blue { background: #dbeafe; color: var(--blue); }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-violet { background: #ede9fe; color: #7c3aed; }

.problem-card h3 {
  margin-bottom: 5px;
  font-size: 14px;
  letter-spacing: -0.3px;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.value-line {
  max-width: 680px;
  margin: 26px auto 0;
  color: #53627a;
  font-size: 15px;
  text-align: center;
}

.value-line strong {
  color: var(--blue-dark);
}

.features {
  background: linear-gradient(145deg, #f1f6ff 0%, #f7f9ff 58%, #effaff 100%);
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  min-height: 215px;
  padding: 20px;
  border: 1px solid rgba(219, 234, 254, 0.8);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.motion-ready {
  opacity: 0;
  transform: translateY(11px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.motion-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.055);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-blue .feature-icon { background: #dbeafe; color: var(--blue); }
.feature-violet .feature-icon { background: #ede9fe; color: #7c3aed; }
.feature-cyan .feature-icon { background: #cffafe; color: #0891b2; }
.feature-orange .feature-icon { background: #ffedd5; color: #ea580c; }
.feature-pink .feature-icon { background: #fce7f3; color: #db2777; }
.feature-green .feature-icon { background: #dcfce7; color: #16a34a; }

.feature-tag {
  color: #8492a6;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.feature-card h3 {
  margin: 7px 0 6px;
  font-size: 15px;
  letter-spacing: -0.4px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.journey {
  background:
    radial-gradient(ellipse at 50% 0, rgba(56, 189, 248, 0.11), transparent 43%),
    white;
}

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

.journey-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 37px 1fr;
  align-items: center;
  gap: 0 12px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 24px rgba(22, 45, 86, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.journey-steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.09);
}

.journey-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #e9f2ff, #dbeafe);
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
}

.journey-steps strong {
  font-size: 12px;
}

.journey-steps small {
  color: #8390a3;
  font-size: 9px;
}

.exams {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(56, 189, 248, 0.24), transparent 30%),
    radial-gradient(ellipse at 6% 90%, rgba(99, 102, 241, 0.2), transparent 32%),
    linear-gradient(125deg, #10265c 0%, #173b86 54%, #1d4ed8 100%);
}

.exams .section-kicker {
  color: #bfdbfe;
}

.exams .exam-heading h2 {
  color: white;
}

.exams .exam-heading > p {
  color: #d6e5ff;
}

.exam-heading {
  display: grid;
  gap: 12px;
  max-width: none;
}

.exam-heading h2 {
  margin-bottom: 0;
}

.exam-heading > p {
  max-width: 435px;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.exam-card {
  position: relative;
  display: grid;
  min-height: 160px;
  align-content: start;
  gap: 7px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: linear-gradient(145deg, #fff 5%, #f8fbff 100%);
  box-shadow: 0 16px 35px rgba(7, 23, 58, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(7, 23, 58, 0.25);
}

.exam-card span {
  color: #8190a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.exam-card strong {
  color: #173660;
  font-size: 23px;
  letter-spacing: -0.8px;
}

.exam-card small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.exam-gre { border-top: 3px solid #7c3aed; }
.exam-gmat { border-top: 3px solid #38bdf8; }
.exam-cat { border-top: 3px solid #f59e0b; }
.exam-ssc { border-top: 3px solid #2563eb; }
.exam-bank { border-top: 3px solid #14b8a6; }
.exam-rrb { border-top: 3px solid #f97316; }
.exam-upsc { border-top: 3px solid #6366f1; }
.exam-vocab { border-top: 3px solid #22c55e; }

.exam-note {
  margin: 18px 0 0;
  color: #d6e5ff;
  font-size: 11px;
  line-height: 1.6;
}

.previews {
  overflow: hidden;
  background: white;
}

.preview-heading {
  display: grid;
  gap: 6px;
  max-width: none;
}

.preview-heading h2 {
  margin-bottom: 0;
}

.preview-heading > p {
  max-width: 390px;
  color: #8290a3;
  font-size: 10px;
}

.preview-rail {
  display: grid;
  grid-auto-columns: 205px;
  grid-auto-flow: column;
  gap: 13px;
  overflow-x: auto;
  padding: 4px 1px 17px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #bfdbfe transparent;
  scrollbar-width: thin;
}

.preview-card {
  scroll-snap-align: start;
}

.preview-card > p {
  margin: 10px 0 0;
  color: #34445c;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.phone-frame {
  height: 375px;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: 0 17px 35px rgba(15, 23, 42, 0.15);
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 18px 13px 13px;
  border-radius: 23px;
  background: #f8fbff;
  color: #10284f;
}

.screen-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #71819a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.screen-topline span {
  color: var(--blue);
}

.phone-screen h3 {
  margin: 8px 0 -7px;
  font-size: 15px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.phone-screen > p {
  margin: 0;
  color: #8190a4;
  font-size: 8px;
}

.screen-panel {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
}

.screen-panel small {
  color: #71829a;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.screen-panel strong {
  font-size: 12px;
}

.screen-panel span,
.screen-panel p {
  margin: 0;
  color: #64748b;
  font-size: 8px;
  line-height: 1.55;
}

.screen-panel b,
.screen-action {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 8px;
  text-align: center;
}

.blue-panel { background: #eff6ff; border-color: #dbeafe; }
.lavender-panel { background: #f5f3ff; border-color: #ede9fe; }

.screen-row {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 700;
}

.screen-row span + span {
  color: var(--blue);
}

.screen-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.screen-tiles i {
  padding: 10px 3px;
  border-radius: 9px;
  background: #eaf2ff;
  color: #3d5f90;
  font-size: 7px;
  font-style: normal;
  text-align: center;
}

.screen-nav {
  display: flex;
  justify-content: space-around;
  margin: auto -13px -13px;
  padding: 10px 2px;
  border-top: 1px solid #e7edf6;
  background: white;
  color: #708098;
  font-size: 6px;
}

.screen-session,
.screen-word,
.screen-quiz {
  align-items: stretch;
}

.screen-progress {
  height: 5px;
  margin: 0 0 4px;
  overflow: hidden;
  border-radius: 5px;
  background: #dbeafe;
}

.screen-progress i {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.screen-session > small {
  color: #73829a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.screen-word {
  display: block;
  margin: 8px 0 0;
  color: #10284f;
  font-family: Georgia, serif;
  font-size: 24px;
  text-align: center;
}

.screen-pronunciation {
  display: block;
  color: #8090a7;
  font-size: 8px;
  text-align: center;
}

.screen-session .screen-panel,
.screen-word .screen-panel {
  margin-top: 5px;
}

.screen-session .screen-action,
.screen-word .screen-action,
.screen-quiz .screen-action {
  margin-top: auto;
}

.word-pill {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 20px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.word-meta {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 11px;
  background: white;
  font-size: 7px;
}

.word-meta span { color: #8290a4; }
.word-meta b { color: #34445c; font-size: 8px; }

.screen-quiz h3 {
  margin: 1px 0;
}

.quiz-choice {
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: white;
  color: #526179;
  font-size: 8px;
}

.selected-choice {
  border-color: #93c5fd;
  background: #eff6ff;
  color: var(--blue-dark);
}

.game-preview {
  display: grid;
  min-height: 69px;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border-radius: 12px;
  color: #173660;
}

.game-preview b { font-size: 9px; }
.game-preview small { color: #65758d; font-size: 7px; }
.detective-preview { background: #fef3c7; }
.memory-preview { background: #dbeafe; }
.context-preview { background: #ede9fe; }

.sample-badge {
  align-self: flex-start;
  padding: 4px 7px;
  border-radius: 99px;
  background: #dbeafe;
  color: var(--blue-dark);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.metric-grid i {
  display: grid;
  gap: 1px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: white;
  font-style: normal;
}

.metric-grid b { font-size: 12px; }
.metric-grid small { color: #7b8aa0; font-size: 6px; }

.chart-card {
  margin-top: 2px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: white;
}

.chart-card > small { color: #8390a3; font-size: 6px; font-weight: 800; }

.chart-bars,
.dashboard-bars {
  display: flex;
  height: 61px;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
  margin-top: 9px;
  padding: 0 5px;
  border-bottom: 1px solid #e2e8f0;
}

.chart-bars i,
.dashboard-bars i {
  width: 10%;
  border-radius: 5px 5px 1px 1px;
  background: linear-gradient(180deg, var(--sky), var(--blue));
}

.chart-bars i:nth-child(1) { height: 40%; }
.chart-bars i:nth-child(2) { height: 64%; }
.chart-bars i:nth-child(3) { height: 82%; }
.chart-bars i:nth-child(4) { height: 52%; }
.chart-bars i:nth-child(5) { height: 70%; }
.chart-bars i:nth-child(6) { height: 45%; }
.chart-bars i:nth-child(7) { height: 88%; }

.chart-days {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #8290a4;
  font-size: 6px;
}

.screen-chat {
  background: linear-gradient(180deg, #f8fbff, #f2f7ff);
}

.chat-bubble {
  max-width: 94%;
  padding: 10px;
  border-radius: 12px;
  font-size: 8px;
  line-height: 1.6;
}

.user-bubble {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--blue);
  color: white;
}

.ai-bubble {
  align-self: flex-start;
  border: 1px solid #dbeafe;
  border-bottom-left-radius: 4px;
  background: white;
  color: #34445c;
}

.ai-bubble strong { color: #173660; }
.ai-bubble small { color: #74849a; }

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 9px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 99px;
  background: white;
  color: #94a3b8;
  font-size: 7px;
}

.chat-input span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 11px;
}

.screen-chat .screen-pronunciation {
  font-size: 6px;
}

.games {
  background: linear-gradient(145deg, #f2f7ff 0%, #f7f9ff 54%, #eefaff 100%);
}

.game-grid {
  display: grid;
  gap: 10px;
}

.game-card {
  position: relative;
  min-height: 165px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 28px rgba(22, 45, 86, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(22, 45, 86, 0.12);
}

.game-card > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.77);
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
}

.game-card small {
  color: #7b8aa0;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.game-card h3 {
  margin: 4px 0;
  font-size: 13px;
}

.game-card p {
  margin: 0;
  color: #637289;
  font-size: 9px;
  line-height: 1.6;
}

.game-detective { background: linear-gradient(135deg, #fff7df, #fff); }
.game-context { background: linear-gradient(135deg, #e0f2fe, #fff); }
.game-memory { background: linear-gradient(135deg, #ede9fe, #fff); }
.game-synonyms { background: linear-gradient(135deg, #dcfce7, #fff); }
.game-antonyms { background: linear-gradient(135deg, #fce7f3, #fff); }

.game-note {
  margin: 15px 0 0;
  color: #7d8ba0;
  font-size: 9px;
  text-align: center;
}

.multiplayer-promo {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 17px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(110deg, #fff, #eff6ff);
}

.multiplayer-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 12px;
  background: #dbeafe;
  color: var(--blue-dark);
  font-size: 19px;
}

.multiplayer-promo div {
  display: grid;
  gap: 2px;
}

.multiplayer-promo small,
.multiplayer-tag {
  color: var(--blue-dark);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.multiplayer-promo strong {
  color: #1e3558;
  font-size: 10px;
}

.multiplayer-promo p {
  margin: 0;
  color: #718096;
  font-size: 8px;
}

.multiplayer-tag {
  display: none;
}

.ai-section {
  overflow: hidden;
  background: white;
}

.ai-layout,
.progress-layout {
  display: grid;
  align-items: center;
  gap: 28px;
}

.ai-copy h2,
.progress-copy h2 {
  font-size: clamp(31px, 8vw, 43px);
}

.ai-copy > p,
.progress-copy > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  color: #475569;
  font-size: 11px;
  list-style: none;
}

.check-list li::before {
  content: "\2713";
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  margin-right: 9px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.chat-card {
  width: min(100%, 440px);
  justify-self: center;
  padding: 19px;
  border: 1px solid #dbeafe;
  border-radius: 26px;
  background: linear-gradient(145deg, #f5f9ff, #fff 75%);
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.13);
}

.chat-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e6edf7;
}

.ai-avatar {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.chat-card-head strong,
.chat-card-head small {
  display: block;
}

.chat-card-head strong { font-size: 11px; }
.chat-card-head small { color: #8290a3; font-size: 8px; }

.chat-card-head i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
}

.chat-date {
  margin: 5px 0 0;
  color: #91a0b3;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

.chat-card .chat-bubble {
  max-width: 87%;
  padding: 12px 13px;
  font-size: 10px;
}

.chat-card .ai-bubble span {
  color: var(--blue-dark);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.chat-card .chat-input {
  margin-top: 5px;
  padding: 8px 9px 8px 13px;
  font-size: 9px;
}

.ai-disclaimer {
  margin: 10px 0 0;
  color: #8a97a8;
  font-size: 8px;
  text-align: center;
}

.progress-section {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(135deg, #edf4ff, #f3f1ff 58%, #f4fbff);
}

.sample-note {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #536985;
  font-size: 8px;
  font-weight: 700;
}

.dashboard-card {
  padding: 17px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.09);
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.dashboard-head > div {
  display: grid;
  gap: 2px;
}

.dashboard-head small,
.weekly-chart > div:first-child small {
  color: #8492a6;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.9px;
}

.dashboard-head strong {
  color: #1e3558;
  font-size: 13px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-metrics > div {
  display: grid;
  gap: 2px;
  padding: 11px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #f9fbff;
}

.dashboard-metrics small {
  color: #718096;
  font-size: 8px;
}

.dashboard-metrics strong {
  color: #173660;
  font-size: 17px;
  letter-spacing: -0.6px;
}

.dashboard-metrics span {
  color: #7b8aa0;
  font-size: 7px;
}

.weekly-chart {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e6edf7;
  border-radius: 13px;
}

.weekly-chart > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weekly-chart > div:first-child strong {
  color: #34445c;
  font-size: 9px;
}

.dashboard-bars {
  height: 87px;
}

.dashboard-bars i:nth-child(1) { height: 35%; }
.dashboard-bars i:nth-child(2) { height: 61%; }
.dashboard-bars i:nth-child(3) { height: 80%; }
.dashboard-bars i:nth-child(4) { height: 52%; }
.dashboard-bars i:nth-child(5) { height: 68%; }
.dashboard-bars i:nth-child(6) { height: 45%; }
.dashboard-bars i:nth-child(7) { height: 91%; }

.download {
  padding-top: 30px;
  background: white;
}

.download-panel {
  position: relative;
  display: grid;
  min-height: 355px;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  padding: 28px 22px 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 91% 26%, rgba(56, 189, 248, 0.35), transparent 31%),
    linear-gradient(120deg, #123778, #1d4ed8 62%, #2563eb);
  color: white;
}

.download-copy {
  position: relative;
  z-index: 2;
}

.light-kicker {
  color: #bfdbfe;
}

.download-copy h2 {
  font-size: clamp(29px, 7vw, 40px);
}

.download-copy > p {
  margin-bottom: 17px;
  color: #dbeafe;
  font-size: 11px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-badge {
  display: grid;
  min-height: 48px;
  grid-template-columns: 20px auto;
  align-items: center;
  column-gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.store-glyph {
  grid-row: span 2;
  font-size: 18px;
  text-align: center;
}

.apple-glyph {
  font-size: 16px;
}

.download-badge small,
.download-badge strong {
  display: block;
  line-height: 1.25;
}

.download-badge small {
  color: #c7dcff;
  font-size: 6px;
  letter-spacing: 0.6px;
}

.download-badge strong {
  font-size: 9px;
}

.download-badge em {
  grid-column: 2;
  color: #dbeafe;
  font-size: 7px;
  font-style: normal;
  line-height: 1.1;
}

.download-note {
  margin: 8px 0 0 !important;
  color: #c3d6f5 !important;
  font-size: 8px !important;
}

.download-mascot {
  position: relative;
  z-index: 1;
  width: min(67vw, 250px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #dbeafe;
  box-shadow: 0 10px 45px rgba(5, 20, 57, 0.25);
}

.download-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mascot-note {
  position: absolute;
  right: -4%;
  bottom: 18%;
  padding: 9px 12px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  color: #1d4ed8;
  font-family: Georgia, serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(4deg);
}

.download-orb {
  position: absolute;
  top: -135px;
  right: -100px;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.site-footer {
  padding: 35px 0 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.78);
  background: #f7f9fd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 18px;
  padding-bottom: 25px;
}

.footer-brand {
  font-size: 18px;
}

.footer-brand-column p {
  max-width: 230px;
  margin: 10px 0 0;
  color: #718096;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
  color: #67768c;
  font-size: 10px;
}

.footer-column strong {
  margin-bottom: 3px;
  color: #1e293b;
  font-size: 11px;
}

.footer-column a:hover {
  color: var(--blue);
}

.footer-store {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-store small {
  color: #94a3b8;
  font-size: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 8px;
}

.pricing {
  background:
    radial-gradient(ellipse at 50% 0, rgba(56, 189, 248, 0.16), transparent 42%),
    linear-gradient(145deg, #f0f5ff, #f8f9ff 60%, #effaff);
}

.pricing-cycles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
}

.pricing-cycle-button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: white;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.pricing-cycle-button[aria-pressed="true"] {
  border-color: var(--blue);
  background: linear-gradient(110deg, #3478ff, #1d4ed8);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.2);
  color: white;
}

.pricing-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.plan-grid {
  display: grid;
  gap: 14px;
}

.plan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 23px;
  background: white;
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(30, 64, 175, 0.12);
}

.plan-card-highlight {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.15);
}

.plan-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.6px;
}

.plan-description {
  min-height: 58px;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.plan-price {
  margin: 0;
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.plan-period {
  margin: 0 0 15px;
  color: #8290a4;
  font-size: 10px;
}

.plan-features {
  display: grid;
  flex: 1;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  color: #43536a;
  font-size: 11px;
  list-style: none;
}

.plan-features li::before {
  margin-right: 8px;
  color: #16a34a;
  content: "✓";
  font-weight: 800;
}

.plan-button {
  width: 100%;
  cursor: pointer;
}

.plan-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-panel {
  max-width: 560px;
  margin: 26px auto 0;
  padding: 22px;
  border: 1px solid #dbe5f3;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.checkout-panel[hidden],
.checkout-form[hidden],
.checkout-account[hidden],
.checkout-account [hidden] {
  display: none !important;
}

.checkout-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.checkout-heading h3 {
  margin: 7px 0 0;
  font-size: 19px;
  letter-spacing: -0.6px;
}

.checkout-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  font-size: 22px;
}

.checkout-copy {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.checkout-form {
  display: grid;
  gap: 9px;
}

.checkout-form label {
  margin-top: 4px;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.checkout-form input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.checkout-form input:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.45);
  border-color: var(--blue);
}

.checkout-form .button {
  margin-top: 8px;
  cursor: pointer;
}

.checkout-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.checkout-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: #334155;
  font-size: 12px;
}

.checkout-account .button {
  flex-basis: 100%;
}

.checkout-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #0f766e;
  font-size: 11px;
  line-height: 1.6;
}

.checkout-message.is-error {
  color: #b91c1c;
}

.pricing-disclosure {
  max-width: 670px;
  margin: 22px auto 0;
  color: #73839a;
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 620px) {
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-card {
    padding: 25px;
  }

  .checkout-panel {
    padding: 28px;
  }
}

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

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

@media (min-width: 620px) {
  .container {
    width: min(1160px, calc(100% - 56px));
  }

  .nav-wrap {
    min-height: 74px;
    gap: 18px;
  }

  .brand {
    font-size: 21px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .nav-download {
    margin-left: 0;
  }

  .hero {
    padding-top: 55px;
  }

  .hero-grid {
    grid-template-columns: 1.03fr 0.97fr;
    gap: 16px;
  }

  .hero-copy {
    padding: 0 0 15px;
  }

  .hero h1 {
    font-size: clamp(45px, 6vw, 63px);
    letter-spacing: -1.4px;
  }

  .hero-lede {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .mascot-frame {
    width: min(34vw, 340px);
  }

  .floating-word {
    top: 50px;
    left: -4%;
  }

  .floating-quiz {
    right: -2%;
    bottom: 50px;
  }

  .hero-proof {
    min-height: 66px;
    gap: 17px;
    font-size: 9px;
  }

  .section-pad {
    padding: 88px 0;
  }

  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .problem-card {
    min-height: 185px;
    padding: 22px;
  }

  .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .library-card {
    min-height: 205px;
    padding: 21px;
  }

  .library-card h3 {
    font-size: 12px;
  }

  .library-card p {
    font-size: 11px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .feature-card {
    min-height: 220px;
    padding: 23px;
  }

  .journey-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }

  .journey-steps li {
    display: flex;
    min-height: 155px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
    padding: 15px 12px;
  }

  .journey-steps li:not(:last-child)::after {
    position: absolute;
    top: 29px;
    right: -12px;
    z-index: 1;
    width: 15px;
    content: "\2192";
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
  }

  .journey-steps strong {
    font-size: 10px;
    line-height: 1.4;
  }

  .journey-steps small {
    font-size: 8px;
    line-height: 1.45;
  }

  .exam-heading,
  .preview-heading {
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
  }

  .exam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .exam-card {
    min-height: 145px;
    padding: 19px;
  }

  .preview-rail {
    grid-auto-columns: 225px;
    gap: 17px;
  }

  .phone-frame {
    height: 415px;
    padding: 8px;
    border-radius: 34px;
  }

  .phone-screen {
    border-radius: 26px;
    padding: 20px 15px 15px;
  }

  .screen-nav {
    margin-right: -15px;
    margin-left: -15px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .game-card {
    min-height: 175px;
    padding: 20px;
  }

  .ai-layout,
  .progress-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
  }

  .chat-card {
    padding: 22px;
  }

  .dashboard-card {
    padding: 21px;
  }

  .download-panel {
    grid-template-columns: 1fr 0.7fr;
    min-height: 360px;
    padding: 36px 42px;
  }

  .download-mascot {
    width: min(27vw, 265px);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .container {
    width: min(1160px, calc(100% - 72px));
  }

  .exam-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-wrap {
    min-height: 80px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    color: #516178;
    font-size: 12px;
    font-weight: 650;
  }

  .desktop-nav a {
    transition: color 150ms ease;
  }

  .desktop-nav a:hover {
    color: var(--blue);
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid {
    min-height: 510px;
    grid-template-columns: 1fr 0.92fr;
    gap: 40px;
  }

  .hero h1 {
    margin-top: 25px;
    font-size: clamp(60px, 6vw, 76px);
    letter-spacing: -1.8px;
  }

  .hero-lede {
    max-width: 505px;
    margin-bottom: 27px;
    font-size: 16px;
  }

  .button-large {
    min-height: 56px;
    padding-inline: 25px;
    font-size: 14px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .mascot-frame {
    width: min(35vw, 400px);
  }

  .floating-word {
    top: 64px;
    left: -2%;
    padding: 14px 17px;
  }

  .floating-word strong {
    font-size: 19px;
  }

  .floating-quiz {
    right: -3%;
    bottom: 63px;
    padding: 13px 16px;
  }

  .floating-quiz strong { font-size: 10px; }
  .floating-quiz small { font-size: 8px; }

  .section-pad {
    padding: 105px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading.centered {
    margin-bottom: 43px;
  }

  .section-heading h2,
  .exam-heading h2 {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .section-heading p,
  .exam-heading > p {
    font-size: 14px;
  }

  .problem-card {
    min-height: 205px;
    padding: 25px;
  }

  .problem-card h3 {
    font-size: 16px;
  }

  .problem-card p {
    font-size: 12px;
  }

  .value-line {
    font-size: 17px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
  }

  .feature-card {
    min-height: 245px;
    padding: 25px;
  }

  .feature-card h3 {
    font-size: 17px;
  }

  .feature-card p {
    font-size: 12px;
  }

  .journey-steps {
    gap: 13px;
  }

  .journey-steps li {
    min-height: 170px;
    padding: 18px;
  }

  .journey-steps strong {
    font-size: 12px;
  }

  .journey-steps small {
    font-size: 9px;
  }

  .exam-card {
    min-height: 160px;
    padding: 21px;
  }

  .exam-card strong {
    font-size: 23px;
  }

  .preview-rail {
    grid-auto-columns: 245px;
    gap: 21px;
  }

  .phone-frame {
    height: 455px;
  }

  .game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .game-card {
    min-height: 220px;
    padding: 18px;
  }

  .game-card h3 {
    font-size: 14px;
  }

  .game-card p {
    font-size: 10px;
  }

  .multiplayer-promo {
    padding: 20px 23px;
  }

  .multiplayer-promo strong {
    font-size: 12px;
  }

  .multiplayer-promo p {
    font-size: 9px;
  }

  .multiplayer-tag {
    display: block;
    margin-left: auto;
    padding: 7px 10px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: white;
    white-space: nowrap;
  }

  .ai-layout,
  .progress-layout {
    gap: 90px;
  }

  .ai-copy h2,
  .progress-copy h2 {
    font-size: 44px;
  }

  .ai-copy > p,
  .progress-copy > p {
    font-size: 14px;
  }

  .check-list {
    font-size: 12px;
  }

  .chat-card {
    padding: 26px;
  }

  .chat-card .chat-bubble {
    padding: 14px 16px;
    font-size: 12px;
  }

  .download-panel {
    min-height: 390px;
    padding: 50px 60px;
    border-radius: 28px;
  }

  .download-copy h2 {
    font-size: 43px;
  }

  .download-copy > p {
    font-size: 13px;
  }

  .download-badge {
    min-height: 55px;
    padding: 8px 12px;
  }

  .download-badge strong { font-size: 11px; }
  .download-mascot { width: min(27vw, 300px); }

  .footer-grid {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 360px) {
  .nav-wrap {
    gap: 8px;
  }

  .brand {
    gap: 6px;
    font-size: 17px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-download {
    padding-inline: 11px;
    font-size: 10px;
  }

  .mobile-menu summary {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Live demo section ---------- */

.live-demo {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(124, 58, 237, 0.1), transparent 55%),
    var(--white);
  border-block: 1px solid var(--line);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.demo-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 20px;
  color: var(--muted);
  font-family: "Fredoka", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab:hover {
  border-color: var(--sky);
  color: var(--blue);
}

.demo-tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.demo-stage {
  max-width: 880px;
  margin-inline: auto;
}

.demo-status {
  text-align: center;
  color: var(--muted);
}

.demo-word-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.demo-word-card,
.demo-passage-card,
.demo-question-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(25, 48, 93, 0.08);
}

.demo-question-card + .demo-question-card,
.demo-passage-card + .demo-question-card {
  margin-top: 16px;
}

.demo-chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #e0ecff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.demo-chip-violet {
  background: #ede9fe;
  color: var(--violet);
}

.demo-chip-sky {
  background: #e0f2fe;
  color: #0369a1;
}

.demo-word {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
}

.demo-definition {
  margin-bottom: 8px;
  color: #3c4a63;
  font-size: 14px;
}

.demo-example {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.demo-meta {
  margin: 2px 0;
  color: #53617a;
  font-size: 12.5px;
}

.demo-passage-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.demo-passage-text {
  margin-bottom: 10px;
  color: #3c4a63;
  font-size: 14.5px;
  line-height: 1.75;
  white-space: pre-line;
}

.demo-toggle {
  border: none;
  background: none;
  padding: 0;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.demo-question {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.demo-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.demo-option {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 12px 15px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.demo-option:hover:not(:disabled) {
  border-color: var(--blue);
  background: #eff4ff;
  transform: translateY(-1px);
}

.demo-option:disabled {
  cursor: default;
  opacity: 0.82;
}

.demo-option.is-correct {
  border-color: #16a34a;
  background: #dcfce7;
  color: #14532d;
  opacity: 1;
}

.demo-option.is-wrong {
  border-color: #dc2626;
  background: #fee2e2;
  color: #7f1d1d;
  opacity: 1;
}

.demo-verdict {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.demo-verdict.is-correct { color: #16a34a; }
.demo-verdict.is-wrong { color: #dc2626; }

.demo-explanation {
  margin: 8px 0 0;
  padding: 12px 15px;
  border-radius: 12px;
  background: #f1f5fd;
  color: #3c4a63;
  font-size: 13.5px;
  line-height: 1.6;
}

.demo-invite {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 760px) {
  .demo-word-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* ---------- Mindmap demo ---------- */

.mindmap-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mindmap-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 7px 15px;
  color: var(--muted);
  font-family: "Fredoka", "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mindmap-chip:hover {
  border-color: var(--sky);
  color: var(--blue);
}

.mindmap-chip.is-active {
  border-color: var(--blue);
  background: #eff4ff;
  color: var(--blue-dark);
  font-weight: 600;
}

.mindmap-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 260px at 50% 45%, rgba(37, 99, 235, 0.06), transparent 70%),
    var(--white);
  box-shadow: 0 14px 34px rgba(25, 48, 93, 0.08);
}

.mindmap-svg {
  position: absolute;
  inset: 0;
}

.mindmap-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 7px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(25, 48, 93, 0.12);
  text-align: center;
}

.mindmap-node strong {
  font-family: "Fredoka", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
}

.mindmap-node small {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mindmap-center {
  border-width: 0;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
  padding: 11px 18px;
}

.mindmap-center strong {
  color: #fff;
  font-size: 17px;
}

.mindmap-center small {
  color: rgba(255, 255, 255, 0.75);
}
