:root {
  --ink: #173a35;
  --ink-soft: #2f514b;
  --teal: #167a6d;
  --teal-deep: #0d5c52;
  --mint: #dcefe9;
  --mint-soft: #edf7f3;
  --paper: #f8f4ea;
  --paper-deep: #f1ebdc;
  --white: #fffdf8;
  --coral: #e9775c;
  --coral-soft: #fae4dc;
  --gold: #e8b94d;
  --gold-soft: #f8edc9;
  --blue-soft: #dbe9ed;
  --muted: #6e7d78;
  --line: rgba(23, 58, 53, 0.13);
  --line-strong: rgba(23, 58, 53, 0.22);
  --shadow-sm: 0 8px 28px rgba(23, 58, 53, 0.07);
  --shadow: 0 24px 80px rgba(23, 58, 53, 0.1);
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 1%, rgba(232, 185, 77, 0.15), transparent 27rem),
    radial-gradient(circle at 96% 11%, rgba(22, 122, 109, 0.1), transparent 33rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
.gloss:focus-visible {
  outline: 3px solid rgba(233, 119, 92, 0.72);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--teal-deep);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.app-shell {
  min-height: 100vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--teal-deep);
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.serif {
  font-family: var(--serif);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.btn-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 58, 53, 0.16);
}

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: 0 14px 32px rgba(23, 58, 53, 0.2);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.48);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-coral {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(233, 119, 92, 0.2);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

.btn-text {
  padding-inline: 6px;
  color: var(--ink-soft);
}

.btn-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
}

.arrow-icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}

.btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 6px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 58, 53, 0.08);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 7px 18px rgba(23, 58, 53, 0.1);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.brand-copy small {
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.site-nav button {
  position: relative;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a::after,
.site-nav button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover::after,
.site-nav button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Home pathways */
.pathways {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px) 0 0;
}

.pathways-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.pathways-title {
  max-width: 720px;
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: clamp(31px, 3.4vw, 46px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.pathways-title .serif {
  color: var(--teal-deep);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pathways-copy {
  max-width: 500px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.pathway-card {
  --card-accent: var(--gold);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 324px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 27px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.pathway-card::before {
  position: absolute;
  z-index: 0;
  top: -46%;
  right: -22%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 32%, transparent), transparent 69%);
  pointer-events: none;
}

.pathway-card > * {
  position: relative;
  z-index: 1;
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 58%, var(--line-strong));
  box-shadow: 0 22px 48px rgba(23, 58, 53, 0.14);
}

.pathway-card--assess {
  --card-accent: var(--gold);
  border-color: rgba(255, 253, 248, 0.16);
  background:
    radial-gradient(circle at 88% 9%, rgba(232, 185, 77, 0.24), transparent 38%),
    linear-gradient(145deg, #143f39 0%, #0d5c52 100%);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(13, 92, 82, 0.18);
}

.pathway-card--spotlight {
  --card-accent: var(--coral);
  background:
    radial-gradient(circle at 90% -6%, rgba(232, 185, 77, 0.36), transparent 42%),
    linear-gradient(155deg, #fffdf8 0%, #f6eee0 100%);
}

.pathway-card--galaxy {
  --card-accent: #eccb73;
  border-color: rgba(255, 253, 248, 0.15);
  background:
    radial-gradient(circle at 18% 21%, rgba(255, 253, 248, 0.88) 0 1px, transparent 1.7px),
    radial-gradient(circle at 65% 15%, rgba(255, 253, 248, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle at 83% 49%, rgba(232, 185, 77, 0.86) 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 28% 71%, rgba(255, 253, 248, 0.58) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 88%, rgba(255, 253, 248, 0.76) 0 1px, transparent 1.7px),
    radial-gradient(circle at 91% 4%, rgba(232, 185, 77, 0.28), transparent 40%),
    linear-gradient(145deg, #102d33 0%, #193a42 56%, #0f3d3a 100%);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(13, 42, 46, 0.2);
}

.pathway-card--galaxy::after {
  position: absolute;
  z-index: 0;
  right: -44px;
  bottom: -79px;
  width: 188px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px rgba(255, 253, 248, 0.026), 0 0 0 48px rgba(255, 253, 248, 0.018);
  pointer-events: none;
}

.pathway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: currentColor;
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.115em;
  line-height: 1.45;
  text-transform: uppercase;
  opacity: 0.66;
}

.pathway-card--spotlight .pathway-top {
  color: var(--ink-soft);
}

.pathway-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
  transition: transform 220ms var(--ease), background 220ms var(--ease), opacity 220ms var(--ease);
}

.pathway-card:hover .pathway-arrow {
  background: color-mix(in srgb, var(--card-accent) 24%, transparent);
  opacity: 1;
  transform: translate(2px, -2px);
}

.pathway-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-top: 26px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 56%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card-accent) 13%, transparent);
  color: var(--card-accent);
}

.pathway-card--spotlight .pathway-icon {
  background: rgba(255, 253, 248, 0.64);
}

.pathway-icon svg {
  width: 27px;
  height: 27px;
}

.pathway-name {
  display: block;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.pathway-desc {
  display: block;
  max-width: 310px;
  margin-top: 11px;
  color: currentColor;
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.68;
}

.pathway-card--spotlight .pathway-desc {
  color: var(--muted);
  opacity: 1;
}

.pathway-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.pathway-meta > span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.35;
  opacity: 0.76;
}

.pathway-card--spotlight .pathway-meta > span {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  opacity: 1;
}

.pathway-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--card-accent);
  font-size: 12.5px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.pathway-card--spotlight .pathway-action {
  color: var(--teal-deep);
}

.pathway-action span {
  display: inline-block;
  transition: transform 220ms var(--ease);
}

.pathway-card:hover .pathway-action span {
  transform: translateX(4px);
}

.pathways + .hero {
  padding-top: clamp(42px, 6vw, 78px);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding: clamp(46px, 8vw, 100px) 0 clamp(76px, 10vw, 132px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-title {
  max-width: 720px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-title .accent-serif {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  color: var(--teal-deep);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-title .accent-serif::after {
  position: absolute;
  right: 2%;
  bottom: -9px;
  left: 0;
  height: 12px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg width='420' height='18' viewBox='0 0 420 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.5C69 4.5 137 3.5 205 8.5C274 13.5 343 13.5 417 5.5' stroke='%23E8B94D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-lede {
  max-width: 560px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .btn-primary {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 15px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
}

.hero-account {
  margin-top: 16px;
  font-size: 13px;
}

.hero-account a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 86, 118, 0.24);
  transition: border-color 180ms var(--ease);
}

.hero-account a:hover {
  border-color: currentColor;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-visual::before {
  position: absolute;
  top: 11%;
  right: -8%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(232, 185, 77, 0.3), rgba(232, 185, 77, 0) 68%);
  filter: blur(4px);
}

.hero-wash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 46% 46% 38% 38% / 42% 42% 35% 35%;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 245, 198, 0.26), transparent 16%),
    linear-gradient(155deg, #0b4a43 0%, #17695e 54%, #22796d 100%);
  box-shadow: 0 36px 90px rgba(13, 92, 82, 0.2);
  transform: rotate(1.8deg);
}

.hero-wash::before,
.hero-wash::after {
  position: absolute;
  right: -15%;
  bottom: -9%;
  left: -15%;
  height: 42%;
  border-radius: 48% 48% 0 0;
  content: "";
  background: rgba(255, 253, 248, 0.08);
  transform: rotate(-5deg);
}

.hero-wash::after {
  right: -20%;
  bottom: -19%;
  left: -5%;
  height: 47%;
  background: rgba(255, 253, 248, 0.055);
  transform: rotate(5deg);
}

.sample-card {
  position: absolute;
  inset: 8% 6% 8% 7%;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(255, 253, 248, 0.38);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 30px 70px rgba(4, 37, 32, 0.22);
  transform: rotate(-3deg);
  backdrop-filter: blur(10px);
  animation: card-breathe 8s ease-in-out infinite;
}

@keyframes card-breathe {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2.2deg) translateY(-7px); }
}

.sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sample-head > span:first-child {
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.sample-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.sample-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: end;
  margin-top: 35px;
}

.sample-score {
  padding-bottom: 4px;
}

.sample-score small,
.sample-lexile small {
  display: block;
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.sample-score strong {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: clamp(62px, 6vw, 86px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.sample-score strong sup {
  position: relative;
  top: -1.55em;
  margin-left: 2px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 0.25em;
  font-weight: 800;
  letter-spacing: 0;
}

.sample-lexile {
  padding: 14px 0 4px 16px;
  border-left: 1px solid var(--line);
}

.sample-lexile strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.35vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.sample-ruler {
  margin-top: 34px;
}

.sample-ruler-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sample-ruler-track {
  position: relative;
  height: 8px;
  margin-top: 9px;
  overflow: visible;
  border-radius: 99px;
  background: linear-gradient(90deg, #dfe9e4 0 25%, var(--teal) 25% 47%, #dfe9e4 47% 100%);
}

.sample-ruler-dot {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 2px 9px rgba(23, 58, 53, 0.23);
  transform: translate(-50%, -50%);
}

.sample-skills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 27px;
}

.sample-skill {
  display: grid;
  grid-template-columns: 68px 1fr 30px;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.sample-skill i {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-deep);
}

.sample-skill i::after {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  content: "";
  background: var(--teal);
}

.sample-skill:nth-child(2) i::after {
  background: var(--gold);
}

.sample-skill:nth-child(3) i::after {
  background: var(--coral);
}

.sample-skill b {
  color: var(--ink);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  text-align: right;
}

.sample-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--white);
}

.sample-note span {
  color: rgba(255, 253, 248, 0.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sample-note strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 58, 53, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  animation: float-chip 6s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.float-chip svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.float-chip--top {
  top: 3%;
  right: -2%;
  transform: rotate(3deg);
}

.float-chip--bottom {
  bottom: 3%;
  left: -2%;
  animation-delay: -3s;
  transform: rotate(-3deg);
}

@keyframes float-chip {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Home lower sections */
.resume-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -38px 0 78px;
  padding: 18px 22px;
  border: 1px solid rgba(22, 122, 109, 0.24);
  border-radius: 20px;
  background: rgba(237, 247, 243, 0.72);
  box-shadow: var(--shadow-sm);
}

.resume-strip-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.resume-strip-copy .eyebrow {
  font-size: 9px;
}

.resume-strip-copy strong {
  font-size: 14px;
}

.resume-strip-copy span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(68px, 9vw, 126px) 0;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 56px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-title {
  max-width: 680px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.05vw, 56px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-copy {
  max-width: 480px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.principle {
  position: relative;
  min-height: 300px;
  padding: 27px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 34px;
}

.principle:last-child {
  border-right: 0;
}

.principle-num {
  display: block;
  color: var(--coral);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.principle h3 {
  max-width: 250px;
  margin: 48px 0 16px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.principle p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.principle svg {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.steps-section {
  position: relative;
  overflow: hidden;
  margin: 10px auto;
  padding: clamp(48px, 7vw, 86px);
  border-radius: clamp(28px, 4vw, 46px);
  background: var(--ink);
  color: var(--white);
}

.steps-section::before {
  position: absolute;
  top: -32%;
  right: -9%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 68px rgba(255, 253, 248, 0.035), 0 0 0 136px rgba(255, 253, 248, 0.022);
}

.steps-section .eyebrow {
  color: var(--gold);
}

.steps-section .section-title {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-top: 18px;
  color: var(--white);
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.step {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.2);
}

.step-num {
  color: var(--gold);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.step p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.parent-note {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.58);
}

.parent-note h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 39px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.parent-note ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.parent-note li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.parent-note li::before {
  display: grid;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  content: "✓";
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
  place-items: center;
}

/* Footer */
.site-footer {
  margin-top: 30px;
  padding: 46px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-about {
  max-width: 510px;
}

.footer-about p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
}

.footer-links button,
.footer-links a {
  padding: 3px 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* Dialog */
.dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.dialog::backdrop {
  background: rgba(10, 34, 30, 0.56);
  backdrop-filter: blur(7px);
}

.dialog[open] {
  animation: dialog-in 280ms var(--ease) both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-card {
  position: relative;
  max-height: calc(100vh - 36px);
  padding: clamp(28px, 4vw, 44px);
  overflow: auto;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 36px 100px rgba(7, 29, 25, 0.3);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(248, 244, 234, 0.7);
  color: var(--ink-soft);
  cursor: pointer;
  place-items: center;
}

.dialog-close:hover {
  background: var(--paper);
}

.dialog-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--coral);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog-title {
  max-width: 450px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.dialog-copy {
  max-width: 490px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.setup-form {
  margin-top: 30px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 23px;
}

.field-label,
.age-legend {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.text-input {
  width: 100%;
  min-height: 51px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  outline: 0;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.text-input:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(22, 122, 109, 0.11);
}

.age-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.age-legend {
  margin-bottom: 9px;
  padding: 0;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.age-option {
  position: relative;
  display: grid;
  min-height: 66px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  cursor: pointer;
  place-content: center;
  text-align: center;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.age-option:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.age-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.age-option strong {
  font-size: 13px;
  font-weight: 700;
}

.age-option small {
  color: var(--muted);
  font-size: 10px;
}

.age-option:has(input:checked) {
  border-color: var(--ink);
  background: var(--mint-soft);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.age-option:has(input:focus-visible) {
  outline: 3px solid rgba(233, 119, 92, 0.72);
  outline-offset: 2px;
}

.setup-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: 11px;
  line-height: 1.5;
}

.setup-summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.form-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.guide-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-list li {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
  counter-increment: guide;
}

.guide-list li::before {
  display: grid;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  content: counter(guide, decimal-leading-zero);
  background: var(--mint);
  color: var(--teal-deep);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  place-items: center;
}

.guide-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.credits-block {
  margin-top: 25px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.credits-block h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.credits-block p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.credits-block a {
  color: var(--teal-deep);
  text-underline-offset: 3px;
}

/* Exam */
.exam-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 122, 109, 0.09), transparent 28rem),
    radial-gradient(circle at 0 100%, rgba(232, 185, 77, 0.11), transparent 28rem),
    #f6f2e8;
}

.exam-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 0 clamp(22px, 4.4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 234, 0.84);
  backdrop-filter: blur(14px);
}

.exam-brand .brand-mark {
  width: 40px;
  height: 40px;
  padding: 6px;
}

.exam-brand .brand-copy strong {
  font-size: 15px;
}

.exam-brand .brand-copy small {
  font-size: 7px;
}

.exam-identity {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-self: center;
  color: var(--muted);
  font-size: 12px;
}

.exam-identity strong {
  color: var(--ink);
  font-size: 13px;
}

.exam-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.timer svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.timer.is-low {
  border-color: rgba(233, 119, 92, 0.35);
  background: var(--coral-soft);
  color: #a33f2a;
}

.timer.is-low svg {
  color: var(--coral);
}

.save-exit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.save-exit:hover {
  background: rgba(23, 58, 53, 0.06);
  color: var(--ink);
}

.save-exit svg {
  width: 15px;
  height: 15px;
}

.exam-progress {
  height: 3px;
  background: rgba(23, 58, 53, 0.08);
}

.progress-track {
  height: 100%;
  background: var(--teal);
  transition: width 400ms var(--ease);
}

.exam-main {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(30px, 4.3vw, 54px) 0 58px;
  align-items: start;
}

.exam-side {
  position: sticky;
  top: 36px;
  padding-top: 8px;
}

.exam-side .eyebrow {
  font-size: 9px;
}

.exam-counter {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.exam-counter span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.exam-section-label {
  margin: 9px 0 23px;
  color: var(--muted);
  font-size: 11px;
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  max-width: 150px;
}

.dot {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.55);
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  cursor: default;
  place-items: center;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.dot.is-answered {
  border-color: rgba(22, 122, 109, 0.22);
  background: var(--mint);
  color: var(--teal-deep);
  cursor: pointer;
}

.dot.is-skipped {
  border-style: dashed;
  border-color: rgba(23, 58, 53, 0.22);
  background: transparent;
  color: var(--muted);
}

.dot.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.dot.is-reading {
  border-radius: 50%;
}

.exam-note {
  max-width: 154px;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.exam-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}

.question-panel {
  min-width: 0;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid rgba(23, 58, 53, 0.09);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 22px 64px rgba(23, 58, 53, 0.075);
}

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

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.section-chip::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.question-number {
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vocab-stage {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px) 0 16px;
  text-align: center;
}

.vocab-meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.word-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 9px;
}

.vocab-word {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.8vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.audio-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-deep);
  cursor: pointer;
  place-items: center;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.audio-button:hover {
  background: var(--mint);
  transform: scale(1.04);
}

.audio-button.is-speaking {
  background: var(--mint);
}

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

.phonetic {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.prompt {
  margin: 34px 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  max-width: 690px;
  margin: 0 auto;
}

.choice {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.choice:hover {
  border-color: var(--teal);
  background: var(--mint-soft);
  transform: translateY(-1px);
}

.choice-key {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  place-items: center;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.choice.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 9px 24px rgba(23, 58, 53, 0.16);
}

.choice.is-selected .choice-key {
  border-color: rgba(255, 253, 248, 0.24);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
}

.choice-text {
  min-width: 0;
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(23px, 3vw, 39px);
  padding-top: 28px;
}

.passage-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fbf8f0, #f7f1e3);
}

.passage-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.passage-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.passage-kicker span:last-child {
  color: var(--teal-deep);
  letter-spacing: 0.06em;
}

.passage-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.passage-title-zh {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hint-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
}

.hint-counter svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.hint-counter strong {
  color: var(--ink-soft);
}

.passage-scroll {
  max-height: min(48vh, 470px);
  padding: 18px 8px 18px 0;
  overflow: auto;
  scrollbar-color: rgba(23, 58, 53, 0.28) transparent;
  scrollbar-width: thin;
}

.passage-p {
  margin: 0 0 15px;
  color: #304b45;
  font-family: var(--serif);
  font-size: clamp(15px, 1.34vw, 17px);
  line-height: 1.75;
}

.passage-p:last-child {
  margin-bottom: 0;
}

.gloss {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1.5px dashed rgba(22, 122, 109, 0.58);
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: help;
}

.gloss:hover {
  border-bottom-style: solid;
  color: var(--teal-deep);
}

.reading-question {
  min-width: 0;
  padding-top: 4px;
}

.reading-question .question-number {
  display: block;
  margin-bottom: 16px;
}

.reading-question-text {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.35vw, 31px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.tf-choices {
  display: grid;
  gap: 9px;
}

.tf-choice {
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.tf-choice:hover {
  border-color: var(--teal);
  background: var(--mint-soft);
  transform: translateX(2px);
}

.tf-choice.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.tf-label {
  display: grid;
  width: 49px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.tf-choice.is-selected .tf-label {
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
}

.tf-zh {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.tf-choice.is-selected .tf-zh {
  color: rgba(255, 253, 248, 0.6);
}

.reading-context {
  margin-top: 20px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: 9px;
  line-height: 1.6;
}

.question-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.save-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.save-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

/* Report */
.report-shell {
  min-height: 100vh;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 98% 0, rgba(22, 122, 109, 0.1), transparent 30rem),
    radial-gradient(circle at 0 22%, rgba(232, 185, 77, 0.13), transparent 26rem),
    var(--paper);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-banner {
  position: relative;
  overflow: hidden;
  margin-top: 13px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 96% 8%, rgba(232, 185, 77, 0.28), transparent 23rem),
    linear-gradient(140deg, #0d5048, #17695f 58%, #1b7468);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(13, 80, 72, 0.18);
}

.report-banner::before {
  position: absolute;
  right: -5%;
  bottom: -47%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 62px rgba(255, 253, 248, 0.035), 0 0 0 124px rgba(255, 253, 248, 0.02);
}

.report-banner-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 40px;
  align-items: end;
}

.report-banner .eyebrow {
  color: var(--gold);
}

.report-name {
  margin: 17px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.report-summary {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.report-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: rgba(255, 253, 248, 0.57);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: right;
}

.report-meta strong {
  color: var(--white);
  font-size: 11px;
}

.score-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.05fr 0.83fr;
  gap: 28px;
  align-items: end;
  margin-top: clamp(36px, 5vw, 62px);
  padding-top: 34px;
  border-top: 1px solid rgba(255, 253, 248, 0.17);
}

.score-level,
.score-lexile {
  min-width: 0;
}

.score-kicker {
  display: block;
  color: rgba(255, 253, 248, 0.55);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.score-value {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: clamp(66px, 8.2vw, 118px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.88;
}

.score-value sup {
  position: relative;
  top: -1.45em;
  margin-left: 2px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.22em;
  font-weight: 800;
  letter-spacing: 0;
}

.score-caption {
  display: block;
  margin-top: 13px;
  color: rgba(255, 253, 248, 0.6);
  font-size: 10px;
}

.score-lexile .score-value {
  font-size: clamp(34px, 4.45vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.score-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 253, 248, 0.17);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.69);
  font-size: 9px;
}

.score-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.gauge {
  min-width: 0;
  padding-bottom: 4px;
}

.gauge-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 253, 248, 0.52);
  font-size: 9px;
}

.gauge-head strong {
  color: var(--white);
  font-size: 10px;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  color: rgba(255, 253, 248, 0.44);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 700;
}

.gauge-track {
  position: relative;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.14);
}

.gauge-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ed0bd, var(--gold));
}

.gauge-marker {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 3px 12px rgba(5, 28, 24, 0.35);
  transform: translate(-50%, -50%);
}

.report-body {
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(330px, 0.89fr);
  gap: 27px;
  margin-top: 28px;
  align-items: start;
}

.panel {
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 248, 0.78);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 27px;
}

.panel-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.panel-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.reference-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 11px;
  border-radius: 11px;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.reference-chip strong {
  font-size: 11px;
}

.skill-list {
  display: grid;
  gap: 21px;
}

.skill-row {
  display: grid;
  gap: 8px;
}

.skill-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.skill-head > span:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.skill-head strong {
  font-size: 12px;
  font-weight: 650;
}

.skill-head > span:first-child > span {
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
}

.skill-head > span:last-child {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
}

.skill-head b {
  color: var(--ink);
  font-size: 12px;
}

.skill-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.skill-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transform-origin: left;
  animation: grow-bar 900ms var(--ease) both;
}

.skill-row:nth-child(2) .skill-bar i { background: var(--gold); }
.skill-row:nth-child(3) .skill-bar i { background: var(--coral); }
.skill-row:nth-child(4) .skill-bar i { background: #5b87a3; }

@keyframes grow-bar {
  from { transform: scaleX(0.08); }
  to { transform: scaleX(1); }
}

.skill-note {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.next-list {
  display: grid;
  gap: 10px;
}

.next-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.next-item > span {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--teal-deep);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
  font-weight: 700;
  place-items: center;
}

.next-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.next-item p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.read-range {
  position: relative;
  overflow: hidden;
  margin-top: 27px;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
}

.read-range::after {
  position: absolute;
  right: -15%;
  bottom: -65%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(255, 253, 248, 0.035);
}

.read-range > span {
  color: var(--gold);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.range-value {
  position: relative;
  z-index: 1;
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.range-copy {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.6);
  font-size: 10px;
  line-height: 1.65;
}

.review-section {
  margin-top: 28px;
}

.review-section .panel-head {
  margin-bottom: 20px;
}

.review-count {
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 9px;
}

.review-list {
  display: grid;
  gap: 9px;
}

.review-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
}

.review-item[open] {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.review-summary {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

.review-summary::-webkit-details-marker {
  display: none;
}

.review-index {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 8px;
  font-weight: 700;
  place-items: center;
}

.review-summary strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-summary small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
}

.review-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.review-status.is-wrong {
  background: var(--coral-soft);
  color: #a6422d;
}

.review-status.is-blank {
  background: var(--paper-deep);
  color: var(--muted);
}

.review-detail {
  padding: 0 15px 17px 54px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.answer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.answer-line span {
  color: var(--muted);
}

.answer-line b {
  margin-left: 4px;
  color: var(--ink);
  font-weight: 650;
}

.review-explain {
  margin: 9px 0 0;
}

.disclaimer {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.disclaimer strong {
  color: var(--ink-soft);
}

.report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

/* Toast */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(7, 29, 25, 0.25);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast strong {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 1080px) {
  .pathways-head {
    gap: 34px;
  }

  .pathway-grid {
    gap: 12px;
  }

  .pathway-card {
    padding: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    gap: 38px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .site-nav {
    gap: 19px;
  }

  .exam-main {
    grid-template-columns: 174px minmax(0, 1fr);
    gap: 28px;
  }

  .reading-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  }

  .report-body {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  }
}

@media (max-width: 900px) {
  .container,
  .exam-main {
    width: min(100% - 40px, 720px);
  }

  .pathways {
    padding-top: 20px;
  }

  .pathways-head {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 18px;
  }

  .pathways-copy {
    max-width: 620px;
  }

  .pathway-card {
    min-height: 310px;
    padding: 18px;
  }

  .pathway-top {
    font-size: 8.5px;
  }

  .pathway-arrow {
    width: 29px;
    height: 29px;
    font-size: 13px;
  }

  .pathway-icon {
    width: 45px;
    height: 45px;
    margin-top: 23px;
    border-radius: 14px;
  }

  .pathway-icon svg {
    width: 24px;
    height: 24px;
  }

  .pathway-name {
    margin-top: 18px;
    font-size: 26px;
  }

  .pathway-desc {
    font-size: 12px;
  }

  .pathway-meta {
    padding-top: 20px;
  }

  .site-header {
    min-height: 78px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 620px);
    min-height: 540px;
    margin-inline: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-copy {
    max-width: 620px;
  }

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

  .principle,
  .principle + .principle {
    min-height: 0;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle h3 {
    margin-top: 16px;
  }

  .principle p {
    max-width: 560px;
  }

  .principle svg {
    top: 27px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 42px;
  }

  .step h3 {
    margin-top: 13px;
  }

  .step p {
    max-width: 520px;
  }

  .parent-note {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .exam-header {
    grid-template-columns: 1fr auto;
    padding-inline: 22px;
  }

  .exam-identity {
    display: none;
  }

  .exam-main {
    grid-template-columns: 1fr;
  }

  .exam-side {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px 30px;
    padding-top: 0;
  }

  .exam-side .eyebrow,
  .exam-counter,
  .exam-section-label {
    margin: 0;
  }

  .exam-counter {
    font-size: 38px;
  }

  .dot-grid {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    max-width: none;
  }

  .dot {
    width: 28px;
    height: 28px;
  }

  .exam-note {
    display: none;
  }

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

  .passage-scroll {
    max-height: 340px;
  }

  .report-banner-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .report-meta {
    justify-items: start;
    text-align: left;
  }

  .score-board {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .gauge {
    grid-column: 1 / -1;
    padding-top: 5px;
  }

  .report-body {
    grid-template-columns: 1fr;
  }
}

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

  .pathway-card {
    min-height: 272px;
    padding: 21px;
  }

  .pathway-top {
    font-size: 9px;
  }

  .pathway-icon {
    width: 48px;
    height: 48px;
  }

  .pathway-name {
    font-size: 30px;
  }

  .pathway-desc {
    max-width: none;
    font-size: 12.5px;
  }

  .pathways + .hero {
    padding-top: 48px;
  }
}

@media (max-width: 600px) {
  .container,
  .exam-main {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 72px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn-primary {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 78px;
  }

  .pathways {
    padding-top: 16px;
  }

  .pathways-title {
    font-size: 31px;
  }

  .pathways-copy {
    font-size: 12.5px;
  }

  .pathway-grid {
    margin-top: 16px;
  }

  .pathway-card {
    min-height: 260px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: clamp(47px, 14.5vw, 66px);
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-meta {
    gap: 10px 16px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-visual::before {
    right: 0;
  }

  .hero-wash {
    border-radius: 40% 40% 31% 31% / 34% 34% 28% 28%;
  }

  .sample-card {
    inset: 7% 4% 7% 5%;
    padding: 20px;
  }

  .sample-body {
    margin-top: 25px;
  }

  .sample-score strong {
    font-size: 62px;
  }

  .sample-lexile strong {
    font-size: 24px;
  }

  .sample-note {
    padding: 11px 13px;
  }

  .sample-note strong {
    font-size: 15px;
  }

  .float-chip {
    display: none;
  }

  .resume-strip {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -26px;
    margin-bottom: 54px;
  }

  .section {
    padding: 58px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .steps-section {
    padding: 34px 25px 40px;
  }

  .parent-note {
    padding: 27px 23px;
  }

  .footer-main {
    flex-direction: column;
    gap: 25px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .btn {
    width: 100%;
  }

  .age-grid {
    gap: 6px;
  }

  .age-option {
    min-height: 64px;
    padding: 8px 5px;
  }

  .age-option strong {
    font-size: 12px;
  }

  .age-option small {
    font-size: 9px;
  }

  .exam-header {
    min-height: 68px;
    padding-inline: 16px;
    gap: 8px;
  }

  .exam-brand .brand-copy {
    display: none;
  }

  .exam-brand .brand-mark {
    width: 40px;
    height: 40px;
  }

  .timer {
    min-width: 92px;
    min-height: 38px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .save-exit {
    min-height: 38px;
    padding: 6px 8px;
  }

  .save-exit span {
    display: none;
  }

  .exam-main {
    gap: 20px;
    padding-top: 25px;
  }

  .exam-side {
    gap: 12px 20px;
  }

  .exam-side .eyebrow,
  .exam-section-label {
    display: none;
  }

  .exam-counter {
    font-size: 29px;
  }

  .dot-grid {
    display: grid;
    grid-template-columns: repeat(6, 25px);
    justify-content: end;
    flex: 1;
    gap: 5px;
  }

  .dot {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    font-size: 8px;
  }

  .question-panel {
    padding: 21px 18px 22px;
    border-radius: 22px;
  }

  .question-head {
    padding-bottom: 17px;
  }

  .vocab-stage {
    padding-top: 35px;
  }

  .vocab-word {
    font-size: clamp(43px, 13vw, 64px);
  }

  .prompt {
    margin-top: 29px;
  }

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

  .choice {
    min-height: 58px;
    padding: 11px 13px;
  }

  .reading-layout {
    padding-top: 21px;
  }

  .passage-card {
    padding: 18px;
  }

  .passage-title {
    font-size: 27px;
  }

  .passage-scroll {
    max-height: 300px;
  }

  .passage-p {
    font-size: 15px;
  }

  .reading-question-text {
    font-size: 23px;
  }

  .question-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 26px;
  }

  .save-state {
    order: 2;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1;
  }

  .report-header {
    min-height: 72px;
  }

  .report-header .brand-copy {
    display: none;
  }

  .report-actions .btn-primary {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .report-banner {
    padding: 25px 21px 30px;
  }

  .report-name {
    font-size: 41px;
  }

  .report-summary {
    font-size: 12px;
  }

  .score-board {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .score-value {
    font-size: 89px;
  }

  .score-lexile .score-value {
    font-size: 43px;
  }

  .gauge {
    padding-top: 5px;
  }

  .panel {
    padding: 22px 18px;
    border-radius: 21px;
  }

  .panel-head {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .reference-chip {
    align-items: flex-start;
    text-align: left;
  }

  .review-summary {
    grid-template-columns: 25px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px;
  }

  .review-detail {
    padding-left: 12px;
  }

  .report-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .report-header,
  .report-actions,
  .report-footer,
  .toast {
    display: none !important;
  }

  .report-shell {
    background: #fff;
    padding: 0;
  }

  .report-banner {
    padding: 22px;
    border-radius: 18px;
    background: #173a35 !important;
    box-shadow: none;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .report-body {
    display: block;
  }

  .panel {
    margin-top: 12px;
    break-inside: avoid;
    background: #fff;
  }

  .review-item {
    break-inside: avoid;
  }

  .review-item:not([open]) .review-detail {
    display: block;
  }
}
