:root {
  color-scheme: light;
  --paper: #f6f8f5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-2: rgba(239, 248, 244, 0.76);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.7);
  --ink: #101918;
  --muted: #62716d;
  --line: rgba(33, 64, 55, 0.12);
  --teal: #0e9b88;
  --teal-dark: #0a625a;
  --mint: #8ee6c8;
  --cyan: #56c7e8;
  --amber: #ffbf45;
  --coral: #ff7a6b;
  --blue: #536dfe;
  --violet: #8d6cf6;
  --shadow: 0 30px 90px rgba(18, 45, 40, 0.14);
  --glass-shadow: 0 20px 70px rgba(37, 69, 64, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(142, 230, 200, 0.35), transparent 32%),
    radial-gradient(circle at 86% 6%, rgba(86, 199, 232, 0.24), transparent 30%),
    radial-gradient(circle at 76% 76%, rgba(255, 191, 69, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfcfa 0%, #edf7f3 48%, #f8f4ee 100%);
  background-attachment: fixed;
  color: var(--ink);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 98, 90, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 98, 90, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 78%);
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 18px 0;
  transition: transform 260ms ease, padding 260ms ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(16, 48, 39, 0.12);
}

.nav-shell {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 11px 9px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 14px 46px rgba(30, 66, 59, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 7px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  min-height: min(760px, calc(88svh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
  padding: 56px 0 42px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 760;
  color: var(--teal-dark);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(244, 183, 64, 0.18);
}

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

h1 {
  margin: 20px 0 20px;
  max-width: 760px;
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.68;
  color: #394741;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 34px 0 30px;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    var(--teal-dark);
  color: #fff;
  box-shadow: 0 18px 44px rgba(7, 94, 86, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}

.hero-proof div {
  padding: 13px 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  backdrop-filter: blur(18px) saturate(1.08);
}

.hero-proof strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.hero-system {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-panel {
  width: min(100%, 520px);
  min-height: 552px;
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(239, 249, 244, 0.52)),
    rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(26px) saturate(1.18);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.system-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.9), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 38%);
  opacity: 0.7;
}

.system-panel > * {
  position: relative;
  z-index: 1;
}

.system-header,
.feature-topline,
.word-widget-foot,
.dash-top,
.dash-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.system-header {
  padding: 12px 12px 2px;
  color: var(--muted);
  font-size: 14px;
}

.system-header > div {
  display: grid;
  gap: 4px;
}

.system-header small {
  font-size: 12px;
  color: rgba(97, 113, 106, 0.78);
}

.system-header b,
.feature-topline b {
  color: var(--teal-dark);
}

.learning-orbit {
  position: relative;
  height: 350px;
  margin: 18px 0 10px;
}

.orbit-ring {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(15, 143, 127, 0.22);
  border-radius: 50%;
}

.ring-a {
  animation: spin 22s linear infinite;
}

.ring-b {
  inset: 72px;
  border-color: rgba(80, 119, 214, 0.22);
  animation: spin 32s linear infinite reverse;
}

.ring-a::before,
.ring-b::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 32px;
  right: 54px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(244, 183, 64, 0.12);
}

.ring-b::before {
  background: var(--blue);
}

.orbit-flow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(15, 143, 127, 0), rgba(15, 143, 127, 0.34), rgba(15, 143, 127, 0));
  filter: blur(0.2px);
}

.flow-a {
  transform: rotate(-18deg);
  animation: flowPulse 3.6s ease-in-out infinite;
}

.flow-b {
  transform: rotate(138deg);
  background: linear-gradient(90deg, rgba(80, 119, 214, 0), rgba(80, 119, 214, 0.28), rgba(80, 119, 214, 0));
  animation: flowPulse 4.2s ease-in-out infinite reverse;
}

.engine-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 152px;
  height: 152px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.16), transparent 38%),
    conic-gradient(from 210deg, rgba(244, 183, 64, 0.95), rgba(15, 143, 127, 0.1) 18%, rgba(255, 255, 255, 0.08) 45%, rgba(80, 119, 214, 0.75) 72%, rgba(244, 183, 64, 0.95)),
    #103d38;
  color: #fff;
  box-shadow: 0 20px 50px rgba(16, 61, 56, 0.28);
  padding: 14px;
}

.engine-core::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: #103d38;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.engine-core .core-label,
.engine-core em {
  position: relative;
  z-index: 1;
}

.engine-core .core-label {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  margin-top: -4px;
}

.engine-core em {
  display: block;
  max-width: 104px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-style: normal;
  line-height: 1.32;
}

.orbit-node {
  position: absolute;
  min-width: 68px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(20, 72, 58, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px) saturate(1.14);
  text-align: center;
  font-size: 15px;
  font-weight: 820;
  color: #21352e;
  animation: float 4.8s ease-in-out infinite;
}

.orbit-node.is-primary {
  min-width: 94px;
  background: #123b38;
  border-color: rgba(18, 59, 56, 0.2);
  color: #fff;
  box-shadow: 0 20px 42px rgba(18, 59, 56, 0.2);
}

.node-vocab { left: 50%; top: 8px; transform: translateX(-50%); }
.node-read { right: 18px; top: 92px; animation-delay: -0.7s; }
.node-listen { right: 48px; bottom: 66px; animation-delay: -1.2s; }
.node-speak { left: 50%; bottom: 2px; transform: translateX(-50%); animation-delay: -1.9s; }
.node-grammar { left: 36px; bottom: 74px; animation-delay: -2.6s; }
.node-practice { left: 10px; top: 96px; animation-delay: -3.2s; }

.mini-task-stack {
  display: grid;
  gap: 10px;
  padding: 4px 10px 10px;
}

.mini-task {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.12);
}

.mini-task::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 42%;
  background: rgba(15, 143, 127, 0.2);
}

.mini-task.active {
  background: #123b38;
  color: #fff;
}

.mini-task.active::after {
  width: 76%;
  background: var(--amber);
}

.mini-task span {
  color: inherit;
  opacity: 0.72;
}

section:not(.hero) {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading.compact {
  text-align: center;
  margin-inline: auto;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.06;
  font-weight: 900;
  text-wrap: balance;
}

.section-heading h2 + p,
.mastery-copy h2 + p,
.growth-copy h2 + p,
.cta-card h2 + p {
  margin-top: 22px;
}

.section-heading p,
.loop-section p,
.growth-copy p,
.mastery-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.pain-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.young-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.young-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.1);
}

.young-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 52%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.38), transparent 28%);
}

.young-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.young-copy {
  max-width: 560px;
}

.young-copy h2 {
  margin-top: 14px;
}

.young-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.young-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.young-points div {
  padding: 15px 16px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 38px rgba(18, 45, 40, 0.08);
  backdrop-filter: blur(16px) saturate(1.1);
}

.young-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.young-points span {
  color: var(--muted);
  line-height: 1.55;
}

.pain-card,
.audience-grid article {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.12);
}

.pain-number,
.audience-grid article span {
  color: var(--coral);
  font-weight: 840;
}

h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 850;
  text-wrap: balance;
}

.pain-card p,
.feature-card p,
.audience-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.loop-section {
  overflow: hidden;
}

.loop-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 38px;
}

.loop-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.loop-track.is-visible .loop-line {
  transform: scaleX(1);
}

.loop-step {
  position: relative;
  padding: 54px 18px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.1);
}

.loop-step span {
  position: absolute;
  left: 18px;
  top: -1px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 840;
  box-shadow: 0 0 0 8px var(--paper);
}

.loop-step:nth-child(4) span {
  background: var(--amber);
  color: #2d2110;
}

.loop-step:nth-child(5) span {
  background: var(--blue);
}

.loop-step:nth-child(6) span {
  background: var(--coral);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 143, 127, 0.34);
  box-shadow: 0 28px 70px rgba(14, 50, 41, 0.13);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 86% 8%, var(--card-glow, rgba(15, 155, 136, 0.14)), transparent 34%);
  opacity: 0.9;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-large {
  --card-glow: rgba(86, 199, 232, 0.24);
  grid-column: span 2;
  grid-row: span 2;
  background:
    radial-gradient(circle at 85% 18%, rgba(86, 199, 232, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(241, 250, 246, 0.58) 62%, rgba(232, 241, 255, 0.58));
}

.feature-wide {
  --card-glow: rgba(255, 191, 69, 0.22);
  grid-column: span 2;
  background: #163f3b;
  color: #fff;
}

.feature-card:nth-child(2) { --card-glow: rgba(142, 230, 200, 0.28); }
.feature-card:nth-child(3) { --card-glow: rgba(86, 199, 232, 0.28); }
.feature-card:nth-child(4) { --card-glow: rgba(83, 109, 254, 0.2); }
.feature-card:nth-child(5) { --card-glow: rgba(255, 122, 107, 0.2); }
.feature-card:nth-child(6) { --card-glow: rgba(141, 108, 246, 0.2); }

.feature-wide p,
.feature-wide .feature-topline {
  color: rgba(255, 255, 255, 0.76);
}

.feature-topline {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.word-widget {
  margin-top: 34px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.1);
}

.word-widget-head {
  color: var(--muted);
}

.word-widget-head strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  color: var(--ink);
}

.memory-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
  height: 120px;
  margin: 24px 0;
}

.memory-bars span {
  height: var(--level);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--teal), #bdebd8);
  transform-origin: bottom;
  animation: barPulse 3.2s ease-in-out infinite;
}

.memory-bars span:nth-child(2) { animation-delay: -0.4s; background: linear-gradient(180deg, var(--amber), #ffe7aa); }
.memory-bars span:nth-child(3) { animation-delay: -0.8s; background: linear-gradient(180deg, var(--blue), #c9d8ff); }
.memory-bars span:nth-child(4) { animation-delay: -1.2s; background: linear-gradient(180deg, var(--coral), #ffd1cb); }

.text-sample,
.grammar-chip,
.practice-row span,
.chat-mini span,
.chat-mini b {
  border-radius: 8px;
}

.text-sample {
  margin-top: 26px;
  padding: 14px;
  background: rgba(238, 248, 243, 0.64);
  line-height: 1.8;
}

mark {
  padding: 2px 5px;
  background: rgba(244, 183, 64, 0.34);
  border-radius: 5px;
  color: inherit;
}

.wave {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
}

.wave i {
  width: 9px;
  height: 30px;
  border-radius: 999px;
  background: var(--teal);
  animation: wave 1.25s ease-in-out infinite;
}

.wave i:nth-child(2) { height: 54px; animation-delay: -0.2s; background: var(--blue); }
.wave i:nth-child(3) { height: 42px; animation-delay: -0.4s; }
.wave i:nth-child(4) { height: 66px; animation-delay: -0.6s; background: var(--amber); }
.wave i:nth-child(5) { height: 38px; animation-delay: -0.8s; }
.wave i:nth-child(6) { height: 58px; animation-delay: -1s; background: var(--coral); }
.wave i:nth-child(7) { height: 34px; animation-delay: -1.2s; }

.chat-mini {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.chat-mini span,
.chat-mini b {
  padding: 11px 12px;
  line-height: 1.35;
}

.chat-mini span {
  justify-self: start;
  background: rgba(238, 248, 243, 0.64);
}

.chat-mini b {
  justify-self: end;
  background: #173f3b;
  color: #fff;
}

.diary-lines {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.diary-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 143, 127, 0.22), rgba(80, 119, 214, 0.16));
}

.diary-lines span:nth-child(2) { width: 78%; }
.diary-lines span:nth-child(3) { width: 54%; }

.grammar-chip {
  display: inline-flex;
  margin-top: 30px;
  padding: 11px 13px;
  background: rgba(233, 111, 95, 0.12);
  color: #9d382c;
  font-weight: 760;
}

.practice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.practice-row span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mastery-section,
.growth-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}

.mastery-copy,
.growth-copy {
  max-width: 540px;
}

.mastery-demo,
.growth-dashboard {
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.14);
}

.stage-card {
  padding: 32px;
  min-height: 292px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #123b38, #1d635a 58%, #466fd1);
  color: #fff;
}

.stage-label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 740;
}

.stage-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
}

.stage-card p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
}

.stage-progress {
  height: 12px;
  margin-top: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.stage-progress span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: var(--amber);
  transition: width 420ms ease;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stage-list button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
}

.stage-list button.is-active {
  background: var(--ink);
  color: #fff;
}

.growth-section {
  grid-template-columns: 1fr 0.88fr;
}

.growth-dashboard {
  background:
    radial-gradient(circle at 70% 16%, rgba(255, 191, 69, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 243, 0.56));
}

.dash-top {
  color: var(--muted);
  margin-bottom: 20px;
}

.dash-top strong {
  color: var(--teal-dark);
}

.xp-ring {
  width: min(290px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(var(--teal) 0 72%, rgba(15, 143, 127, 0.12) 72% 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 143, 127, 0.16);
}

.xp-ring span {
  font-size: 58px;
  font-weight: 880;
  line-height: 0.95;
}

.xp-ring small {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1;
}

.dash-list {
  display: grid;
  gap: 9px;
}

.dash-list div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}

.dash-list span {
  color: var(--muted);
}

.audience-grid article {
  background: #173f3b;
  color: #fff;
}

.audience-grid article:nth-child(2) {
  background: #2f4f86;
}

.audience-grid article:nth-child(3) {
  background: #6a4934;
}

.audience-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.final-cta {
  padding-bottom: 98px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 59, 56, 0.98), rgba(33, 95, 83, 0.98) 58%, rgba(80, 119, 214, 0.92)),
    #123b38;
  box-shadow: var(--shadow);
}

.cta-card .section-kicker,
.cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-card h2 {
  max-width: 820px;
}

.cta-card p {
  max-width: 620px;
}

.cta-card .btn-primary {
  margin-top: 18px;
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
}

.trial-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.trial-dialog::backdrop {
  background: rgba(10, 28, 26, 0.68);
  backdrop-filter: blur(5px);
}

.trial-dialog-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10, 39, 36, 0.3);
  text-align: center;
}

.trial-dialog-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.trial-dialog-card p {
  margin-bottom: 20px;
  color: var(--muted);
}

.trial-dialog-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(64svh, 560px);
  margin: 0 auto;
  border-radius: 8px;
}

.trial-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 59, 56, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 0;
}

.trial-dialog-close::before {
  content: "\00d7";
  font: 28px/1 sans-serif;
  transform: translateY(-1px);
}

.trial-dialog-close:hover,
.trial-dialog-close:focus-visible {
  background: rgba(18, 59, 56, 0.15);
}

.site-footer {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.has-js .section-reveal,
.has-js .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(.2, .8, .2, 1), transform 760ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-js .section-reveal.is-visible,
.has-js .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1); }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.92); }
  50% { transform: scaleY(1); }
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.32; transform-origin: left center; }
  50% { opacity: 0.9; }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-system {
    min-height: 520px;
  }

  .system-panel {
    min-height: 510px;
  }

  .learning-orbit {
    height: 310px;
  }

  .pain-grid,
  .audience-grid,
  .young-section,
  .mastery-section,
  .growth-section {
    grid-template-columns: 1fr;
  }

  .young-copy {
    max-width: none;
  }

  .loop-track {
    grid-template-columns: 1fr;
  }

  .loop-line {
    left: 39px;
    right: auto;
    top: 44px;
    bottom: 38px;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .loop-track.is-visible .loop-line {
    transform: scaleY(1);
  }

  .loop-step {
    padding-left: 78px;
    padding-top: 22px;
  }

  .loop-step span {
    top: 18px;
    left: 17px;
  }

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

  .feature-large,
  .feature-wide {
    grid-column: span 2;
  }

  .growth-section .growth-dashboard {
    order: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 10px 0;
  }

  .nav-shell {
    width: calc(100vw - 20px);
    min-height: 58px;
    padding: 9px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero,
  section:not(.hero),
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 28px;
    gap: 16px;
  }

  h1 {
    margin: 16px 0 14px;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.08;
  }

  .section-heading h2 + p,
  .mastery-copy h2 + p,
  .growth-copy h2 + p,
  .cta-card h2 + p {
    margin-top: 18px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-lede {
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-actions {
    margin: 22px 0 0;
  }

  .hero-proof {
    display: none;
  }

  .hero-system {
    min-height: 286px;
  }

  .system-panel {
    min-height: 286px;
    padding: 12px;
  }

  .learning-orbit {
    height: 226px;
    margin-bottom: 0;
  }

  .orbit-ring {
    inset: 24px;
  }

  .ring-b {
    inset: 58px;
  }

  .engine-core {
    width: 116px;
    height: 116px;
  }

  .engine-core .core-label {
    font-size: 18px;
  }

  .engine-core em {
    display: none;
  }

  .orbit-node {
    min-width: 58px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .node-read { right: 0; }
  .node-listen { right: 14px; bottom: 48px; }
  .node-grammar { left: 12px; bottom: 55px; }
  .node-practice { left: 0; }

  .mini-task {
    padding: 11px 12px;
  }

  .mini-task-stack {
    display: none;
  }

  section:not(.hero) {
    padding: 64px 0;
  }

  .young-visual,
  .young-visual img {
    min-height: 310px;
  }

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

  .feature-large,
  .feature-wide {
    grid-column: auto;
  }

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

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

  .stage-card {
    padding: 22px;
  }

  .trial-dialog-card {
    padding: 24px 18px 18px;
  }

  .trial-dialog-card h2 {
    font-size: 24px;
  }
}

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

  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
