@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #faf8f4;
  --white: #fffdfa;
  --ink: #25211f;
  --muted: #716860;
  --faint: #a79c91;
  --line: #e9e2d9;
  --red: #9f2730;
  --red-dark: #751922;
  --red-soft: #f6e9e7;
  --gold: #c3a46d;
  --cream: #f2eadc;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);
  --width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #d8b675; outline-offset: 3px; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-180%); padding: 10px 15px; color: white; background: var(--red); border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgb(233 226 217 / 75%); background: rgb(250 248 244 / 94%); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 14px; font-weight: 760; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .015em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 35px); }
.main-nav > a { color: #5d554f; font-size: 12px; font-weight: 600; transition: color .18s ease; }
.main-nav > a:hover, .main-nav > a.active { color: var(--red); }
.main-nav .nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #d8cbb8; border-radius: 5px; color: var(--red); }
.main-nav .nav-cta:hover { border-color: var(--red); background: var(--red); color: white; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font-size: 17px; cursor: pointer; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 40px; padding-block: 58px 66px; }
.hero-copy { position: relative; z-index: 2; padding: 0 0 10px 3px; }
.eyebrow { margin: 0 0 17px; color: var(--red); font-size: 12px; font-weight: 750; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--gold); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { letter-spacing: -.025em; }
.hero h1 { margin-bottom: 22px; font-size: clamp(44px, 5.1vw, 66px); font-weight: 550; line-height: 1.03; }
.hero h1 em, .library-heading h1 em, .app-hero h1 em { color: var(--red); font-style: normal; font-family: var(--display); font-weight: 500; }
.hero-intro { max-width: 500px; margin-bottom: 28px; color: #635b54; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.2; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fffaf2; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { color: var(--ink); background: transparent; }
.button-quiet:hover { color: var(--red); background: #f1ece5; }
.button-light { color: var(--red-dark); background: #fff8ea; }
.button-light:hover { background: white; }
.button-outline { border-color: #cfc4b7; color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--red); color: var(--red); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 30px; color: #776e65; font-size: 12px; }
.proof-check { display: inline-grid; width: 16px; height: 16px; margin-right: 6px; place-items: center; border-radius: 50%; color: var(--red); background: #efe4d7; font-size: 12px; }
.hero-visual { position: relative; min-height: 450px; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { position: absolute; top: 6%; right: 1%; width: 390px; height: 390px; border: 1px solid #e9dfd2; border-radius: 50%; content: ""; }
.hero-visual::after { position: absolute; right: 0; bottom: 9%; width: 260px; height: 260px; border: 1px solid #e9dfd2; border-radius: 50%; content: ""; }
.visual-note { position: absolute; z-index: 3; top: 43px; right: 0; width: 220px; padding: 18px 19px; border: 1px solid #e8dfd4; background: rgb(255 253 250 / 94%); box-shadow: 0 12px 35px rgb(58 43 28 / 7%); }
.note-kicker { display: block; margin-bottom: 10px; color: var(--red); font-size: 12px; font-weight: 750; letter-spacing: .14em; }
.note-title { display: block; font-family: var(--display); font-size: 22px; line-height: 1.13; }
.note-line { display: block; width: 36px; height: 2px; margin-block: 12px; background: var(--gold); }
.note-caption { color: var(--muted); font-size: 12px; }
.phone-shot { position: relative; z-index: 2; width: 252px; height: 440px; margin: 15px 48px 0 0; overflow: hidden; border: 8px solid #242321; border-radius: 36px; background: #f5f2ed; box-shadow: 0 28px 58px rgb(45 36 27 / 19%); transform: rotate(-3deg); }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.visual-index { position: absolute; z-index: 4; right: 2px; bottom: 25px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .17em; }
.visual-index span:first-child { color: var(--red); }

.quick-index { border-block: 1px solid var(--line); background: #f5f1eb; }
.quick-index-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-index a { min-height: 104px; display: grid; grid-template-columns: 34px 1fr 17px; align-items: center; gap: 13px; padding: 17px 24px; border-right: 1px solid var(--line); transition: background .18s ease; }
.quick-index a:first-child { border-left: 1px solid var(--line); }
.quick-index a:hover { background: #fffdfa; }
.quick-number { align-self: start; padding-top: 4px; color: var(--gold); font-family: var(--display); font-size: 15px; }
.quick-index strong, .quick-index small { display: block; }
.quick-index strong { margin-bottom: 4px; font-size: 12px; }
.quick-index small { color: var(--muted); font-size: 12px; }
.quick-arrow { justify-self: end; color: var(--red); font-size: 15px; }

.section { padding-block: 95px 102px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .social-intro h2 { margin: 0; font-size: clamp(34px, 4.4vw, 53px); font-weight: 540; line-height: 1.12; }
.section-lead { max-width: 590px; margin: 19px 0 34px; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--red); font-size: 12px; font-weight: 720; }
.text-link:hover { color: var(--red-dark); }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.category-card { position: relative; min-height: 265px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 29px 22px; overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #d4b6a3; box-shadow: 0 18px 32px rgb(50 39 25 / 6%); }
.category-card::after { position: absolute; right: -48px; bottom: -94px; width: 210px; height: 210px; border: 1px solid #eadfd3; border-radius: 50%; content: ""; }
.category-exam::after { right: -35px; bottom: -110px; width: 270px; height: 270px; }
.category-meta { color: var(--red); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.category-icon { position: absolute; top: 48px; right: 39px; color: #c6a570; font-family: var(--display); font-size: 56px; line-height: 1; }
.category-icon-outline { color: #aa8871; }
.category-card > strong { margin-top: 46px; font-family: var(--display); font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.category-description { max-width: 340px; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.category-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 22px; border-top: 1px solid #eee8e0; color: var(--red); font-size: 12px; font-weight: 700; }
.category-footer b { font-size: 15px; }
.latest-bar { min-height: 79px; display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 18px; margin-top: 20px; padding: 15px 20px; border: 1px solid var(--line); background: #f7f3ed; }
.latest-label { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: 12px; font-weight: 750; letter-spacing: .13em; }
.latest-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.latest-bar p { margin: 0; color: var(--muted); font-size: 12px; }
.latest-bar > a { color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.latest-bar > a span { margin-left: 6px; color: var(--red); }

.app-section { padding-block: 85px 89px; color: #f8f4ef; background: #292320; }
.app-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 90px; }
.app-visuals { position: relative; height: 405px; display: flex; align-items: center; justify-content: center; }
.app-screen { position: absolute; width: 189px; padding: 6px; overflow: hidden; border: 1px solid #655a50; border-radius: 19px; background: #171514; box-shadow: 0 20px 36px rgb(0 0 0 / 26%); }
.app-screen img { width: 100%; height: 330px; object-fit: cover; object-position: top; border-radius: 14px; }
.app-screen figcaption { padding: 8px 3px 3px; color: #e2d5c7; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-align: center; }
.screen-vocab { z-index: 2; left: 10%; transform: rotate(-7deg); }
.screen-exam { z-index: 1; right: 8%; transform: rotate(6deg) translateY(22px); }
.app-copy { max-width: 495px; }
.app-copy .eyebrow { color: #d9bd87; }
.app-copy h2, .trust-layout h2, .legacy-copy h2, .app-feature-section h2, .app-final h2 { margin-bottom: 17px; font-size: clamp(37px, 4.5vw, 55px); font-weight: 520; line-height: 1.07; }
.app-copy > p:not(.eyebrow) { color: #c4b8ad; font-size: 15px; line-height: 1.8; }
.app-points { display: grid; grid-template-columns: 1fr; gap: 0; margin: 24px 0 28px; padding: 0; list-style: none; }
.app-points li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid #4a413a; color: #eee7df; font-size: 12px; }
.app-points li span { color: #d4b47a; font-family: var(--display); font-size: 13px; }
.app-platform-note { margin: 10px 0 0; color: #988c82; font-size: 12px; }

.section-legacy { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 30px; padding-block: 72px; border-bottom: 1px solid var(--line); }
.legacy-mark { color: #ded0bf; font-family: var(--display); font-size: 68px; letter-spacing: -.08em; }
.legacy-copy .eyebrow { margin-bottom: 9px; }
.legacy-copy h2 { margin: 0 0 7px; font-family: var(--display); font-size: 30px; font-weight: 500; }
.legacy-copy p:last-child { max-width: 550px; margin: 0; color: var(--muted); font-size: 12px; }
.trust-section { background: #f0e9df; }
.trust-layout { min-height: 245px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 55px; padding-block: 48px; }
.trust-layout h2 { margin: 0; font-family: var(--display); font-size: 34px; }
.trust-layout > p { max-width: 410px; margin: 0; color: #6b6259; font-size: 12px; line-height: 1.9; }
.social-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding-block: 81px 88px; }
.social-intro h2 { font-family: var(--display); font-size: 34px; }
.social-intro > p:last-child { max-width: 340px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; align-content: center; border-top: 1px solid var(--line); }
.social-links a { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 8px 10px 2px; border-bottom: 1px solid var(--line); color: #49413b; font-size: 12px; font-weight: 600; }
.social-links a:nth-child(odd) { margin-right: 24px; }
.social-links a:hover { color: var(--red); }
.social-links b { color: var(--gold); font-size: 14px; }

.site-footer { padding-top: 30px; color: #efe9e2; background: #292320; }
.footer-main { min-height: 105px; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 40px; }
.brand-footer .brand-copy small { color: #aa9f95; }
.footer-main > p { max-width: 390px; margin: 0; color: #afa49a; font-size: 12px; }
.footer-app-link { color: #e4cb9b; font-size: 12px; font-weight: 700; }
.footer-app-link span { margin-left: 8px; }
.footer-bottom { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #4a413a; color: #a89d93; font-size: 12px; }
.footer-bottom a:hover { color: white; }

/* Resource library */
.library-page { min-height: calc(100vh - 130px); }
.library-heading { padding-top: 39px; padding-bottom: 37px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 43px; color: var(--faint); font-size: 12px; }
.breadcrumb a:hover { color: var(--red); }
.library-heading .eyebrow { margin-bottom: 14px; }
.library-heading h1, .app-hero h1 { margin-bottom: 16px; font-size: clamp(44px, 5vw, 64px); font-weight: 550; line-height: 1.05; }
.library-intro { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.library-workspace { padding-bottom: 76px; }
.filter-panel { padding: 21px 23px 18px; border: 1px solid var(--line); background: var(--white); }
.search-field { min-height: 49px; display: flex; align-items: center; gap: 12px; padding-inline: 15px; border: 1px solid #e7dfd5; background: #fff; }
.search-field > span:not(.sr-only) { color: var(--red); font-family: var(--display); font-size: 26px; line-height: 1; transform: rotate(-18deg); }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-field input::placeholder { color: #a79c91; }
.filter-row { display: flex; flex-wrap: wrap; align-items: end; gap: 22px 34px; margin-top: 20px; }
.version-filter { display: flex; flex-wrap: wrap; gap: 8px; min-width: 280px; margin: 0; padding: 0; border: 0; }
.version-filter legend, .select-filter > span { width: 100%; margin-bottom: 7px; color: #766d65; font-size: 12px; font-weight: 700; }
.version-filter label { cursor: pointer; }
.version-filter input { position: absolute; opacity: 0; pointer-events: none; }
.version-filter label span { display: inline-flex; min-height: 44px; align-items: center; padding: 7px 12px; border: 1px solid var(--line); color: #6d645b; font-size: 12px; }
.version-filter input:checked + span { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.version-filter input:focus-visible + span { outline: 3px solid #d8b675; outline-offset: 3px; }
.select-filter { min-width: 150px; display: grid; }
.select-filter select { min-height: 44px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 0; color: #514941; background: white; font-size: 12px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-block: 35px 16px; }
.result-heading .eyebrow { margin-bottom: 7px; }
.result-heading h2 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.result-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.loading-message { grid-column: 1/-1; padding: 25px; border: 1px solid var(--line); color: var(--muted); background: var(--white); font-size: 12px; }
.resource-card { min-height: 216px; display: flex; flex-direction: column; padding: 19px 20px 15px; border: 1px solid var(--line); background: var(--white); }
.resource-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resource-tag { display: inline-flex; align-items: center; padding: 5px 8px; color: var(--red); background: var(--red-soft); font-size: 12px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.resource-date { color: var(--faint); font-size: 12px; }
.resource-title { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 16px 0 7px; font-family: var(--display); font-size: 21px; line-height: 1.22; }
.resource-title span { color: var(--red); font-family: var(--sans); font-size: 13px; }
.resource-title:hover { color: var(--red); }
.resource-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.resource-card-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 16px; color: #746b63; font-size: 12px; }
.resource-card-meta span + span { position: relative; }
.resource-card-meta span + span::before { position: absolute; top: 4px; left: -10px; width: 3px; height: 3px; border-radius: 50%; background: #c8b79f; content: ""; }
.resource-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.source-short { overflow: hidden; color: #968a7f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.card-download { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: 12px; font-weight: 750; white-space: nowrap; }
.card-download:hover { color: var(--red-dark); }
.card-download.is-unavailable { color: #968a7f; font-weight: 500; }
.empty-state { grid-column: 1/-1; min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px; border: 1px dashed #d9cfc3; background: #f7f3ed; }
.empty-index { margin-bottom: 12px; color: var(--red); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.empty-state h3 { margin-bottom: 8px; font-family: var(--display); font-size: 27px; font-weight: 500; }
.empty-state p { max-width: 520px; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.empty-state .text-link { font-size: 12px; }
.detail-panel { margin-bottom: 18px; padding: 25px; border: 1px solid #dbcec0; background: var(--white); }
.detail-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.detail-panel h2 { margin-bottom: 8px; font-family: var(--display); font-size: 31px; font-weight: 500; }
.detail-panel > p { max-width: 690px; color: var(--muted); font-size: 12px; }
.detail-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 19px 0; padding-block: 15px; border-block: 1px solid var(--line); }
.detail-meta div { display: grid; gap: 3px; }
.detail-meta dt { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.detail-meta dd { margin: 0; font-size: 12px; font-weight: 650; }
.source-note { font-size: 12px !important; }
.empty-inline, .empty-notice { color: var(--red); font-size: 12px; }
.resource-detail-hero { max-width: 930px; padding-top: 37px; padding-bottom: 72px; }
.resource-detail-hero .breadcrumb { margin-bottom: 46px; }
.resource-detail-hero h1 { max-width: 800px; margin-bottom: 15px; font-family: var(--display); font-size: clamp(39px, 5vw, 62px); font-weight: 500; line-height: 1.08; }
.detail-summary { max-width: 690px; margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.resource-detail-hero .detail-meta { padding-block: 20px; }
.detail-actions { display: flex; align-items: center; gap: 19px; margin-top: 23px; }
.detail-actions > span { color: var(--muted); font-size: 12px; }
.detail-source { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-source p { display: grid; gap: 5px; margin: 0; }
.detail-source strong { color: var(--faint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.detail-source span { font-size: 12px; }
.resource-app-strip { padding-block: 38px; color: #f8f4ef; background: #292320; }
.resource-app-strip .container { display: grid; grid-template-columns: 1fr .75fr auto; align-items: center; gap: 32px; }
.resource-app-strip .eyebrow { margin-bottom: 8px; color: #d9bd87; }
.resource-app-strip h2 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.12; }
.resource-app-strip .container > p { max-width: 300px; margin: 0; color: #c4b8ad; font-size: 12px; }
.detail-back { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-back p { margin: 0; color: var(--muted); font-size: 12px; }
.detail-back p a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.library-help { padding-block: 54px; background: #f0e9df; }
.help-inner { display: grid; grid-template-columns: 1fr .8fr auto; align-items: center; gap: 36px; }
.help-inner .eyebrow { margin-bottom: 8px; }
.help-inner h2 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.14; }
.help-inner > p { max-width: 320px; margin: 0; color: var(--muted); font-size: 12px; }

/* App detail page */
.app-hero { min-height: 520px; display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 70px; padding-block: 30px 55px; }
.app-hero .breadcrumb { margin-bottom: 32px; }
.app-hero-intro { max-width: 470px; margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.app-hero-shot { width: 252px; height: 395px; justify-self: center; margin: 0; overflow: hidden; border: 8px solid #242321; border-radius: 32px; background: #f5f2ed; box-shadow: 0 24px 55px rgb(45 36 27 / 16%); transform: rotate(3deg); }
.app-hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.app-feature-section { padding-block: 76px; color: #f8f4ef; background: #292320; }
.app-feature-section h2 { margin-bottom: 38px; font-family: var(--display); font-size: clamp(40px, 4.2vw, 50px); font-weight: 680; letter-spacing: -.03em; }
.feature-list { border-top: 1px solid #52473e; }
.feature-list article { min-height: 190px; display: grid; grid-template-columns: 52px 1fr 92px; align-items: center; gap: 24px; padding: 19px 0; border-bottom: 1px solid #52473e; }
.feature-list article > span { align-self: start; padding-top: 8px; color: #d4b47a; font-family: var(--display); font-size: 15px; }
.feature-list h3 { margin: 0 0 7px; font-family: var(--display); font-size: 21px; font-weight: 620; letter-spacing: -.015em; }
.feature-list p { max-width: 480px; margin: 0; color: #c4b8ad; font-size: 13px; line-height: 1.7; }
.feature-list img { width: 77px; height: 145px; justify-self: end; object-fit: cover; object-position: top; border: 3px solid #171514; border-radius: 11px; }
.app-final { min-height: 235px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.app-final .eyebrow { margin-bottom: 8px; }
.app-final h2 { margin-bottom: 8px; font-family: var(--display); font-size: 37px; }
.app-final p:last-child { margin: 0; color: var(--muted); font-size: 12px; }

@media (min-width: 1400px) {
  .hero { min-height: 660px; }
}

@media (max-width: 1200px) {
  .container { width: min(var(--width), calc(100% - 42px)); }
  .main-nav { gap: 17px; }
  .hero { min-height: 540px; grid-template-columns: 1fr .8fr; gap: 18px; }
  .hero-visual { min-height: 390px; }
  .phone-shot { width: 219px; height: 390px; margin-right: 27px; }
  .hero-visual::before { width: 315px; height: 315px; }
  .visual-note { right: -8px; width: 190px; }
  .app-layout { gap: 46px; }
  .trust-layout { grid-template-columns: .8fr 1fr; gap: 25px; }
  .trust-layout > a { grid-column: 2; }
  .social-section { gap: 35px; }
  .footer-main { gap: 23px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 14px; }
  .container { width: calc(100% - 38px); }
  .header-inner { min-height: 69px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 8px 19px 17px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 20px rgb(47 39 30 / 6%); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a { padding: 12px 5px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav .nav-cta { justify-content: space-between; margin-top: 10px; padding: 11px 13px; border: 1px solid #d8cbb8; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 13px; padding-block: 58px 39px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero-intro { max-width: 520px; font-size: 14px; }
  .hero-proof { gap: 12px; margin-top: 21px; font-size: 12px; }
  .hero-visual { min-height: 330px; margin-top: 4px; }
  .hero-visual::before { top: 0; right: 7%; width: 290px; height: 290px; }
  .hero-visual::after { right: 2%; bottom: 2%; width: 170px; height: 170px; }
  .phone-shot { width: 177px; height: 300px; margin: 15px 30px 0 0; border-width: 6px; border-radius: 26px; }
  .visual-note { top: 36px; right: 2px; width: 166px; padding: 13px; }
  .note-title { font-size: 19px; }
  .note-caption { font-size: 12px; }
  .visual-index { right: 6px; bottom: 7px; }
  .quick-index-inner { grid-template-columns: 1fr; }
  .quick-index a { min-height: 76px; grid-template-columns: 28px 1fr 17px; padding: 13px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-index a:first-child { border-left: 0; }
  .quick-index a:last-child { border-bottom: 0; }
  .section { padding-block: 66px 70px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .section-heading h2 { font-size: clamp(30px, 7.5vw, 39px); }
  .section-lead { margin-block: 15px 23px; font-size: 12px; }
  .category-grid { grid-template-columns: 1fr; gap: 11px; }
  .category-card { min-height: 230px; padding: 21px; }
  .category-card > strong { margin-top: 43px; font-size: 26px; }
  .category-icon { top: 40px; right: 27px; font-size: 47px; }
  .latest-bar { grid-template-columns: 1fr auto; gap: 9px 14px; padding: 14px; }
  .latest-label { grid-column: 1/-1; }
  .latest-bar p { font-size: 12px; }
  .latest-bar > a { font-size: 12px; }
  .app-section { padding-block: 59px 62px; }
  .app-layout { grid-template-columns: 1fr; gap: 22px; }
  .app-visuals { height: 315px; order: 2; }
  .app-screen { width: 157px; }
  .app-screen img { height: 270px; }
  .screen-vocab { left: 16%; }
  .screen-exam { right: 13%; }
  .app-copy h2 { font-size: clamp(30px, 7.5vw, 43px); }
  .section-legacy { grid-template-columns: 58px 1fr; gap: 14px; padding-block: 49px; }
  .legacy-mark { font-size: 48px; }
  .legacy-copy h2 { font-size: 25px; }
  .legacy-copy p:last-child { font-size: 12px; }
  .section-legacy > .button { grid-column: 2; justify-self: start; }
  .trust-layout { grid-template-columns: 1fr; gap: 13px; padding-block: 42px; }
  .trust-layout h2 { font-size: 32px; }
  .trust-layout > p { font-size: 12px; }
  .trust-layout > a { grid-column: 1; justify-self: start; margin-top: 4px; }
  .social-section { grid-template-columns: 1fr; gap: 24px; padding-block: 58px 65px; }
  .social-intro h2 { font-size: 31px; }
  .social-links { grid-template-columns: 1fr; }
  .social-links a:nth-child(odd) { margin-right: 0; }
  .footer-main { grid-template-columns: 1fr auto; gap: 14px; padding-block: 19px; }
  .footer-main > p { grid-column: 1/-1; grid-row: 2; max-width: 340px; }
  .footer-bottom { flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; padding-block: 12px; font-size: 12px; }
  .footer-bottom a { margin-left: auto; }
  .library-heading { padding-top: 23px; padding-bottom: 26px; }
  .breadcrumb { margin-bottom: 30px; }
  .library-heading h1, .app-hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .library-intro { font-size: 12px; }
  .library-workspace { padding-bottom: 52px; }
  .filter-panel { padding: 14px; }
  .filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 11px; margin-top: 15px; }
  .version-filter { grid-column: 1/-1; min-width: 0; gap: 5px; }
  .version-filter label { flex: 1; }
  .version-filter label span { width: 100%; justify-content: center; padding-inline: 5px; font-size: 12px; }
  .select-filter { min-width: 0; }
  .result-heading { padding-top: 27px; }
  .result-heading h2 { font-size: 26px; }
  .result-heading > p { font-size: 12px; }
  .resource-grid { grid-template-columns: 1fr; gap: 9px; }
  .resource-card { min-height: 202px; padding: 15px; }
  .resource-title { font-size: 19px; }
  .empty-state { min-height: 218px; padding: 24px 19px; }
  .empty-state h3 { font-size: 24px; }
  .detail-panel { padding: 17px; }
  .detail-panel h2 { font-size: 25px; }
  .detail-meta { grid-template-columns: 1fr 1fr; gap: 13px; }
  .detail-topline { align-items: start; }
  .detail-topline .text-link { font-size: 12px; }
  .resource-detail-hero { padding-top: 22px; padding-bottom: 49px; }
  .resource-detail-hero .breadcrumb { margin-bottom: 32px; }
  .resource-detail-hero h1 { font-size: 39px; }
  .detail-summary { font-size: 12px; }
  .resource-detail-hero .detail-meta { grid-template-columns: 1fr 1fr; }
  .detail-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .detail-source { grid-template-columns: 1fr; gap: 12px; }
  .resource-app-strip .container { grid-template-columns: 1fr; gap: 15px; }
  .resource-app-strip h2 { font-size: 28px; }
  .resource-app-strip .button { justify-self: start; }
  .detail-back { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 21px; }
  .help-inner { grid-template-columns: 1fr; gap: 15px; }
  .help-inner h2 { font-size: 29px; }
  .help-inner .button { justify-self: start; }
  .app-hero { min-height: auto; grid-template-columns: 1fr; gap: 27px; padding-top: 22px; padding-bottom: 52px; }
  .app-hero .breadcrumb { margin-bottom: 30px; }
  .app-hero-shot { width: 205px; height: 330px; justify-self: center; }
  .app-feature-section { padding-block: 55px; }
  .app-feature-section h2 { font-size: clamp(30px, 7.5vw, 42px); }
  .feature-list article { grid-template-columns: 29px 1fr 63px; gap: 10px; min-height: 140px; }
  .feature-list h3 { font-size: 18px; }
  .feature-list p { font-size: 14px; }
  .feature-list img { width: 57px; height: 107px; }
  .app-final { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 46px; }
  .app-final h2 { font-size: 33px; }
}


/* App downloads, support and layouts shared across all pages. */
.select-filter select { width: 100%; min-width: 0; }
.version-filter label span { height: 100%; }
.store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 420px; }
.store-link { display: flex; align-items: center; gap: 12px; min-height: 86px; min-width: 0; padding: 14px 16px; border: 1px solid #bcae9d; border-radius: 6px; color: var(--ink); background: var(--white); }
a.store-link:hover { border-color: var(--red); color: var(--red); }
.store-link svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-copy { display: grid; gap: 3px; min-width: 0; }
.store-copy small { font-size: 11px; line-height: 1.4; }
.store-copy strong { font-size: 17px; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.store-link-pending { border-style: dashed; background: transparent; }
.store-status { color: var(--muted); font-size: 11px; line-height: 1.3; }
.store-links-light .store-link { color: #fff8eb; background: #352e29; border-color: #85735f; }
.store-links-light a.store-link:hover { border-color: #e4cb9b; color: #e4cb9b; }
.store-links-light .store-link-pending { background: transparent; }
.store-links-light .store-status { color: #d7c6b5; }
.hero > *, .app-layout > *, .help-inner > *, .resource-app-strip .container > *, .app-final > *, .filter-row > * { min-width: 0; }
.hero-visual { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 15px; min-height: 430px; }
.hero-visual::before { width: 95%; height: auto; aspect-ratio: 1; right: 0; z-index: 0; }
.hero-visual::after { display: none; }
.phone-shot { order: 1; width: 100%; max-width: 230px; height: auto; aspect-ratio: 252 / 440; margin: 0; justify-self: center; }
.visual-note { position: relative; order: 2; top: auto; right: auto; width: 100%; padding: 20px 17px; align-self: center; box-shadow: none; }
.note-kicker { font-size: 10px; line-height: 1.6; letter-spacing: .12em; }
.note-title { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.note-caption { display: block; font-size: 13px; line-height: 1.7; }
.visual-note .text-link { margin-top: 16px; font-size: 12px; }
.visual-index { display: none; }
.main-nav > a { font-size: 13px; }
.button { font-size: 14px; }
.brand-copy small { font-size: 11px; }
.eyebrow { line-height: 1.6; }
.app-section .app-copy { max-width: none; }
.app-points li { font-size: 14px; }
.feature-text-only > div { grid-column: 2 / -1; }
.app-feature-section .eyebrow { color: #dfc18a; }
.app-final { display: grid; grid-template-columns: 1fr minmax(320px, 420px); }
.help-inner, .resource-app-strip .container { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.help-inner > p, .resource-app-strip .container > p { max-width: 100%; font-size: 15px; }
.help-inner .store-links, .resource-app-strip .store-links { grid-column: 2; }
.community-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-bottom: 48px; border: 1px solid var(--line); background: var(--white); }
.community-callout strong { font-size: 18px; }
.community-callout p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.community-callout .button { flex-shrink: 0; }
.social-links .social-featured { grid-column: 1/-1; margin-right: 0; color: var(--red); }
.social-featured small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.social-links a { font-size: 14px; min-height: 60px; }
.footer-contact { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; padding-block: 30px; border-top: 1px solid #52473e; }
.footer-contact h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.3; }
.footer-contact p { max-width: 340px; margin: 0; color: #c9bdb1; font-size: 14px; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; min-width: 0; }
.contact-links > a { display: grid; align-content: start; gap: 7px; min-width: 0; padding-block: 4px; }
.contact-links > a:last-child { grid-column: 1/-1; }
.contact-links > a > span { color: #c9bdb1; font-size: 12px; }
.contact-links strong { color: #fff8ef; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.contact-links a:hover strong { color: #e4cb9b; }
.footer-community { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-bottom: 28px; }
.footer-community a { color: #e4cb9b; font-size: 13px; line-height: 1.7; }
.footer-main > p { font-size: 13px; }
.footer-bottom { font-size: 12px; }
.breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
@media (max-width: 1200px) and (min-width: 1025px) {
  .main-nav { gap: 14px; }
  .header-inner { gap: 18px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .note-title { font-size: 19px; }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 38px; }
  .hero-copy { max-width: 670px; }
  .hero-visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); width: 100%; max-width: 620px; min-height: 0; margin: 0 auto; gap: 28px; }
  .phone-shot { max-width: 220px; height: auto; margin: 0; border-width: 6px; }
  .visual-note { position: relative; top: auto; right: auto; width: 100%; padding: 20px; }
  .note-title { font-size: 23px; }
  .note-caption { font-size: 14px; }
  .app-layout { max-width: 680px; }
  .hero-intro, .section-lead, .category-description, .library-intro, .trust-layout > p, .legacy-copy p:last-child, .social-intro > p:last-child, .empty-state p { font-size: 15px; }
  .quick-index small, .latest-bar p, .latest-bar > a { font-size: 13px; }
  .app-final, .help-inner, .resource-app-strip .container { grid-template-columns: 1fr; gap: 24px; }
  .help-inner .store-links, .resource-app-strip .store-links { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > p { grid-row: auto; }
  .footer-contact { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact p { max-width: 560px; }
  .community-callout { align-items: flex-start; flex-direction: column; }
  .feature-list p { font-size: 14px; }
  .main-nav { max-height: calc(100dvh - 69px); overflow-y: auto; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .hero-visual { display: flex; flex-direction: column; gap: 24px; }
  .phone-shot { width: 200px; flex-shrink: 0; }
  .visual-note { padding: 21px; max-width: none; }
  .note-title { font-size: 22px; }
  .hero-proof { gap: 10px 16px; font-size: 12px; }
  .store-links { gap: 8px; }
  .store-link { gap: 8px; padding: 12px 10px; }
  .store-link svg { width: 22px; height: 22px; }
  .store-copy strong { font-size: 15px; }
  .store-copy small { font-size: 10px; }
  .feature-list article { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-block: 24px; }
  .feature-list article > img { grid-column: 2; justify-self: start; width: 85px; height: 150px; }
  .feature-list h3 { font-size: 20px; }
  .app-hero-shot { width: 200px; }
  .contact-links { grid-template-columns: 1fr; gap: 20px; }
  .contact-links > a:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-bottom a { margin-left: 0; }
  .latest-bar { grid-template-columns: 1fr; }
  .category-card > strong { font-size: 24px; }
  .category-icon { font-size: 42px; }
}

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


/* Language controls remain visible outside the mobile navigation menu. */
.header-inner { gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 20px; min-width: 0; }
.header-actions .main-nav { gap: clamp(10px, 1.4vw, 22px); }
.language-switch { position: relative; flex-shrink: 0; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--white); font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; white-space: nowrap; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary svg { width: 16px; height: 16px; }
.language-switch summary:focus-visible { outline: 3px solid #d8b675; outline-offset: 3px; }
.language-options { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 175px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 12px 28px rgb(37 33 31 / 12%); }
.language-options a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 10px 13px; border-radius: 3px; font-size: 14px; }
.language-options a:hover, .language-options a[aria-current="true"] { color: var(--red); background: var(--red-soft); }
html:lang(zh-Hans) h1, html:lang(ja) h1, html:lang(zh-Hans) h2, html:lang(ja) h2 { line-height: 1.3; letter-spacing: -.015em; }
html:lang(zh-Hans) .eyebrow, html:lang(ja) .eyebrow { letter-spacing: .05em; }
@media (max-width: 1200px) {
  .header-actions { gap: 12px; margin-left: auto; }
  .header-actions .menu-toggle { display: inline-grid; place-items: center; flex-shrink: 0; margin-left: 0; }
  .header-actions .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 19px 17px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 20px rgb(47 39 30 / 6%); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .header-actions .main-nav.is-open { display: flex; }
  .header-actions .main-nav > a { padding: 12px 5px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .header-actions .main-nav .nav-cta { justify-content: space-between; margin-top: 10px; padding: 11px 13px; border: 1px solid #d8cbb8; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header .brand-copy strong { font-size: 13px; }
  .site-header .brand-copy small { font-size: 9px; letter-spacing: 0; }
  .language-switch summary { min-height: 38px; gap: 5px; padding: 7px; }
  .language-switch summary svg { width: 14px; height: 14px; }
  .language-chevron { display: none; }
  .header-actions .menu-toggle { width: 36px; height: 38px; }
}
@media (max-width: 360px) {
  .site-header .brand-copy small { display: none; }
}
