:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --paper-deep: #efebdf;
  --card: #fbf9f4;
  --ink: #2c3832;
  --text: #45514a;
  --muted: #5f675d;
  --clay: #9d5535;
  --clay-soft: rgba(157, 85, 53, .16);
  --green: #123e3d;
  --line: #dcd6c9;
  --on-green: #f7f4ec;
  --on-green-soft: #c9d2c7;
  --on-green-accent: #e4aa82;
  --serif: Georgia, 'Songti SC', 'Noto Serif CJK SC', 'Source Han Serif SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', sans-serif;
  --book: Georgia, 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Songti SC', serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2 { text-wrap: balance; }
.nb { display: inline-block; }
.lede, .section-head p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
label { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 10px 14px; border-radius: 8px; background: var(--green); color: var(--on-green); }
.skip:focus { top: 12px; }
/* Visually hidden state inputs. Their labels carry the interaction. */
.lang-check, .t-hl, .t-gloss, .t-bi, .t-card, .t-note, .t-task, .t-rv { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

.masthead { position: relative; z-index: 10; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--serif); text-decoration: none; color: var(--green); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.sections { display: flex; justify-content: center; gap: 28px; font-size: 15px; }
.sections a { color: var(--text); text-decoration: none; white-space: nowrap; }
.sections a:hover { color: var(--clay); }
.masthead-actions { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.store-pill { padding: 7px 15px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.store-pill:hover { background: var(--green); color: var(--on-green); }

.lang { position: relative; }
.lang-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 11px; border-radius: 999px; color: var(--text); font-size: 14px; cursor: pointer; user-select: none; transition: background .2s, color .2s; }
.globe, .chev { fill: none; stroke: currentColor; }
.globe { stroke-width: 1.3; }
.chev { stroke-width: 1.5; transition: transform .2s var(--ease); }
.lang-scrim { display: none; }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; min-width: 176px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 24px 48px -24px rgba(31, 38, 34, .35); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease); }
.lang-list::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: 14px; text-decoration: none; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--paper-deep); color: var(--green); }
.lang-list a:focus-visible { outline-offset: -2px; }
.lang-list a[aria-current]::after { content: ''; width: 10px; height: 5px; margin-top: -3px; border-left: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay); transform: rotate(-45deg); }
.lang:has(:focus-visible) .lang-list, .lang-check:checked ~ .lang-list { opacity: 1; pointer-events: auto; transform: none; }
.lang:has(:focus-visible) .lang-trigger, .lang-check:checked ~ .lang-trigger { background: rgba(18, 62, 61, .06); color: var(--green); }
.lang:has(:focus-visible) .chev, .lang-check:checked ~ .lang-trigger .chev { transform: rotate(180deg); }
.lang-check:checked ~ .lang-scrim { position: fixed; inset: 0; display: block; }
@media (hover: hover) {
  .lang:hover .lang-trigger { background: rgba(18, 62, 61, .06); color: var(--green); }
  .lang:hover .chev { transform: rotate(180deg); }
  .lang:hover .lang-list { opacity: 1; pointer-events: auto; transform: none; }
}

.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
:lang(zh) .eyebrow { letter-spacing: .08em; text-transform: none; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.fine.region { margin-top: 4px; }
.text-link { color: var(--ink); font-weight: 500; text-decoration-color: var(--line); }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 12px 26px -16px rgba(18, 62, 61, .8); }
.store:hover { background: #0b2c2b; color: var(--on-green); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding: 32px 0 96px; }
h1 { margin-top: 18px; font: 400 clamp(42px, 5.2vw, 70px)/1.06 var(--serif); letter-spacing: -.02em; color: var(--green); }
h1 span { display: block; color: var(--ink); }
:lang(zh) h1 { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.2; letter-spacing: 0; }
.lede { max-width: 33em; margin-top: 26px; font-size: 19px; line-height: 1.7; color: var(--text); }
:lang(zh) .lede { font-size: 18px; line-height: 1.85; }

/* A looked-up word: pronunciation above, meaning in the gap below, the line untouched. */
.gl { position: relative; display: inline-block; line-height: 1.25; text-indent: 0; }
.gl .w { border-radius: 3px; }
.nw { white-space: nowrap; }
.ipa { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font: 10.5px/1.3 var(--sans); color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.mean { position: absolute; top: 100%; left: 50%; z-index: 1; margin-top: 1px; padding: 0 4px; border-radius: 3px; background: var(--paper); transform: translateX(-50%); font: 11.5px/1.45 var(--sans); color: var(--clay); white-space: nowrap; letter-spacing: 0; }
.gl.lead .ipa, .gl.lead .mean { left: 0; transform: none; }

.hero-reader { display: flex; flex-direction: column; align-items: center; }
.hl-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 470px; margin-bottom: 18px; }
.hl-tabs > span { width: 100%; margin-bottom: 2px; text-align: center; font-size: 13px; color: var(--muted); }
.hl-tabs label { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hl-tabs label:hover { border-color: var(--clay); color: var(--clay); }
.t-hl:nth-of-type(1):checked ~ .hl-tabs label:nth-of-type(1), .t-hl:nth-of-type(2):checked ~ .hl-tabs label:nth-of-type(2),
.t-hl:nth-of-type(3):checked ~ .hl-tabs label:nth-of-type(3), .t-hl:nth-of-type(4):checked ~ .hl-tabs label:nth-of-type(4),
.t-hl:nth-of-type(5):checked ~ .hl-tabs label:nth-of-type(5) { border-color: var(--green); background: var(--green); color: var(--on-green); }
.t-hl:nth-of-type(1):focus-visible ~ .hl-tabs label:nth-of-type(1), .t-hl:nth-of-type(2):focus-visible ~ .hl-tabs label:nth-of-type(2),
.t-hl:nth-of-type(3):focus-visible ~ .hl-tabs label:nth-of-type(3), .t-hl:nth-of-type(4):focus-visible ~ .hl-tabs label:nth-of-type(4),
.t-hl:nth-of-type(5):focus-visible ~ .hl-tabs label:nth-of-type(5) { outline: 2px solid var(--clay); outline-offset: 2px; }
.hl-phone { width: min(350px, 100%); padding: 9px; border-radius: 54px; background: #1f2622; box-shadow: 0 40px 70px -36px rgba(31, 38, 34, .65), 0 14px 28px -20px rgba(31, 38, 34, .4); }
.hl-screen { position: relative; height: 620px; overflow: hidden; padding: 54px 24px 0; border-radius: 46px; background: var(--paper); }
.hl-screen::before { content: ''; position: absolute; top: 13px; left: 50%; width: 94px; height: 27px; border-radius: 20px; background: #1f2622; transform: translateX(-50%); }
.hl-panel { display: none; }
.t-hl:nth-of-type(1):checked ~ .hl-phone .hl-panel:nth-of-type(1), .t-hl:nth-of-type(2):checked ~ .hl-phone .hl-panel:nth-of-type(2),
.t-hl:nth-of-type(3):checked ~ .hl-phone .hl-panel:nth-of-type(3), .t-hl:nth-of-type(4):checked ~ .hl-phone .hl-panel:nth-of-type(4),
.t-hl:nth-of-type(5):checked ~ .hl-phone .hl-panel:nth-of-type(5) { display: block; }
.hl-bar, .demo-top { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); text-align: center; }
.hl-book { font-size: 10px; line-height: 1.35; color: var(--muted); }
.hl-book b { display: block; font: 500 13px/1.3 var(--book); color: var(--ink); }
.hl-back { width: 10px; height: 10px; margin-left: 4px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.hl-more { width: 20px; height: 4px; background: radial-gradient(circle, var(--ink) 1.6px, transparent 2px) 0 0 / 7px 4px repeat-x; }
.hl-panel .demo-kicker { margin-top: 30px; }
.hl-title { margin-top: 6px; font: 400 27px/1.25 var(--book); color: var(--ink); }
.hl-text { margin-top: 22px; font: 19px/2.8 var(--book); color: #303a34; }
.hl-panel:lang(ja) .hl-text { font-size: 18px; }
.hl-ask { position: absolute; bottom: 22px; left: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 10px 24px -14px rgba(31, 38, 34, .4); transform: translateX(-50%); font-size: 13px; color: var(--text); white-space: nowrap; }
.hl-ask::before { content: ''; width: 13px; height: 11px; border: 1.3px solid currentColor; border-radius: 4px 4px 4px 1px; }
.hl-note { max-width: 27em; margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.55; color: var(--muted); }
/* Each sample replays a lookup: the word is picked, then its notes settle in. */
.hl-panel .gl .w { animation: pick 1.1s ease both; }
.hl-panel .gl .ipa, .hl-panel .gl .mean { animation: settle .5s var(--ease) both; }
.hl-panel .gl:nth-of-type(1) .w { animation-delay: .45s; }
.hl-panel .gl:nth-of-type(1) .ipa, .hl-panel .gl:nth-of-type(1) .mean { animation-delay: .8s; }
.hl-panel .gl:nth-of-type(2) .w { animation-delay: 1.5s; }
.hl-panel .gl:nth-of-type(2) .ipa, .hl-panel .gl:nth-of-type(2) .mean { animation-delay: 1.85s; }
@keyframes pick { 0%, 100% { background: transparent; } 25%, 65% { background: var(--clay-soft); } }
@keyframes settle { from { opacity: 0; translate: 0 -4px; } }
@keyframes fade { from { opacity: 0; } }

.why { padding: 0 0 104px; }
.why h2 { max-width: 18em; margin-top: 14px; font: 400 clamp(30px, 3.6vw, 44px)/1.15 var(--serif); letter-spacing: -.01em; color: var(--green); }
:lang(zh) .why h2 { line-height: 1.3; letter-spacing: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.why-grid > li { padding: 20px 20px 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.why-grid > li > h3 { font: 600 17px/1.4 var(--sans); color: var(--ink); }
.why-grid > li > p { margin-top: 6px; font-size: 15.5px; color: var(--text); }
.mini { display: flex; flex-direction: column; justify-content: center; height: 132px; margin-bottom: 22px; padding: 0 18px; overflow: hidden; border-radius: 14px; background: var(--paper); }
.mini-line { font: 17px/2.6 var(--book); color: #303a34; white-space: nowrap; }
.mini-pair .mini-line { line-height: 2.25; }
.mini-pair .mini-line + .mini-line { border-top: 1px dashed var(--line); }
.mini-chain { display: grid; gap: 5px; font-size: 12.5px; color: var(--text); }
.mini-chain li { display: flex; align-items: center; gap: 8px; }
.mini-chain li::before { content: ''; width: 9px; height: 5px; margin: -3px 2px 0; border-left: 1.4px solid var(--clay); border-bottom: 1.4px solid var(--clay); transform: rotate(-45deg); }
.mini-chain li:first-child { width: fit-content; margin-bottom: 3px; padding: 3px 11px 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.mini-chain li:first-child::before { width: 11px; height: 9px; margin: 0; border: 1.2px solid currentColor; border-radius: 3px 3px 3px 1px; transform: none; }
.band { border-block: 1px solid var(--line); background: var(--paper-deep); }
.section-head { max-width: 680px; }
.section-head h2 { margin-top: 14px; font: 400 clamp(32px, 4vw, 48px)/1.12 var(--serif); letter-spacing: -.015em; color: var(--green); }
:lang(zh) .section-head h2 { line-height: 1.3; letter-spacing: 0; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 18px; color: var(--text); }
.points { display: grid; gap: 26px; }
.points li { padding-top: 20px; border-top: 1px solid var(--line); }
.points h3 { font: 600 17px/1.4 var(--sans); color: var(--ink); }
.points p { margin-top: 6px; font-size: 16px; color: var(--text); }

.reading { padding: 100px 0; }
.reading-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: start; margin-top: 52px; }
.languages { max-width: 52em; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.demo { position: relative; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.demo-bar > span { margin-right: 2px; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); cursor: pointer; user-select: none; }
.sw:hover { border-color: var(--clay); }
.sw::before { content: ''; width: 28px; height: 17px; border-radius: 999px; background: radial-gradient(circle at 8.5px 50%, #fff 5.5px, transparent 6px), var(--line); transition: background .2s; }
.t-gloss:checked ~ .demo-bar .sw-gloss::before, .t-bi:checked ~ .demo-bar .sw-bi::before { background: radial-gradient(circle at 19.5px 50%, #fff 5.5px, transparent 6px), var(--green); }
.t-gloss:focus-visible ~ .demo-bar .sw-gloss, .t-bi:focus-visible ~ .demo-bar .sw-bi { outline: 2px solid var(--clay); outline-offset: 2px; }
.demo-frame { position: relative; height: 640px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: 0 34px 60px -44px rgba(31, 38, 34, .5); }
.demo-frame::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(31, 38, 34, 0); pointer-events: none; transition: background .3s; }
.t-card:checked ~ .demo-frame::after, .t-note:checked ~ .demo-frame::after { background: rgba(31, 38, 34, .14); }
.demo-top { padding: 16px 22px 12px; }
.demo-page { height: calc(100% - 57px); overflow-y: auto; padding: 28px 32px 64px; font: 19px/2.35 var(--book); color: #303a34; scrollbar-width: thin; }
.demo-kicker { font: 600 10.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.demo-title { margin: 8px 0 18px; font: 400 30px/1.25 var(--book); color: var(--ink); }
.demo-page > p + p:not(.demo-title) { margin-top: .9em; }
.demo-page .ipa, .demo-page .mean { transition: opacity .25s; }
.t-gloss:not(:checked) ~ .demo-frame .ipa, .t-gloss:not(:checked) ~ .demo-frame .mean { opacity: 0; pointer-events: none; }
.demo-page label.mean { cursor: pointer; animation: hint 2.6s ease-in-out 1s 3; }
.demo-page label.mean::after { content: ''; position: absolute; inset: -10px -8px; }
.demo-page label.mean:hover, .t-card:checked ~ .demo-frame label.mean { background: #ecdccb; }
.t-card:focus-visible ~ .demo-frame label.mean { outline: 2px solid var(--clay); outline-offset: 2px; }
@keyframes hint { 50% { box-shadow: 0 0 0 6px var(--clay-soft); } }
.noted { cursor: pointer; text-decoration: underline dashed 1px; text-decoration-color: rgba(157, 85, 53, .6); text-underline-offset: .32em; border-radius: 3px; transition: background .2s; }
.noted:hover, .t-note:checked ~ .demo-frame .noted { background: rgba(157, 85, 53, .08); }
.t-note:focus-visible ~ .demo-frame .noted { outline: 2px solid var(--clay); outline-offset: 2px; }
.tr { display: none; }
.t-bi:checked ~ .demo-frame .tr { display: block; margin: 10px 0 14px; font: 15px/1.7 var(--sans); color: var(--muted); animation: fade .4s both; }
.t-bi:checked ~ .demo-frame .demo-page > p:not(.demo-kicker, .demo-title) { position: relative; }
.t-bi:checked ~ .demo-frame .demo-page > p:not(.demo-kicker, .demo-title)::before { content: ''; position: absolute; inset-block: .4em; left: -14px; width: 2px; border-radius: 1px; background: var(--line); }
.sheet { position: absolute; inset: auto 0 0; z-index: 2; max-height: calc(100% - 40px); overflow: auto; padding: 12px 26px 24px; border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; background: var(--card); box-shadow: 0 -20px 44px -26px rgba(31, 38, 34, .4); transform: translateY(102%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; }
.t-card:checked ~ .demo-frame .card-sheet, .t-note:checked ~ .demo-frame .note-sheet { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s; }
.sheet::before { content: ''; display: block; width: 36px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: var(--line); }
.sheet-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.sheet-close::before, .sheet-close::after { content: ''; position: absolute; top: 16px; left: 10px; width: 14px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.sheet-close::after { transform: rotate(-45deg); }
.sheet-close:hover { background: var(--paper-deep); }
.card-word { margin-top: 4px; font: 400 28px/1.2 var(--book); color: var(--ink); }
.card-reading { margin-top: 4px; font-size: 12px; color: var(--muted); }
.card-meaning { margin-top: 6px; font: 19px/1.4 var(--serif); color: var(--clay); }
.sheet blockquote { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--paper-deep); font-size: 14px; line-height: 1.6; color: var(--text); }
.sheet blockquote p:first-child:not(:last-child) { margin-bottom: 6px; font: 15px/1.55 var(--book); color: var(--muted); }
.note-sheet blockquote p { font: 16px/1.6 var(--book); color: var(--ink); }
.sheet strong { color: var(--ink); }
.card-label { margin-top: 16px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.note-sheet .card-label { margin-top: 4px; }
.card-text, .senses li { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text); }
.senses span { margin-right: 8px; font-size: 12px; color: var(--muted); }
.card-example { margin-top: 4px; font: 15px/1.5 var(--book); color: var(--ink); }
.note-text { margin-top: 14px; font: 17px/1.75 var(--serif); color: var(--ink); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-actions li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text); }
.demo-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.agent { padding: 104px 0; background: var(--green); color: var(--on-green); }
.agent .eyebrow, .agent .sub { color: var(--on-green-accent); }
.agent .section-head h2 { color: var(--on-green); }
.agent .section-head p:not(.eyebrow) { color: var(--on-green-soft); }
.agent :focus-visible { outline-color: var(--on-green-accent); }
.agent-demo { margin-top: 48px; }
.task-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.task-picks > span { margin-right: 6px; font-size: 13px; color: var(--on-green-soft); }
.task-picks label { padding: 8px 15px; border: 1px solid rgba(247, 244, 236, .24); border-radius: 999px; color: var(--on-green); font-size: 14px; cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.task-picks label:hover { border-color: var(--on-green-accent); }
.t-task:nth-of-type(1):checked ~ .task-picks label:nth-of-type(1), .t-task:nth-of-type(2):checked ~ .task-picks label:nth-of-type(2),
.t-task:nth-of-type(3):checked ~ .task-picks label:nth-of-type(3), .t-task:nth-of-type(4):checked ~ .task-picks label:nth-of-type(4),
.t-task:nth-of-type(5):checked ~ .task-picks label:nth-of-type(5), .t-task:nth-of-type(6):checked ~ .task-picks label:nth-of-type(6) { border-color: var(--on-green); background: var(--on-green); color: var(--green); }
.t-task:nth-of-type(1):focus-visible ~ .task-picks label:nth-of-type(1), .t-task:nth-of-type(2):focus-visible ~ .task-picks label:nth-of-type(2),
.t-task:nth-of-type(3):focus-visible ~ .task-picks label:nth-of-type(3), .t-task:nth-of-type(4):focus-visible ~ .task-picks label:nth-of-type(4),
.t-task:nth-of-type(5):focus-visible ~ .task-picks label:nth-of-type(5), .t-task:nth-of-type(6):focus-visible ~ .task-picks label:nth-of-type(6) { outline: 2px solid var(--on-green-accent); outline-offset: 2px; }
.task-panels { margin-top: 22px; }
.task-panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 20px; align-items: start; }
.t-task:nth-of-type(1):checked ~ .task-panels .task-panel:nth-child(1), .t-task:nth-of-type(2):checked ~ .task-panels .task-panel:nth-child(2),
.t-task:nth-of-type(3):checked ~ .task-panels .task-panel:nth-child(3), .t-task:nth-of-type(4):checked ~ .task-panels .task-panel:nth-child(4),
.t-task:nth-of-type(5):checked ~ .task-panels .task-panel:nth-child(5), .t-task:nth-of-type(6):checked ~ .task-panels .task-panel:nth-child(6) { display: grid; }
.convo { min-height: 384px; padding: 26px; border: 1px solid rgba(247, 244, 236, .14); border-radius: 22px; background: rgba(247, 244, 236, .05); }
.you { width: fit-content; max-width: 30em; margin-left: auto; padding: 11px 16px 12px; border-radius: 18px 18px 4px 18px; background: var(--on-green); color: var(--green); font-size: 16px; line-height: 1.55; animation: rise .4s var(--ease) both; }
.you span { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.process { margin-top: 22px; }
.process-head { font-size: 13px; color: var(--on-green-soft); }
.ph { display: inline-grid; }
.ph > span { grid-area: 1 / 1; }
.ph-run { animation: gone .2s both; }
.ph-done { color: var(--on-green-accent); animation: show .2s both; }
.process ol { margin-top: 8px; }
.process li { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; padding: 11px 0; border-top: 1px solid rgba(247, 244, 236, .1); animation: rise .35s var(--ease) both; }
.process b { font-size: 15px; font-weight: 600; color: var(--on-green); }
.process li > span:last-child { grid-column: 2; font-size: 14px; color: var(--on-green-soft); }
.st { position: relative; grid-row: span 2; width: 16px; height: 16px; margin-top: 4px; }
.st::before { content: ''; position: absolute; inset: 0; border: 1.5px solid rgba(247, 244, 236, .25); border-top-color: var(--on-green-accent); border-radius: 50%; animation: spin .7s linear infinite, gone .01s both; }
.st::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 5px; border-left: 1.6px solid var(--on-green-accent); border-bottom: 1.6px solid var(--on-green-accent); transform: rotate(-45deg); animation: show .2s both; }
.process li:nth-child(1) { animation-delay: .5s; }
.process li:nth-child(1) .st::before { animation-delay: 0s, 1.3s; }
.process li:nth-child(1) .st::after { animation-delay: 1.3s; }
.process li:nth-child(2) { animation-delay: 1.3s; }
.process li:nth-child(2) .st::before { animation-delay: 0s, 2.1s; }
.process li:nth-child(2) .st::after { animation-delay: 2.1s; }
.process li:nth-child(3) { animation-delay: 2.1s; }
.process li:nth-child(3) .st::before { animation-delay: 0s, 2.9s; }
.process li:nth-child(3) .st::after { animation-delay: 2.9s; }
.n1 .ph > span { animation-delay: 1.3s; }
.n2 .ph > span { animation-delay: 2.1s; }
.n3 .ph > span { animation-delay: 2.9s; }
.landing { animation: land .55s var(--ease) both; }
.n1 .landing { animation-delay: 1.5s; }
.n2 .landing { animation-delay: 2.3s; }
.n3 .landing { animation-delay: 3.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes land { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes gone { to { opacity: 0; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
.landing .eyebrow { padding: 4px 4px 0; }
.result { margin-top: 12px; padding: 20px 22px 22px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .6); }
.r-source { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.r-title { display: block; margin-top: 6px; font: 400 22px/1.3 var(--book); color: var(--ink); }
.r-text { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--text); }
.r-meta { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.r-list { margin-top: 10px; }
.r-list li { padding: 8px 0; border-top: 1px solid var(--line); font: 15px/1.4 var(--book); color: var(--ink); }
.r-button { display: inline-block; margin-top: 14px; padding: 7px 18px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 14px; font-weight: 600; }
.r-button + .r-meta { margin-top: 8px; }
.r-quote { font: 18px/1.6 var(--book); text-decoration: underline dashed 1px; text-decoration-color: rgba(157, 85, 53, .6); text-underline-offset: .32em; }
.r-note .r-text { font: 16px/1.7 var(--serif); color: var(--ink); }
.r-book { display: flex; align-items: center; gap: 18px; }
.cover { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 86px; height: 120px; padding: 16px 8px 12px; border-radius: 3px 6px 6px 3px; background: #5e6b57; box-shadow: inset 4px 0 0 rgba(0, 0, 0, .12), 0 14px 22px -14px rgba(0, 0, 0, .7); color: #efece2; text-align: center; font: 500 10.5px/1.3 var(--book); }
.cover b { font-weight: 500; }
.cover i { font-style: normal; font-size: 13px; }
.where { margin-top: 14px; padding: 0 4px; font-size: 14.5px; color: var(--on-green-soft); }
.agent .sub { margin-top: 64px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
:lang(zh) .agent .sub { letter-spacing: .08em; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.tools li { padding: 20px 22px; border: 1px solid rgba(247, 244, 236, .13); border-radius: 14px; background: rgba(247, 244, 236, .05); }
.tools h4 { font: 600 15px/1.55 var(--sans); color: var(--on-green); }
.tools p { margin-top: 6px; font-size: 15px; color: var(--on-green-soft); }
.agent-note { margin-top: 16px; font-size: 13.5px; color: #b3beb1; }
.limits { max-width: 52em; margin-top: 36px; font-size: 15px; color: #b3beb1; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 76px; align-items: center; padding: 104px 0; }
.split + .split { border-top: 1px solid var(--line); }
.split-media { display: flex; justify-content: center; }
.split-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split-reverse .split-media { order: -1; }
.split-media .phone { width: min(290px, 82%); }
.split .points { grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-top: 40px; }
.phone { padding: 7px; border-radius: 14% / 6.6%; background: #1f2622; box-shadow: 0 34px 64px -34px rgba(31, 38, 34, .6), 0 12px 26px -18px rgba(31, 38, 34, .4); }
.phone img { width: 100%; border-radius: 12.4% / 5.7%; background: var(--paper); }

.review { width: min(400px, 100%); }
.rv-chip { width: fit-content; margin: 0 auto 14px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; color: var(--clay); }
.rv-sheet { position: relative; overflow: hidden; padding: 24px 24px 20px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); box-shadow: 0 34px 60px -44px rgba(31, 38, 34, .5); }
.rv-word { display: flex; align-items: center; justify-content: space-between; font: 400 28px/1.2 var(--book); color: var(--ink); }
.star { width: 18px; height: 18px; background: var(--clay); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rv-ex { margin-top: 18px; }
.rv-ex + .rv-ex { padding-top: 18px; border-top: 1px solid var(--line); }
.rv-label { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); }
.rv-label b { font-weight: 600; letter-spacing: .08em; }
.rv-sentence { margin-top: 8px; font: 17px/1.6 var(--book); color: var(--ink); }
.rv-meaning { margin-top: 6px; font-size: 14px; color: var(--clay); }
.rv-card { margin-top: 16px; font-size: 13px; color: var(--muted); }
.rv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.rv-actions label { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; transition: transform .15s; }
.rv-actions label + label { border-color: var(--green); background: var(--green); color: var(--on-green); }
.rv-actions label:active { transform: scale(.97); }
.t-rv:nth-of-type(2):focus-visible ~ .rv-sheet .rv-actions label:first-child, .t-rv:nth-of-type(3):focus-visible ~ .rv-sheet .rv-actions label:last-child { outline: 2px solid var(--clay); outline-offset: 2px; }
.rv-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; background: var(--card); text-align: center; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s; }
.rv-icon { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--paper-deep); }
.rv-icon::before { content: ''; position: absolute; top: 15px; left: 26px; width: 9px; height: 13px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); }
.rv-learned .rv-icon { background: var(--green); }
.rv-learned .rv-icon::before { top: 19px; left: 18px; width: 19px; height: 9px; border-color: var(--on-green); transform: rotate(-45deg); }
.rv-done p { max-width: 14em; font: 21px/1.45 var(--serif); color: var(--green); }
.rv-done label { font-size: 14px; color: var(--clay); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.t-rv:nth-of-type(2):checked ~ .rv-sheet .rv-later, .t-rv:nth-of-type(3):checked ~ .rv-sheet .rv-learned { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s; }

.gallery { padding: 96px 0 84px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.shots li:nth-child(even) { margin-top: 56px; }
.shots figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text); }
.gallery .fine { margin-top: 36px; }

.privacy { padding: 104px 0 92px; }
.privacy .points { grid-template-columns: repeat(2, 1fr); gap: 32px 52px; margin-top: 44px; }
.privacy > .text-link { display: inline-block; margin-top: 36px; }

.closing { padding: 92px 0 100px; border-top: 1px solid var(--line); text-align: center; }
.closing img { width: 72px; height: 72px; margin: 0 auto; border-radius: 18px; }
.closing h2 { max-width: 20em; margin: 26px auto 0; font: 400 clamp(30px, 4vw, 44px)/1.2 var(--serif); color: var(--green); }
.closing > p:not(.fine) { max-width: 32em; margin: 14px auto 0; font-size: 18px; color: var(--text); }
.closing .actions { justify-content: center; }
.closing .fine { margin-top: 18px; }

.site-footer { display: flex; justify-content: space-between; gap: 12px 24px; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
@media (max-width: 1020px) {
  .masthead { grid-template-columns: auto auto; row-gap: 14px; }
  .masthead-actions { justify-self: end; }
  .sections { grid-column: 1 / -1; order: 3; justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none; }
  .hero, .reading-grid, .split, .split-reverse { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 48px; padding: 20px 0 80px; }
  .split { gap: 48px; padding: 84px 0; }
  .split-reverse .split-media { order: 0; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid > li { display: grid; grid-template-columns: minmax(0, 260px) 1fr; column-gap: 24px; align-items: center; }
  .why-grid .mini { grid-row: span 2; margin-bottom: 0; }
  .why-grid > li > h3 { align-self: end; }
  .why-grid > li > p { align-self: start; }
  .task-panel { grid-template-columns: minmax(0, 1fr); }
  .convo { min-height: 0; }
  .tools { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(4, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots li { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 36px); }
  .masthead { padding: 16px 0 12px; }
  .masthead-actions { gap: 6px; }
  .lang-trigger { padding: 0 8px; }
  .lede, :lang(zh) .lede { font-size: 17px; }
  .actions > .store { width: 100%; }
  .hl-screen { height: 600px; padding: 50px 20px 0; }
  .hl-text, .hl-panel:lang(ja) .hl-text { font-size: 17px; line-height: 2.7; }
  .why { padding-bottom: 76px; }
  .why-grid > li { display: block; }
  .why-grid .mini { height: auto; min-height: 132px; margin-bottom: 18px; padding-block: 12px; }
  .mini-line { font-size: 16px; white-space: normal; }
  .reading, .agent { padding: 76px 0; }
  .privacy { padding: 76px 0 72px; }
  .section-head p:not(.eyebrow) { font-size: 17px; }
  .demo-frame { height: 600px; border-radius: 22px; }
  .demo-top { padding: 14px 16px 10px; }
  .demo-page { padding: 24px 22px 56px; font-size: 18px; }
  .sheet { padding: 10px 20px 22px; }
  .convo { padding: 20px 18px; }
  .task-picks { flex-wrap: nowrap; margin-inline: -18px; padding: 0 18px 4px; overflow-x: auto; scrollbar-width: none; }
  .task-picks label { flex: none; }
  .task-picks > span { display: none; }
  .split .points, .privacy .points, .tools { grid-template-columns: 1fr; }
  .rv-sheet { padding: 20px 18px 18px; }
  .shots { grid-template-columns: repeat(4, 64%); gap: 18px; margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  .shots li:nth-child(even) { margin-top: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .st::before { display: none; }
}
