/* WordGarden official website — botanical design system matched 1:1 to app tokens */
:root {
  --bg: #f6f2e7;
  --surface: #fffdf7;
  --surface2: #efe9d8;
  --line: #e2dac3;
  --line-strong: #cfc4a6;
  --ink: #1f2b22;
  --muted: #526155;
  --leaf: #26763f;
  --leaf-hover: #1d5d31;
  --leaf-ink: #ffffff;
  --leaf-soft: #dcefd9;
  --leaf-deep: #184729;
  --sun: #c98a06;
  --sun-soft: #f9ecc7;
  --sun-ink: #7a5100;
  --rose: #b13a33;
  --rose-soft: #f8dcd8;
  --sky: #236c9c;
  --sky-soft: #dceef8;
  --soil: #9b7350;
  --shadow-sm: 0 2px 10px rgba(31, 43, 34, 0.05);
  --shadow-md: 0 12px 32px rgba(31, 43, 34, 0.09);
  --shadow-lg: 0 24px 56px rgba(24, 52, 33, 0.16);
  --header-bg: rgba(246, 242, 231, 0.86);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1712;
    --surface: #15231b;
    --surface2: #1c2e24;
    --line: #2a4234;
    --line-strong: #395946;
    --ink: #edf4ec;
    --muted: #9eb5a3;
    --leaf: #7dd28a;
    --leaf-hover: #96dfa1;
    --leaf-ink: #0e1712;
    --leaf-soft: #1f3a29;
    --leaf-deep: #133520;
    --sun: #f2c94c;
    --sun-soft: #3a3318;
    --sun-ink: #f7d979;
    --rose: #f08a80;
    --rose-soft: #3e2220;
    --sky: #7cc0e6;
    --sky-soft: #193140;
    --soil: #9b7654;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(14, 23, 18, 0.86);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0e1712;
  --surface: #15231b;
  --surface2: #1c2e24;
  --line: #2a4234;
  --line-strong: #395946;
  --ink: #edf4ec;
  --muted: #9eb5a3;
  --leaf: #7dd28a;
  --leaf-hover: #96dfa1;
  --leaf-ink: #0e1712;
  --leaf-soft: #1f3a29;
  --leaf-deep: #133520;
  --sun: #f2c94c;
  --sun-soft: #3a3318;
  --sun-ink: #f7d979;
  --rose: #f08a80;
  --rose-soft: #3e2220;
  --sky: #7cc0e6;
  --sky-soft: #193140;
  --soil: #9b7654;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(14, 23, 18, 0.86);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--leaf); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--leaf); color: var(--leaf-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 84px; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 68px; padding: 8px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; flex-shrink: 0; min-height: 44px;
}
.brand img {
  width: 36px; height: 36px; border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.site-nav {
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 10px 12px; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center; transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface2); }

.header-controls {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.lang-switcher {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 700; padding: 7px 10px; min-height: 36px; min-width: 36px;
  border-radius: 999px; transition: background .15s, color .15s;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] {
  background: var(--leaf); color: var(--leaf-ink);
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface2); border-color: var(--line-strong); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 64px) 0 clamp(44px, 6vw, 76px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -120px -10% auto; height: 640px; pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 24%, rgba(38, 118, 63, 0.13), transparent 70%),
    radial-gradient(520px 340px at 14% 18%, rgba(201, 138, 6, 0.10), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.release-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px 6px 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); text-decoration: none;
  margin-bottom: 18px;
}
.release-pill .badge-new {
  background: var(--leaf); color: var(--leaf-ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.15; letter-spacing: -0.025em; font-weight: 800;
}
html[lang="en"] .hero h1,
html[lang="fil"] .hero h1,
html[lang="sw"] .hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted); max-width: 560px; line-height: 1.7;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 14px;
}
.hero-try-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin-bottom: 16px;
  font-size: 14.5px; font-weight: 700; color: var(--leaf);
  text-decoration: none;
}
.hero-try-link:hover { text-decoration: underline; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 16px;
  font-weight: 800; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .14s ease, background .15s, border-color .15s, box-shadow .15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--leaf); color: var(--leaf-ink);
  box-shadow: 0 8px 20px rgba(38, 118, 63, 0.24);
}
.btn-primary:hover { background: var(--leaf-hover); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface); color: var(--ink); border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--surface2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--leaf); border-color: var(--line);
}
.btn-ghost:hover { background: var(--leaf-soft); border-color: var(--leaf); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.trust-chips {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  list-style: none; padding: 0; margin: 0;
  color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.trust-chips li {
  display: inline-flex; align-items: center; gap: 6px;
}
.trust-chips svg { width: 16px; height: 16px; color: var(--leaf); flex-shrink: 0; }

/* Hero Device Visual */
.hero-visual {
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.hero-stage {
  position: relative; width: 100%; max-width: 340px;
}
.hero-shot-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #1d4e31;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9 / 16;
  cursor: zoom-in;
}
.hero-shot-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .22s ease;
}
.hero-float {
  position: absolute; z-index: 3;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.35;
}
.hero-float-top {
  top: 18px; right: -28px;
}
.hero-float-bottom {
  bottom: 24px; left: -34px;
}
.hero-float strong { display: block; font-size: 14px; color: var(--ink); }
.hero-float span { color: var(--muted); font-size: 12px; }
.hero-scene-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 16px;
}
.scene-tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 7px 13px; min-height: 38px;
  font-size: 13px; font-weight: 700; transition: all .15s;
}
.scene-tab:hover { border-color: var(--line-strong); color: var(--ink); }
.scene-tab[aria-selected="true"] {
  background: var(--leaf-soft); border-color: var(--leaf); color: var(--leaf);
}

/* ===================== Metrics Strip ===================== */
.metrics-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; padding: 26px 0;
}
.metric-item {
  text-align: center; padding: 4px 8px;
}
.metric-num {
  font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--leaf);
  letter-spacing: -0.02em; line-height: 1.15;
}
.metric-label {
  font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 4px;
}

/* ===================== Shared Section Headers ===================== */
.section-pad { padding: clamp(52px, 7vw, 88px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--leaf); background: var(--leaf-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.22; letter-spacing: -0.02em;
}
html[lang="en"] .section-head h2,
html[lang="fil"] .section-head h2,
html[lang="sw"] .section-head h2 {
  font-family: var(--font-serif);
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* ===================== Interactive WordGarden Studio (#try) ===================== */
.studio-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}
.course-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 22px;
}
.course-pill {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 13.5px; font-weight: 700; transition: all .15s;
}
.course-pill:hover { border-color: var(--leaf); }
.course-pill[aria-pressed="true"] {
  background: var(--leaf); color: var(--leaf-ink); border-color: var(--leaf);
}
.course-pill .pair-badge {
  font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 6px;
  background: rgba(128, 128, 128, 0.14);
}
.course-pill[aria-pressed="true"] .pair-badge {
  background: rgba(255, 255, 255, 0.22);
}

.studio-mode-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.mode-tabs {
  display: inline-flex; background: var(--surface2); padding: 4px; border-radius: 14px; gap: 4px;
}
.mode-tab {
  border: 0; background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 700; padding: 9px 16px; min-height: 40px;
  border-radius: 10px; transition: all .15s;
}
.mode-tab[aria-selected="true"] {
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
}

.toggle-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; min-height: 44px;
}
.toggle-switch {
  position: relative; width: 44px; height: 24px; border-radius: 999px;
  border: 0; background: var(--line-strong); padding: 0; flex-shrink: 0;
  transition: background .18s;
}
.toggle-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.toggle-switch[aria-checked="true"] { background: var(--leaf); }
.toggle-switch[aria-checked="true"]::after { transform: translateX(20px); }

.demo-card-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px; align-items: stretch;
}
.word-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.word-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.word-pos {
  display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase;
  color: var(--leaf); background: var(--leaf-soft);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
}
.word-head {
  margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
}
.word-rr {
  margin: 4px 0 0; font-size: 14px; color: var(--muted); font-weight: 600;
}
.speak-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--leaf); font-size: 13.5px; font-weight: 700; flex-shrink: 0;
  transition: background .15s;
}
.speak-btn:hover { background: var(--leaf-soft); border-color: var(--leaf); }
.speak-btn svg { width: 18px; height: 18px; }

.word-meaning {
  margin: 18px 0 0; font-size: 20px; font-weight: 800; color: var(--ink);
}
.word-en-def {
  margin: 10px 0 0; padding: 10px 14px; border-radius: 14px;
  background: var(--leaf-soft); border: 1px solid rgba(38, 118, 63, 0.22);
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
  display: flex; align-items: baseline; gap: 8px;
  animation: fadeSlide .2s ease;
}
.en-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--leaf-ink); background: var(--leaf);
  padding: 2px 7px; border-radius: 6px; flex-shrink: 0;
}
.word-example {
  margin: 18px 0 0; padding: 14px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.word-ex-text {
  margin: 0; font-family: var(--font-serif); font-size: 17px; line-height: 1.55; color: var(--ink);
}
.word-ex-text mark {
  background: var(--sun-soft); color: var(--ink); padding: 0 2px; border-radius: 4px; font-weight: 700;
}
.word-ex-tr { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.word-tip {
  margin: 12px 0 0; font-size: 13.5px; color: var(--sun-ink);
  background: var(--sun-soft); padding: 9px 13px; border-radius: 12px;
}
.word-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.word-counter { font-size: 13px; font-weight: 700; color: var(--muted); }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  white-space: nowrap; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.mini-btn:hover { background: var(--surface2); border-color: var(--line-strong); }

/* Live Garden Pot Panel */
.garden-pot-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px;
}
.pot-svg-stage {
  width: 112px; height: 112px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pot-stage-title { margin: 0; font-size: 17px; font-weight: 800; }
.pot-stage-sub { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 240px; }
.stage-dots {
  display: flex; gap: 6px; align-items: center; margin-top: 4px;
}
.stage-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong);
  transition: background .2s, transform .2s;
}
.stage-dot.filled { background: var(--leaf); }
.stage-dot.current { background: var(--sun); transform: scale(1.25); }

/* Quiz Mode */
.quiz-prompt-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; margin-bottom: 16px;
}
.quiz-q-label {
  font-size: 13px; font-weight: 800; color: var(--leaf); margin: 0 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.quiz-q-def {
  margin: 0; font-family: var(--font-serif); font-size: 21px; line-height: 1.45; color: var(--ink);
}
.quiz-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.quiz-opt {
  min-height: 54px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 16px; font-weight: 700; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .15s;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--leaf); background: var(--leaf-soft); }
.quiz-opt.correct { background: var(--leaf-soft); border-color: var(--leaf); color: var(--leaf); }
.quiz-opt.wrong { background: var(--rose-soft); border-color: var(--rose); color: var(--rose); }
.quiz-feedback {
  margin-top: 14px; padding: 12px 16px; border-radius: 14px;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.quiz-feedback.ok { background: var(--leaf-soft); color: var(--leaf); }
.quiz-feedback.err { background: var(--rose-soft); color: var(--rose); }

/* ===================== 6-Stage Growth Timeline (#how) ===================== */
.stages-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.stage-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 20px; padding: 18px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.stage-card:hover { transform: translateY(-3px); border-color: var(--leaf); box-shadow: var(--shadow-sm); }
.stage-card[aria-pressed="true"] {
  border-color: var(--leaf); background: var(--leaf-soft); box-shadow: var(--shadow-sm);
}
.stage-day {
  font-size: 11.5px; font-weight: 800; color: var(--leaf);
  background: var(--bg); padding: 3px 9px; border-radius: 999px;
}
.stage-name { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.stage-detail {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.stage-detail p { margin: 0; color: var(--muted); font-size: 15px; flex: 1 1 320px; }
.stage-detail strong { color: var(--ink); }

/* ===================== v2.2 Spotlight + Features Bento ===================== */
.v22-banner {
  background: linear-gradient(135deg, #174528 0%, #24683b 100%);
  color: #f3f9f2;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px; align-items: center;
  box-shadow: var(--shadow-md);
}
.v22-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.v22-banner h3 {
  margin: 0 0 10px; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.25;
}
.v22-banner p { margin: 0 0 16px; color: rgba(243, 249, 242, 0.86); font-size: 15.5px; }
.v22-bullets {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px;
}
.v22-bullets li { display: flex; align-items: flex-start; gap: 8px; }
.v22-bullets svg { width: 18px; height: 18px; color: #9be8a8; flex-shrink: 0; margin-top: 3px; }
.v22-preview-box {
  background: rgba(255, 253, 247, 0.96); color: #1f2b22;
  border-radius: 20px; padding: 20px; box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}
.v22-preview-word { font-size: 24px; font-weight: 800; margin: 0; }
.v22-preview-mean { font-size: 15px; font-weight: 700; color: #526155; margin: 4px 0 10px; }
.v22-preview-en {
  background: #dcefd9; color: #164425; padding: 9px 12px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: baseline;
}
.v22-preview-en b {
  background: #26763f; color: #fff; font-size: 10.5px; padding: 2px 6px; border-radius: 5px;
}
.v22-preview-foot {
  margin: 10px 0 0; font-size: 12.5px; color: #5a665b;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.feat-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--leaf-soft); color: var(--leaf);
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-card h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; }
.feat-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ===================== Screenshots Gallery (#screens) ===================== */
.gallery-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px;
}
.gallery-hint { font-size: 14px; color: var(--muted); margin: 0; }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-track {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.shot-item {
  flex: 0 0 248px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 22px;
  background: var(--surface); padding: 0; overflow: hidden;
  box-shadow: var(--shadow-sm); text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}
.shot-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shot-item img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 18, 13, 0.86);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-inner {
  position: relative; max-width: 440px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-img {
  max-height: 80vh; width: auto; border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.lightbox-bar {
  display: flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; font-weight: 700;
}
.lightbox-btn {
  min-width: 44px; min-height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.12);
  color: #fff; font-weight: 800; padding: 0 14px;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.24); }

/* ===================== 8 Courses Directory (#courses) ===================== */
.courses-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.course-family {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.course-family.featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-color: var(--leaf);
}
.cf-head { display: flex; align-items: flex-start; gap: 14px; }
.cf-icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.cf-head h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.cf-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cf-desc { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.cf-sublist {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.cf-subcard {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px;
}
.cf-subcard-top { display: flex; align-items: center; gap: 10px; }
.cf-subcard-top img { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.cf-subcard h4 { margin: 0; font-size: 15px; line-height: 1.25; }
.cf-subcard p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cf-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.cf-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 8px;
  border-top: 1px solid var(--line); font-size: 14px; font-weight: 700;
}
.cf-links a {
  display: inline-flex; align-items: center; min-height: 36px; text-decoration: none;
}
.cf-links a:hover { text-decoration: underline; }

/* ===================== Android Beta Section (#beta) ===================== */
.beta-card {
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}
.beta-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.beta-head h2 { margin: 0; font-size: clamp(22px, 2.8vw, 28px); }
.beta-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun-soft); color: var(--sun-ink);
  font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
}
.beta-cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.beta-col h3 { margin: 0 0 8px; font-size: 16px; color: var(--leaf); }
.beta-col p { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.beta-col ol { padding-left: 20px; margin: 0; font-size: 14.5px; }
.beta-col li { margin: 8px 0; }
.optin-bar {
  list-style: none; padding: 14px 18px; margin: 20px 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
}
.optin-bar li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.optin-bar img { width: 36px; height: 36px; border-radius: 9px; }
.optin-bar .name { font-weight: 800; flex: 1 1 180px; }
.optin-bar a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.optin-bar a:hover { border-color: var(--leaf); background: var(--leaf-soft); }
.beta-tips {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); display: grid; gap: 6px;
}
.beta-tips p { margin: 0; }

/* ===================== Direct Updates / Owned Channel ===================== */
.owned-card {
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; box-shadow: var(--shadow-sm);
}
.owned-card > div:first-child { flex: 1 1 380px; }
.owned-card h2 { margin: 6px 0 10px; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.25; }
.owned-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; }
.owned-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ===================== Footer ===================== */
.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 40px 0 48px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-meta { margin: 0 0 10px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer-col h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 36px;
  font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 600;
}
.footer-col a:hover { color: var(--leaf); text-decoration: underline; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--muted);
}

/* ===================== Animations ===================== */
@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@keyframes bloom {
  0% { transform: scale(0.65); opacity: 0; }
  65% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.plant-sway { animation: sway 3.6s ease-in-out infinite; transform-origin: 20px 34px; }
.plant-bloom { animation: bloom .45s ease-out both; transform-origin: 20px 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plant-sway, .plant-bloom, .word-en-def { animation: none !important; }
  .btn, .stage-card, .shot-item { transition: none !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { margin-top: 12px; }
  .hero-float-top { right: -10px; }
  .hero-float-bottom { left: -10px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-card-grid { grid-template-columns: 1fr; }
  .stages-grid { grid-template-columns: repeat(3, 1fr); }
  .v22-banner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; }
  .beta-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 8px; }
  .brand span { font-size: 16px; }
  .lang-btn { padding: 6px 8px; font-size: 12px; min-width: 32px; }
  .hero-float { display: none; }
  .hero-stage { max-width: 290px; }
  .quiz-options { grid-template-columns: 1fr; }
  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .cf-sublist { grid-template-columns: 1fr; }
  .shot-item { flex: 0 0 210px; }
  .cta-row .btn { width: 100%; }
}
