:root {
  --ink: #252a27;
  --muted: #646c65;
  --line: #dedfd5;
  --surface: #f6f5ef;
  --paper: #fffef9;
  --soft: #efeee6;
  --brand: #183c32;
  --brand-dark: #102d25;
  --brand-soft: #e8ede5;
  --accent: #486451;
  --accent-soft: #e8ede5;
  --sand: #f2f0e8;
  --radius: 8px;
  --shadow: 0 8px 22px rgba(24, 60, 50, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.68; letter-spacing: -.005em; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,245,239,.98); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 0; color: var(--ink); text-align: left; }
.brand-mark { width: 36px; height: 36px; border-radius: 7px; overflow: hidden; background: #e8ede5; flex: 0 0 auto; border: 1px solid rgba(24,60,50,.16); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 16px; letter-spacing: .02em; }
.brand-copy span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-link, .mobile-menu { border: 0; background: transparent; color: #646c65; padding: 8px 0; }
.nav-link { position: relative; }
.nav-link:hover, .nav-link.active { color: var(--brand-dark); }
.nav-link.active { font-weight: 600; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--accent); }
.nav-actions { display: flex; gap: 9px; align-items: center; margin-left: auto; }
.mobile-menu { display: none; }
.button { min-height: 42px; border-radius: 6px; padding: 9px 17px; border: 1px solid transparent; font-weight: 600; letter-spacing: -.01em; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button-secondary { color: var(--brand-dark); background: transparent; border-color: #abb7a9; }
.button-secondary:hover { background: var(--paper); border-color: var(--brand); }
.text-link { border: 0; background: transparent; padding: 0; color: var(--brand); font-weight: 600; }
.text-link:hover { color: var(--accent); }
.hero { background: var(--sand); border-bottom: 1px solid var(--line); padding: 58px 0 62px; }
.hero-minimal .hero-grid { grid-template-columns: .82fr 1.18fr; gap: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 92px; align-items: center; }
.hero-grid > *, .section-heading > *, .feature-card > *, .course-card > *, .final-cta > *, .ip-preview > div { min-width: 0; }
.page-kicker, .section-kicker { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.hero h1 { font-size: clamp(42px, 4.8vw, 58px); line-height: 1.12; letter-spacing: -.025em; margin: 0; font-weight: 650; }
.hero h1 span { color: var(--brand); }
.hero-lede { max-width: 610px; color: #646c65; font-size: 17px; margin: 24px 0 0; }
.hero-actions, .cta-actions, .exam-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin-top: 28px; }
.hero-note { color: #7d817d; font-size: 13px; margin: 17px 0 0; }
.hero-card { position: relative; background: var(--paper); border: 1px solid #cfcfc8; border-radius: 12px; padding: 28px 29px 24px; box-shadow: var(--shadow); }
.hero-card::before { content: "OPEN EXPERIENCE"; display: block; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-bottom: 22px; }
.hero-card-top { display: flex; align-items: center; gap: 12px; color: #646c65; font-size: 13px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero-card-rule { height: 1px; background: #d8d5cc; flex: 1; }
.hero-item { display: flex; gap: 17px; padding: 21px 0; border-bottom: 1px solid #ebe9e3; }
.hero-item:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-item strong { color: var(--accent); font-size: 12px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.hero-item b, .hero-item span { display: block; }
.hero-item b { font-size: 16px; }
.hero-item span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.section { padding: 72px 0; }
.section-muted { background: var(--soft); border-top: 1px solid #dedfd5; border-bottom: 1px solid #dedfd5; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .final-cta h2, .results-preview h2, .ip-preview h2 { margin: 0; font-size: 32px; line-height: 1.22; letter-spacing: -.02em; font-weight: 650; }
.section-heading > p { max-width: 450px; color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .course-card, .exam-card, .panel, .speaking-card, .empty-card, .course-detail, .about-card, .auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.feature-card { min-height: 230px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s ease, box-shadow .2s ease; }
.feature-card:hover, .course-card:hover, .exam-card:hover { border-color: #93a18f; box-shadow: var(--shadow); }
.feature-card-number { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 32px; }
.feature-card h3, .course-card h3 { font-size: 20px; margin: 0; letter-spacing: -.02em; }
.feature-card p, .course-card p { color: var(--muted); margin: 10px 0 0; font-size: 14px; }
.banner-wrap { max-width: 1000px; margin: auto; }
.banner { min-height: 170px; padding: 31px 34px; border: 1px solid #d4d6d1; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.banner-blue { background: var(--brand); color: #fff; border-color: var(--brand); }
.banner-sand { background: var(--sand); }
.banner-slate { background: #f0f2f5; }
.banner h3 { margin: 0; font-size: 24px; line-height: 1.35; }
.banner p:not(.section-kicker) { color: var(--muted); margin: 7px 0 0; }
.banner-blue h3 { color: #fff; }
.banner-blue p:not(.section-kicker) { color: #d6dfeb; }
.banner-blue .section-kicker { color: #e1a18b; }
.banner-blue .button-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.banner-blue .button-secondary:hover { color: var(--brand-dark); background: #fff; }
.banner-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.banner-dot { width: 7px; height: 7px; border: 0; padding: 0; background: #c9cfc3; border-radius: 50%; }
.banner-dot.active { background: var(--brand); }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-card { min-width: 0; min-height: 252px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; }
.course-letter { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 27px; }
.course-card h3 { line-height: 1.35; }
.course-card p { line-height: 1.62; }
.course-card .text-link { position: static; margin-top: auto; padding-top: 20px; line-height: 1.4; text-align: left; }
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.results-preview, .ip-preview { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 280px; }
.results-preview { background: var(--paper); }
.ip-preview { display: flex; gap: 25px; align-items: center; background: var(--brand-soft); }
.ip-preview img { width: 102px; height: 102px; object-fit: cover; border-radius: 50%; }
.results-preview p:not(.section-kicker), .ip-preview p:not(.section-kicker), .final-cta p:not(.section-kicker) { color: var(--muted); max-width: 520px; }
.results-preview .button, .ip-preview .button { margin-top: 25px; }
.final-cta { display: flex; justify-content: space-between; gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: var(--paper); }
.footer { border-top: 1px solid var(--line); padding: 27px 0; color: #727a71; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; }
.footer .text-link { color: #646c65; font-weight: 500; font-size: 13px; }
.page { padding: 42px 0 104px; }
.back-link { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--brand); }
.page-title { margin: 40px 0 40px; max-width: 720px; }
.page-title h1 { font-size: 46px; line-height: 1.16; letter-spacing: -.025em; margin: 0; font-weight: 650; }
.page-title > p:last-child { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.experience-grid, .essay-layout, .about-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.panel { padding: 28px; }
.panel h2, .panel h3 { margin-top: 0; }
.mock-entry { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; background: #f5f5ee; border-color: #daddd1; }
.mock-entry p:not(.section-kicker) { color: var(--muted); max-width: 720px; margin-bottom: 0; }
.mock-host { min-height: 100vh; background: #f2f0e8; }
.mock-hostbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 22px; background: #fffef9; border-bottom: 1px solid var(--line); }
.mock-hostbar strong, .mock-hostbar span { display: block; }
.mock-hostbar strong { font-size: 15px; }
.mock-hostbar span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.mock-frame { display: block; width: 100%; height: calc(100vh - 58px); min-height: 720px; border: 0; background: #f9f9f9; }
.mock-hostbar .button { min-height: 36px; padding: 7px 13px; font-size: 13px; }
.panel > p:not(.section-kicker), .side-note p:not(.section-kicker), .essay-side p:not(.section-kicker) { color: var(--muted); }
.entry-list { margin-top: 26px; border-top: 1px solid var(--line); }
.entry-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.entry-row b, .entry-row span { display: block; }
.entry-row span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.side-note { background: var(--brand-soft); border-color: #d6dece; align-self: start; }
.side-note .button { margin-top: 17px; }
.exam-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.exam-card { padding: 24px; }
.exam-card-top, .panel-title-row, .questions-panel-top, .field-label-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.exam-card h2 { margin: 0; font-size: 25px; }
.exam-card > p { color: var(--muted); min-height: 52px; }
.available-pill, .status-pill, .quota-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; color: #216443; background: #edf8f1; font-size: 12px; font-weight: 600; white-space: nowrap; }
.exam-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding: 16px 0; }
.notice-block { margin-top: 20px; border: 1px solid #daddd1; border-radius: var(--radius); padding: 18px 20px; background: #f5f5ee; }
.notice-block p { color: var(--muted); margin: 5px 0 0; }
.exam-page { width: 100%; }
.exam-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); padding: 20px 22px; border-radius: var(--radius); background: #fff; }
.exam-toolbar h2 { margin: 0; font-size: 24px; }
.exam-toolbar-actions { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.part-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 17px 0; }
.part-tab { min-width: 112px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 11px 14px; text-align: left; color: #646c65; }
.part-tab span, .part-tab small { display: block; }
.part-tab span { font-weight: 700; color: var(--ink); }
.part-tab small { margin-top: 3px; font-size: 12px; }
.part-tab.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(24,60,50,.1); }
.part-tab.active span { color: var(--brand); }
.audio-panel { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 22px; border: 1px solid #d6dece; border-radius: var(--radius); background: var(--brand-soft); margin-bottom: 18px; }
.audio-panel h2 { margin: 0; font-size: 20px; }
.audio-panel p:not(.section-kicker) { color: var(--muted); margin: 6px 0 0; }
.audio-panel audio { width: min(360px, 100%); }
.passage-panel { display: grid; grid-template-columns: 230px 1fr; gap: 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; margin-bottom: 18px; background: #fff; }
.passage-heading h2 { margin: 0; font-size: 21px; line-height: 1.35; }
.passage-heading p:not(.section-kicker) { color: var(--muted); font-size: 13px; }
.passage-text { max-height: 620px; overflow: auto; padding-right: 18px; }
.passage-text p { margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.78; }
.questions-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; }
.questions-panel-top { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 6px; }
.questions-panel-top h2 { margin: 0; font-size: 23px; }
.save-note { color: #727a71; font-size: 12px; }
.question-group { padding: 25px 0; border-bottom: 1px solid var(--line); }
.question-group:last-of-type { border-bottom: 0; }
.group-heading h3 { font-size: 16px; line-height: 1.6; margin: 0 0 18px; max-width: 850px; }
.question-row { padding: 15px 0; border-bottom: 1px solid #eeeee6; }
.question-row:last-child { border-bottom: 0; }
.question-row-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.question-number { flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8ede5; color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.option-list { display: grid; gap: 7px; margin-left: 38px; }
.option-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.option { display: flex; gap: 9px; align-items: flex-start; padding: 8px 10px; border: 1px solid #e4e7dd; border-radius: 7px; color: #646c65; font-size: 14px; }
.option:hover { background: #f5f5ee; border-color: #d6dece; }
.option input { margin-top: 5px; accent-color: var(--brand); }
.option b { color: var(--ink); margin-right: 4px; }
.answer-input, .answer-select, .inline-answer, .search-input, .field input, .field textarea, .field select, .auth-card input { border: 1px solid #c9cfc3; border-radius: 7px; background: #fff; color: var(--ink); outline: 0; }
.answer-input, .answer-select { margin-left: 38px; min-height: 38px; padding: 7px 10px; max-width: 420px; width: calc(100% - 38px); }
.answer-input:focus, .answer-select:focus, .inline-answer:focus, .search-input:focus, .field input:focus, .field textarea:focus, .field select:focus, .auth-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24,60,50,.11); }
.data-table-wrap { overflow-x: auto; margin-top: 10px; }
.question-table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 14px; }
.question-table caption { text-align: left; background: #efeee6; padding: 10px 12px; font-weight: 700; }
.question-table th, .question-table td { border: 1px solid #daddd1; padding: 12px; vertical-align: top; text-align: left; }
.question-table th { background: #faf9f4; color: #646c65; font-size: 13px; }
.inline-answer { width: 105px; padding: 3px 6px; margin: 0 3px; }
.outline-box { background: #faf9f4; border: 1px solid #daddd1; border-radius: 8px; padding: 18px 21px; }
.outline-box h4 { margin: 0 0 13px; font-size: 16px; }
.outline-item { margin: 9px 0; }
.outline-heading { font-weight: 700; margin-top: 17px; }
.outline-sub-bullet { padding-left: 22px; color: #646c65; }
.submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; }
.notice-inline { color: #4e6d58; font-size: 13px; }
.speaking-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 17px; }
.question-tabs { display: flex; gap: 7px; }
.tab { border: 1px solid var(--line); background: #fff; color: #646c65; padding: 8px 16px; border-radius: 7px; }
.tab.active { color: var(--brand-dark); border-color: #a3b49d; background: var(--brand-soft); font-weight: 700; }
.search-input { width: 300px; min-height: 40px; padding: 7px 12px; }
.speaking-summary { display: flex; justify-content: space-between; color: #727a71; font-size: 13px; margin-bottom: 15px; }
.speaking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.speaking-card { padding: 19px; }
.speaking-card-top { display: flex; justify-content: space-between; gap: 10px; color: var(--brand); font-size: 12px; font-weight: 700; }
.speaking-card-top small { color: #727a71; font-weight: 500; text-align: right; }
.speaking-card h3 { font-size: 16px; line-height: 1.55; margin: 18px 0 0; }
.cue-card { background: var(--sand); border-radius: 7px; padding: 12px; margin-top: 15px; font-size: 13px; color: #6f665b; }
.cue-card ul { margin: 8px 0 0; padding-left: 18px; }
.load-more-wrap { text-align: center; padding: 30px 0 5px; }
.essay-form-panel p:not(.section-kicker), .essay-side > p:not(.section-kicker) { color: var(--muted); }
.quota-pill { background: var(--brand-soft); color: var(--brand-dark); }
.essay-launch-card { display: grid; gap: 9px; margin-top: 24px; padding: 20px; border: 1px solid #daddd1; border-radius: 8px; background: #f5f5ee; }
.essay-launch-card strong { font-size: 18px; color: var(--ink); }
.essay-launch-card span { color: var(--muted); line-height: 1.65; }
.essay-launch-card .button { justify-self: start; margin-top: 8px; }
.field { margin-top: 18px; }
.field label, .field-label-row label { display: block; font-weight: 600; font-size: 14px; }
.field-label-row span { color: #727a71; font-size: 12px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; margin-top: 7px; }
.field textarea { resize: vertical; line-height: 1.65; }
.essay-form-panel form .button { margin-top: 22px; }
.notice { display: none; margin-top: 16px; border-radius: 7px; border: 1px solid #cfe2d5; background: #f1f8f3; padding: 11px 13px; color: #44624d; font-size: 13px; }
.notice.show { display: block; }
.result-placeholder { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); color: #727a71; font-size: 13px; }
.result-placeholder b { color: #7a8178; font-weight: 500; }
.course-page-grid { margin-top: 10px; }
.course-detail, .empty-card { padding: 48px; max-width: 850px; }
.course-letter.large { width: 52px; height: 52px; font-size: 21px; margin-bottom: 25px; }
.course-detail h2, .empty-card h2 { margin: 0; font-size: 29px; }
.course-detail > p:not(.section-kicker), .empty-card > p { color: var(--muted); max-width: 670px; }
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 32px 0; border-top: 1px solid var(--line); }
.detail-grid div { padding: 17px 15px 17px 0; border-bottom: 1px solid var(--line); }
.detail-grid b, .detail-grid span { display: block; }
.detail-grid span { color: var(--muted); margin-top: 5px; font-size: 13px; }
.about-card { padding: 30px; }
.about-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin-bottom: 24px; }
.about-card h2 { font-size: 25px; margin: 0; }
.about-card p:not(.section-kicker) { color: var(--muted); }
.login-layout { display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: start; max-width: 900px; }
.login-intro h2 { font-size: 32px; line-height: 1.3; margin: 0; }
.login-intro p:not(.section-kicker) { color: var(--muted); max-width: 460px; }
.auth-benefits { margin-top: 34px; border-top: 1px solid var(--line); max-width: 520px; }
.auth-benefits > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.auth-benefits span { grid-row: span 2; color: var(--accent); font-size: 12px; font-weight: 700; padding-top: 2px; }
.auth-benefits b { font-size: 15px; }
.auth-benefits small { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 3px; }
.auth-page { min-height: calc(100vh - 140px); padding: 72px 15px 110px; display: grid; align-items: start; }
.auth-center { width: min(100%, 430px); margin: 0 auto; }
.auth-center > .back-link { margin-bottom: 24px; }
.auth-card { padding: 30px; }
.auth-card h2 { font-size: 22px; margin: 0 0 8px; }
.auth-card h1 { margin: 22px 0 0; font-size: 28px; letter-spacing: -.04em; }
.auth-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.auth-brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.code-row .button { min-height: 43px; padding-left: 12px; padding-right: 12px; }
.auth-card > .button { width: 100%; margin-top: 22px; }
.form-note { color: #727a71; font-size: 12px; margin: 14px 0 0; }
.auth-test-note { color: #727a71; font-size: 12px; line-height: 1.6; margin: 18px 0 0; }
.auth-test-note .text-link { font-size: inherit; }
.auth-card .field { margin-top: 20px; }
.auth-card .field + .field { margin-top: 16px; }
.auth-card input:disabled, .auth-card button:disabled { cursor: wait; opacity: .65; }
.notice-error { border-color: #ecd0ca; background: #fff6f3; color: #8b4d42; }
.notice-success { border-color: #cfe2d5; background: #f1f8f3; color: #44624d; }
.loading-card { border: 1px dashed #c9cfc3; color: var(--muted); padding: 45px; text-align: center; border-radius: var(--radius); }
.auth-control { white-space: nowrap; }
.poster-stage { min-width: 0; }
.poster-stage-meta { display: flex; justify-content: space-between; color: #777b77; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.poster-card { min-height: 260px; border: 1px solid #daddd1; border-radius: 8px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: none; transition: opacity .22s ease, transform .22s ease, background-color .22s ease; }
.poster-card.is-changing { opacity: .35; transform: translateY(4px); }
.poster-card h2 { margin: 0; max-width: 360px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.14; letter-spacing: -.05em; }
.poster-card p:not(.section-kicker) { color: var(--muted); max-width: 360px; margin: 13px 0 0; }
.poster-card .button { align-self: flex-start; margin-top: 25px; }
.poster-blue { background: var(--brand); color: #fff; border-color: var(--brand); }
.poster-blue h2 { color: #fff; }
.poster-blue p:not(.section-kicker) { color: #d6dfeb; }
.poster-blue .section-kicker { color: #e1a18b; }
.poster-blue .button-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.poster-blue .button-secondary:hover { color: var(--brand-dark); background: #fff; }
.poster-sand { background: var(--sand); }
.poster-slate { background: #efeee6; }
.results-gallery-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.results-gallery-intro p { color: var(--muted); margin: 0; max-width: 650px; }
.results-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.case-placeholder { min-height: 210px; padding: 20px; border: 1px dashed #b8c0b1; border-radius: var(--radius); background: #faf9f4; display: flex; flex-direction: column; justify-content: flex-end; }
.case-placeholder span { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-placeholder b { margin-top: 9px; font-size: 16px; }
.case-placeholder small { color: var(--muted); margin-top: 5px; line-height: 1.5; }
.results-next { margin-top: 22px; }
.results-gallery-intro > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.results-count { color: var(--muted); margin: 0; }
.result-image-card { appearance: none; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 0; overflow: hidden; cursor: zoom-in; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.result-image-card:hover { transform: translateY(-2px); border-color: #a3b49d; box-shadow: var(--shadow); }
.result-image-card:focus-visible { outline: 3px solid rgba(202, 112, 85, .35); outline-offset: 3px; }
.result-image-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #efeee6; }
.results-load-more { display: flex; justify-content: center; margin-top: 26px; }
.results-lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(16, 45, 37, .82); }
.results-lightbox[hidden] { display: none; }
.results-lightbox img { max-width: min(94vw, 1000px); max-height: 88vh; width: auto; height: auto; object-fit: contain; background: var(--paper); border-radius: 4px; }
.result-lightbox-close { position: absolute; top: 18px; right: 20px; border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; border-radius: 4px; min-width: 40px; height: 40px; font-size: 22px; }
body.has-lightbox { overflow: hidden; }

@media (max-width: 900px) {
  .nav-links { gap: 14px; }
  .hero-grid { gap: 38px; }
  .feature-grid, .speaking-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid, .essay-layout, .about-layout, .login-layout { grid-template-columns: 1fr; gap: 18px; }
  .results-gallery { grid-template-columns: repeat(2, 1fr); }
  .results-gallery-intro { align-items: flex-start; flex-direction: column; }
  .mock-entry { align-items: flex-start; flex-direction: column; }
  .mock-hostbar { padding: 9px 14px; }
  .login-layout { max-width: 620px; }
  .passage-panel { grid-template-columns: 1fr; }
  .passage-text { max-height: none; padding-right: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, 560px); }
  .site-header { position: static; }
  .nav { min-height: 64px; gap: 12px; }
  .nav-actions { display: flex; margin-left: auto; }
  .mobile-menu { display: none; }
  .nav-links.mobile-open { display: grid; position: absolute; top: 64px; left: 0; right: 0; z-index: 20; gap: 0; padding: 8px 15px 13px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(28,46,68,.08); }
  .nav-links.mobile-open .nav-link { padding: 10px 0; text-align: left; }
  .hero { padding: 48px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: 42px; }
  .hero-lede { font-size: 15px; }
  .section { padding: 55px 0; }
  .section-heading, .final-cta, .banner, .home-split, .speaking-toolbar { display: block; }
  .section-heading > p { margin-top: 13px; }
  .feature-grid, .course-grid, .exam-list, .speaking-grid { grid-template-columns: 1fr; }
  .results-gallery { grid-template-columns: 1fr; }
  .feature-card { min-height: 205px; }
  .feature-card-number { margin-bottom: 20px; }
  .banner .button { margin-top: 20px; }
  .banner-dots { margin-bottom: 2px; }
  .course-card { min-height: 220px; }
  .results-preview, .ip-preview { min-height: 0; padding: 24px; }
  .ip-preview { margin-top: 15px; align-items: flex-start; }
  .final-cta .cta-actions { margin-top: 20px; }
  .poster-card { min-height: 280px; padding: 25px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 10px; }
  .page { padding-top: 25px; }
  .page-title { margin: 29px 0; }
  .page-title h1 { font-size: 34px; }
  .hero-card { padding: 24px 21px 20px; }
  .hero-card-top { font-size: 12px; }
  .hero-item { gap: 13px; padding: 18px 0; }
  .final-cta { padding: 26px 22px; }
  .entry-row, .exam-toolbar, .exam-toolbar-actions, .questions-panel-top, .audio-panel { display: block; }
  .entry-row .button, .exam-toolbar-actions .button { margin-top: 12px; }
  .exam-toolbar-actions span { display: inline-block; margin-top: 11px; }
  .audio-panel audio { margin-top: 18px; width: 100%; }
  .questions-panel { padding: 18px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-list, .answer-input, .answer-select { margin-left: 0; width: 100%; }
  .question-row-title { gap: 8px; }
  .question-table { min-width: 630px; }
  .speaking-toolbar .search-input { width: 100%; margin-top: 12px; }
  .speaking-summary { display: block; }
  .speaking-summary span { display: block; margin-top: 4px; }
  .course-detail, .empty-card { padding: 28px 22px; }
  .detail-grid { grid-template-columns: 1fr; }
  .login-intro h2 { font-size: 28px; }
}

/* Warm ivory and forest-green editorial identity, shared by every route. */
:root { --heading-font: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif; }
h1, .section-heading h2, .results-preview h2, .final-cta h2, .course-detail h2, .about-card h2, .empty-card h2 { font-family: var(--heading-font); color: var(--brand); font-weight: 600; }
.brand-copy strong { font-family: var(--heading-font); color: var(--brand); font-size: 19px; }
.brand-copy span { font-size: 12px; }
.brand-mark { border-radius: 50%; }
.page-kicker, .section-kicker { font-size: 12px; letter-spacing: .1em; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button-primary { background: var(--brand); }
.feature-card, .course-card { border-radius: 4px; background: var(--paper); }
.feature-card { border-top: 2px solid var(--brand); }
.feature-card-number { color: var(--brand); font-family: Georgia, serif; font-size: 17px; font-weight: 400; margin-bottom: 20px; }
.feature-card .text-link { align-self: flex-start; padding-top: 20px; }
.course-letter { border-radius: 50%; font-family: Georgia, serif; font-weight: 400; color: var(--brand); }
.course-card p { min-width: 0; }
.section + .section:not(.section-muted) { border-top: 1px solid var(--line); }
.results-preview { min-height: 240px; }
.final-cta { border-left: 3px solid var(--brand); background: var(--paper); }
.auth-card { border-radius: 4px; border-top: 3px solid var(--brand); padding: 36px; }
.auth-card h1 { font-size: 32px; }
.auth-page { background: var(--surface); }
.about-portrait { width: 100%; max-height: 480px; object-fit: cover; object-position: center 43%; border-radius: 4px; }
.auth-card input { min-width: 0; font-size: 16px; }
.code-row { grid-template-columns: minmax(0, 1fr) auto; }
.form-note, .auth-test-note { font-size: 13px; }
.side-note, .essay-launch-card, .notice-block, .mock-entry { background: var(--brand-soft); border-color: var(--line); }
.mock-hostbar { background: var(--surface); }
.tab { color: var(--muted); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.hero-editorial { padding: 24px 0 18px; background: var(--sand); }
.hero-heading { display: flex; gap: 20px; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.hero-heading h1 { font-size: 30px; line-height: 1.35; letter-spacing: .02em; }
.hero-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.poster-stage { width: 100%; }
.poster-track { display: grid; aspect-ratio: 2 / 1; overflow: hidden; background: var(--sand); border: 1px solid var(--line); border-radius: 4px; isolation: isolate; }
.poster-slide { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s; }
.poster-slide.active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.poster-slide img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.poster-slide:focus-visible { outline-offset: -4px; }
.poster-controls { display: flex; justify-content: space-between; align-items: center; min-height: 52px; gap: 12px; }
.poster-caption { font-size: 13px; color: var(--muted); }
.poster-navigation { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.poster-stage .banner-dots { margin: 0; gap: 0; }
.poster-stage .banner-dot { background: transparent; width: 28px; height: 36px; display: grid; place-items: center; border-radius: 4px; }
.poster-stage .banner-dot::after { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: #bcc5b8; transition: background .2s; }
.poster-stage .banner-dot.active::after { background: var(--brand); }
.poster-arrow, .poster-pause { height: 36px; min-width: 36px; border: 0; border-radius: 4px; background: transparent; color: var(--brand); padding: 4px 8px; }
.poster-arrow { font-size: 20px; }
.poster-pause { border-left: 1px solid var(--line); font-size: 12px; margin-left: 5px; }
.poster-arrow:hover, .poster-pause:hover { background: var(--brand-soft); }
@media (max-width: 680px) {
  .hero-editorial { padding: 20px 0 8px; }
  .hero-heading { display: block; margin-bottom: 16px; }
  .hero-heading h1 { font-size: 26px; }
  .hero-heading p { font-size: 13px; margin-top: 6px; }
  .poster-controls { min-height: 48px; }
  .poster-caption { max-width: 40%; font-size: 12px; }
  .poster-navigation { gap: 0; }
  .poster-arrow { min-width: 32px; padding: 4px; }
  .poster-stage .banner-dot { width: 24px; }
  .poster-pause { padding: 4px 6px; }
  .section { padding: 40px 0; }
  .feature-card { min-height: 185px; padding: 23px; }
  .course-card { min-height: 205px; }
  .auth-card { padding: 27px 22px; }
  .brand-copy strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
