/* ═══════════════════════════════════════════════════════════
   English Mastery Hub — 2026 Premium EdTech Landing
   THERABApps · Full Light/Dark Theme · Glassmorphism
   ═══════════════════════════════════════════════════════════ */

/* ─── DARK THEME (default) ─── */
:root {
  color-scheme: dark;
  --bg: #090d15;
  --bg-2: #0d1320;
  --bg-3: #101825;
  --surface: #13192a;
  --surface-2: #1a2236;
  --glass: rgba(16, 24, 42, 0.72);
  --glass-hover: rgba(20, 30, 54, 0.90);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #eef2fa;
  --text-2: #c8d3e8;
  --muted: #8da0be;
  --faint: #5a6a85;
  --gold: #e8b84b;
  --gold-dim: rgba(232, 184, 75, 0.15);
  --teal: #38e8d0;
  --teal-dim: rgba(56, 232, 208, 0.12);
  --indigo: #8b7ff8;
  --indigo-dim: rgba(139, 127, 248, 0.12);
  --coral: #f08060;
  --coral-dim: rgba(240, 128, 96, 0.12);
  --emerald: #34d99a;
  --border: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.30);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.60);
  --grad: linear-gradient(135deg, #38e8d0 0%, #8b7ff8 50%, #e8b84b 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --font: "Google Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --theme-speed: 0.35s;
  --nav-bg: rgba(9, 13, 21, 0);
  --nav-scrolled: rgba(9, 13, 21, 0.92);
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f0e8;
  --bg-2: #ede6d8;
  --bg-3: #e5dccb;
  --surface: #ffffff;
  --surface-2: #f8f4ee;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-hover: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(16, 20, 36, 0.08);
  --text: #14121e;
  --text-2: #2a2540;
  --muted: #4a5470;
  --faint: #8090a8;
  --gold: #b07820;
  --gold-dim: rgba(176, 120, 32, 0.10);
  --teal: #0d7a6e;
  --teal-dim: rgba(13, 122, 110, 0.10);
  --indigo: #4f46e5;
  --indigo-dim: rgba(79, 70, 229, 0.10);
  --coral: #c24a30;
  --coral-dim: rgba(194, 74, 48, 0.10);
  --emerald: #16a07a;
  --border: rgba(16, 20, 36, 0.10);
  --shadow-sm: 0 4px 16px rgba(20, 18, 30, 0.06);
  --shadow: 0 16px 40px rgba(20, 18, 30, 0.10);
  --shadow-lg: 0 32px 70px rgba(20, 18, 30, 0.14);
  --nav-bg: rgba(245, 240, 232, 0);
  --nav-scrolled: rgba(245, 240, 232, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--theme-speed) ease, color var(--theme-speed) ease;
}

img {
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

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

.serif {
  font-family: var(--serif);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  background: var(--gold);
  color: #111;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}

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

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.13;
  margin-bottom: 14px;
  font-weight: 700;
}

.section-sub {
  color: var(--muted);
  font-size: 1.03rem;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.28s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #08101a;
  box-shadow: 0 8px 28px rgba(56, 232, 208, 0.30);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  border-color: var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="light"] .btn-ghost {
  background: rgba(0, 0, 0, 0.04);
}

.btn-nav-download {
  background: var(--grad);
  color: #08101a;
  padding: 9px 16px;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(56, 232, 208, 0.25);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-nav-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(56, 232, 208, 0.22);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.nav-link:focus-visible,
.theme-toggle:focus-visible,
.nav-hamburger:focus-visible,
.chip:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 4px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-mark {
  font-family: var(--serif);
  font-size: 3.2rem;
  margin-bottom: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 16px;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 99px;
  animation: preLoad 1.7s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes preLoad {
  to {
    width: 100%;
  }
}

.preloader-text {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.preloader-sub {
  color: var(--faint);
  font-size: 0.85rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9998;
  background: var(--grad);
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 16px 0;
  background: var(--nav-bg);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #08101a;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(56, 232, 208, 0.30);
}

.logo-accent {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav-link.active,
[data-theme="light"] .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

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

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
  font-size: 1rem;
}

.theme-toggle:hover {
  transform: rotate(22deg) scale(1.1);
  background: var(--glass-hover);
  border-color: var(--teal);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--gold);
  border-radius: 8px;
}

.swap-btn,
.back-to-top,
.q-opt,
.chip {
  min-height: 44px;
}

.hero-section {
  position: relative;
  padding: 148px 0 100px;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #38e8d0, #2dd4bf);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #8b7ff8, #6366f1);
  bottom: -60px;
  left: -100px;
  animation-delay: 6s;
}

.orb-3 {
  width: 320px;
  height: 360px;
  background: radial-gradient(circle, #e8b84b, #d4a24c);
  top: 35%;
  left: 35%;
  animation-delay: 12s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

[data-theme="light"] .orb {
  opacity: 0.14;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-kicker {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.06;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-heading .serif {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-short {
  margin-bottom: 32px;
  color: var(--text-2);
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
}

.stat-pill strong {
  color: var(--text);
  font-weight: 700;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 232, 208, .28), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.phone-frame {
  width: 292px;
  border-radius: 44px;
  padding: 14px 12px 22px;
  background: linear-gradient(175deg, #1c2840 0%, #0d1220 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  animation: phoneBob 6s ease-in-out infinite;
}

@keyframes phoneBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.phone-frame.small {
  width: 228px;
  border-radius: 36px;
}

.phone-notch {
  width: 90px;
  height: 10px;
  border-radius: 0 0 10px 10px;
  background: #080c14;
  margin: 0 auto 10px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #b8c4d8;
  margin-bottom: 12px;
  padding: 0 4px;
}

.dash-head h2 {
  font-size: 1rem;
  font-weight: 700;
}

.dash-greet {
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 4px;
}

.dash-ask {
  font-size: 0.76rem;
  color: #8a96b0;
  margin: 6px 0 12px;
}

.dash-tile {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.dash-tile:hover {
  background: rgba(255, 255, 255, 0.09);
}

.dash-tile small {
  display: block;
  color: #7a86a0;
  font-size: 0.66rem;
}

.dash-emoji {
  font-size: 1.1rem;
}

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

.dash-wotd {
  background: rgba(232, 184, 75, 0.10);
  border: 1px solid rgba(232, 184, 75, 0.18);
  border-radius: 16px;
  padding: 12px;
  margin-top: 4px;
}

.dash-wotd span {
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.dash-wotd strong {
  font-size: 1rem;
}

.dash-wotd p {
  font-size: 0.72rem;
  color: #8a96b0;
  margin-top: 3px;
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  animation: cardBob 6s ease-in-out infinite;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 2px;
}

.fc-1 {
  top: 6%;
  left: -4%;
  animation-delay: 0s;
}

.fc-2 {
  top: 20%;
  right: -6%;
  animation-delay: 1.2s;
}

.fc-3 {
  bottom: 24%;
  left: -2%;
  animation-delay: 2.4s;
}

.fc-4 {
  bottom: 8%;
  right: -2%;
  animation-delay: 3.6s;
}

@keyframes cardBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.journey-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.journey-track li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.journey-track li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.journey-track li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 0.9rem;
  z-index: 2;
}

.j-ico {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

.j-master {
  background: linear-gradient(160deg, rgba(56, 232, 208, 0.10), rgba(139, 127, 248, 0.10));
  border-color: var(--teal);
}

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

.bento-card,
.mini-card,
.shelf-card,
.large-card,
.glass-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.32s ease, background var(--theme-speed) ease, border-color var(--theme-speed) ease;
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.bento-card:hover,
.mini-card:hover,
.shelf-card:hover,
.large-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.bento-lg {
  grid-column: span 2;
  min-height: 190px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-ico {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.bento-card h3,
.mini-card h3,
.shelf-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.bento-card p,
.mini-card p,
.shelf-card p,
.large-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.grammar-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.grammar-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.grammar-tree h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.gt-group {
  margin-bottom: 20px;
}

.gt-group h4 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.gt-group li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, padding-left 0.2s;
  cursor: default;
}

.gt-group li::before {
  content: "\25B8";
  color: var(--teal);
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.gt-group li:hover {
  color: var(--text);
  padding-left: 6px;
}

.gt-group li:hover::before {
  transform: translateX(4px);
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.highlight-list li:hover {
  transform: translateX(4px);
  background: var(--glass-hover);
}

.highlight-list i {
  color: var(--teal);
  font-size: 0.8rem;
  background: var(--teal-dim);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.textbook-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

.textbook-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 44px 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.textbook-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--teal-dim), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tb-kicker,
.reader-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.textbook-card h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  font-weight: 700;
}

.tb-block {
  margin-bottom: 22px;
  padding: 18px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.tb-block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.tb-formula {
  font-weight: 700;
  color: var(--teal);
  font-size: 1.05rem;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  color: var(--muted);
  margin: 8px 0;
  font-style: italic;
  background: var(--gold-dim);
  border-radius: 0 8px 8px 0;
}

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

.lit-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

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

.vocab-cats {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.cat-note {
  text-align: center;
  margin: 28px auto 0;
  color: var(--muted);
}

.shelf-card {
  text-align: center;
  cursor: default;
}

.shelf-card span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 14px;
}

.reading-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.reader-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 52px 44px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.reader-card h3 {
  font-size: 2.2rem;
  margin: 10px 0 6px;
  line-height: 1.2;
}

.reader-by {
  color: var(--faint);
  margin-bottom: 24px;
}

.reader-verse {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 2;
  color: var(--text-2);
}

.reader-rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.dict-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(56, 232, 208, 0.10);
}

.search-field i {
  color: var(--teal);
  font-size: 1rem;
}

.search-field input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 1rem;
  color: var(--text);
}

.search-field input::placeholder {
  color: var(--faint);
}

[data-theme="light"] .search-field {
  background: rgba(0, 0, 0, 0.02);
}

.suggest-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.suggest-list li {
  display: contents;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 36px;
}

.chip:hover {
  background: var(--teal-dim);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.word-card {
  margin-top: 24px;
}

.word-card header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.word-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.ipa {
  color: var(--indigo);
  font-size: 0.95rem;
}

.pos {
  display: inline-block;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  margin: 8px 0;
}

.meta-line {
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-line strong {
  color: var(--text-2);
}

.dict-ui {
  max-width: 780px;
  margin: 0 auto 36px;
}

.mini-card {
  cursor: default;
  text-align: center;
}

.mini-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.translate-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

.translator {
  max-width: 780px;
  margin: 0 auto;
}

.tr-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

select,
textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background var(--theme-speed) ease;
  outline: none;
}

select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(56, 232, 208, 0.10);
}

[data-theme="light"] select,
[data-theme="light"] textarea {
  background: rgba(0, 0, 0, 0.02);
}

textarea {
  resize: vertical;
}

.swap-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  cursor: pointer;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.3s, border-color 0.25s;
}

.swap-btn:hover {
  background: var(--teal-dim);
  border-color: var(--teal);
  transform: rotate(180deg);
}

.swap-btn.spin i {
  animation: spin 0.45s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.tr-result {
  min-height: 100px;
  margin: 14px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1.5px dashed var(--border);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-2);
  background: rgba(56, 232, 208, 0.03);
  transition: border-color 0.25s;
}

.tr-result:not(:empty) {
  border-color: var(--teal);
}

.hint {
  color: var(--faint);
  font-size: 0.84rem;
  margin-top: 14px;
}

.vocab-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.vocab-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.vocab-card::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--indigo-dim), transparent 70%);
  border-radius: 50%;
}

.vocab-card h3 {
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin-bottom: 6px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.progress-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

.dash-panel {
  max-width: 660px;
  margin: 0 auto;
}

.dash-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.p-row {
  display: grid;
  grid-template-columns: 120px 1fr 52px;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
}

.p-row>span:first-child {
  font-size: 0.93rem;
  color: var(--text-2);
}

.p-row>span:last-child {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 700;
  text-align: right;
}

.pbar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

[data-theme="light"] .pbar {
  background: rgba(0, 0, 0, 0.06);
}

.pfill {
  width: 0;
  height: 100%;
  background: var(--grad);
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.overall {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.overall strong {
  color: var(--text);
  font-size: 1.3rem;
}

.quiz-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

.quiz-card {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.quiz-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.q-opt {
  display: block;
  width: 100%;
  text-align: left;
  margin: 10px 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 48px;
}

.q-opt:hover {
  background: var(--glass);
  transform: translateX(4px);
}

.q-opt.selected {
  border-color: var(--teal);
  background: var(--teal-dim);
}

.q-opt.correct {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}

.q-opt.wrong {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.10);
}

.quiz-feedback {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--teal-dim);
  border: 1px solid var(--teal);
  font-size: 0.95rem;
}

.audience-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.path-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

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

.path-track li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.path-track li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.path-track li h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.path-track ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.path-track li li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.93rem;
}

.offline-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

.offline-flow {
  text-align: center;
}

.off-node,
.off-end {
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.off-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.off-chips span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.off-chips span:hover {
  border-color: var(--teal);
  background: var(--teal-dim);
}

.off-arrow {
  display: block;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 10px 0;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.easy-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.search-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

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

.chip-label {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.univ-search {
  max-width: 740px;
  margin: 0 auto;
}

.fav-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

.daily-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.fav-board,
.daily-card {
  max-width: 540px;
  margin: 0 auto;
}

.fav-list li,
.daily-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: padding-left 0.2s;
}

.fav-list li:hover {
  padding-left: 6px;
}

.daily-row span {
  color: var(--muted);
}

.daily-row strong {
  color: var(--text);
  font-weight: 700;
}

.why-section {
  background: var(--bg-3);
  transition: background var(--theme-speed) ease;
}

.real-section {
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

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

.large-card {
  cursor: default;
}

.large-card span {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
}

.large-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.shots-section {
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.shots-bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.shot {
  text-align: center;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.mini-phone {
  height: 192px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.06), transparent 40%), repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, 0.03) 18px 19px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-phone:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow);
}

.mini-label {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
}

.mini-phone::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 18%;
  height: 22%;
  border-radius: 10px;
  background: rgba(56, 232, 208, 0.18);
}

.mini-phone::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 28%;
  top: 48%;
  height: 10%;
  border-radius: 8px;
  background: rgba(232, 184, 75, 0.22);
}

.mini-phone[data-screen="home"]::before {
  background: rgba(56, 232, 208, 0.24);
}

.mini-phone[data-screen="grammar"]::before {
  background: rgba(139, 127, 248, 0.26);
}

.mini-phone[data-screen="topic"]::before {
  background: rgba(232, 184, 75, 0.28);
}

.mini-phone[data-screen="lit"]::before {
  background: rgba(240, 128, 96, 0.22);
}

.mini-phone[data-screen="read"]::after {
  left: 12%;
  right: 12%;
  height: 28%;
}

.mini-phone[data-screen="dsearch"]::before {
  height: 12%;
  top: 14%;
}

.mini-phone[data-screen="word"]::before {
  background: rgba(139, 127, 248, 0.2);
}

.mini-phone[data-screen="tr"]::before {
  background: rgba(56, 232, 208, 0.15);
  height: 34%;
}

.mini-phone[data-screen="vocab"]::before {
  background: rgba(232, 184, 75, 0.2);
}

.mini-phone[data-screen="daily"]::before {
  background: rgba(240, 128, 96, 0.2);
}

.mini-phone[data-screen="quiz"]::before {
  height: 40%;
}

.mini-phone[data-screen="prog"]::after {
  width: 60%;
}

.mini-phone[data-screen="fav"]::before {
  background: rgba(232, 184, 75, 0.3);
}

.mini-phone[data-screen="search"]::before {
  height: 10%;
}

.mini-phone[data-screen="dark"] {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.disclaimer-section {
  padding: 28px 0;
  color: var(--faint);
  font-size: 0.88rem;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  transition: background var(--theme-speed) ease;
}

.cta-section {
  position: relative;
  padding: 108px 0;
  overflow: hidden;
  background: var(--bg-2);
  transition: background var(--theme-speed) ease;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(56, 232, 208, 0.08), transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(139, 127, 248, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand-line {
  font-size: 1.45rem;
  margin: 18px 0;
  color: var(--text-2);
  line-height: 1.4;
}

.cta-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cf {
  position: absolute;
  padding: 9px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  opacity: 0.65;
  animation: floatDrift 8s ease-in-out infinite;
}

.cf-1 {
  top: 12%;
  left: 6%;
  animation-delay: 0s;
}

.cf-2 {
  top: 22%;
  right: 16%;
  animation-delay: 1.5s;
}

.cf-3 {
  bottom: 26%;
  left: 14%;
  animation-delay: 3s;
}

.cf-4 {
  bottom: 18%;
  right: 8%;
  animation-delay: 4.5s;
}

.cf-5 {
  top: 50%;
  left: 42%;
  animation-delay: 6s;
}

@keyframes floatDrift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.site-footer {
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: background var(--theme-speed) ease;
}

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

.footer-brand p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.93rem;
}

.footer-brand-stmt {
  max-width: 320px;
  margin-top: 12px !important;
}

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer ul a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.site-footer ul a:hover {
  color: var(--teal);
  padding-left: 6px;
}

.footer-bottom {
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--teal-dim);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--teal-dim);
  border-color: var(--teal);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shots-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {

  .hero-grid,
  .grammar-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .float-card {
    display: none;
  }

  .journey-track li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 72px 0;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .btn-nav-download {
    display: none;
  }

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

  .bento-lg,
  .bento-wide {
    grid-column: span 1;
  }

  .mini-grid,
  .shelf-grid,
  .path-track,
  .three-cards,
  .vocab-cats {
    grid-template-columns: 1fr 1fr;
  }

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

  .shots-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tr-toolbar {
    grid-template-columns: 1fr;
  }

  .p-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-phone {
    display: none;
  }

  .journey-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .grammar-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-pad {
    padding: 56px 0;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .shots-bento {
    grid-template-columns: 1fr 1fr;
  }

  .mini-grid,
  .shelf-grid,
  .three-cards,
  .vocab-cats {
    grid-template-columns: 1fr;
  }

  .reader-card,
  .textbook-card {
    padding: 28px 20px;
  }

  .vocab-card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}