:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e1d3;
  --ink: #19211f;
  --muted: #69716d;
  --blue: #244a68;
  --blue-soft: #d8e3e8;
  --orange: #d47b45;
  --line: rgba(25, 33, 31, .16);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { overflow: hidden; }
.topbar { width: min(1240px, calc(100% - 64px)); margin: 0 auto; height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 170px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.brand strong { display: block; font-size: 20px; letter-spacing: -.04em; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 10px var(--mono); letter-spacing: .06em; }
.nav { display: flex; gap: 34px; color: #4e5854; font-size: 13px; }
.nav a, .top-link, .text-link, .back-top { transition: color .2s ease; }
.nav a:hover, .top-link:hover, .text-link:hover, .back-top:hover { color: var(--orange); }
.top-link { color: var(--blue); font-size: 13px; font-weight: 700; }
.top-link span { margin-left: 7px; font-size: 17px; }
.section-grid { width: min(1240px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hero { min-height: 650px; padding: 105px 0 72px; align-items: center; }
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 24px; color: var(--blue); font: 500 11px var(--mono); letter-spacing: .11em; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
h1 { max-width: 620px; margin-bottom: 28px; font-size: clamp(48px, 6.3vw, 88px); line-height: 1.08; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 470px; margin-bottom: 34px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 15px 20px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--blue); }
.button span { font-size: 18px; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 7px; font-size: 17px; }
.hero-note { margin-top: 70px; color: #858a84; font: 10px var(--mono); letter-spacing: .04em; }
.hero-art { grid-column: 8 / span 5; min-height: 470px; position: relative; }
.orbit { position: absolute; border: 1px solid rgba(36, 74, 104, .22); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 490px; height: 270px; top: 72px; left: -53px; }
.orbit-two { width: 355px; height: 485px; top: -42px; left: 48px; transform: rotate(31deg); border-color: rgba(212, 123, 69, .3); }
.hero-card { position: absolute; background: rgba(255, 253, 247, .91); box-shadow: 0 22px 60px rgba(31, 39, 34, .11); }
.card-main { width: 340px; min-height: 315px; top: 63px; left: 25px; padding: 25px; border: 1px solid rgba(25, 33, 31, .18); transform: rotate(-3deg); }
.card-topline, .reading-toolbar, .reading-footer { display: flex; justify-content: space-between; color: #7d827e; font: 10px var(--mono); letter-spacing: .06em; }
.live-dot { color: var(--orange); }
.card-kicker { margin: 47px 0 16px; color: var(--blue); font: 11px var(--mono); }
.card-sentence { margin-bottom: 24px; font-family: var(--serif); font-size: 19px; line-height: 1.6; }
.sentence-lines { padding: 15px 0 15px 14px; border-left: 2px solid var(--orange); font-size: 12px; line-height: 1.8; }
.line { display: block; }
.line-sub { padding-left: 37px; color: var(--blue); }
.card-footer { display: flex; gap: 10px; margin-top: 24px; color: #777f79; font: 9px var(--mono); }
.card-footer span { padding: 5px 7px; border: 1px solid rgba(25, 33, 31, .15); }
.card-float { width: 150px; padding: 15px 17px; border: 1px solid rgba(25, 33, 31, .1); }
.card-float-a { top: 22px; right: -3px; transform: rotate(6deg); }
.card-float-b { bottom: 38px; left: 115px; transform: rotate(4deg); }
.float-label { display: block; margin-bottom: 8px; color: var(--orange); font: 9px var(--mono); }
.card-float strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; }
.card-float small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.art-caption { position: absolute; right: -10px; bottom: 3px; color: var(--blue); font: 11px var(--mono); writing-mode: vertical-rl; letter-spacing: .1em; }
.ticker { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; color: var(--blue); font: 10px var(--mono); letter-spacing: .12em; }
.ticker div { animation: ticker 32s linear infinite; }
.ticker span { margin: 0 18px; color: var(--orange); }
.section-space { padding-top: 130px; padding-bottom: 130px; }
.section-intro { grid-column: 1 / span 5; }
.section-intro h2, .demo h2, .flow h2, .about h2 { margin-bottom: 27px; font-size: clamp(34px, 4vw, 58px); line-height: 1.25; }
.section-intro > p:last-child, .flow-note, .about-copy > p { color: var(--muted); font-size: 14px; line-height: 2; }
.method-list { grid-column: 7 / span 6; }
.method-item { width: 100%; display: grid; grid-template-columns: 45px 1fr auto; gap: 15px; align-items: center; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.method-item:first-child { border-top: 1px solid var(--line); }
.method-item.active strong, .method-item:hover strong { color: var(--orange); }
.method-number { color: #98a09a; font: 11px var(--mono); }
.method-item strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; transition: color .2s ease; }
.method-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.method-arrow { color: var(--blue); font-size: 21px; }
.method-panel { margin-top: 32px; padding: 28px; background: var(--blue); color: var(--paper); }
.panel-label, .level-label { color: #b7c9d4; font: 10px var(--mono); letter-spacing: .08em; }
.method-panel h3 { max-width: 360px; margin: 16px 0 12px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.5; }
.method-panel p { max-width: 480px; margin-bottom: 20px; color: #dbe4e5; font-size: 12px; line-height: 1.8; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-tags span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.3); color: #dbe4e5; font: 10px var(--mono); }
.demo { background: var(--paper-deep); }
.demo-heading { align-items: end; }
.demo-heading > div { grid-column: 1 / span 7; }
.demo-heading-note { grid-column: 9 / span 4; margin-bottom: 7px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.reading-demo { width: min(930px, calc(100% - 64px)); margin: 67px auto 0; border: 1px solid rgba(25, 33, 31, .22); background: #fbf9f3; box-shadow: 14px 14px 0 rgba(36, 74, 104, .13); }
.reading-toolbar { padding: 17px 22px; border-bottom: 1px solid var(--line); }
.toolbar-right { color: var(--blue); }
.toolbar-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--orange); }
.reading-content { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 310px; }
.english-block { padding: 49px 45px; border-right: 1px solid var(--line); }
.english-line { margin: 18px 0 22px; font-family: var(--serif); font-size: 28px; line-height: 1.7; }
.nested-line { margin-top: 25px; padding-left: 25px; border-left: 1px solid var(--orange); }
.nested-line p { margin: 8px 0 0; font-family: var(--serif); font-size: 18px; }
.level-three { margin-left: 34px; border-left-color: var(--blue); }
mark { padding: 2px 5px; color: inherit; background: transparent; }
.mark-main { background: rgba(212,123,69,.21); }
.mark-sub { background: rgba(36,74,104,.16); }
.mark-deep { background: rgba(212,123,69,.12); }
.translation-block { padding: 49px 38px; }
.translation-block p { margin: 35px 0 26px; font-family: var(--serif); font-size: 21px; line-height: 1.8; }
.translation-note { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; }
.reading-footer { padding: 16px 22px; border-top: 1px solid var(--line); }
.reading-footer button { border: 0; background: transparent; color: var(--blue); font: 10px var(--mono); cursor: pointer; }
.reading-footer button span { margin-left: 5px; font-size: 14px; }
.reading-demo.collapsed .nested-line { display: none; }
.practice-demo { background: var(--paper); }
.practice-card { width: min(930px, calc(100% - 64px)); margin: 67px auto 0; padding: 28px 34px 32px; border: 1px solid rgba(25, 33, 31, .22); background: #fbf9f3; box-shadow: 14px 14px 0 rgba(212, 123, 69, .18); }
.practice-card-top { display: flex; justify-content: space-between; color: #7d827e; font: 10px var(--mono); letter-spacing: .06em; }
.practice-prompt { max-width: 760px; margin: 45px auto 37px; font-family: var(--serif); font-size: clamp(22px, 3vw, 31px); line-height: 1.8; text-align: center; }
.blank { display: inline-block; min-width: 62px; border-bottom: 2px solid var(--orange); color: var(--orange); }
.answer-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.answer-options button { padding: 15px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: 12px var(--mono); transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.answer-options button:hover { transform: translateY(-2px); border-color: var(--blue); }
.answer-options button.selected { border-color: var(--blue); background: var(--blue); color: var(--paper); }
.answer-options button.wrong { border-color: var(--orange); background: rgba(212,123,69,.12); }
.practice-result { min-height: 18px; margin-top: 23px; color: var(--muted); text-align: center; font-size: 12px; }
.practice-result.correct { color: #2c7659; }
.practice-result.incorrect { color: #b65b38; }
.flow-heading > div { grid-column: 1 / span 7; }
.flow-note { grid-column: 9 / span 4; margin-bottom: 5px; }
.flow-steps { width: min(1240px, calc(100% - 64px)); margin: 62px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-step { position: relative; min-height: 305px; padding: 26px 29px 32px; border-right: 1px solid var(--line); }
.flow-step:first-child { border-left: 1px solid var(--line); }
.flow-step.highlighted { background: var(--blue); color: var(--paper); }
.step-index { color: var(--orange); font: 11px var(--mono); }
.step-icon { margin: 42px 0 25px; color: var(--orange); font-family: var(--serif); font-size: 42px; }
.flow-step h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.flow-step p { max-width: 250px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.highlighted p { color: #dbe4e5; }
.about { align-items: center; background: var(--blue); color: var(--paper); }
.about-quote { grid-column: 1 / span 5; min-height: 260px; padding: 44px 50px; border: 1px solid rgba(255,255,255,.27); }
.quote-mark { display: block; margin-bottom: 10px; color: var(--orange); font: 60px var(--serif); line-height: .5; }
.about-quote p { max-width: 385px; font-family: var(--serif); font-size: 28px; line-height: 1.55; }
.quote-tail { color: #b7c9d4; font: 10px var(--mono); }
.about-copy { grid-column: 7 / span 5; }
.about-copy .eyebrow { color: #b7c9d4; }
.about h2 { color: var(--paper); }
.about h2 em { color: #a9c4d0; }
.about-copy > p { color: #dbe4e5; }
.about-line { display: flex; gap: 12px; margin-top: 31px; color: var(--orange); font: 10px var(--mono); letter-spacing: .04em; }
.notice { padding-top: 0; background: var(--blue); }
.notice-inner { width: min(1240px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; gap: 17px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.24); color: var(--paper); }
.notice-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-family: var(--serif); }
.notice-inner strong { font-size: 12px; font-weight: 500; }
.notice-inner p { margin: 5px 0 0; color: #b7c9d4; font-size: 10px; }
.notice-mark { margin-left: auto; color: #b7c9d4; font: 10px var(--mono); }
.footer { padding: 43px max(32px, calc((100% - 1240px) / 2)); background: var(--blue); color: var(--paper); }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer .brand-mark { border-color: rgba(255,255,255,.7); }
.footer .brand small { color: #b7c9d4; }
.footer-main > p { margin: 0; color: #b7c9d4; font-family: var(--serif); font-size: 15px; }
.back-top { color: var(--orange); font: 10px var(--mono); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; color: #8da7b3; font: 10px var(--mono); }
.reveal { animation: reveal .8s ease both; }
.delay-1 { animation-delay: .15s; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 820px) {
  .topbar, .section-grid, .notice-inner { width: min(100% - 38px, 620px); }
  .topbar { height: 76px; }
  .nav { display: none; }
  .top-link { font-size: 11px; }
  .hero { min-height: auto; padding: 78px 0 72px; }
  .hero-copy, .hero-art, .section-intro, .method-list, .demo-heading > div, .demo-heading-note, .flow-heading > div, .flow-note, .about-quote, .about-copy { grid-column: 1 / -1; }
  .hero-art { min-height: 420px; margin-top: 35px; }
  .orbit-one { left: 8%; width: 84%; }
  .orbit-two { left: 28%; }
  .card-main { left: 5%; }
  .card-float-a { right: 0; }
  .card-float-b { left: 25%; }
  .section-space { padding-top: 90px; padding-bottom: 90px; }
  .demo-heading-note, .flow-note { margin-top: 8px; }
  .reading-demo, .flow-steps { width: min(100% - 38px, 620px); }
  .practice-card { width: min(100% - 38px, 620px); }
  .reading-content { grid-template-columns: 1fr; }
  .english-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step:first-child { border-left: 1px solid var(--line); }
  .notice-inner { align-items: flex-start; }
  .notice-mark { display: none; }
  .footer { padding: 36px 19px; }
  .footer-main { align-items: flex-start; flex-wrap: wrap; gap: 24px; }
  .footer-main > p { width: 100%; order: 3; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (max-width: 480px) {
  h1 { font-size: 45px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-art { min-height: 365px; transform: scale(.85); transform-origin: top left; width: 118%; }
  .card-main { width: 315px; }
  .english-block, .translation-block { padding: 35px 24px; }
  .english-line { font-size: 23px; }
  .translation-block p { font-size: 18px; }
  .answer-options { grid-template-columns: repeat(2, 1fr); }
  .about-quote { padding: 32px 27px; }
  .about-quote p { font-size: 23px; }
}
