:root {
  color-scheme: light;
  --bg: #f5f6f7;
  --paper: #ffffff;
  --ink: #101820;
  --muted: #4d5a61;
  --line: #b8c0c5;
  --line-soft: #d9dee2;
  --green: #0b6f4e;
  --green-2: #e8f3ee;
  --blue: #175c8d;
  --blue-2: #e8f2f8;
  --red: #9b3030;
  --yellow: #f2c94c;
  --yellow-2: #fff7d6;
  --navy: #172635;
  --shadow: 0 8px 24px rgba(16, 24, 32, 0.08);
  --control-shadow: 0 10px 22px rgba(16, 24, 32, 0.12);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.04);
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1040px;
  min-height: 66px;
  padding: 0 20px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: var(--blue);
  outline: none;
}

.brand-logo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: block;
  height: 42px;
  object-fit: contain;
  padding: 0;
  width: 42px;
}

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

.nav-links a {
  border-radius: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  padding: 10px 11px;
  position: relative;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--blue-2);
  color: var(--blue);
  outline: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  background: var(--yellow);
  bottom: 3px;
  content: "";
  height: 4px;
  left: 11px;
  position: absolute;
  right: 11px;
}

.nav-links .nav-primary {
  background: var(--blue);
  color: white;
}

.nav-links .nav-primary:hover,
.nav-links .nav-primary:focus-visible {
  background: var(--navy);
  color: white;
}

.nav-links .nav-primary[aria-current="page"] {
  background: var(--navy);
  color: white;
}

.nav-links .nav-primary[aria-current="page"]::after {
  background: var(--yellow);
  bottom: -1px;
  left: 0;
  right: 0;
}

.nav-toggle {
  display: none;
}

.menu-surface,
.language-menu-list,
.mobile-guide-nav,
.nav-links.is-open {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 4px;
  box-shadow: var(--control-shadow);
}

.menu-trigger,
.language-menu summary,
.mobile-guide-toggle,
.nav-toggle {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.menu-trigger:hover,
.language-menu summary:hover,
.mobile-guide-toggle:hover,
.nav-toggle:hover,
.menu-trigger:focus-visible,
.language-menu summary:focus-visible,
.mobile-guide-toggle:focus-visible,
.nav-toggle:focus-visible {
  background: var(--blue-2);
  border-color: var(--blue);
  outline: none;
}

.menu-link,
.language-menu-list a,
.mobile-guide-nav a,
.nav-links a {
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.menu-link:hover,
.language-menu-list a:hover,
.mobile-guide-nav a:hover,
.nav-links a:hover,
.menu-link:focus-visible,
.language-menu-list a:focus-visible,
.mobile-guide-nav a:focus-visible,
.nav-links a:focus-visible {
  background: var(--blue-2);
  color: var(--blue);
  text-decoration: none;
}

.language-links {
  align-items: center;
  display: none;
  gap: 6px;
}

.language-menu {
  display: block;
  position: relative;
}

.language-menu summary {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  gap: 7px;
  list-style: none;
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
}

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

.language-menu summary::after {
  color: var(--muted);
  content: "▾";
  font-size: 12px;
  margin-left: 8px;
}

[dir="rtl"] .language-menu summary::after {
  margin-left: 0;
  margin-right: 8px;
}

.language-menu[open] summary {
  background: var(--blue-2);
  border-color: var(--blue);
}

.language-menu[open] .language-menu-list {
  animation: menu-reveal 180ms ease both;
  transform-origin: top right;
}

[dir="rtl"] .language-menu[open] .language-menu-list {
  transform-origin: top left;
}

.language-menu-list {
  display: grid;
  min-width: 150px;
  padding: 6px 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
}

[dir="rtl"] .language-menu-list {
  left: 0;
  right: auto;
}

.language-menu-list a {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  display: flex;
  font-size: 15px;
  gap: 9px;
  font-weight: 800;
  padding: 9px 2px;
  text-decoration: none;
}

.language-menu-list a:first-child {
  border-top: 0;
}

@keyframes menu-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.language-links a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: inline-flex;
  font-size: 13px;
  gap: 6px;
  padding: 6px 8px;
  text-decoration: none;
}

.language-flag {
  display: inline-flex;
  font-size: 15px;
  line-height: 1;
}

.hero {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  margin: 0 auto;
  max-width: 1040px;
  min-height: auto;
  padding: 56px 20px 42px;
}

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

.eyebrow {
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 5.4vw, 64px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  max-width: 640px;
}

.hero-actions,
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
button {
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--navy);
  box-shadow: 0 4px 0 var(--yellow);
  color: white;
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--paper);
  border: 2px solid var(--ink);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--yellow-2);
  border-color: var(--blue);
  box-shadow: 0 4px 0 var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.button:disabled,
.button[aria-disabled="true"] {
  background: #d9e0e6;
  border-color: #d9e0e6;
  color: #52616c;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.button:disabled:hover,
.button[aria-disabled="true"]:hover,
.button:disabled:focus-visible,
.button[aria-disabled="true"]:focus-visible {
  background: #d9e0e6;
  border-color: #d9e0e6;
  box-shadow: none;
  color: #52616c;
  transform: none;
}

.hero-product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--yellow);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-topline {
  align-items: center;
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
}

.product-topline span {
  color: #d7e7ed;
  font-size: 14px;
}

.product-question {
  padding: 22px;
}

.product-question h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
}

.preview-answers {
  display: grid;
  gap: 10px;
}

.preview-answers span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 700;
  padding: 12px 14px;
}

.preview-answers .is-correct {
  background: var(--green-2);
  border-color: var(--green);
}

.product-explainer {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-explainer div {
  padding: 18px;
}

.product-explainer div + div {
  border-left: 1px solid var(--line);
}

.product-explainer strong {
  color: var(--green);
}

.product-explainer p {
  color: var(--muted);
  margin: 6px 0 0;
}

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 20px;
}

.trust-strip div {
  border-left: 1px solid var(--line);
  padding: 20px 22px;
}

.trust-strip div:first-child {
  border-left: 0;
}

.trust-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 58px 20px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1040px;
}

.section-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
}

.mock-page .section-head {
  display: block;
  margin-bottom: 12px;
  max-width: 720px;
}

.mock-page .section-head h1 {
  font-size: clamp(40px, 4.4vw, 56px);
  margin-bottom: 14px;
}

.mock-page .section-head .section-intro {
  font-size: 20px;
  line-height: 1.45;
  max-width: 680px;
}

.test-hint {
  align-items: center;
  background: var(--yellow-2);
  border-left: 4px solid var(--yellow);
  color: var(--muted);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px 14px;
}

.test-hint p {
  margin: 0;
}

.test-hint-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 24px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  opacity: 0.72;
  padding: 0;
  width: 28px;
}

.test-hint-close:hover,
.test-hint-close:focus-visible {
  color: var(--blue);
  opacity: 1;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

[dir="rtl"] .test-hint {
  border-left: 0;
  border-right: 4px solid var(--yellow);
}

.start-section {
  background: var(--paper);
}

.start-layout {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
}

.start-panel {
  background: var(--yellow-2);
  border-left: 6px solid var(--yellow);
  padding: 24px;
}

[dir="rtl"] .start-panel {
  border-left: 0;
  border-right: 6px solid var(--yellow);
}

.start-panel h3 {
  margin-bottom: 12px;
}

.start-panel ul {
  color: var(--ink);
  margin: 0;
  padding-left: 22px;
}

[dir="rtl"] .start-panel ul {
  padding-left: 0;
  padding-right: 22px;
}

.start-panel li {
  margin: 8px 0;
}

.mock-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.test-card,
.score-card,
.feature-card,
.article-card,
.source-banner,
.translation-sample,
.path-steps div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.test-card {
  padding: 24px;
}

.question-meta,
.explanation-topline {
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.answers {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.answer {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
}

[dir="rtl"] .answer {
  text-align: right;
}

.answer.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 95, 159, 0.12);
}

.answer.is-correct {
  background: var(--green-2);
  border-color: var(--green);
}

.answer.is-wrong {
  background: #fbebeb;
  border-color: var(--red);
}

.answer:disabled {
  cursor: default;
}

.explanation {
  background: var(--blue-2);
  border-left: 5px solid var(--blue);
  border-radius: 2px;
  display: none;
  padding: 16px;
}

[dir="rtl"] .explanation {
  border-left: 0;
  border-right: 5px solid var(--blue);
}

.explanation.is-visible {
  display: block;
}

.explanation-link {
  color: var(--blue);
  display: inline-flex;
  font-weight: 800;
  margin-top: 10px;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.score-card {
  align-self: start;
  padding: 20px;
}

.score-number {
  display: block;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.progress {
  background: var(--line);
  border-radius: 2px;
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
}

.progress span {
  background: var(--green);
  display: block;
  height: 100%;
  width: 0;
}

.status {
  background: var(--blue-2);
  border-radius: 2px;
  color: var(--blue);
  display: inline-flex;
  font-weight: 800;
  padding: 8px 10px;
}

.status.is-pass {
  background: var(--green-2);
  color: var(--green);
}

.grid,
.mode-grid,
.learning-grid,
.guide-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.mode-grid {
  grid-template-columns: 1.15fr repeat(3, 1fr);
}

.learning-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

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

.feature-card,
.article-card {
  padding: 20px;
}

.feature-card {
  border-top: 5px solid var(--blue);
}

.featured-mode {
  background: var(--navy);
  border-color: var(--navy);
  border-top-color: var(--yellow);
  color: white;
}

.featured-mode p,
.featured-mode .card-label {
  color: #d7e7ed;
}

.card-label {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.feature-card p,
.article-card p {
  color: var(--muted);
}

.featured-mode p {
  color: #d7e7ed;
}

.feature-card a {
  font-weight: 800;
  text-decoration: none;
}

.language-proof {
  background: var(--yellow-2);
}

.language-layout {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
}

.translation-sample {
  overflow: hidden;
}

.translation-sample div {
  padding: 18px 20px;
}

.translation-sample div + div {
  border-top: 1px solid var(--line);
}

.translation-sample span {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.translation-sample p {
  font-size: 18px;
  margin: 0;
}

.fact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  background: var(--paper);
  border-left: 5px solid var(--yellow);
  border-radius: 2px;
  padding: 16px;
}

[dir="rtl"] .fact {
  border-left: 0;
  border-right: 5px solid var(--yellow);
}

.fact strong {
  display: block;
  font-size: 24px;
}

.timeline-section {
  background: var(--paper);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 18px 0;
}

.timeline-item:first-child {
  border-top: 0;
}

.timeline-item strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.timeline-item span {
  color: var(--muted);
  font-size: 18px;
}

.timeline-download {
  margin-top: 24px;
}

.signup-section {
  background: var(--yellow-2);
}

.unsubscribe-section {
  background: var(--wash);
  min-height: 58vh;
}

.signup-layout {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.signup-form,
.email-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  padding: 22px;
}

.signup-form label,
.email-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.signup-row,
.email-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup-row input,
.email-row input {
  border: 2px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  min-height: 46px;
  padding: 8px 12px;
  width: 100%;
}

.signup-row input:focus,
.email-row input:focus {
  box-shadow: 0 0 0 4px var(--yellow);
  outline: 3px solid transparent;
}

.signup-trap,
.email-trap {
  display: none;
}

.signup-privacy,
.signup-message,
.email-note,
.email-message {
  color: var(--muted);
  font-size: 15px;
  margin: 10px 0 0;
}

.signup-benefits {
  color: var(--ink);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.signup-benefits li {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 18px minmax(0, 1fr);
}

.signup-benefits li::before {
  background: var(--green);
  content: "";
  display: block;
  height: 10px;
  margin-top: 9px;
  width: 10px;
}

.timeline-pdf-link {
  display: inline-block;
  font-weight: 800;
  margin-top: 12px;
}

.signup-message.is-success,
.email-message.is-success {
  background: var(--green-2);
  border: 1px solid rgba(11, 111, 78, 0.3);
  color: var(--ink);
  padding: 12px;
}

.signup-message.is-success strong,
.email-message.is-success strong {
  color: var(--green);
  display: block;
  font-weight: 900;
}

.signup-message.is-success span,
.email-message.is-success span {
  display: block;
  margin-top: 3px;
}

.signup-message.is-error,
.email-message.is-error {
  color: var(--red);
  font-weight: 800;
}

.study-path {
  background: var(--navy);
  color: white;
}

.study-path p {
  color: #c6d2e1;
}

.path-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.path-steps div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px;
}

.path-steps strong {
  align-items: center;
  background: var(--yellow);
  border-radius: 2px;
  color: var(--ink);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.path-steps h3 {
  margin-bottom: 8px;
}

.article-layout,
.guide-layout {
  margin: 0 auto;
  max-width: 1040px;
  padding: 56px 20px;
}

.article-layout {
  max-width: 800px;
}

.guide-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 270px minmax(0, 1fr);
}

.article {
  max-width: 760px;
}

.article-card {
  margin-top: 24px;
}

.guide-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  padding: 18px;
  position: sticky;
  top: 116px;
}

.guide-sidebar h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.guide-sidebar ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-sidebar li {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.guide-sidebar li:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-sidebar a {
  color: var(--ink);
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.guide-sidebar a:hover,
.guide-sidebar a:focus-visible {
  background: var(--blue-2);
  color: var(--blue);
  padding: 4px 6px;
  text-decoration: none;
}

.guide-sidebar a[aria-current="page"] {
  background: var(--yellow-2);
  box-shadow: -5px 0 0 var(--yellow);
  padding: 4px 6px;
  text-decoration: none;
}

[dir="rtl"] .guide-sidebar a[aria-current="page"] {
  box-shadow: 5px 0 0 var(--yellow);
}

.guide-sidebar span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.mobile-guide-nav {
  display: none;
}

.guide-step-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.source-banner {
  border-left: 5px solid var(--yellow);
  margin: 0 0 28px;
  padding: 16px 18px;
}

[dir="rtl"] .source-banner {
  border-left: 1px solid var(--line);
  border-right: 5px solid var(--yellow);
}

.source-banner p {
  color: var(--muted);
  font-size: 16px;
  margin: 6px 0 0;
}

.markdown-body {
  color: var(--muted);
  font-size: 19px;
}

.markdown-body h2,
.markdown-body h3 {
  color: var(--ink);
  margin-top: 32px;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 24px;
}

[dir="rtl"] .markdown-body ul,
[dir="rtl"] .markdown-body ol {
  padding-left: 0;
  padding-right: 24px;
}

.markdown-body li {
  margin: 8px 0;
}

.markdown-body table {
  border-collapse: collapse;
  color: var(--ink);
  font-size: 16px;
  margin: 22px 0;
  width: 100%;
}

.markdown-body th,
.markdown-body td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

[dir="rtl"] .markdown-body th,
[dir="rtl"] .markdown-body td {
  text-align: right;
}

.markdown-body th {
  background: var(--blue-2);
  color: var(--ink);
  font-weight: 900;
}

.quick-answer,
.guide-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  color: var(--ink);
  margin: 24px 0;
  padding: 18px 20px;
}

[dir="rtl"] .quick-answer,
[dir="rtl"] .guide-cta {
  border-left: 1px solid var(--line);
  border-right: 5px solid var(--blue);
}

.quick-answer strong,
.guide-cta strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.quick-answer p,
.guide-cta p {
  margin-bottom: 0;
}

.guide-cta {
  background: var(--yellow-2);
  border-left-color: var(--yellow);
}

[dir="rtl"] .guide-cta {
  border-right-color: var(--yellow);
}

.guide-cta .button {
  margin-top: 14px;
}

.guide-signup form {
  margin-top: 16px;
}

.guide-signup .signup-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.guide-signup .button {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.03);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: inset 0 5px 0 var(--blue), var(--control-shadow);
}

.faq-item summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 18px;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  min-height: 62px;
  padding: 16px 18px 16px 20px;
  transition: background 180ms ease, color 180ms ease;
}

[dir="rtl"] .faq-item summary {
  padding: 16px 20px 16px 18px;
}

.faq-item summary:hover,
.faq-item summary:focus-visible,
.faq-item[open] summary {
  background: var(--blue-2);
  color: var(--ink);
  outline: none;
}

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

.faq-item summary::after {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  content: "+";
  display: inline-grid;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 30px;
}

.faq-item[open] summary::after {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 18px 20px 20px;
  transition: height 220ms ease, opacity 180ms ease;
}

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

.markdown-body img {
  border: 1px solid var(--line);
  border-radius: 2px;
  display: block;
  height: auto;
  margin: 28px auto 10px;
  max-height: 600px;
  max-width: min(100%, 600px);
  object-fit: contain;
}

.markdown-body blockquote {
  border-left: 5px solid var(--green);
  color: var(--ink);
  margin: 24px 0;
  padding: 8px 0 8px 18px;
}

[dir="rtl"] .markdown-body blockquote {
  border-left: 0;
  border-right: 5px solid var(--green);
  padding: 8px 18px 8px 0;
}

.legal {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 0;
}

.site-footer {
  background: var(--navy);
  color: white;
  padding: 38px 20px;
}

.footer-inner {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 180px;
  margin: 0 auto;
  max-width: 1040px;
}

.footer-inner a {
  color: white;
}

.footer-brand {
  max-width: 720px;
}

.footer-logo {
  align-items: center;
  color: white;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  gap: 12px;
  text-decoration: none;
}

.footer-logo img {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-links strong {
  color: var(--yellow);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links a {
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin: 18px 0 0;
}

.timeline-pack-page {
  background:
    linear-gradient(180deg, #edf3f6 0%, #f8fafb 38%, #edf3f6 100%);
  color: var(--ink);
  padding: 28px 20px 54px;
}

.pack-cover,
.pack-section {
  margin: 0 auto 22px;
  max-width: 1120px;
}

.pack-sheet {
  background: var(--paper);
  border: 1px solid #cbd5dd;
  box-shadow: 0 22px 70px rgba(11, 23, 32, 0.13);
  padding: 30px;
}

.pack-cover-sheet {
  border-top: 9px solid var(--blue);
}

.pack-brand-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr);
  margin-bottom: 18px;
}

.pack-logo {
  border: 1px solid #cbd5dd;
  border-radius: 2px;
  display: block;
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.pack-brand-row span {
  font-size: 23px;
  font-weight: 900;
}

.pack-cover-grid {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.pack-kicker {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pack-cover h1 {
  font-size: 44px;
  line-height: 1.02;
  max-width: 640px;
}

.pack-cover-copy .lede {
  color: var(--muted);
  font-size: 19px;
  margin-top: 14px;
  max-width: 620px;
}

.pack-cover-copy,
.pack-test-day > div,
.pack-reminder,
.anchor-content {
  min-width: 0;
}

.pack-method {
  background: var(--navy);
  border-top: 6px solid var(--yellow);
  color: white;
  padding: 24px;
}

.pack-method h2 {
  font-size: 28px;
}

.pack-method ol {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.pack-method li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.pack-method li:first-child {
  border-top: 0;
  padding-top: 0;
}

.pack-method strong {
  color: var(--yellow);
}

.pack-method span {
  color: #d7e7ed;
}

.pack-cover-note {
  align-self: end;
  background: #f8fbfc;
  border: 1px solid #cbd5dd;
  border-left: 6px solid var(--yellow);
  padding: 20px;
}

.pack-cover-note strong {
  color: var(--green);
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pack-cover-note p {
  color: var(--muted);
  margin: 0;
}

.pack-number-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

.pack-number-card {
  background: #f8fbfc;
  border: 1px solid #cbd5dd;
  border-left: 6px solid var(--yellow);
  min-width: 0;
  padding: 13px 14px;
}

.pack-cover .pack-number-grid {
  grid-template-columns: 1fr;
}

.pack-cover .pack-number-card {
  align-items: center;
  column-gap: 14px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 9px 13px;
}

.pack-number-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pack-number-card strong {
  color: var(--navy);
  display: block;
  font-size: 32px;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 5px 0;
}

.pack-cover .pack-number-card strong {
  font-size: 34px;
  margin: 0;
}

.pack-number-card p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.pack-number-card p span {
  margin-bottom: 1px;
}

.pack-section-head {
  margin-bottom: 22px;
  max-width: 820px;
}

.pack-section-head.compact {
  margin-bottom: 14px;
}

.pack-section-head p:not(.pack-kicker) {
  color: var(--muted);
  font-size: 19px;
  margin: 10px 0 0;
}

.anchor-map {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  position: relative;
}

.anchor-map::before {
  background: var(--blue);
  content: "";
  bottom: 18px;
  left: 26px;
  position: absolute;
  top: 18px;
  width: 6px;
}

.anchor-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(0, 1fr);
  min-width: 0;
  padding: 0;
  position: relative;
}

.anchor-marker {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.anchor-marker span {
  align-items: center;
  background: var(--blue);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 1px var(--blue);
  color: white;
  display: flex;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  line-height: 1;
  width: 52px;
}

.anchor-content {
  background: #ffffff;
  border: 1px solid #cbd5dd;
  border-left: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr) minmax(180px, 0.8fr);
  min-height: 0;
  padding: 16px 18px;
}

.anchor-heading {
  min-height: 0;
}

.anchor-year {
  color: var(--green);
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 7px;
}

.anchor-card h3 {
  font-size: 22px;
  margin-bottom: 0;
}

.anchor-card p {
  color: var(--muted);
  margin: 0;
}

.anchor-tags {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-tags li {
  background: #f2f5f7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  padding: 5px 7px;
}

.pack-two-column {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.pack-grid-sections {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pack-grid-sections section {
  min-width: 0;
}

.pack-table {
  border-collapse: collapse;
  width: 100%;
}

.pack-table th,
.pack-table td {
  border-top: 1px solid var(--line-soft);
  padding: 12px 0;
  text-align: left;
  vertical-align: top;
}

.pack-table tr:first-child th,
.pack-table tr:first-child td {
  border-top: 0;
}

.pack-table th {
  color: var(--green);
  font-weight: 900;
  padding-right: 18px;
  width: 145px;
}

.pack-table td {
  color: var(--muted);
}

.pack-bullets ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pack-bullets li {
  border-left: 5px solid var(--yellow);
  color: var(--muted);
  padding-left: 12px;
}

.pack-bullets.quiet li {
  border-left: 0;
  padding-left: 0;
}

.pack-checklist ul {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pack-checklist li {
  align-items: start;
  color: var(--muted);
  display: grid;
  gap: 10px;
  grid-template-columns: 22px minmax(0, 1fr);
}

.pack-checklist li span {
  border: 2px solid var(--blue);
  display: block;
  height: 18px;
  margin-top: 5px;
  width: 18px;
}

.pack-test-day {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.pack-test-day h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.pack-reminder {
  background: #f8fbfc;
  border: 1px solid #cbd5dd;
  border-left: 7px solid var(--yellow);
  padding: 18px;
}

.pack-finish {
  border-top: 7px solid var(--blue);
}

.pack-finish .pack-legal {
  padding-top: 0;
}

.pack-legal {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

@media print {
  .timeline-pack-page {
    background: white;
    padding: 0;
  }

  .pack-cover,
  .pack-section {
    margin: 0;
    max-width: none;
  }

  .pack-sheet {
    border: 0;
    box-shadow: none;
    min-height: auto;
  }

  .pack-section {
    break-before: auto;
    page-break-before: auto;
  }
}

.cookie-banner {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  bottom: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  left: 18px;
  padding: 16px;
  position: fixed;
  right: 18px;
  z-index: 30;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 15px;
  margin: 4px 0 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media print {
  @page {
    margin: 12mm;
    size: A4 portrait;
  }

  body {
    background: white;
    font-size: 13px;
    line-height: 1.35;
  }

  .site-header,
  .site-footer,
  .pack-method,
  .cookie-banner {
    display: none;
  }

  .timeline-pack-page {
    background: white;
    padding: 0;
  }

  .pack-cover,
  .pack-section {
    margin: 0;
    max-width: none;
  }

  .pack-sheet {
    border: 0;
    box-shadow: none;
    padding: 0 0 6mm;
  }

  .pack-date-section {
    break-before: page;
    break-inside: avoid;
    page-break-before: always;
    page-break-inside: avoid;
  }

  .pack-cover-grid,
  .pack-two-column,
  .pack-test-day,
  .pack-finish {
    grid-template-columns: 1fr;
  }

  .pack-cover h1 {
    font-size: 30px;
    margin-bottom: 6px;
  }

  .pack-brand-row {
    margin-bottom: 10px;
  }

  .pack-cover-grid {
    gap: 12px;
  }

  .pack-cover-note {
    padding: 10px 12px;
  }

  .pack-number-grid {
    gap: 8px;
    margin-top: 12px;
  }

  .pack-number-card {
    padding: 10px 12px;
  }

  .pack-number-card strong {
    font-size: 28px;
  }

  .pack-section-head {
    margin-bottom: 10px;
  }

  .pack-section-head h2 {
    font-size: 24px;
  }

  .pack-number-grid,
  .pack-grid-sections {
    grid-template-columns: 1fr 1fr;
  }

  .anchor-map::before {
    display: block;
  }

  .anchor-card {
    break-inside: avoid;
    min-height: auto;
  }

  .anchor-content {
    gap: 8px;
    padding: 9px 12px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .anchor-map {
    gap: 7px;
  }

  .anchor-marker span {
    height: 38px;
    width: 38px;
  }

  .anchor-card {
    gap: 8px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .anchor-card h3 {
    font-size: 16px;
  }

  .anchor-card p,
  .anchor-tags li {
    font-size: 11px;
  }

  .anchor-year {
    font-size: 14px;
  }

  .pack-table,
  .pack-bullets li {
    break-inside: avoid;
  }

  .pack-section {
    break-before: auto;
    page-break-before: auto;
  }
}

@media (max-width: 900px) {
  .hero,
  .mock-layout,
  .language-layout,
  .signup-layout,
  .guide-layout,
  .start-layout,
  .pack-cover-grid,
  .pack-two-column,
  .pack-test-day,
  .pack-finish {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .guide-sidebar {
    display: none;
  }

  .anchor-map::before {
    display: block;
  }

  .mobile-guide-nav {
    background: transparent;
    border: 0;
    border-radius: 0;
    bottom: 0;
    box-shadow: none;
    display: block;
    left: 0;
    margin: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 40;
  }

  .mobile-guide-nav:not(.is-open) {
    pointer-events: none;
  }

  .mobile-guide-toggle {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 4px;
    bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: var(--control-shadow);
    display: flex;
    font-size: 15px;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    min-height: 42px;
    padding: 8px 12px;
    pointer-events: auto;
    position: absolute;
    right: 16px;
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
    user-select: none;
    width: 170px;
  }

  [dir="rtl"] .mobile-guide-toggle {
    border-left: 0;
    border-right: 5px solid var(--blue);
    left: 16px;
    right: auto;
  }

  .mobile-guide-toggle::after {
    background: var(--blue-2);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--blue);
    content: "+";
    display: inline-grid;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 800;
    height: 26px;
    line-height: 26px;
    place-items: center;
    transition: transform 180ms ease, background 180ms ease;
    width: 26px;
  }

  .mobile-guide-nav.is-open .mobile-guide-toggle::after {
    background: var(--navy);
    color: white;
    content: "−";
    transform: rotate(180deg);
  }

  .mobile-guide-nav.is-open .mobile-guide-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  .mobile-guide-backdrop {
    background: rgba(16, 24, 32, 0.34);
    border: 0;
    cursor: pointer;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease;
  }

  .mobile-guide-nav.is-open .mobile-guide-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-guide-sheet {
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-top: 5px solid var(--blue);
    border-radius: 6px 6px 0 0;
    bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -18px 42px rgba(16, 24, 32, 0.24);
    display: grid;
    gap: 0;
    left: 12px;
    margin: 0;
    max-height: calc(100dvh - 24px);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    right: 12px;
    transform: translateY(100%);
    transform-origin: bottom center;
    transition: opacity 220ms ease, transform 260ms ease;
  }

  .mobile-guide-nav.is-open .mobile-guide-sheet {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-guide-head {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .mobile-guide-head strong {
    color: var(--ink);
    font-size: 16px;
  }

  .mobile-guide-close {
    align-items: center;
    background: var(--blue-2);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--blue);
    cursor: pointer;
    display: inline-grid;
    height: 32px;
    justify-content: center;
    width: 32px;
  }

  .mobile-guide-close::before {
    content: "×";
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
  }

  .mobile-guide-panel {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    max-height: calc(100dvh - 104px);
    overflow: auto;
    padding: 8px 14px 14px;
  }

  .mobile-guide-nav li + li {
    border-top: 1px solid var(--line-soft);
  }

  .mobile-guide-nav a {
    color: var(--ink);
    display: block;
    font-size: 16px;
    font-weight: 800;
    padding: 10px 4px;
    text-decoration-thickness: 1px;
  }

  .mobile-guide-nav a:hover,
  .mobile-guide-nav a:focus-visible {
    padding: 10px 10px;
  }

  .mobile-guide-nav a[aria-current="page"] {
    background: var(--yellow-2);
    box-shadow: inset 8px 0 0 var(--yellow);
    margin: 4px 0;
    padding: 12px 12px 12px 18px;
    text-decoration: none;
  }

  [dir="rtl"] .mobile-guide-nav a[aria-current="page"] {
    box-shadow: inset -8px 0 0 var(--yellow);
    padding: 12px 18px 12px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .grid,
  .fact-grid,
  .mode-grid,
  .learning-grid,
  .guide-preview-grid,
  .path-steps,
  .trust-strip,
  .pack-grid-sections,
  .pack-number-grid,
  .anchor-map {
    grid-template-columns: 1fr 1fr;
  }

  .anchor-map {
    grid-template-columns: 1fr;
  }

  .anchor-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .anchor-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .trust-strip div:nth-child(odd) {
    border-left: 0;
  }

}

@media (max-width: 700px) {
  .nav {
    align-items: center;
    position: relative;
    gap: 12px;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head p {
    font-size: 18px;
    line-height: 1.45;
    max-width: 100%;
  }

  .nav-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    width: 40px;
  }

  [dir="rtl"] .nav-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .nav-toggle[aria-expanded="true"] {
    background: transparent;
    color: var(--blue);
  }

  .nav-toggle span {
    background: currentColor;
    display: block;
    height: 2px;
    transition: opacity 160ms ease, transform 160ms ease;
    width: 20px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    display: grid;
    gap: 0;
    left: 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 14px;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: calc(100% + 6px);
    transform: translateY(-6px);
    transition: max-height 200ms ease, opacity 160ms ease, padding 200ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
    z-index: 20;
  }

  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    padding: 8px 14px;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    border-top: 1px solid var(--line-soft);
    border-radius: 4px;
    color: var(--ink);
    display: grid;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 10px;
  }

  .nav-links a:first-child {
    border-top: 0;
  }

  .nav-links a[aria-current="page"] {
    background: var(--blue-2);
    box-shadow: inset 8px 0 0 var(--yellow);
    color: var(--blue);
    margin: 4px 0;
    padding-left: 18px;
  }

  .nav-links a[aria-current="page"]::after {
    content: none;
  }

  .nav-links .nav-primary[aria-current="page"] {
    box-shadow: inset 8px 0 0 var(--yellow);
    color: white;
  }

  [dir="rtl"] .nav-links a[aria-current="page"] {
    box-shadow: inset -8px 0 0 var(--yellow);
    padding-left: 10px;
    padding-right: 18px;
  }

  .language-menu {
    margin-left: 0;
  }

  [dir="rtl"] .language-menu {
    margin-right: 0;
  }

  .grid,
  .fact-grid,
  .mode-grid,
  .learning-grid,
  .guide-preview-grid,
  .path-steps,
  .trust-strip,
  .pack-grid-sections,
  .pack-number-grid {
    grid-template-columns: 1fr;
  }

  .anchor-card {
    padding: 0;
  }

  .trust-strip div,
  .trust-strip div:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-strip div:first-child {
    border-top: 0;
  }

  .product-explainer {
    grid-template-columns: 1fr;
  }

  .product-explainer div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .timeline-item {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .timeline-pack-page {
    padding: 14px 10px 34px;
    overflow-x: hidden;
  }

  .pack-cover,
  .pack-section,
  .pack-sheet {
    max-width: 100%;
    width: 100%;
  }

  .pack-sheet {
    overflow: hidden;
    padding: 24px;
  }

  .pack-cover h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .pack-number-card strong {
    font-size: 42px;
  }

  .pack-test-day h2,
  .pack-section-head h2,
  .pack-grid-sections h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .pack-cover-copy .lede,
  .pack-checklist li,
  .pack-bullets li,
  .pack-table th,
  .pack-table td,
  .anchor-card {
    overflow-wrap: anywhere;
  }

  .pack-table th,
  .pack-table td {
    display: block;
    padding-right: 0;
    width: auto;
  }

  .pack-table td {
    border-top: 0;
    padding-top: 0;
  }

  .hero-panel {
    padding: 12px;
  }

  .tool-actions {
    display: grid;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr;
  }

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

  .cookie-actions .button {
    width: 100%;
  }

  .signup-row,
  .email-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    gap: 12px;
    padding-top: 22px;
  }

  .tool-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }
}
