:root {
  color-scheme: light;
  --ink: #142744;
  --muted: #647083;
  --paper: #fff9f8;
  --panel: #ffffff;
  --line: #e8e5ec;
  --teal: #2fc5b4;
  --teal-dark: #138f87;
  --pink: #ff5f8f;
  --pink-soft: #ffe3eb;
  --purple: #7759d8;
  --gold: #ffb21c;
  --sky: #eef7ff;
  --shadow: 0 24px 70px rgba(29, 45, 76, 0.12);
  --radius-lg: 34px;
  --radius-md: 23px;
  --radius-sm: 14px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 4%, rgba(255, 95, 143, 0.11), transparent 25rem),
    radial-gradient(circle at 96% 12%, rgba(47, 197, 180, 0.12), transparent 30rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--pink); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 39, 68, 0.09);
  background: rgba(255, 249, 248, 0.9);
  backdrop-filter: blur(18px);
}
.nav-shell, .shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 820;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 20px rgba(29, 45, 76, 0.14); }
.brand small { color: var(--teal-dark); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-size: 0.86rem; font-weight: 730; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--teal-dark); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--pink), #ee3972);
  box-shadow: 0 13px 30px rgba(238, 57, 114, 0.24);
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:visited { color: white; }
.button:hover { color: white; transform: translateY(-2px); box-shadow: 0 17px 34px rgba(238, 57, 114, 0.29); }
.button.secondary { color: var(--ink); border-color: var(--line); background: white; box-shadow: none; }
.button.secondary:hover { color: var(--teal-dark); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(47, 197, 180, 0.5); outline-offset: 3px; }

.hero { padding: 84px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr); align-items: center; gap: clamp(2.6rem, 6vw, 6rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--gold), var(--teal)); content: ""; }
h1, h2, h3 { margin: 0; font-weight: 840; letter-spacing: -0.04em; line-height: 1.08; }
h1 { max-width: 760px; font-size: clamp(3.1rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.55rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
.gradient-text { color: transparent; background: linear-gradient(110deg, var(--teal-dark), var(--purple) 47%, var(--pink) 78%, #e19400); background-clip: text; -webkit-background-clip: text; }
.lede { max-width: 720px; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.microcopy { margin: 1.1rem 0 0; color: var(--muted); font-size: 0.87rem; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 1.8rem; }
.fact-row div { padding: 0.9rem 0.95rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.7); }
.fact-row strong, .fact-row span { display: block; }
.fact-row strong { font-size: 0.84rem; line-height: 1.2; }
.fact-row span { margin-top: 0.35rem; color: var(--muted); font-size: 0.7rem; line-height: 1.35; }

.phone-stage { position: relative; min-height: 590px; }
.phone-stage::before { position: absolute; inset: 7% 1% 3% 8%; border-radius: 50% 50% 42% 56%; background: linear-gradient(145deg, rgba(255, 95, 143, 0.17), rgba(47, 197, 180, 0.17)); content: ""; transform: rotate(-5deg); }
.hanzi-orbit { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hanzi-orbit span { position: absolute; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(20, 39, 68, 0.08); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(29,45,76,0.1); font-size: 1.5rem; font-weight: 850; }
.hanzi-orbit span:nth-child(1) { left: 0; top: 7%; color: var(--teal-dark); transform: rotate(-10deg); }
.hanzi-orbit span:nth-child(2) { right: 3%; top: 5%; color: var(--pink); transform: rotate(8deg); }
.hanzi-orbit span:nth-child(3) { left: 1%; bottom: 4%; color: var(--purple); transform: rotate(7deg); }
.hanzi-orbit span:nth-child(4) { right: 0; bottom: 9%; color: #d58900; transform: rotate(-8deg); }
.phone { position: absolute; z-index: 2; width: min(274px, 69%); overflow: hidden; border: 9px solid #19263a; border-radius: 42px; background: #19263a; box-shadow: 0 32px 72px rgba(29,45,76,0.25); }
.phone.primary { left: 7%; top: 0; transform: rotate(-3.5deg); }
.phone.secondary-shot { right: 0; bottom: 0; transform: rotate(5deg) scale(0.83); }
.phone img { width: 100%; border-radius: 32px; }

.overview { padding: 74px 0 80px; border-block: 1px solid rgba(20,39,68,0.08); background: white; }
.section { padding: 92px 0; }
.section-heading { max-width: 780px; margin-bottom: 3.6rem; }
.section-heading p:last-child { max-width: 680px; margin: 1rem 0 0; color: var(--muted); font-size: 1.03rem; }
.compact-heading { margin-bottom: 2.2rem; }
.skill-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; }
.skill-card { min-height: 154px; padding: 1.15rem; border: 1px solid rgba(20,39,68,0.08); border-radius: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.skill-card > span { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 1rem; border-radius: 14px; background: white; box-shadow: 0 8px 20px rgba(29,45,76,0.08); font-size: 1.1rem; font-weight: 850; }
.skill-card strong { font-size: 1.05rem; }
.skill-card small { margin-top: 0.25rem; color: var(--muted); line-height: 1.4; }
.listen-card { background: #e3faf6; } .speak-card { background: #ffe7ee; } .read-card { background: #eeeafe; } .write-card { background: #fff3d6; } .review-card { background: #eaf4ff; }

.feature-story { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); padding: 4.5rem 0; border-top: 1px solid var(--line); }
.feature-story:first-of-type { border-top: 0; padding-top: 0; }
.reverse-story .feature-copy { order: 2; } .reverse-story .feature-figure { order: 1; }
.story-number, .mini-label { margin: 0 0 0.85rem; color: var(--pink); font-size: 0.77rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-copy > p:not(.story-number), .practice-card p, .review-copy > p:not(.eyebrow), .pro-grid p, .facts-grid p { color: var(--muted); }
.feature-copy > p:not(.story-number) { max-width: 610px; margin: 1.2rem 0 0; font-size: 1.02rem; }
.fact-list { margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.fact-list div { display: grid; grid-template-columns: 105px 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--teal-dark); font-weight: 820; } .fact-list dd { margin: 0; color: var(--muted); }
.feature-figure { margin: 0; display: grid; justify-items: center; }
.screen-card { width: min(320px, 82%); overflow: hidden; border: 9px solid #19263a; border-radius: 44px; background: #19263a; box-shadow: var(--shadow); transform: rotate(2deg); }
.reverse-story .screen-card { transform: rotate(-2deg); }
.screen-card img { width: 100%; border-radius: 33px; }
.feature-figure figcaption { max-width: 430px; margin-top: 1.2rem; color: var(--muted); font-size: 0.82rem; text-align: center; }
.answer-card { margin-top: 1.7rem; padding: 1.25rem 1.35rem; border: 1px solid rgba(47,197,180,0.26); border-radius: 20px; background: linear-gradient(135deg, #e9fbf8, #fff); }
.answer-card span, .answer-card strong, .answer-card em { display: block; }
.answer-card span { color: var(--teal-dark); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.answer-card strong { margin-top: 0.55rem; font-size: 2.1rem; letter-spacing: 0.08em; }
.answer-card em { color: var(--pink); font-style: normal; font-weight: 760; }
.answer-card p { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.9rem; }

.soft-section { background: linear-gradient(180deg, rgba(238,247,255,0.66), rgba(255,255,255,0.86)); border-block: 1px solid rgba(20,39,68,0.07); }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.practice-card { position: relative; min-height: 540px; padding: 2rem; overflow: hidden; border: 1px solid rgba(20,39,68,0.08); border-radius: 30px; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 1.5rem; box-shadow: 0 16px 44px rgba(29,45,76,0.08); }
.practice-card img { align-self: end; width: 190px; max-height: 410px; object-fit: cover; object-position: top; border: 7px solid #19263a; border-radius: 30px 30px 0 0; box-shadow: 0 18px 35px rgba(29,45,76,0.18); }
.practice-number { position: absolute; right: 1.5rem; top: 1.2rem; color: rgba(20,39,68,0.11); font-size: 4rem; font-weight: 900; line-height: 1; }
.practice-card p { line-height: 1.55; }
.mint-card { background: #e9fbf8; } .pink-card { background: #fff0f4; } .purple-card { background: #f2efff; } .gold-card { background: #fff7e5; }

.review-grid { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.review-copy h2 { max-width: 690px; }
.review-copy > p:not(.eyebrow) { max-width: 640px; font-size: 1.05rem; }
.review-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 2rem; }
.review-steps div { min-height: 145px; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.review-steps span { display: grid; width: 28px; height: 28px; place-items: center; margin-bottom: 0.8rem; border-radius: 50%; color: white; background: var(--teal); font-size: 0.75rem; font-weight: 850; }
.review-steps strong, .review-steps small { display: block; }
.review-steps small { margin-top: 0.3rem; color: var(--muted); line-height: 1.35; }
.vocab-visual { position: relative; min-height: 520px; border: 1px solid rgba(20,39,68,0.07); border-radius: 38px; background: linear-gradient(145deg, #e8fbf7, #fff0f4); box-shadow: var(--shadow); overflow: hidden; }
.panda-icon { position: absolute; width: 170px; right: 2rem; top: 1.7rem; border-radius: 38px; filter: drop-shadow(0 16px 25px rgba(29,45,76,0.13)); }
.vocab-card { position: absolute; left: 2rem; top: 5rem; width: 58%; padding: 1.2rem 1.3rem; border: 1px solid rgba(20,39,68,0.09); border-radius: 22px; background: rgba(255,255,255,0.94); box-shadow: 0 17px 36px rgba(29,45,76,0.11); transform: rotate(-3deg); }
.vocab-card span, .vocab-card strong, .vocab-card em, .vocab-card small { display: block; }
.vocab-card span { color: var(--pink); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.vocab-card strong { margin-top: 0.45rem; font-size: 2.4rem; letter-spacing: 0.07em; }
.vocab-card em { color: var(--teal-dark); font-style: normal; font-weight: 760; }
.vocab-card small { margin-top: 0.45rem; color: var(--muted); }
.idiom-vocab { left: auto; right: 2rem; top: auto; bottom: 3.4rem; width: 68%; transform: rotate(2.5deg); }

.pro-section { color: white; background: var(--ink); }
.pro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.pro-section .eyebrow { color: #78e1d5; }
.pro-grid p { max-width: 650px; color: #b9c3d1; }
.pro-card { padding: 2rem; border: 1px solid rgba(255,255,255,0.13); border-radius: 28px; background: linear-gradient(145deg, rgba(47,197,180,0.15), rgba(119,89,216,0.12)); box-shadow: 0 25px 70px rgba(0,0,0,0.22); }
.pro-card > span { color: #78e1d5; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.pro-card ul { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; }
.pro-card li { position: relative; padding: 0.62rem 0 0.62rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pro-card li::before { position: absolute; left: 0; top: 0.58rem; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); content: "✓"; font-size: 0.72rem; font-weight: 900; }
.pro-card small { color: #aab5c5; }

.facts-section { background: white; }
.facts-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(3rem, 8vw, 7rem); }
.source-facts { margin: 0; border-top: 1px solid var(--line); }
.source-facts div { display: grid; grid-template-columns: 145px 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.source-facts dt { color: var(--muted); font-weight: 700; } .source-facts dd { margin: 0; font-weight: 740; }

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: start; gap: clamp(3rem, 8vw, 7rem); }
.faq-grid .section-heading { position: sticky; top: 110px; margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.2rem 2rem 1.2rem 0; cursor: pointer; font-size: 1.06rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 0; top: 1.15rem; color: var(--teal-dark); content: "+"; font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: -0.25rem 0 1.35rem; color: var(--muted); }

.final-cta { padding: 34px 0 90px; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2.4rem; border: 1px solid rgba(20,39,68,0.08); border-radius: 34px; background: linear-gradient(135deg, #e6fbf7, #fff0f4 55%, #fff7df); box-shadow: var(--shadow); }
.cta-card > img { width: 120px; border-radius: 28px; box-shadow: 0 12px 30px rgba(29,45,76,0.12); }
.cta-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-card p:not(.eyebrow) { margin: 0.65rem 0 0; color: var(--muted); }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.82rem; font-weight: 720; }

@media (max-width: 980px) {
  .nav-extra { display: none; }
  .hero-grid, .review-grid, .pro-grid, .facts-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .phone-stage { width: min(620px, 100%); margin-inline: auto; }
  .skill-strip { grid-template-columns: repeat(3, 1fr); }
  .practice-card { min-height: 500px; }
  .faq-grid .section-heading { position: static; }
  .cta-card { grid-template-columns: auto 1fr; }
  .cta-card .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-shell, .shell { width: min(100% - 28px, 1160px); }
  .nav-shell { min-height: 66px; }
  .brand small { display: none; }
  .nav-links .button { min-height: 42px; padding: 0.55rem 0.8rem; font-size: 0.76rem; }
  .hero { padding: 58px 0 54px; }
  .hero-grid { gap: 3rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .fact-row { grid-template-columns: 1fr; }
  .phone-stage { min-height: 530px; }
  .phone { width: min(250px, 70%); }
  .section, .overview { padding: 68px 0; }
  .section-heading { margin-bottom: 2.5rem; }
  .skill-strip { grid-template-columns: 1fr 1fr; }
  .feature-story { grid-template-columns: 1fr; gap: 2.6rem; padding: 3.4rem 0; }
  .reverse-story .feature-copy, .reverse-story .feature-figure { order: initial; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 470px; grid-template-columns: minmax(0, 1fr) 155px; padding: 1.35rem; }
  .practice-card img { width: 155px; max-height: 370px; }
  .review-steps { grid-template-columns: 1fr; }
  .vocab-visual { min-height: 460px; }
  .panda-icon { width: 130px; right: 1.2rem; }
  .vocab-card { left: 1.2rem; width: 65%; }
  .idiom-vocab { left: auto; right: 1.2rem; width: 75%; }
  .source-facts div { grid-template-columns: 120px 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 1.6rem; }
  .cta-card .button { grid-column: auto; justify-self: stretch; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 0.94rem; }
  .nav-links .button { max-width: none; padding-inline: 0.65rem; font-size: 0.68rem; white-space: nowrap; }
  .hero-actions .button { width: 100%; }
  .phone-stage { min-height: 430px; }
  .phone { width: 205px; border-width: 7px; border-radius: 34px; }
  .phone img { border-radius: 25px; }
  .hanzi-orbit span { width: 46px; height: 46px; border-radius: 14px; font-size: 1.15rem; }
  .skill-strip { grid-template-columns: 1fr; }
  .skill-card { min-height: auto; }
  .practice-card { min-height: 660px; grid-template-columns: 1fr; align-items: start; }
  .practice-card img { width: 190px; max-height: 390px; justify-self: center; }
  .vocab-card { width: 76%; }
  .idiom-vocab { width: 84%; }
  .source-facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
