:root {
  --ink: #1c1916;
  --ink-soft: #554b43;
  --muted: #756b62;
  --paper: #fffaf4;
  --paper-strong: #fffdf9;
  --canvas: #f5f0e7;
  --canvas-deep: #eae2d4;
  --line: #e6d9ca;
  --line-strong: #d7c5b1;
  --brand: #7a3f12;
  --brand-dark: #4b2812;
  --brand-light: #f1c78f;
  --gold: #d99a3f;
  --gold-pale: #fff0d4;
  --sage: #7b9484;
  --sage-pale: #e7eedb;
  --navy: #173544;
  --navy-light: #dfe9eb;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(67, 42, 22, 0.07);
  --shadow-md: 0 24px 70px rgba(67, 42, 22, 0.12);
  --shadow-lg: 0 36px 100px rgba(48, 30, 16, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "PingFang SC", "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.95), transparent 24rem),
    linear-gradient(180deg, #faf6ef 0%, var(--canvas) 45%, #f8f3eb 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  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;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(217, 154, 63, 0.65);
  outline-offset: 3px;
}

.announcement {
  color: #f7efe7;
  background: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.announcement__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.announcement__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e4b76d;
  box-shadow: 0 0 0 4px rgba(228, 183, 109, 0.14);
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 3px;
  color: #edca91;
}

.announcement a:hover {
  color: var(--white);
}

.announcement svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  padding: 13px 0;
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(215, 197, 177, 0.7);
  background: rgba(250, 246, 239, 0.92);
  box-shadow: 0 10px 34px rgba(67, 42, 22, 0.06);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d2ab78;
  border-radius: 13px;
  color: #fff8ec;
  background: linear-gradient(145deg, #98531d, #60310f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 20px rgba(91, 46, 14, 0.18);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.4px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.desktop-nav a,
.nav-signin {
  position: relative;
  color: #4b433d;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1.5px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.language-button,
.mobile-menu-button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 253, 249, 0.72);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.icon-button:hover,
.language-button:hover,
.mobile-menu-button:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.icon-button {
  width: 40px;
  padding: 0;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.language-button {
  gap: 6px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
}

.language-button svg {
  width: 17px;
  height: 17px;
}

.nav-signin {
  padding: 8px 4px;
}

.nav-signin:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.05px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--small {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 13px;
}

.button--dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 7px 18px rgba(28, 25, 22, 0.14);
}

.button--dark:hover {
  background: var(--brand-dark);
}

.button--brand {
  color: #fffaf3;
  background: linear-gradient(135deg, #8b4b18, #5f300f);
  box-shadow: 0 14px 30px rgba(110, 55, 17, 0.22);
}

.button--brand:hover {
  background: linear-gradient(135deg, #99571f, #6c3712);
  box-shadow: 0 16px 36px rgba(110, 55, 17, 0.28);
}

.button--ghost {
  border-color: var(--line-strong);
  color: #4d4137;
  background: rgba(255, 253, 249, 0.72);
}

.button--ghost:hover,
.button--ghost-dark:hover {
  border-color: #bca58d;
  background: var(--white);
}

.button--ghost-dark {
  border-color: #c8b4a0;
  color: var(--ink);
  background: transparent;
}

.button--paper {
  color: var(--brand-dark);
  background: #fff6e8;
}

.button--paper:hover {
  background: var(--white);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.button--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: 66px;
  padding-top: 54px;
  padding-bottom: 102px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker,
.micro-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.55px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: #765538;
}

.eyebrow__icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: var(--brand);
  background: var(--gold-pale);
}

.eyebrow svg {
  width: 13px;
  height: 13px;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  color: #1b1714;
  font-family: var(--serif);
  font-size: clamp(54px, 5.1vw, 78px);
  font-weight: 600;
  letter-spacing: -3.7px;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}

.hero__lede {
  max-width: 610px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 33px;
}

.hero__proof {
  display: flex;
  gap: 29px;
  margin-top: 36px;
}

.hero__proof > div {
  display: flex;
  min-width: 100px;
  flex-direction: column;
  gap: 2px;
}

.hero__proof > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}

.hero__proof strong {
  font-family: var(--serif);
  font-size: 19px;
}

.hero__proof span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.3px;
}

.hero__visual {
  position: relative;
  min-height: 600px;
}

.hero-art {
  position: absolute;
  inset: 26px -8px 32px 52px;
  overflow: hidden;
  border: 1px solid rgba(181, 147, 108, 0.4);
  border-radius: 52% 48% 44% 56% / 42% 37% 63% 58%;
  background:
    linear-gradient(150deg, rgba(250, 243, 231, 0.2), rgba(242, 215, 176, 0.22)),
    url("./assets/onboarding_brand_hero.webp")
      center / cover;
  box-shadow: 0 36px 90px rgba(76, 49, 28, 0.13);
  opacity: 0.66;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 253, 248, 0.22), rgba(255, 247, 235, 0.6));
  content: "";
}

.dashboard-card {
  position: absolute;
  z-index: 2;
  top: 72px;
  right: 34px;
  width: min(470px, 78%);
  padding: 24px;
  border: 1px solid rgba(221, 205, 187, 0.95);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.93);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  transform: rotate(1.25deg);
}

.dashboard-card__top,
.progress-meta,
.practice-stage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.micro-label {
  display: block;
  color: #9c7e63;
  font-size: 9px;
  letter-spacing: 1.3px;
}

.dashboard-card h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.65px;
}

.level-badge {
  display: inline-flex;
  min-width: 62px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5bc85;
  border-radius: 11px;
  color: #704114;
  background: #fae1bb;
  font-size: 12px;
  font-weight: 800;
}

.progress-row {
  margin-top: 19px;
}

.progress-meta {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.progress-track,
.practice-stage__progress {
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 999px;
  background: #ece2d6;
}

.progress-track span,
.practice-stage__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a4a17, #d19a52);
}

.word-stack {
  position: relative;
  height: 274px;
  margin-top: 18px;
}

.word-card {
  position: absolute;
  inset: 0 9px 0 9px;
  display: flex;
  align-items: center;
  padding: 23px 26px;
  border: 1px solid #e8dacb;
  border-radius: 23px;
  background:
    linear-gradient(rgba(255, 253, 249, 0.91), rgba(255, 253, 249, 0.96)),
    url("./assets/practice_flashcards_cover.webp")
      center / cover;
  box-shadow: 0 13px 30px rgba(61, 39, 20, 0.1);
}

.word-card:not(.word-card--back) {
  flex-direction: column;
}

.word-card--back {
  inset: 10px 0 -8px 22px;
  justify-content: flex-end;
  color: transparent;
  background: #e8ddcf;
  transform: rotate(4deg);
}

.word-card__sound,
.sound-button {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: #fff0d8;
}

.word-card__sound {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 34px;
  height: 34px;
}

.word-card__sound svg {
  width: 16px;
  height: 16px;
}

.word-card__level {
  color: #927152;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.word-card strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.05;
}

.word-card__pinyin {
  margin-top: 4px;
  color: #7d5530;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.word-card > p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.word-card__example {
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid rgba(219, 202, 182, 0.72);
  border-radius: 11px;
  background: rgba(255, 250, 242, 0.7);
}

.word-card__example span,
.word-card__example small {
  display: block;
}

.word-card__example span {
  font-family: var(--serif);
  font-size: 12px;
}

.word-card__example small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.module-row {
  display: flex;
  gap: 6px;
  margin-top: 17px;
}

.module-pill {
  display: inline-flex;
  min-height: 30px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  border: 1px solid #e3d6c8;
  border-radius: 9px;
  color: #8b7d71;
  cursor: pointer;
  background: #fffaf4;
  font-size: 8px;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.module-pill:hover {
  border-color: #cbb49b;
  background: var(--white);
}

.module-pill span,
.module-pill svg {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 999px;
  font-size: 7px;
}

.module-pill svg {
  padding: 2px;
  color: var(--white);
  background: var(--sage);
}

.module-pill--done {
  color: #667d6e;
  border-color: #d7e0d3;
  background: #f0f4ea;
}

.module-pill--active {
  color: #71441c;
  border-color: #e3b97d;
  background: #fff0d8;
}

.module-pill--active span {
  color: var(--white);
  background: var(--brand);
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 208px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(219, 203, 183, 0.9);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.floating-note--left {
  bottom: 58px;
  left: -8px;
  transform: rotate(-2deg);
}

.floating-note--right {
  right: -10px;
  bottom: 26px;
  transform: rotate(1.5deg);
}

.floating-note__icon,
.streak-ring {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
}

.floating-note__icon {
  color: #6d806f;
  background: var(--sage-pale);
}

.floating-note__icon svg {
  width: 19px;
  height: 19px;
}

.streak-ring {
  border: 2px solid #d3933e;
  color: #8b4d15;
  background: #fff0d6;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.floating-note > span:last-child {
  display: flex;
  flex-direction: column;
}

.floating-note strong {
  font-size: 11px;
}

.floating-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.path-section {
  padding: 100px 0 110px;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.52), transparent 38%),
    #efe7dc;
}

.section-heading h2,
.round-copy h2,
.audience-copy h2,
.final-cta h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -2.1px;
  line-height: 1.08;
}

.kicker {
  color: #98612c;
}

.kicker--light {
  color: #e4bb78;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
}

.section-heading--split h2 {
  max-width: 690px;
}

.section-heading--split > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
}

.section-heading--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center > p {
  max-width: 650px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.edition-toggle {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d8c8b7;
  border-radius: 13px;
  background: rgba(255, 252, 247, 0.56);
}

.edition-toggle button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.edition-toggle button.is-active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 4px 11px rgba(28, 25, 22, 0.16);
}

.level-selector {
  display: grid;
  grid-template-columns: repeat(6, 1fr) 1.35fr;
  gap: 10px;
  margin-top: 49px;
}

.level-button {
  position: relative;
  min-height: 73px;
  border: 1px solid #d9c9b7;
  border-radius: 19px;
  color: #6e6257;
  cursor: pointer;
  background: rgba(255, 252, 247, 0.68);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.level-button::before {
  position: absolute;
  top: 9px;
  left: 50%;
  color: #a79480;
  content: "HSK";
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.2px;
  transform: translateX(-50%);
}

.level-button:hover {
  border-color: #bfa68b;
  background: var(--paper-strong);
}

.level-button.is-active {
  border-color: #704118;
  color: var(--white);
  background: linear-gradient(145deg, #8b4d19, #63320f);
  box-shadow: 0 13px 27px rgba(93, 47, 14, 0.2);
}

.level-button.is-active::before {
  color: #f1c790;
}

.level-detail {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr 0.8fr;
  gap: 38px;
  margin-top: 18px;
  padding: 40px;
  border: 1px solid #dac8b5;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 6%, rgba(232, 197, 142, 0.2), transparent 18rem),
    rgba(255, 252, 247, 0.88);
  box-shadow: var(--shadow-sm);
}

.level-detail__intro {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 25px;
}

.level-detail__number {
  color: #d6c4b1;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.95;
}

.level-detail h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.15;
}

.level-detail__intro p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link,
.library-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  margin-top: 19px;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.level-detail__facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-left: 35px;
  border-left: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  column-gap: 12px;
}

.fact svg {
  width: 29px;
  height: 29px;
  grid-row: 1 / span 2;
  padding: 6px;
  border-radius: 9px;
  color: #8a5e34;
  background: #f6e6cf;
}

.fact span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fact strong {
  font-size: 13px;
}

.level-detail__words {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.level-detail__words > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.level-detail__words > div > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #e1d3c4;
  font-family: var(--serif);
  font-size: 21px;
}

.level-detail__words small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.library-section {
  padding-top: 112px;
  padding-bottom: 118px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 50px;
}

.library-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 13px 38px rgba(67, 42, 22, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.library-card:hover {
  border-color: #cfb79e;
  box-shadow: 0 18px 48px rgba(67, 42, 22, 0.1);
}

.library-card--feature {
  background:
    radial-gradient(circle at 92% 4%, rgba(228, 169, 92, 0.28), transparent 15rem),
    #fff8ec;
}

.library-card--sage {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent),
    #e9efe4;
}

.library-card--warm {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent),
    #f5e2ca;
}

.library-card--dark {
  border-color: #2b4854;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 158, 90, 0.23), transparent 14rem),
    var(--navy);
}

.card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  color: #7e5734;
  background: rgba(255, 248, 238, 0.8);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.library-card--dark .card-icon {
  color: #ebc68b;
  background: rgba(255, 255, 255, 0.08);
}

.library-card__tag {
  margin-top: 20px;
  color: #a16c37;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.library-card--dark .library-card__tag {
  color: #e7bd7c;
}

.library-card h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.8px;
}

.library-card > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.library-card--dark > p {
  color: #c8d2d5;
}

.library-card__preview {
  display: grid;
  width: 100%;
  grid-template-columns: 50px 1fr 37px;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid #e6d4bc;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.74);
}

.preview-hanzi {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 11px;
  color: var(--brand);
  background: #f5e5d0;
  font-family: var(--serif);
  font-size: 29px;
}

.library-card__preview > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.library-card__preview strong {
  font-size: 13px;
}

.library-card__preview small {
  color: var(--muted);
  font-size: 9px;
}

.sound-button {
  width: 34px;
  height: 34px;
}

.sound-button svg {
  width: 16px;
  height: 16px;
}

.library-card__link {
  margin-top: auto;
}

.reading-lines {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
}

.reading-lines i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(73, 91, 72, 0.22);
}

.date-preview,
.score-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.date-preview > strong {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
}

.date-preview > span,
.score-preview > span {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.date-preview small,
.score-preview small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.analyzer-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.analyzer-preview i {
  padding: 6px 9px;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: normal;
}

.analyzer-preview .l1 {
  background: #e5edda;
}

.analyzer-preview .l2 {
  background: #eee3cf;
}

.analyzer-preview .l3 {
  background: #f8d9bb;
}

.analyzer-preview .l4 {
  background: #dbe7e9;
}

.score-preview strong {
  color: #f6d39d;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
}

.score-preview small {
  color: #b9c9cd;
}

.round-section {
  padding: 116px 0;
  color: #f7f1e9;
  background:
    radial-gradient(circle at 12% 4%, rgba(204, 155, 87, 0.11), transparent 26rem),
    linear-gradient(140deg, #152d38, #10242d 58%, #17323b);
}

.round-layout {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 86px;
}

.round-layout > * {
  min-width: 0;
}

.round-copy h2 {
  max-width: 570px;
}

.round-copy > p {
  max-width: 570px;
  margin: 20px 0 0;
  color: #bdc9cc;
  font-size: 16px;
}

.round-tabs {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  gap: 4px;
  margin-top: 34px;
}

.round-tab {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #94a7ad;
  cursor: pointer;
  text-align: left;
  background: transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.round-tab:hover {
  color: #d6e0e2;
  background: rgba(255, 255, 255, 0.035);
}

.round-tab.is-active {
  border-color: rgba(226, 188, 130, 0.32);
  color: #fff9ef;
  background: rgba(255, 255, 255, 0.065);
}

.round-tab > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #48616a;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}

.round-tab.is-active > span:first-child {
  border-color: #bd8441;
  color: #f0c78b;
  background: rgba(218, 156, 73, 0.1);
}

.round-tab > span:last-child {
  display: flex;
  flex-direction: column;
}

.round-tab strong {
  font-family: var(--serif);
  font-size: 17px;
}

.round-tab small {
  color: #82969c;
  font-size: 10px;
}

.practice-stage {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(218, 185, 139, 0.27);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 243, 220, 0.08), transparent 18rem),
    rgba(7, 17, 21, 0.28);
  box-shadow: 0 42px 90px rgba(4, 13, 17, 0.3);
}

.practice-stage__top {
  color: #95a6ab;
  font-size: 10px;
  font-weight: 700;
}

.practice-stage__top .micro-label {
  color: #d3aa6e;
}

.practice-stage__progress {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.practice-stage__progress span {
  width: 40%;
  transition: width 280ms ease;
}

.practice-card {
  display: flex;
  min-height: 405px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  padding: 34px;
  border: 1px solid #e0d0be;
  border-radius: 26px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 252, 247, 0.88), rgba(255, 252, 247, 0.95)),
    url("./assets/practice_flashcards_cover.webp")
      center / cover;
  box-shadow: 0 22px 52px rgba(4, 13, 17, 0.28);
  text-align: center;
}

.practice-card__label {
  color: #986c43;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.practice-card__hanzi {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: 84px;
  font-weight: 600;
  line-height: 1;
}

.practice-card__pinyin {
  margin-top: 10px;
  color: #8b5b32;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.practice-card > strong {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 21px;
}

.practice-card > p {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 17px;
}

.practice-card > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.practice-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
  margin-top: 16px;
}

.practice-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.practice-action svg {
  width: 17px;
  height: 17px;
}

.practice-action--secondary {
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: #c0ced1;
  background: rgba(255, 255, 255, 0.04);
}

.practice-action--secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.practice-action--primary {
  border: 1px solid #d3a15f;
  color: #fff8ed;
  background: linear-gradient(135deg, #9b5b21, #6e3b16);
}

.practice-action--primary:hover {
  background: linear-gradient(135deg, #a96829, #7e451a);
}

.tools-section {
  padding-top: 112px;
  padding-bottom: 118px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 48px;
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 30px;
  border-radius: 27px;
}

.tool-card::after {
  position: absolute;
  right: -25px;
  bottom: -38px;
  width: 155px;
  height: 155px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.12;
}

.tool-card--navy {
  color: #f1f5f3;
  background: var(--navy);
}

.tool-card--gold {
  color: #3e2816;
  background: #e4b96f;
}

.tool-card--sage {
  color: #213229;
  background: #b8c8a4;
}

.tool-card__number {
  position: absolute;
  top: 23px;
  right: 26px;
  font-family: var(--serif);
  font-size: 42px;
  opacity: 0.22;
}

.tool-card .card-icon {
  color: inherit;
  background: rgba(255, 255, 255, 0.13);
}

.tool-card--gold .card-icon,
.tool-card--sage .card-icon {
  background: rgba(255, 255, 255, 0.35);
}

.tool-card h3 {
  max-width: 280px;
  margin: 67px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
}

.tool-card p {
  max-width: 290px;
  margin: 14px 0 0;
  color: rgba(236, 245, 243, 0.72);
  font-size: 13px;
}

.tool-card--gold p,
.tool-card--sage p {
  color: rgba(50, 39, 27, 0.69);
}

.tool-card__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.tool-card__button span {
  transition: transform 180ms ease;
}

.tool-card__button:hover span {
  transform: translateX(3px);
}

.audience-section {
  padding: 110px 0;
  border-block: 1px solid var(--line);
  background: #ece5db;
}

.audience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 88px;
}

.audience-art {
  position: relative;
  overflow: hidden;
  min-height: 505px;
  border: 1px solid #d9c7b3;
  border-radius: var(--radius-xl);
  background: #dfd2c3;
  box-shadow: var(--shadow-md);
}

.audience-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, transparent 50%, rgba(89, 53, 25, 0.15));
  content: "";
}

.audience-art img {
  width: 100%;
  height: 100%;
  min-height: 505px;
  object-fit: cover;
}

.audience-copy > p {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.audience-copy ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 29px 0 31px;
  padding: 0;
  list-style: none;
}

.audience-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
}

.audience-copy li svg {
  width: 23px;
  height: 23px;
  padding: 4px;
  border-radius: 999px;
  color: #536a59;
  background: #dce5d0;
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  overflow: hidden;
  margin-top: 112px;
  margin-bottom: 112px;
  padding: 65px 78px;
  border-radius: 40px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(232, 187, 116, 0.24), transparent 20rem),
    linear-gradient(135deg, #713a13, #44240f);
  box-shadow: var(--shadow-lg);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.final-cta h2 {
  font-size: clamp(42px, 4vw, 58px);
}

.final-cta__content > p {
  max-width: 590px;
  margin: 17px 0 0;
  color: #ead8c5;
  font-size: 16px;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 29px;
}

.final-cta__stamp {
  position: relative;
  z-index: 1;
  display: grid;
  width: 200px;
  height: 200px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 239, 216, 0.48);
  border-radius: 50%;
  color: #fae0b5;
  transform: rotate(8deg);
}

.final-cta__stamp::before,
.final-cta__stamp::after {
  position: absolute;
  border: 1px solid rgba(255, 239, 216, 0.2);
  border-radius: 50%;
  content: "";
}

.final-cta__stamp::before {
  inset: 9px;
}

.final-cta__stamp::after {
  inset: 20px;
}

.final-cta__stamp span {
  margin-top: -18px;
  font-family: var(--serif);
  font-size: 88px;
}

.final-cta__stamp small {
  position: absolute;
  bottom: 38px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.site-footer {
  padding: 76px 0 24px;
  border-top: 1px solid var(--line);
  background: #ebe3d7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand p {
  max-width: 310px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid > div:not(.footer-brand) strong {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 15px;
}

.footer-grid > div:not(.footer-brand) a {
  color: var(--muted);
  font-size: 12px;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 60px;
  padding-top: 19px;
  border-top: 1px solid #d8cab9;
  color: #8c8074;
  font-size: 10px;
}

.modal-backdrop,
.search-panel {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 16, 13, 0.62);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden],
.search-panel[hidden] {
  display: none;
}

.plan-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 39px;
  border: 1px solid #e3d4c3;
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: 0 36px 100px rgba(14, 9, 6, 0.35);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  background: #fffaf4;
}

.modal-close svg {
  width: 17px;
  height: 17px;
}

.plan-modal__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}

.plan-modal__progress span {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #e7ddd2;
}

.plan-modal__progress span:first-child {
  background: var(--brand);
}

.plan-modal h2 {
  max-width: 500px;
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1.3px;
  line-height: 1.1;
}

.plan-modal > p {
  margin: 10px 0 0;
  color: var(--muted);
}

.goal-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.goal-grid button {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  text-align: left;
  background: #fffaf4;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.goal-grid button:hover {
  border-color: #cdb398;
}

.goal-grid button.is-selected {
  border-color: #9a5a24;
  background: #fff1dd;
  box-shadow: inset 0 0 0 1px rgba(154, 90, 36, 0.14);
}

.goal-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: #84562f;
  background: #f2e4d3;
}

.goal-icon svg {
  width: 21px;
  height: 21px;
}

.goal-grid button > span:last-child {
  display: flex;
  flex-direction: column;
}

.goal-grid__result {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #cad9c5;
  border-radius: 15px;
  background: #f0f5e9;
}

.goal-grid__result > span:last-child {
  display: flex;
  flex-direction: column;
}

.goal-grid strong {
  font-family: var(--serif);
  font-size: 16px;
}

.goal-grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.modal-continue {
  width: 100%;
  margin-top: 20px;
}

.modal-continue:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5);
  opacity: 0.45;
  box-shadow: none;
}

.modal-note {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  text-align: center;
}

.search-panel {
  align-items: start;
  padding-top: 10vh;
}

.search-dialog {
  width: min(690px, 100%);
  overflow: hidden;
  border: 1px solid #ddcbb7;
  border-radius: 24px;
  background: var(--paper-strong);
  box-shadow: 0 36px 100px rgba(14, 9, 6, 0.35);
}

.search-dialog__input {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.search-dialog__input svg {
  width: 21px;
  height: 21px;
  color: var(--muted);
}

.search-dialog__input input {
  width: 100%;
  padding: 3px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.search-dialog__input button {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  background: #f3ece3;
  font-size: 9px;
  font-weight: 800;
}

.search-dialog__body {
  display: flex;
  flex-direction: column;
  padding: 17px;
}

.search-dialog__body .micro-label {
  padding: 0 7px 9px;
}

.search-dialog__body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px;
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 14px;
}

.search-dialog__body a:hover {
  background: #f3ece2;
}

.search-dialog__body small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .language-button,
  .nav-signin {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
    gap: 32px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .dashboard-card {
    right: 10px;
    width: 82%;
  }

  .floating-note--right {
    right: -5px;
  }

  .level-detail {
    grid-template-columns: 1.35fr 0.8fr;
  }

  .level-detail__words {
    grid-column: 1 / -1;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .level-detail__words > div {
    flex-direction: row;
  }

  .level-detail__words > div > span {
    flex: 1;
  }

  .round-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 36px, 760px);
  }

  .desktop-nav,
  .nav-actions > .icon-button,
  .nav-actions > .button {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-menu-button span {
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--ink);
  }

  .mobile-nav {
    width: min(100% - 36px, 760px);
    margin: 0 auto;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    padding: 10px 2px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-nav .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero__copy {
    max-width: 680px;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero h1,
  .hero__lede {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__proof {
    justify-content: center;
  }

  .hero__visual {
    min-height: 610px;
  }

  .hero-art {
    inset: 18px 40px 22px;
  }

  .dashboard-card {
    top: 55px;
    right: 50%;
    width: min(470px, 72%);
    transform: translateX(50%) rotate(1deg);
  }

  .floating-note--left {
    left: 6%;
  }

  .floating-note--right {
    right: 5%;
  }

  .section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .edition-toggle {
    align-self: flex-start;
  }

  .level-selector {
    grid-template-columns: repeat(4, 1fr);
  }

  .level-detail {
    grid-template-columns: 1fr;
  }

  .level-detail__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact {
    grid-template-columns: 34px 1fr;
  }

  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .round-layout {
    grid-template-columns: 1fr;
  }

  .round-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .round-tab {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .round-tab small {
    display: none;
  }

  .practice-stage {
    width: min(600px, 100%);
    margin-inline: auto;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 300px;
  }

  .tool-card h3 {
    max-width: 430px;
    margin-top: 45px;
  }

  .audience-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .audience-art {
    min-height: 420px;
  }

  .audience-art img {
    min-height: 420px;
  }

  .final-cta {
    padding: 55px;
  }

  .final-cta__stamp {
    width: 150px;
    height: 150px;
  }

  .final-cta__stamp span {
    font-size: 68px;
  }

  .final-cta__stamp small {
    bottom: 26px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 520px);
  }

  .announcement__inner {
    min-height: 40px;
    justify-content: flex-start;
    font-size: 10px;
  }

  .announcement a {
    margin-left: auto;
    white-space: nowrap;
  }

  .announcement a svg {
    display: none;
  }

  .brand small {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .brand strong {
    font-size: 20px;
  }

  .hero {
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 76px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.15px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.5vw, 62px);
    letter-spacing: -2.8px;
  }

  .hero__lede {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    gap: 13px;
  }

  .hero__proof > div {
    min-width: 0;
    flex: 1;
  }

  .hero__proof > div + div {
    padding-left: 13px;
  }

  .hero__proof strong {
    font-size: 16px;
  }

  .hero__proof span {
    font-size: 9px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero-art {
    inset: 10px 0 45px;
  }

  .dashboard-card {
    top: 31px;
    width: 92%;
    padding: 17px;
    border-radius: 24px;
  }

  .dashboard-card h2 {
    font-size: 20px;
  }

  .level-badge {
    min-width: 55px;
  }

  .word-stack {
    height: 235px;
  }

  .word-card {
    padding: 18px;
  }

  .word-card strong {
    font-size: 47px;
  }

  .word-card__example {
    display: none;
  }

  .module-row {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .module-pill {
    min-width: 64px;
  }

  .floating-note {
    min-width: 0;
    padding: 10px;
  }

  .floating-note--left {
    bottom: 20px;
    left: 0;
  }

  .floating-note--right {
    right: 0;
    bottom: -10px;
  }

  .floating-note__icon,
  .streak-ring {
    width: 32px;
    height: 32px;
  }

  .floating-note strong {
    font-size: 9px;
  }

  .floating-note small {
    display: none;
  }

  .path-section,
  .library-section,
  .tools-section,
  .audience-section,
  .round-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading h2,
  .round-copy h2,
  .audience-copy h2 {
    font-size: 39px;
    letter-spacing: -1.6px;
  }

  .section-heading--split {
    gap: 20px;
  }

  .section-heading--split > p {
    font-size: 14px;
  }

  .edition-toggle {
    width: 100%;
  }

  .edition-toggle button {
    flex: 1;
  }

  .level-selector {
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 33px;
  }

  .level-button {
    min-height: 62px;
    border-radius: 15px;
    font-size: 20px;
  }

  .level-detail {
    gap: 25px;
    padding: 24px;
    border-radius: 23px;
  }

  .level-detail__intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .level-detail__number {
    font-size: 40px;
  }

  .level-detail h3 {
    font-size: 27px;
  }

  .level-detail__facts {
    grid-template-columns: 1fr;
  }

  .level-detail__words > div {
    flex-direction: column;
  }

  .section-heading--center > p {
    font-size: 15px;
  }

  .library-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .library-card {
    min-height: 285px;
  }

  .round-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 7px;
    scroll-snap-type: x mandatory;
  }

  .round-tab {
    min-width: 118px;
    scroll-snap-align: start;
  }

  .practice-stage {
    padding: 16px;
    border-radius: 25px;
  }

  .practice-card {
    min-height: 345px;
    padding: 24px 17px;
  }

  .practice-card__hanzi {
    font-size: 68px;
  }

  .practice-card > p {
    font-size: 15px;
  }

  .practice-actions {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 320px;
    padding: 25px;
  }

  .tool-card h3 {
    font-size: 27px;
  }

  .audience-art,
  .audience-art img {
    min-height: 330px;
  }

  .final-cta {
    width: calc(100% - 28px);
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 78px;
    margin-bottom: 78px;
    padding: 42px 27px;
    border-radius: 28px;
  }

  .final-cta h2 {
    font-size: 42px;
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .final-cta__actions .button {
    width: 100%;
  }

  .final-cta__stamp {
    position: absolute;
    right: -45px;
    bottom: -52px;
    opacity: 0.2;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 45px;
  }

  .plan-modal {
    padding: 28px 20px 22px;
    border-radius: 22px;
  }

  .plan-modal h2 {
    padding-right: 35px;
    font-size: 30px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
  }

  .search-panel {
    padding: 13px;
    padding-top: 7vh;
  }
}

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

/* ==========================================================================
   Refined direction — editorial restraint inspired by Apple's product
   storytelling and Vercel's typographic/grid discipline.
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --ink-soft: #3f3f3d;
  --muted: #6f6e69;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --canvas: #f6f6f3;
  --canvas-deep: #ecebe6;
  --line: #deded8;
  --line-strong: #c8c7c0;
  --brand: #8a4315;
  --brand-dark: #52270d;
  --brand-light: #e8b977;
  --gold: #c98b3b;
  --gold-pale: #f7ead6;
  --sage: #6f8777;
  --sage-pale: #e5ebe3;
  --navy: #0f252f;
  --navy-light: #e4eaeb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.025);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 42px 110px rgba(0, 0, 0, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

body {
  background: var(--canvas);
}

.shell {
  width: min(1280px, calc(100% - 64px));
}

.announcement {
  background: #0b0b0b;
}

.announcement__inner {
  min-height: 32px;
}

.announcement__dot {
  width: 5px;
  height: 5px;
  background: #d19a55;
  box-shadow: none;
}

.site-header {
  padding: 11px 0;
  background: rgba(246, 246, 243, 0.78);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  background: rgba(246, 246, 243, 0.94);
  box-shadow: none;
}

.nav-wrap {
  min-height: 50px;
}

.brand {
  gap: 10px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: #0b0b0b;
  box-shadow: none;
  font-size: 20px;
}

.brand strong {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.5px;
}

.brand small {
  margin-top: 3px;
  color: #777771;
  font-size: 7px;
  letter-spacing: 1.45px;
}

.desktop-nav {
  gap: 29px;
}

.desktop-nav a,
.nav-signin {
  color: #4f4f4b;
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav a::after {
  bottom: -10px;
  height: 1px;
  background: #111111;
}

.icon-button,
.language-button,
.mobile-menu-button {
  height: 36px;
  border-color: var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.58);
}

.icon-button {
  width: 36px;
}

.button {
  min-height: 48px;
  padding-inline: 19px;
  border-radius: 9px;
  font-weight: 650;
}

.button--small {
  min-height: 38px;
  border-radius: 7px;
}

.button--dark {
  color: #ffffff;
  background: #0b0b0b;
  box-shadow: none;
}

.button--dark:hover {
  background: #2a2a28;
}

.button--brand {
  background: #0b0b0b;
  box-shadow: none;
}

.button--brand:hover {
  background: #2b2b29;
  box-shadow: none;
}

.button--ghost {
  border-color: #c9c9c3;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 78px;
  padding-top: 112px;
  padding-bottom: 0;
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background:
    linear-gradient(90deg, transparent calc(50% - 640px), rgba(10, 10, 10, 0.045) calc(50% - 640px), rgba(10, 10, 10, 0.045) calc(50% - 639px), transparent calc(50% - 639px)),
    linear-gradient(90deg, transparent calc(50% + 639px), rgba(10, 10, 10, 0.045) calc(50% + 639px), rgba(10, 10, 10, 0.045) calc(50% + 640px), transparent calc(50% + 640px));
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__copy {
  max-width: 1040px;
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 29px;
  color: #5d5d58;
  font-size: 10px;
  letter-spacing: 1.8px;
}

.eyebrow__icon {
  width: 20px;
  height: 20px;
  border: 1px solid #cac9c2;
  border-radius: 50%;
  color: #444440;
  background: transparent;
}

.eyebrow svg {
  width: 10px;
  height: 10px;
}

.hero h1 {
  max-width: none;
  font-family: var(--sans);
  font-size: clamp(72px, 8.2vw, 124px);
  font-weight: 720;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.hero h1 span {
  display: inline-block;
  margin-top: 10px;
  color: #8a4315;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero__lede {
  max-width: 760px;
  margin-top: 34px;
  margin-inline: auto;
  color: #50504c;
  font-size: 19px;
  line-height: 1.62;
}

.hero__actions {
  justify-content: center;
  margin-top: 34px;
}

.hero__proof {
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.hero__proof > div {
  min-width: 190px;
  padding: 0 34px;
}

.hero__proof > div + div {
  padding-left: 34px;
  border-left-color: #d0cfc9;
}

.hero__proof strong {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.4px;
}

.hero__proof span {
  color: #7b7b75;
  font-size: 10px;
}

.hero__visual {
  min-height: 760px;
  margin-top: 3px;
}

.hero-art {
  inset: 46px 3% 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(246, 246, 243, 0.12), rgba(246, 246, 243, 0.94)),
    url("./assets/onboarding_brand_hero.webp")
      center 42% / cover;
  box-shadow: none;
  opacity: 0.34;
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 72%, transparent 100%);
}

.dashboard-card {
  top: 12px;
  right: 50%;
  width: min(640px, 78%);
  padding: 30px;
  border-color: rgba(206, 205, 198, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(24px);
  transform: translateX(50%);
}

.dashboard-card h2 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.8px;
}

.level-badge {
  border: 1px solid #d8d7d1;
  border-radius: 6px;
  color: #31312e;
  background: #f2f1ed;
}

.word-stack {
  height: 326px;
  margin-top: 22px;
}

.word-card {
  border-color: #deddd7;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.95)),
    url("./assets/practice_flashcards_cover.webp")
      center / cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.word-card--back {
  background: #e7e6e1;
}

.word-card strong {
  font-size: 68px;
}

.module-pill {
  min-height: 34px;
  border-color: #dfded8;
  border-radius: 6px;
  background: #fafaf8;
}

.floating-note {
  min-width: 216px;
  padding: 12px 14px;
  border-color: #d6d5cf;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.09);
}

.floating-note--left {
  bottom: 126px;
  left: 8%;
  transform: none;
}

.floating-note--right {
  right: 8%;
  bottom: 72px;
  transform: none;
}

.floating-note__icon,
.streak-ring {
  border-radius: 7px;
}

.path-section {
  padding: 150px 0;
  border-block-color: var(--line);
  background: #ffffff;
}

.section-heading h2,
.round-copy h2,
.audience-copy h2,
.final-cta h2 {
  font-family: var(--sans);
  font-size: clamp(48px, 5.1vw, 72px);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.kicker {
  color: #6d6d67;
  letter-spacing: 1.8px;
}

.section-heading--split {
  align-items: flex-end;
}

.section-heading--split h2 {
  max-width: 820px;
}

.edition-toggle {
  gap: 0;
  padding: 0;
  border: 1px solid #d2d1cb;
  border-radius: 7px;
  background: transparent;
}

.edition-toggle button {
  min-height: 36px;
  border-radius: 0;
}

.edition-toggle button + button {
  border-left: 1px solid #d2d1cb;
}

.edition-toggle button.is-active {
  color: #ffffff;
  background: #0b0b0b;
  box-shadow: none;
}

.level-selector {
  gap: 0;
  margin-top: 76px;
  border-block: 1px solid var(--line);
}

.level-button {
  min-height: 92px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  color: #767670;
  background: transparent;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
}

.level-button:first-child {
  border-left: 1px solid var(--line);
}

.level-button:hover {
  border-color: var(--line);
  color: #0b0b0b;
  background: #f7f7f4;
}

.level-button.is-active {
  border-color: #0b0b0b;
  color: #ffffff;
  background: #0b0b0b;
  box-shadow: none;
}

.level-button::before {
  top: 18px;
  color: #999992;
}

.level-detail {
  grid-template-columns: 1.6fr 0.9fr 0.8fr;
  gap: 52px;
  margin-top: 0;
  padding: 70px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.level-detail__intro {
  grid-template-columns: 82px 1fr;
  gap: 34px;
}

.level-detail__number {
  color: #c2c1bb;
  font-family: var(--sans);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -3px;
}

.level-detail h3 {
  max-width: 530px;
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.level-detail__intro p {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.7;
}

.level-detail__facts,
.level-detail__words {
  border-left-color: var(--line);
}

.fact svg {
  border-radius: 6px;
  color: #4e4e49;
  background: #efefeb;
}

.level-detail__words > div > span {
  border-bottom-color: #deddd7;
}

.library-section {
  width: 100%;
  max-width: none;
  padding: 155px max(32px, calc((100vw - 1280px) / 2));
  background: #f6f6f3;
}

.section-heading--center {
  max-width: 920px;
}

.section-heading--center > p {
  max-width: 700px;
  color: #63635e;
}

.library-grid {
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.library-card {
  min-height: 360px;
  padding: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.library-card:hover {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: none;
}

.library-card--feature,
.library-card--sage,
.library-card--warm {
  background: transparent;
}

.library-card--dark {
  border-color: #0f252f;
  background: #0f252f;
}

.library-card--dark:hover {
  border-color: #152f3a;
  background: #152f3a;
}

.card-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #d2d1cb;
  border-radius: 7px;
  color: #4e4e49;
  background: transparent;
}

.card-icon svg {
  width: 18px;
  height: 18px;
}

.library-card__tag {
  margin-top: 46px;
  color: #777771;
}

.library-card--dark .library-card__tag {
  color: #bfc9cc;
}

.library-card h3 {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -1.1px;
}

.library-card__preview,
.reading-lines {
  border-radius: 7px;
}

.preview-hanzi {
  border-radius: 6px;
}

.round-section {
  padding: 150px 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(180, 137, 82, 0.1), transparent 25rem),
    #0c1d25;
}

.round-layout {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
}

.round-copy h2 {
  max-width: 610px;
}

.round-tabs {
  gap: 0;
  margin-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.round-tab {
  grid-template-columns: 40px 1fr;
  padding: 16px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
}

.round-tab:hover,
.round-tab.is-active {
  border-color: rgba(255, 255, 255, 0.13);
  background: transparent;
}

.round-tab.is-active {
  color: #ffffff;
}

.round-tab > span:first-child {
  border: 0;
  border-radius: 0;
  color: #71878f;
  background: transparent;
}

.round-tab.is-active > span:first-child {
  color: #e0b572;
  background: transparent;
}

.round-tab strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 620;
}

.practice-stage {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.28);
}

.practice-card {
  min-height: 460px;
  border-color: #d8d7d1;
  border-radius: 7px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.96)),
    url("./assets/practice_flashcards_cover.webp")
      center / cover;
}

.practice-action {
  border-radius: 7px;
}

.tools-section {
  width: 100%;
  max-width: none;
  padding: 155px max(32px, calc((100vw - 1280px) / 2));
  background: #ffffff;
}

.tool-grid {
  gap: 0;
  margin-top: 76px;
  border-block: 1px solid var(--line);
}

.tool-card {
  min-height: 410px;
  padding: 39px;
  border-right: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  transition: background 180ms ease;
}

.tool-card:last-child {
  border-right: 0;
}

.tool-card:hover {
  background: #f6f6f3;
}

.tool-card::after {
  display: none;
}

.tool-card--navy,
.tool-card--gold,
.tool-card--sage {
  color: var(--ink);
  background: transparent;
}

.tool-card__number {
  top: 35px;
  right: 38px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  opacity: 0.55;
}

.tool-card .card-icon,
.tool-card--gold .card-icon,
.tool-card--sage .card-icon {
  color: #4d4d49;
  background: transparent;
}

.tool-card h3 {
  max-width: 310px;
  margin-top: 100px;
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1.4px;
}

.tool-card p,
.tool-card--gold p,
.tool-card--sage p {
  color: #6d6d67;
}

.tool-card__button {
  color: #0b0b0b;
}

.audience-section {
  padding: 150px 0;
  border-block-color: var(--line);
  background: #f6f6f3;
}

.audience-layout {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 110px;
}

.audience-art {
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #e5e4de;
  box-shadow: none;
}

.audience-art img {
  min-height: 570px;
  filter: saturate(0.76) contrast(1.02);
}

.audience-copy li svg {
  border-radius: 50%;
}

.button--ghost-dark {
  border-radius: 7px;
}

.final-cta {
  width: 100%;
  max-width: none;
  min-height: 610px;
  margin: 0;
  padding: 130px max(32px, calc((100vw - 1280px) / 2));
  border-radius: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(196, 145, 76, 0.2), transparent 30rem),
    #0b0b0b;
  box-shadow: none;
}

.final-cta::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
}

.final-cta__content {
  max-width: 820px;
}

.final-cta h2 {
  max-width: 800px;
  font-size: clamp(58px, 6.4vw, 90px);
}

.final-cta__content > p {
  max-width: 640px;
  color: #aaa9a4;
}

.final-cta__stamp {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 255, 255, 0.22);
  color: #d8b477;
}

.site-footer {
  padding-top: 90px;
  border-top: 0;
  background: #ffffff;
}

.modal-backdrop,
.search-panel {
  background: rgba(0, 0, 0, 0.62);
}

.plan-modal,
.search-dialog {
  border-radius: 14px;
}

.goal-grid button {
  border-radius: 8px;
}

.goal-icon {
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 700px;
  }

  .dashboard-card {
    right: 50%;
    width: min(640px, 82%);
  }

  .level-detail {
    grid-template-columns: 1.35fr 0.8fr;
  }

  .round-layout {
    gap: 58px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 40px, 760px);
  }

  .hero {
    padding-top: 88px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    min-height: 660px;
  }

  .hero-art {
    inset: 35px 0 0;
  }

  .dashboard-card {
    top: 12px;
    width: min(620px, 82%);
    transform: translateX(50%);
  }

  .floating-note--left {
    left: 2%;
  }

  .floating-note--right {
    right: 2%;
  }

  .path-section,
  .round-section,
  .audience-section {
    padding-block: 112px;
  }

  .library-section,
  .tools-section {
    padding: 112px 20px;
  }

  .level-selector {
    grid-template-columns: repeat(4, 1fr);
  }

  .level-detail {
    grid-template-columns: 1fr;
  }

  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .round-layout {
    grid-template-columns: 1fr;
  }

  .round-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.13);
  }

  .round-tab {
    min-height: 94px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 0;
  }

  .round-tab:last-child {
    border-right: 0;
  }

  .tool-card {
    min-height: 360px;
  }

  .audience-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .final-cta {
    padding: 110px 40px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 520px);
  }

  .announcement__inner {
    min-height: 38px;
  }

  .site-header {
    padding: 9px 0;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .hero {
    gap: 58px;
    padding-top: 70px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 72px);
    letter-spacing: -0.065em;
    line-height: 0.92;
  }

  .hero h1 span {
    margin-top: 8px;
  }

  .hero__lede {
    margin-top: 28px;
    font-size: 16px;
  }

  .hero__proof {
    margin-top: 36px;
  }

  .hero__proof > div {
    min-width: 0;
    padding: 0 12px;
  }

  .hero__proof > div + div {
    padding-left: 12px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-art {
    inset: 38px 0 0;
  }

  .dashboard-card {
    top: 0;
    width: 94%;
    padding: 17px;
    border-radius: 11px;
  }

  .dashboard-card h2 {
    font-size: 19px;
  }

  .word-stack {
    height: 244px;
  }

  .word-card {
    border-radius: 7px;
  }

  .word-card strong {
    font-size: 48px;
  }

  .floating-note--left {
    bottom: 55px;
    left: 0;
  }

  .floating-note--right {
    right: 0;
    bottom: 5px;
  }

  .path-section,
  .round-section,
  .audience-section {
    padding-block: 88px;
  }

  .library-section,
  .tools-section {
    padding: 88px 14px;
  }

  .section-heading h2,
  .round-copy h2,
  .audience-copy h2 {
    font-size: 43px;
    letter-spacing: -0.055em;
  }

  .level-selector {
    margin-top: 50px;
  }

  .level-button {
    min-height: 70px;
    font-size: 20px;
  }

  .level-button::before {
    top: 10px;
  }

  .level-detail {
    gap: 30px;
    padding: 48px 0;
  }

  .level-detail__intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .level-detail h3 {
    font-size: 31px;
  }

  .library-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .library-card {
    min-height: 310px;
    padding: 28px;
  }

  .library-card__tag {
    margin-top: 32px;
  }

  .round-tabs {
    display: flex;
    border-inline: 0;
  }

  .round-tab {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

  .practice-stage {
    border-radius: 8px;
  }

  .practice-card {
    min-height: 360px;
    border-radius: 5px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .tool-card {
    min-height: 330px;
    padding: 30px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-card:last-child {
    border-bottom: 0;
  }

  .tool-card h3 {
    margin-top: 72px;
  }

  .audience-art,
  .audience-art img {
    min-height: 370px;
  }

  .final-cta {
    width: 100%;
    min-height: 590px;
    padding: 88px 24px;
  }

  .final-cta h2 {
    font-size: 52px;
  }

  .final-cta__stamp {
    right: -50px;
    bottom: -45px;
  }

  .site-footer {
    padding-top: 70px;
  }
}

/* ==========================================================================
   HSK Operating System prototype — exam → diagnosis → learning → recovery.
   ========================================================================== */

button,
select {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

.hero__assurance {
  display: block;
  margin-top: 14px;
  color: #777771;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.resolver-section,
.diagnosis-section,
.bridge-section,
.mock-section,
.access-section {
  border-top: 1px solid var(--line);
}

.resolver-section {
  padding: 150px 0;
  background: #f6f6f3;
}

.resolver-heading > p,
.mock-heading > p {
  max-width: 455px;
  margin: 0;
  color: #65655f;
  font-size: 15px;
  line-height: 1.7;
}

.resolver-workspace {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  margin-top: 76px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.resolver-form {
  min-width: 0;
  padding: 46px;
}

.resolver-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.resolver-track button {
  display: flex;
  min-height: 86px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 16px 20px;
  border: 0;
  color: #5f5f5a;
  background: transparent;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.resolver-track button + button {
  border-left: 1px solid var(--line);
}

.resolver-track button:hover {
  color: #0b0b0b;
  background: #f7f7f4;
}

.resolver-track button.is-active {
  color: #ffffff;
  background: #0b0b0b;
}

.resolver-track span {
  font-size: 14px;
  font-weight: 680;
}

.resolver-track small {
  color: inherit;
  font-size: 11px;
  opacity: 0.7;
}

.resolver-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.resolver-field {
  display: grid;
  min-width: 0;
  min-height: 144px;
  align-content: start;
  gap: 9px;
  padding: 23px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resolver-field:nth-child(2n) {
  border-right: 0;
}

.resolver-field > span,
.resolver-field legend span {
  color: #a2a29b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.resolver-field strong {
  font-size: 13px;
  font-weight: 650;
}

.resolver-field select {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 34px 0 0;
  border: 0;
  border-radius: 0;
  color: #0b0b0b;
  background: transparent;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.35px;
}

.resolver-field select:focus-visible {
  outline-offset: 5px;
}

.resolver-field--format {
  margin: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.resolver-field--format legend {
  display: flex;
  align-items: center;
  gap: 11px;
}

.resolver-field--format > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  margin-top: 4px;
  border: 1px solid var(--line);
}

.resolver-field--format button {
  min-height: 42px;
  border: 0;
  color: #65655f;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}

.resolver-field--format button + button {
  border-left: 1px solid var(--line);
}

.resolver-field--format button.is-active {
  color: #ffffff;
  background: #0b0b0b;
}

.resolver-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 48px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(202, 154, 88, 0.2), transparent 22rem),
    #0f252f;
}

.resolver-result__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #c7d1d3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.resolver-result__meta small {
  color: #9aaeb3;
  font-size: 9px;
  letter-spacing: normal;
}

.resolver-result__edition {
  margin-top: 52px;
  color: #dfb46f;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
}

.resolver-result h3 {
  max-width: 430px;
  margin: 9px 0 0;
  font-size: clamp(34px, 3.2vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.resolver-result > p {
  max-width: 470px;
  margin: 22px 0 0;
  color: #c0cbce;
  font-size: 14px;
  line-height: 1.7;
}

.resolver-result__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 42px 0 0;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.resolver-result__facts div {
  padding: 20px 0;
}

.resolver-result__facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.resolver-result__facts dt {
  color: #8ea3a9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.resolver-result__facts dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
}

.resolver-result__note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin-top: 22px;
  color: #b7c5c8;
  font-size: 11px;
  line-height: 1.55;
}

.resolver-result__note svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.resolver-result__source {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: #879ca2;
  font-size: 9px;
  line-height: 1.45;
}

.resolver-result__source a {
  flex: 0 0 auto;
  color: #e1bc81;
  font-weight: 650;
}

.resolver-result .button {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
}

.diagnosis-section {
  padding: 150px 0;
  background: #ffffff;
}

.diagnosis-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 92px;
}

.diagnosis-layout > *,
.access-layout > * {
  min-width: 0;
}

.diagnosis-copy h2,
.bridge-intro h2 {
  max-width: 630px;
  margin: 20px 0 0;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.diagnosis-copy > p,
.bridge-intro > p {
  max-width: 570px;
  margin: 28px 0 0;
  color: #686862;
  font-size: 16px;
  line-height: 1.75;
}

.diagnosis-summary {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 25px;
  margin-top: 48px;
  padding-block: 25px;
  border-block: 1px solid var(--line);
}

.diagnosis-summary > div {
  display: flex;
  flex-direction: column;
}

.diagnosis-summary strong {
  font-size: 52px;
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.diagnosis-summary span {
  margin-top: 8px;
  color: #767670;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnosis-summary p {
  margin: 0;
  color: #666660;
  font-size: 13px;
  line-height: 1.65;
}

.diagnosis-copy > .button {
  margin-top: 32px;
}

.diagnosis-surface {
  min-width: 0;
  border: 1px solid var(--line);
  background: #f7f7f4;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.08);
}

.diagnosis-surface__top {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.diagnosis-surface__top h3 {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 660;
  letter-spacing: -0.6px;
}

.diagnosis-time {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: #65655f;
  background: #f7f7f4;
  font-size: 10px;
  font-weight: 650;
}

.diagnosis-body {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.08fr 0.92fr;
}

.diagnosis-skills {
  padding: 18px 28px;
  border-right: 1px solid var(--line);
}

.diagnosis-skill {
  display: grid;
  width: 100%;
  min-height: 59px;
  grid-template-columns: 112px 1fr 28px;
  align-items: center;
  gap: 15px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #5f5f5a;
  background: transparent;
  text-align: left;
}

.diagnosis-skill:hover,
.diagnosis-skill.is-active {
  color: #0b0b0b;
}

.diagnosis-skill > span {
  font-size: 12px;
  font-weight: 620;
}

.diagnosis-skill > i {
  display: block;
  overflow: hidden;
  height: 4px;
  background: #dcdcd6;
}

.diagnosis-skill > i span {
  display: block;
  height: 100%;
  background: #95958f;
}

.diagnosis-skill.is-active > i span {
  background: #8a4315;
}

.diagnosis-skill strong {
  font-size: 12px;
  text-align: right;
}

.diagnosis-insight {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 34px 30px;
  background: #ffffff;
}

.diagnosis-insight h4 {
  margin: 42px 0 0;
  font-size: 25px;
  letter-spacing: -0.9px;
  line-height: 1.12;
}

.diagnosis-insight > p {
  margin: 15px 0 0;
  color: #666660;
  font-size: 12px;
  line-height: 1.65;
}

.diagnosis-prescription {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.diagnosis-prescription span {
  color: #8a4315;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.diagnosis-prescription strong {
  margin-top: 7px;
  font-size: 15px;
}

.diagnosis-prescription small {
  margin-top: 3px;
  color: #7c7c76;
  font-size: 10px;
}

.week-strip {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.week-strip > span {
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  border-right: 1px solid var(--line);
}

.week-strip > span:last-child {
  border-right: 0;
}

.week-strip small {
  color: #9a9a94;
  font-size: 8px;
  font-weight: 700;
}

.week-strip strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.week-strip .is-focus {
  color: #ffffff;
  background: #8a4315;
}

.week-strip .is-focus small {
  color: #e5c7ad;
}

.practice-feedback {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: #d6c3ab;
  font-size: 10px;
  text-align: center;
}

.bridge-section {
  padding: 150px 0;
  background: #efeee9;
}

.bridge-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  align-items: end;
  column-gap: 90px;
}

.bridge-intro .kicker {
  grid-column: 1 / -1;
}

.bridge-intro > p {
  margin: 0;
}

.bridge-workspace {
  display: grid;
  min-width: 0;
  grid-template-columns: 0.78fr 1.22fr;
  margin-top: 76px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.bridge-steps {
  border-right: 1px solid var(--line);
}

.bridge-steps button {
  display: grid;
  width: 100%;
  min-height: 132px;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 16px;
  padding: 22px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #65655f;
  background: transparent;
  text-align: left;
}

.bridge-steps button:last-child {
  border-bottom: 0;
}

.bridge-steps button:hover {
  color: #0b0b0b;
  background: #f8f8f5;
}

.bridge-steps button.is-active {
  color: #ffffff;
  background: #0b0b0b;
}

.bridge-steps button > span {
  grid-row: 1 / 3;
  color: #a4a49d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bridge-steps strong {
  font-size: 14px;
  font-weight: 650;
}

.bridge-steps small {
  margin-top: 4px;
  color: inherit;
  font-size: 10px;
  opacity: 0.65;
}

.bridge-demo {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 34px 42px 38px;
}

.bridge-demo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.bridge-demo__top > span:last-child {
  color: #8a4315;
  font-size: 10px;
  font-weight: 700;
}

.bridge-instruction {
  margin: 34px 0 0;
  color: #6b6b65;
  font-size: 13px;
}

.bridge-sentence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}

.bridge-sentence > span {
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 17px;
  border: 1px solid #d2d1ca;
  color: #171714;
  background: #fafaf7;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.15;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.bridge-sentence small {
  display: none;
  color: inherit;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  opacity: 0.72;
}

.bridge-sentence.is-revealed small {
  display: block;
}

.bridge-sentence.is-revealed > span:nth-child(1) {
  border-color: #d5b27c;
  background: #fbf1df;
}

.bridge-sentence.is-revealed > span:nth-child(2) {
  border-color: #9eb2a4;
  background: #e9efe9;
}

.bridge-sentence.is-revealed > span:nth-child(3) {
  border-color: #9fb3ba;
  background: #e7eef0;
}

.bridge-legend {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  color: #777771;
  font-size: 9px;
}

.bridge-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bridge-legend i {
  width: 7px;
  height: 7px;
  border: 1px solid #d5b27c;
  background: #fbf1df;
}

.bridge-legend span:nth-child(2) i {
  border-color: #9eb2a4;
  background: #e9efe9;
}

.bridge-legend span:nth-child(3) i {
  border-color: #9fb3ba;
  background: #e7eef0;
}

.bridge-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: #0b0b0b;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.bridge-toggle svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.bridge-toggle:hover svg {
  transform: translateX(3px);
}

.mock-section {
  padding: 150px 0;
  background: #ffffff;
}

.mock-workspace {
  margin-top: 76px;
  border: 1px solid var(--line);
}

.mock-score {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 32px;
  padding: 36px 42px;
  border-bottom: 1px solid var(--line);
  background: #0f252f;
  color: #ffffff;
}

.mock-score__ring {
  display: flex;
  width: 118px;
  height: 118px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.mock-score__ring strong {
  color: #e8bd79;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
}

.mock-score__ring span {
  margin: 16px 0 0 4px;
  color: #9eb1b6;
  font-size: 9px;
}

.mock-score h3 {
  margin: 10px 0 0;
  font-size: 32px;
  letter-spacing: -1.3px;
}

.mock-score p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #aebdc1;
  font-size: 12px;
}

.mock-analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.weakness-list {
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.weakness-list button {
  display: grid;
  width: 100%;
  min-height: 86px;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 4px 16px;
  padding: 14px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #62625d;
  background: transparent;
  text-align: left;
}

.weakness-list button:hover,
.weakness-list button.is-active {
  color: #0b0b0b;
}

.weakness-list button.is-active {
  box-shadow: inset 3px 0 0 #8a4315;
  padding-left: 18px;
}

.weakness-list span,
.weakness-list strong {
  font-size: 13px;
  font-weight: 650;
}

.weakness-list strong {
  color: #8a4315;
}

.weakness-list small {
  grid-column: 1 / -1;
  color: #888881;
  font-size: 10px;
}

.recovery-plan {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 35px 40px;
  background: #f6f6f3;
}

.recovery-plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recovery-count {
  padding: 6px 8px;
  border: 1px solid #d7d6cf;
  color: #686862;
  background: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.recovery-plan h3 {
  max-width: 430px;
  margin: 52px 0 0;
  font-size: 29px;
  letter-spacing: -1.2px;
  line-height: 1.06;
}

.recovery-plan > p {
  max-width: 480px;
  margin: 16px 0 0;
  color: #676761;
  font-size: 12px;
  line-height: 1.65;
}

.recovery-plan__task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-block: 17px;
  border-block: 1px solid var(--line);
}

.recovery-plan__task span {
  color: #8a4315;
  font-size: 10px;
  font-weight: 700;
}

.recovery-plan__task strong {
  font-size: 12px;
}

.recovery-plan .button {
  align-self: flex-start;
  margin-top: 25px;
}

.recovery-plan .button:disabled {
  color: #ffffff;
  background: #566e62;
  opacity: 1;
}

.recovery-feedback {
  display: block;
  min-height: 18px;
  margin-top: 10px;
  color: #566e62;
  font-size: 10px;
  font-weight: 600;
}

.access-section {
  padding: 150px 0;
  background: #efeee9;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 90px;
}

.access-heading h2 {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: clamp(46px, 4.6vw, 67px);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.access-heading p {
  max-width: 520px;
  margin: 27px 0 0;
  color: #686862;
  font-size: 15px;
  line-height: 1.7;
}

.access-comparison {
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.access-tier {
  padding: 38px 42px;
}

.access-tier + .access-tier {
  border-top: 1px solid var(--line);
}

.access-tier > strong {
  display: block;
  max-width: 590px;
  margin-top: 28px;
  font-size: 27px;
  letter-spacing: -1.1px;
  line-height: 1.1;
}

.access-tier ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  color: #61615c;
  font-size: 12px;
  list-style: none;
}

.access-tier li {
  position: relative;
  padding-left: 17px;
}

.access-tier li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a4315;
  content: "";
}

.text-button {
  min-height: 44px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  color: #0b0b0b;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.access-tier--pro {
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(203, 154, 87, 0.18), transparent 22rem),
    #0b0b0b;
}

.access-tier__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #a8a8a2;
  font-size: 9px;
  font-weight: 650;
}

.access-tier--pro .micro-label {
  color: #d9b273;
}

.access-tier--pro ul {
  color: #b9b9b3;
}

.access-tier--pro li::before {
  background: #d9b273;
}

.access-tier--pro .button {
  margin-top: 30px;
}

.mobile-nav__search {
  min-height: 44px;
  padding: 11px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
}

.search-status {
  display: block;
  min-height: 19px;
  padding: 14px 22px 0;
  color: #73736d;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .resolver-workspace {
    grid-template-columns: 1fr;
  }

  .resolver-result {
    min-height: 590px;
  }

  .diagnosis-layout,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .diagnosis-copy {
    max-width: 760px;
  }

  .bridge-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .bridge-intro > p {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .resolver-section,
  .diagnosis-section,
  .bridge-section,
  .mock-section,
  .access-section {
    padding-block: 112px;
  }

  .resolver-heading,
  .mock-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .resolver-heading > p,
  .mock-heading > p {
    max-width: 680px;
  }

  .resolver-form {
    padding: 34px;
  }

  .diagnosis-body,
  .mock-analysis {
    grid-template-columns: 1fr;
  }

  .diagnosis-skills,
  .weakness-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnosis-insight {
    min-height: 320px;
  }

  .bridge-workspace {
    grid-template-columns: 1fr;
  }

  .bridge-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bridge-steps button {
    min-height: 126px;
    grid-template-columns: 1fr;
    gap: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .bridge-steps button:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .hero__assurance {
    margin-top: 12px;
  }

  .resolver-section,
  .diagnosis-section,
  .bridge-section,
  .mock-section,
  .access-section {
    padding-block: 88px;
  }

  .resolver-workspace,
  .diagnosis-surface,
  .bridge-workspace,
  .mock-workspace,
  .access-comparison {
    width: calc(100% + 28px);
    max-width: none;
    min-width: 0;
    margin-inline: -14px;
    border-inline: 0;
  }

  .resolver-workspace,
  .mock-workspace {
    margin-top: 50px;
  }

  .resolver-form {
    padding: 24px 14px 30px;
  }

  .resolver-track {
    grid-template-columns: 1fr;
  }

  .resolver-track button + button {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .resolver-fields {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .resolver-field,
  .resolver-field:nth-child(2n) {
    min-height: 124px;
    padding-inline: 10px;
    border-right: 0;
  }

  .resolver-field select {
    font-size: 16px;
  }

  .resolver-result {
    min-height: 620px;
    padding: 30px 24px;
  }

  .resolver-result__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .resolver-result__edition {
    margin-top: 40px;
  }

  .resolver-result h3 {
    font-size: 38px;
  }

  .resolver-result__facts {
    grid-template-columns: 1fr;
  }

  .resolver-result__facts div + div {
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  .resolver-result__source {
    flex-direction: column;
  }

  .diagnosis-layout,
  .access-layout {
    gap: 50px;
  }

  .diagnosis-copy h2,
  .bridge-intro h2,
  .access-heading h2 {
    font-size: 43px;
  }

  .diagnosis-summary {
    grid-template-columns: 90px 1fr;
  }

  .diagnosis-summary strong {
    font-size: 44px;
  }

  .diagnosis-surface__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .diagnosis-skills {
    padding: 12px 18px;
  }

  .diagnosis-skill {
    grid-template-columns: 104px 1fr 26px;
  }

  .diagnosis-insight {
    min-height: 340px;
    padding: 28px 22px;
  }

  .week-strip {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(74px, 1fr));
  }

  .bridge-workspace {
    margin-top: 50px;
  }

  .bridge-steps {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }

  .bridge-steps button {
    padding: 19px 22px;
  }

  .bridge-demo {
    min-height: 500px;
    padding: 28px 20px 30px;
  }

  .bridge-demo__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .bridge-sentence {
    align-items: stretch;
    flex-direction: column;
    margin-top: 34px;
  }

  .bridge-sentence > span {
    width: 100%;
    min-height: 70px;
    font-size: 27px;
  }

  .bridge-legend {
    flex-wrap: wrap;
  }

  .mock-score {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .mock-score__ring {
    width: 104px;
    height: 104px;
  }

  .mock-score h3 {
    font-size: 28px;
  }

  .weakness-list {
    padding: 15px 20px;
  }

  .recovery-plan {
    min-height: 480px;
    padding: 30px 24px;
  }

  .recovery-plan h3 {
    margin-top: 44px;
  }

  .recovery-plan__task {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .access-tier {
    padding: 30px 24px;
  }

  .access-tier__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   Western adult learner conversion pass — preserve the visual system while
   tightening the path, proof, and mobile reading length.
   ========================================================================== */

.hero {
  gap: 52px;
  padding-top: 84px;
}

.hero__lede,
.hero__actions {
  margin-top: 26px;
}

.hero__actions {
  align-items: center;
  gap: 22px;
}

.hero__text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  color: #343431;
  font-size: 13px;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: #b7b6af;
  text-underline-offset: 5px;
}

.hero__text-link:hover {
  color: #8a4315;
  text-decoration-color: currentColor;
}

.hero__proof {
  margin-top: 36px;
}

.hero__proof strong {
  font-size: 17px;
}

.hero__trust {
  max-width: 700px;
  margin: 22px auto 0;
  color: #62625d;
  font-size: 11px;
  line-height: 1.6;
}

.hero__trust a {
  color: #343431;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: #b7b6af;
  text-underline-offset: 3px;
}

.hero__visual {
  min-height: 680px;
}

.brand small,
.hero__proof span,
.hero__assurance,
.library-card__tag,
.resolver-field > span,
.resolver-field legend span,
.week-strip small,
.weakness-list small,
.bridge-steps button:not(.is-active) > span {
  color: #62625d;
}

.resolver-section,
.diagnosis-section,
.mock-section,
.access-section {
  padding-block: 120px;
}

.round-section {
  padding-block: 120px;
}

.library-section,
.tools-section {
  padding-block: 120px;
}

.deep-dive {
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #efeee9;
}

.deep-dive--bridge {
  background: #f6f6f3;
}

.deep-dive__summary {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  cursor: pointer;
  list-style: none;
}

.deep-dive__summary::-webkit-details-marker {
  display: none;
}

.deep-dive__summary > span:first-child {
  display: grid;
  gap: 8px;
}

.deep-dive__summary small {
  color: #706f69;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.deep-dive__summary strong {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.035em;
}

.deep-dive__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #343431;
  font-size: 12px;
  font-weight: 700;
}

.deep-dive__action svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.deep-dive[open] .deep-dive__action svg {
  transform: rotate(180deg);
}

.deep-dive[open] .deep-dive__summary {
  border-bottom: 1px solid var(--line);
}

.deep-dive .path-section,
.deep-dive .bridge-section {
  padding-block: 108px;
  border-top: 0;
}

.library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-card--secondary {
  display: none;
}

.library-more-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.library-more-links a {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 5px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.library-more-links a:last-child {
  border-right: 0;
}

.library-more-links a:hover {
  color: #8a4315;
  background: #ffffff;
}

.library-more-links span {
  font-size: 13px;
  font-weight: 700;
}

.library-more-links small {
  color: #62625d;
  font-size: 10px;
}

.tool-card {
  min-height: 270px;
  padding: 30px 32px;
}

.tool-card h3 {
  margin-top: 54px;
  font-size: 27px;
}

.teacher-strip {
  border-top: 1px solid var(--line);
  background: #f6f6f3;
}

.teacher-strip__inner {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.teacher-strip__inner > span {
  display: grid;
  gap: 7px;
}

.teacher-strip small {
  color: #706f69;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.teacher-strip strong {
  font-size: 18px;
  letter-spacing: -0.025em;
}

.teacher-strip a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.access-heading h2 {
  font-size: clamp(43px, 4.2vw, 61px);
}

.access-tier {
  padding-block: 32px;
}

.access-tier > strong {
  margin-top: 22px;
  font-size: 24px;
}

.access-tier ul {
  margin-top: 22px;
}

.final-cta {
  min-height: 500px;
  padding-block: 104px;
}

.final-cta h2 {
  font-size: clamp(54px, 5.8vw, 80px);
}

@media (max-width: 900px) {
  .hero__actions {
    flex-direction: column;
    gap: 8px;
  }

  .deep-dive .path-section,
  .deep-dive .bridge-section {
    padding-block: 88px;
  }

  .teacher-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-block: 30px;
  }
}

@media (max-width: 640px) {
  .announcement__inner {
    gap: 7px;
    font-size: 10px;
  }

  .announcement__inner > span:not(.announcement__dot) {
    max-width: 235px;
  }

  .hero {
    gap: 30px;
    padding-top: 36px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 9.5px;
    letter-spacing: 1.45px;
  }

  .hero h1 {
    font-size: clamp(52px, 14.5vw, 62px);
    line-height: 0.94;
  }

  .hero__lede {
    margin-top: 20px;
    line-height: 1.52;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    margin-top: 26px;
  }

  .hero__proof strong {
    font-size: 15px;
  }

  .hero__proof span {
    font-size: 10px;
    line-height: 1.35;
  }

  .hero__trust {
    margin-top: 18px;
    font-size: 11px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .resolver-section,
  .diagnosis-section,
  .round-section,
  .mock-section,
  .access-section {
    padding-block: 72px;
  }

  .library-section,
  .tools-section {
    padding-block: 72px;
  }

  .deep-dive__summary {
    min-height: 118px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-block: 24px;
  }

  .deep-dive__summary strong {
    font-size: 24px;
  }

  .deep-dive__action {
    min-height: 34px;
  }

  .deep-dive .path-section,
  .deep-dive .bridge-section {
    padding-block: 64px;
  }

  .resolver-workspace,
  .mock-workspace,
  .bridge-workspace {
    margin-top: 40px;
  }

  .library-grid {
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-columns: min(84vw, 330px);
    grid-auto-flow: column;
    margin-inline: -14px;
    padding-inline: 14px;
    border-left: 0;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
  }

  .library-card {
    min-height: 292px;
    padding: 26px;
    scroll-snap-align: start;
  }

  .library-card__tag {
    margin-top: 24px;
  }

  .library-more-links {
    grid-template-columns: 1fr;
    margin-top: 24px;
    border-top: 1px solid var(--line);
  }

  .library-more-links a {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .library-more-links a:last-child {
    border-bottom: 0;
  }

  .tool-grid {
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-columns: min(82vw, 320px);
    grid-auto-flow: column;
    margin-inline: -14px;
    padding-inline: 14px;
    border: 0;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
  }

  .tool-card {
    min-height: 250px;
    padding: 26px 24px;
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .tool-card h3 {
    margin-top: 42px;
    font-size: 25px;
  }

  .teacher-strip__inner {
    padding-block: 28px;
  }

  .teacher-strip strong {
    font-size: 16px;
  }

  .access-heading h2 {
    font-size: 40px;
  }

  .access-tier {
    padding-block: 27px;
  }

  .final-cta {
    min-height: 430px;
    padding: 76px 24px;
  }

  .final-cta h2 {
    font-size: 48px;
  }
}
