/* ============================================================
   LinguaBot Landing Page — Glassmorphism + Screenshots
   Self-contained. No deps on theme.css/cards.css/main.css
   ============================================================ */

/* --- Variables --- */
:root {
  --lp-hue: 258;
  --lp-accent: oklch(62% 0.20 var(--lp-hue));
  --lp-accent-2: oklch(72% 0.18 calc(var(--lp-hue) + 30));
  --lp-accent-soft: oklch(94% 0.05 var(--lp-hue));
  --lp-ink: #1a1630;
  --lp-ink-2: #3a3553;
  --lp-ink-3: #6a6680;
  --lp-ink-4: #9a96aa;
  --lp-line: rgba(26, 22, 48, 0.08);
  --lp-line-2: rgba(26, 22, 48, 0.14);
  --lp-card: rgba(255,255,255,0.62);
  --lp-chip: rgba(255,255,255,0.7);
  --lp-green: #22c55e;
  --lp-green-ink: #15803d;
  --lp-amber: #f59e0b;
  --lp-rose: #f43f5e;
  --lp-cyan: #06b6d4;
  --lp-radius: 20px;
  --lp-radius-sm: 12px;
  --lp-radius-lg: 28px;
  --lp-shadow-sm: 0 1px 2px rgba(26,22,48,0.04), 0 2px 8px rgba(26,22,48,0.04);
  --lp-shadow-md: 0 4px 12px rgba(26,22,48,0.06), 0 12px 32px rgba(26,22,48,0.08);
  --lp-shadow-lg: 0 10px 30px rgba(26,22,48,0.10), 0 30px 80px rgba(26,22,48,0.14);
  --lp-font: 'Manrope', system-ui, sans-serif;
  --lp-pad-section: 64px;
}

/* --- Hide app chrome --- */
.landing-page .topbar,
.landing-page .gls-topbar,
.landing-page .footer,
.landing-page .gls-footer,
.landing-page .sidebar,
.landing-page .gls-sidebar,
.landing-page .gls-bottom-nav { display: none !important; }
.landing-page .container,
.landing-page .gls-container { max-width: none; padding: 0; margin: 0; }
.landing-page .main-area,
.landing-page .gls-main { margin-left: 0; padding: 0; }
.landing-page .app-layout,
.landing-page .gls-layout { grid-template-columns: 1fr; }
.landing-page { background: #f4f2f8; --gls-text: #1a1a2e; color: #1a1a2e; }
.landing-page .gls-body-bg { background: transparent; }

/* --- Base --- */
.lp {
  font-family: var(--lp-font);
  color: var(--lp-ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  line-height: 1.55;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }

/* --- Background --- */
.lp-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 10% 0%, oklch(82% 0.13 var(--lp-hue)) 0%, transparent 55%),
    radial-gradient(900px 700px at 90% 20%, oklch(85% 0.12 calc(var(--lp-hue) + 40)) 0%, transparent 55%),
    radial-gradient(1000px 700px at 50% 100%, oklch(88% 0.10 150) 0%, transparent 60%),
    linear-gradient(180deg, #ece4ff 0%, #e3edff 50%, #e4fbec 100%);
}

/* ================= Nav ================= */
.lp-nav {
  position: sticky; top: 12px; z-index: 50;
  max-width: min(1280px, calc(100% - 40px)); margin: 0 auto;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(26,22,48,0.06);
}
.lp-nav__inner {
  max-width: 100%; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 32px;
}
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--lp-ink);
  text-decoration: none;
}
.lp-brand__mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: -0.02em;
  box-shadow: 0 4px 12px oklch(62% 0.20 var(--lp-hue) / 0.35);
}
.lp-nav__links {
  display: flex; gap: 24px; font-size: 14px; color: var(--lp-ink-2);
}
.lp-nav__links a {
  color: inherit; text-decoration: none; transition: color 0.15s;
}
.lp-nav__links a:hover { color: var(--lp-accent); }
.lp-nav__right {
  margin-left: auto; display: flex; gap: 10px; align-items: center;
}

@media (max-width: 1100px) {
  .lp-nav__links { display: none; }
}
@media (max-width: 720px) {
  .lp-nav__login { display: none; }
  .lp-nav__cta { display: none !important; }
  .lp-nav__inner { padding: 12px 18px; gap: 16px; }
}

/* ================= Buttons ================= */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s;
  font-family: inherit; text-decoration: none; white-space: nowrap;
}
.lp-btn--primary {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  color: #fff;
  box-shadow: 0 6px 16px oklch(62% 0.20 var(--lp-hue) / 0.35),
              inset 0 1px 0 rgba(255,255,255,0.3);
}
.lp-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px oklch(62% 0.20 var(--lp-hue) / 0.45),
              inset 0 1px 0 rgba(255,255,255,0.3);
}
.lp-btn--ghost {
  background: rgba(255,255,255,0.7); color: var(--lp-ink);
  border-color: var(--lp-line);
}
.lp-btn--ghost:hover { background: #fff; }
.lp-btn--lg { padding: 16px 28px; font-size: 15px; }

/* ================= Chips ================= */
.lp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--lp-line);
  font-size: 11px; font-weight: 500; color: var(--lp-ink-2);
}
.lp-chip--accent {
  color: var(--lp-accent); background: var(--lp-accent-soft);
  border-color: oklch(62% 0.20 var(--lp-hue) / 0.2);
}
.lp-chip--green {
  color: var(--lp-green-ink); background: #ecfdf5; border-color: #a7f3d0;
}

/* ================= Sections ================= */
.lp section { position: relative; }
.lp-sec {
  max-width: 1280px; margin: 0 auto; padding: var(--lp-pad-section) 28px;
}
.lp-sec--sm { max-width: 1040px; }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--lp-accent);
  background: var(--lp-accent-soft);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid oklch(62% 0.20 var(--lp-hue) / 0.18);
}
.lp-eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 0 4px oklch(62% 0.20 var(--lp-hue) / 0.2);
}

.lp h1, .lp h2, .lp h3 {
  font-family: var(--lp-font); letter-spacing: -0.025em; margin: 0;
}
.lp h1 { font-size: clamp(32px, 6.5vw, 84px); font-weight: 800; line-height: 1.1; }
.lp h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; line-height: 1.05; }
.lp h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.lp p { line-height: 1.55; }
.lp-lead {
  font-size: clamp(16px, 1.4vw, 20px); color: var(--lp-ink-2); line-height: 1.55;
}

/* ================= Hero ================= */
.lp-hero { padding-top: 32px; padding-bottom: var(--lp-pad-section); }
.lp-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.lp-hero__title .accent {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero__lead { margin-top: 20px; max-width: 520px; }
.lp-hero__ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero__meta {
  margin-top: 20px; display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--lp-ink-3);
}
.lp-hero__meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.lp-hero__meta svg { color: var(--lp-green); }
.lp-hero__visual {
  position: relative; display: flex; justify-content: flex-end; align-items: center;
  min-height: 520px;
}

/* Hero phone — larger version of .lp-phone-frame */
.lp-phone-frame--hero {
  width: 300px; aspect-ratio: 9/19;
  box-shadow: 0 40px 80px rgba(26,22,48,0.3);
}
.lp-phone-frame--hero:hover {
  box-shadow: 0 50px 100px rgba(26,22,48,0.35);
}

@media (max-width: 980px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero__visual { min-height: 480px; justify-content: center; }
}
@media (max-width: 480px) {
  .lp-phone-frame--hero { width: 260px; }
}

/* ================= Mobile showcase (phone frames) ================= */
.lp-phones {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.lp-phone-wrap { text-align: center; }
.lp-phone-frame {
  aspect-ratio: 9/19; background: #1a1630;
  border-radius: 34px; padding: 8px;
  box-shadow: var(--lp-shadow-lg); position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lp-phone-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(26,22,48,0.22);
}
.lp-phone-frame::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 16px; background: #1a1630; border-radius: 10px; z-index: 2;
}
.lp-phone-frame__screen {
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg,
    oklch(92% 0.06 300) 0%, oklch(93% 0.05 230) 50%, oklch(94% 0.06 150) 100%);
  position: relative;
}
.lp-phone-frame__screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.lp-phone-frame__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 10px; color: var(--lp-ink-3); font-size: 11px; text-align: center;
  padding: 32px 14px 14px;
}
.lp-phone-frame__placeholder-inner {
  flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 10px; width: 100%;
  border: 2px dashed oklch(62% 0.20 var(--lp-hue) / 0.3);
  border-radius: 18px; background: rgba(255,255,255,0.4);
}
.lp-phone-frame__placeholder-inner .big { font-size: 32px; }
.lp-phone-label {
  margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--lp-ink);
}
.lp-phone-sub {
  font-size: 11px; color: var(--lp-ink-3); margin-top: 2px;
}
@media (max-width: 900px) { .lp-phones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .lp-phones { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp-phone-frame__screen img { object-position: center center; }
}

/* ================= Mac window chrome ================= */
.lp-mac {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow:
    0 1px 2px rgba(26,22,48,0.06),
    0 20px 50px rgba(26,22,48,0.14),
    0 50px 120px rgba(26,22,48,0.10);
  border: 1px solid var(--lp-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lp-mac:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(26,22,48,0.22);
}
.lp-mac__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f6f5f8 0%, #eeecf2 100%);
  border-bottom: 1px solid var(--lp-line);
}
.lp-mac__dot {
  width: 12px; height: 12px; border-radius: 50%; display: inline-block;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1);
}
.lp-mac__dot--r { background: #ff5f57; }
.lp-mac__dot--y { background: #febc2e; }
.lp-mac__dot--g { background: #28c840; }
.lp-mac__title {
  flex: 1; text-align: center; font-size: 12px; color: var(--lp-ink-3);
  font-weight: 500; margin-right: 56px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-mac__body {
  aspect-ratio: 16/10; background: #f4f2f8;
  overflow: hidden; position: relative;
}
.lp-mac__body img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center; display: block;
}

/* Browser chrome (for Read / Memorize sections) */
.lp-browser {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--lp-shadow-lg); border: 1px solid rgba(255,255,255,0.9);
}
.lp-browser__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: linear-gradient(180deg, #f6f4fa, #ebe8f2);
  border-bottom: 1px solid var(--lp-line);
}
.lp-browser__dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-browser__dot--r { background: #fc615d; }
.lp-browser__dot--y { background: #fdbc40; }
.lp-browser__dot--g { background: #34c748; }
.lp-browser__url {
  flex: 1; margin-left: 10px; background: #fff; border-radius: 6px;
  padding: 4px 10px; font-size: 11px; color: var(--lp-ink-3);
  border: 1px solid var(--lp-line);
  display: flex; align-items: center; gap: 6px;
}
.lp-browser img { width: 100%; display: block; max-height: 75vh; object-fit: cover; object-position: top center; }

/* ================= Feature stack (zig-zag) ================= */
.lp-feat-stack {
  margin-top: 40px; display: flex; flex-direction: column;
  padding: 20px; margin-left: -20px; margin-right: -20px;
}
.lp-feat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 20px 0;
}
.lp-feat-row + .lp-feat-row { margin-top: 96px; }
.lp-feat-row:nth-child(even) .lp-feat-media { order: 2; }
.lp-feat-row:nth-child(even) .lp-feat-copy { order: 1; text-align: right; }
.lp-feat-row:nth-child(even) .lp-feat-copy .lp-eyebrow { justify-content: flex-end; }
.lp-feat-row:nth-child(even) .lp-feat-media .lp-mac { transform: rotate(1.2deg); }
.lp-feat-row:nth-child(odd) .lp-feat-media .lp-mac { transform: rotate(-1.2deg); }
.lp-feat-media .lp-mac { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.lp-feat-media .lp-mac:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02) !important;
  box-shadow: 0 40px 90px rgba(26,22,48,0.28); z-index: 3;
}

.lp-feat-num {
  font-size: 13px; font-weight: 600; color: var(--lp-accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.lp-feat-num::before {
  content: ''; width: 28px; height: 1px; background: currentColor;
}
.lp-feat-row:nth-child(even) .lp-feat-num::before { order: 2; }

.lp-feat-copy h3 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15; letter-spacing: -0.02em;
  text-wrap: balance;
}
.lp-feat-copy p {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--lp-ink-2);
  max-width: 460px;
}
.lp-feat-row:nth-child(even) .lp-feat-copy p { margin-left: auto; }

.lp-feat-bullets {
  margin: 20px 0 0; padding: 0; list-style: none;
  display: grid; gap: 10px; max-width: 460px;
}
.lp-feat-row:nth-child(even) .lp-feat-bullets { margin-left: auto; }
.lp-feat-bullets li {
  display: flex; gap: 10px; font-size: 14px; color: var(--lp-ink-2); line-height: 1.5;
}
.lp-feat-row:nth-child(even) .lp-feat-bullets li {
  flex-direction: row-reverse; text-align: right;
}
.lp-feat-bullets svg { flex-shrink: 0; margin-top: 3px; color: var(--lp-accent); }

@media (max-width: 900px) {
  .lp-feat-row { grid-template-columns: 1fr; gap: 28px; }
  .lp-feat-row + .lp-feat-row { margin-top: 40px; }
  .lp-feat-row:nth-child(even) .lp-feat-media { order: 1; }
  .lp-feat-row:nth-child(even) .lp-feat-copy { order: 2; text-align: left; }
  .lp-feat-row:nth-child(even) .lp-feat-copy .lp-eyebrow,
  .lp-feat-row:nth-child(even) .lp-feat-copy p,
  .lp-feat-row:nth-child(even) .lp-feat-bullets { margin-left: 0; }
  .lp-feat-row:nth-child(even) .lp-feat-bullets li { flex-direction: row; text-align: left; }
  .lp-feat-row:nth-child(even) .lp-feat-num::before { order: 0; }
}

/* ================= Read section ================= */
.lp-read-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  padding: 20px; margin: -20px;
}
.lp-translate-pop {
  position: absolute; right: -20px; bottom: 20px;
  background: #fff; padding: 14px 16px; border-radius: 14px;
  box-shadow: var(--lp-shadow-lg); border: 1px solid var(--lp-line);
  max-width: 280px; transform: rotate(-2deg);
}
.lp-translate-pop__label {
  font-size: 10px; font-weight: 700; color: var(--lp-accent);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.lp-translate-pop__text {
  font-size: 13px; margin-top: 4px; color: var(--lp-ink-2);
}

/* ================= Memorize section ================= */
.lp-memo-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
  padding: 20px; margin: -20px;
}
.lp-memo-grid > .lp-reveal { align-self: start; }
.lp-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.lp-stat-card {
  padding: 16px; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px;
}
.lp-stat-card__value {
  font-size: 22px; font-weight: 800; color: var(--lp-accent);
}
.lp-stat-card__label {
  font-size: 12px; color: var(--lp-ink-3); margin-top: 4px;
}

/* Analytics mini-card */
.lp-analytics {
  background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: var(--lp-shadow-md); border: 1px solid var(--lp-line);
  margin-top: -40px; position: relative; z-index: 2;
  max-width: 320px; margin-left: auto; margin-right: auto;
  transform: rotate(-1.5deg);
}
.lp-analytics__header {
  display: flex; justify-content: space-between; align-items: center;
}
.lp-analytics__label {
  font-size: 11px; color: var(--lp-ink-3); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600;
}
.lp-analytics__value {
  font-size: 24px; font-weight: 800; margin-top: 4px;
}
.lp-bars {
  display: flex; align-items: end; gap: 4px; height: 54px; margin-top: 10px;
}
.lp-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--lp-accent), var(--lp-accent-2));
  border-radius: 3px 3px 0 0; opacity: 0.9;
}
.lp-analytics__footer {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lp-line);
  font-size: 11px; color: var(--lp-ink-3);
}

/* ================= Practice section ================= */
.lp-practice-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; margin-top: 36px;
  padding: 20px; margin-left: -20px; margin-right: -20px;
}
.lp-ex {
  background: rgba(255,255,255,0.75); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 18px; border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--lp-shadow-md); grid-column: span 2; min-height: 200px;
  display: flex; flex-direction: column;
}
.lp-ex--wide { grid-column: span 3; }
.lp-ex--full { grid-column: span 6; }
.lp-ex__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--lp-accent);
}
.lp-ex__title { font-size: 14px; font-weight: 700; margin-top: 10px; }
.lp-ex__body {
  margin-top: 12px; flex: 1; display: flex; flex-direction: column;
  justify-content: center;
}

/* Tokens (word order) */
.lp-tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-tok {
  padding: 6px 10px; border-radius: 8px; background: #fff;
  border: 1px solid var(--lp-line); font-size: 12px; font-weight: 500;
  color: var(--lp-ink); box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.lp-tok--active { background: var(--lp-accent); color: #fff; border-color: var(--lp-accent); }
.lp-tok--ghost {
  background: var(--lp-accent-soft); color: var(--lp-accent);
  border-color: transparent; border-style: dashed;
}

/* Multiple choice rows */
.lp-mc {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--lp-line);
  background: #fff; font-size: 12px; margin-top: 4px;
}
.lp-mc--correct { background: #ecfdf5; border-color: #a7f3d0; color: var(--lp-green-ink); }

/* Match grid */
.lp-match { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-match__cell {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 8px;
  padding: 8px 10px; font-size: 12px; text-align: center;
}
.lp-match__cell--picked {
  background: var(--lp-accent-soft); border-color: var(--lp-accent); color: var(--lp-accent);
}

/* Spelling input */
.lp-spell {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  border: 2px solid var(--lp-accent); background: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: 0.05em;
}
.lp-spell__cursor {
  display: inline-block; width: 1px; height: 18px;
  background: var(--lp-accent); vertical-align: middle;
  animation: lp-blink 1s infinite;
}
@keyframes lp-blink { 50% { opacity: 0; } }

/* Listening wave */
.lp-wave {
  height: 40px;
  background: repeating-linear-gradient(90deg, var(--lp-accent) 0 2px, transparent 2px 6px);
  mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%);
}

@media (max-width: 800px) {
  .lp-practice-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-ex, .lp-ex--wide, .lp-ex--full { grid-column: span 2; }
}

/* ================= Grow section ================= */
.lp-grow-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 20px; margin: -20px;
}
.lp-grow-card {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 20px;
  padding: 24px; box-shadow: var(--lp-shadow-md);
}

/* Heatmap */
.lp-heatmap {
  display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin-top: 14px;
}
.lp-heat {
  aspect-ratio: 1; border-radius: 3px;
  background: oklch(62% 0.20 var(--lp-hue) / 0.08);
}
.lp-heat--1 { background: oklch(62% 0.20 var(--lp-hue) / 0.2); }
.lp-heat--2 { background: oklch(62% 0.20 var(--lp-hue) / 0.4); }
.lp-heat--3 { background: oklch(62% 0.20 var(--lp-hue) / 0.65); }
.lp-heat--4 { background: oklch(62% 0.20 var(--lp-hue) / 0.9); }

/* Leagues */
.lp-leagues {
  display: flex; gap: 8px; margin-top: 16px;
}
.lp-league {
  flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--lp-line);
  background: #fff; text-align: center; font-size: 11px; font-weight: 600;
}
.lp-league--active {
  background: linear-gradient(180deg, var(--lp-accent-soft), #fff);
  border-color: var(--lp-accent);
}
.lp-league__icon { font-size: 18px; display: block; margin-bottom: 4px; }

/* Achievements */
.lp-achievements {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px;
}
.lp-achieve {
  aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm); font-size: 22px;
}
.lp-achieve--earned {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 16px oklch(62% 0.20 var(--lp-hue) / 0.35);
}
.lp-achieve--locked { opacity: 0.4; }

/* Grow feature items */
.lp-grow-item {
  display: flex; gap: 14px; padding: 16px; background: #fff;
  border: 1px solid var(--lp-line); border-radius: 14px;
}
.lp-grow-item__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.lp-grow-item__title { font-weight: 700; }
.lp-grow-item__text {
  font-size: 13px; color: var(--lp-ink-3); margin-top: 4px;
}

/* ================= Compare table ================= */
.lp-compare {
  background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: var(--lp-shadow-lg); border: 1px solid var(--lp-line);
  margin-top: 36px; overflow-x: auto;
}
.lp-compare table { width: 100%; border-collapse: collapse; }
.lp-compare th, .lp-compare td {
  padding: 14px 12px; text-align: left; font-size: 14px;
}
.lp-compare thead th {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--lp-ink-3);
  border-bottom: 1px solid var(--lp-line);
}
.lp-compare thead th.lp-compare--us {
  color: var(--lp-accent); background: var(--lp-accent-soft);
  border-radius: 10px 10px 0 0; text-align: center;
}
.lp-compare tbody td {
  border-bottom: 1px solid var(--lp-line); color: var(--lp-ink-2);
}
.lp-compare tbody td.lp-compare--feat { font-weight: 600; color: var(--lp-ink); }
.lp-compare tbody td.lp-compare--us {
  background: var(--lp-accent-soft); text-align: center;
  color: var(--lp-accent); font-weight: 700;
}
.lp-compare tbody tr:last-child td { border-bottom: none; }
.lp-compare td.lp-compare--check { text-align: center; }

@media (max-width: 720px) {
  .lp-compare { padding: 16px; border-radius: 16px; }
  .lp-compare th, .lp-compare td { padding: 10px 6px; font-size: 12px; }
}

/* ================= Final CTA ================= */
.lp-final {
  background: oklch(94% 0.04 var(--lp-hue));
  border-radius: 32px; padding: 80px 40px; text-align: center;
  color: var(--lp-ink); position: relative; overflow: hidden;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-lg);
}
.lp-final h2 { color: var(--lp-ink); }
/* Decorative blobs in brand palette */
.lp-final::before, .lp-final::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(60px);
}
.lp-final::before {
  width: 500px; height: 500px; top: -200px; left: -120px;
  background: oklch(82% 0.14 var(--lp-hue) / 0.4);
}
.lp-final::after {
  width: 450px; height: 450px; bottom: -180px; right: -100px;
  background: oklch(85% 0.12 calc(var(--lp-hue) + 40) / 0.35);
}
.lp-final__blob-1,
.lp-final__blob-2,
.lp-final__blob-3 {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(50px);
}
.lp-final__blob-1 {
  width: 300px; height: 300px; top: 40%; left: 60%;
  background: oklch(88% 0.10 150 / 0.3);
}
.lp-final__blob-2 {
  width: 250px; height: 250px; top: -60px; right: 25%;
  background: oklch(80% 0.12 calc(var(--lp-hue) - 20) / 0.25);
}
.lp-final__blob-3 {
  width: 350px; height: 350px; bottom: -100px; left: 30%;
  background: oklch(86% 0.08 calc(var(--lp-hue) + 80) / 0.25);
}
.lp-final__inner { position: relative; z-index: 1; }
.lp-final p { color: var(--lp-ink-2); margin-top: 16px; font-size: 18px; }
.lp-final .lp-btn--primary {
  margin-top: 36px;
}
.lp-final__fine { margin-top: 16px; font-size: 13px; color: var(--lp-ink-3); }

/* ================= Footer ================= */
.lp-footer {
  padding: 60px 28px 40px; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  border-top: 1px solid var(--lp-line); margin-top: 48px;
}
.lp-footer__links {
  display: flex; gap: 20px; font-size: 13px; color: var(--lp-ink-3);
}
.lp-footer__links a { color: inherit; text-decoration: none; }
.lp-footer__links a:hover { color: var(--lp-accent); }
.lp-footer__copy { font-size: 12px; color: var(--lp-ink-4); }

/* ================= Reveal animation ================= */
.lp-reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal--visible {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= Generic responsive ================= */
@media (max-width: 900px) {
  .lp-read-grid,
  .lp-memo-grid,
  .lp-grow-grid { grid-template-columns: 1fr !important; }

  .lp-translate-pop { position: static; transform: none; margin-top: 16px; }
  .lp-analytics { margin-top: 16px; transform: none; }
}
@media (max-width: 720px) {
  :root { --lp-pad-section: 48px; }
}
@media (max-width: 480px) {
  :root { --lp-pad-section: 32px; }
  .lp-sec { padding-left: 16px; padding-right: 16px; }
  .lp-final { padding: 48px 20px; border-radius: 20px; }
}
