@charset "UTF-8";
:root {
  color-scheme: light dark;
  --ground: #f8f5ec;
  --paper: #fffcf5;
  --ink: #193e34;
  --muted: #4e6256;
  --accent: #285f49;
  --tint: #e4ecde;
  --line: #cdd3c3;
  --button: #193e34;
  --button-ink: #fff6e4;
  --gold: #edb365;
  --error: #87342f;
  --ui: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Noto Sans SC", sans-serif;
  --prose: Georgia, "Songti SC", "Noto Serif SC", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #142c25;
    --paper: #1d372e;
    --ink: #f6efda;
    --muted: #bfd0bd;
    --accent: #c0dfba;
    --tint: #29483b;
    --line: #476555;
    --button: #edb365;
    --button-ink: #193e34;
    --error: #ffb7a8;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ground); }
body { margin: 0; color: var(--ink); font: 15px/1.65 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
::selection { color: #193e34; background: #f3cb8c; }
.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; }
.w-header, main { width: min(1224px, 100%); padding-inline: clamp(20px, 4vw, 56px); margin-inline: auto; }
.w-header { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); padding-block: 18px; }
.w-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: bold 29px/1 var(--prose); letter-spacing: -1.6px; text-decoration: none; }
.w-brand img { display: block; }
.w-nav, .w-tools { display: flex; align-items: center; gap: 25px; }
.w-nav a, .w-signin-link { color: var(--ink); text-decoration: none; font-weight: 550; }
.w-nav a:hover, .w-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.w-tools { margin-left: auto; gap: 12px; }
.w-language { padding: 8px 4px; color: var(--muted); background: var(--ground); border: 0; font: inherit; font-size: 14px; }
.w-signin-link, .w-plan-button { border: 1px solid var(--line); border-radius: 7px; padding: 8px 16px; }
.w-signin-link:hover, .w-plan-button:hover { background: var(--tint); }

.w-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(38px, 5.2vw, 76px) 0 clamp(56px, 7vw, 94px); border-top: 1px solid var(--line); }
.w-eyebrow, .w-echo { margin: 0; color: var(--accent); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, .w-price strong { font-family: var(--prose); font-weight: 500; }
h1 { margin: 15px 0 0; font-size: clamp(44px, 5.8vw, 78px); line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; }
:lang(zh) h1 { white-space: pre-line; line-height: 1.18; letter-spacing: -.045em; }
.w-lead { max-width: 34em; margin: 22px 0 26px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.62; color: var(--muted); }
.w-alert { margin: 0 0 18px; color: var(--error); }
.g-button { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border-radius: 7px; border: 1px solid #747775; background: #fff; color: #1f1f1f; text-decoration: none; font-size: 15px; font-weight: 550; }
.g-button:hover { box-shadow: 0 2px 7px #193e3426; }
.g-logo { width: 20px; height: 20px; }
.w-fineprint { color: var(--muted); margin: 11px 0 0; font-size: 13px; }

.w-lesson { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 14px 32px -16px #1b302f35; }
.w-scene { position: relative; overflow: hidden; background: #a4af79; }
.w-scene img { display: block; width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; object-position: center 60%; }
.w-scene::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, #0b281dee); }
.w-scene span { position: absolute; z-index: 1; bottom: 13px; left: clamp(16px, 2.2vw, 30px); color: #fff5d9; font: italic 36px/1.1 var(--prose); letter-spacing: -.035em; }
.w-lesson figcaption { padding: 17px clamp(16px, 2.2vw, 30px) 20px; }
.w-instruction { margin: 0; color: var(--muted); font-size: 12px; }
.w-sentence { margin: 6px 0 17px; font: clamp(19px, 1.9vw, 25px)/1.45 var(--prose); }
.w-sentence button { display: inline; margin: 0; padding: 0 .04em; border: 0; font: inherit; color: var(--ink); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: .16em; text-decoration-color: var(--accent); }
.w-sentence button[aria-pressed=true] { background: #f5d9a5; color: #193e34; text-decoration-color: #8c5b27; }
.w-sentence button:hover { text-decoration-thickness: 2px; }
.w-sentence button:disabled { cursor: text; text-decoration: none; }
.w-gloss { border-top: 1px solid var(--line); padding-top: 11px; font-size: 14px; }
.w-gloss p { margin: 0; }
.w-gloss p:first-child { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.w-gloss strong { font: bold 19px/1.4 var(--prose); }
.w-echo { padding-inline-end: 9px; border-inline-end: 1px solid var(--line); font-size: 11px; }
#w-word-pos { font-size: 12px; font-style: italic; }
#w-word-pos, #w-definition { color: var(--muted); }

h2 { margin: 0; font-size: clamp(30px, 3.7vw, 48px); line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.w-features, .w-pricing, .w-faq { padding: clamp(34px, 5.2vw, 66px) 0; border-top: 1px solid var(--line); }
.w-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 20px 0 0; padding: 0; gap: 0 clamp(24px, 4vw, 50px); }
.w-grid li { padding: 22px 0 18px; }
.w-grid li:nth-child(n+4) { border-top: 1px solid var(--line); }
.w-icon { display: block; width: 27px; height: 27px; fill: none; stroke: var(--accent); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.w-grid h3 { margin: 9px 0 5px; font-size: 18px; font-weight: 650; line-height: 1.4; }
.w-grid p, .w-section-lead { color: var(--muted); margin: 0; }
.w-section-lead { margin: 11px 0 24px; }
.w-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.w-plan { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.w-plan-pro { background: var(--tint); }
.w-plan h3 { margin: 0; font-size: 18px; }
.w-price { margin: 8px 0 0; color: var(--muted); }
.w-price strong { font-size: 34px; line-height: 1.2; color: var(--ink); margin-right: 4px; }
.w-price-alt, .w-trial { color: var(--muted); font-size: 14px; margin: 4px 0; }
.w-plan ul { margin: 18px 0; padding-inline-start: 18px; color: var(--muted); flex: 1; }
.w-plan li { margin: 4px 0; }
.w-plan-button { align-self: flex-start; margin-top: 10px; font-weight: 600; text-decoration: none; }
.w-plan-button.primary { color: var(--button-ink); background: var(--button); border-color: transparent; }
.w-faq h2 { margin-bottom: 18px; }
.w-faq details { border-bottom: 1px solid var(--line); }
.w-faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; }
.w-faq details p { max-width: 65ch; margin: 0 0 16px; color: var(--muted); }
.w-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 24px 16px 38px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.w-footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 760px) {
  .w-nav { display: none; }
  .w-hero { grid-template-columns: 1fr; gap: 28px; }
  .w-grid { grid-template-columns: 1fr 1fr; }
  .w-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .w-header { flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  .w-brand { font-size: 25px; gap: 6px; }
  .w-brand img { width: 33px; height: 33px; }
  .w-tools { gap: 5px; }
  .w-signin-link { padding: 6px 8px; font-size: 13px; }
  .w-language { font-size: 13px; }
  .w-grid, .w-plans { grid-template-columns: 1fr; }
  .w-grid li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .w-grid li { display: grid; grid-template-columns: 30px 1fr; gap: 3px 12px; align-items: start; padding: 16px 0; }
  .w-grid h3 { margin: 0; }
  .w-grid p { grid-column: 2; }
}
@media (max-width: 360px) {
  .w-header { padding-inline: 12px; }
  .w-brand { font-size: 22px; }
  .w-brand img { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
