@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-017F, U+1E9E, U+2000-206F, U+20AC, U+2190-2193;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+0000-017F, U+1E9E, U+2000-206F, U+20AC, U+2190-2193;
}

:root {
  --ink: #102c3f;
  --text: #243b4a;
  --muted: #627b8d;
  --blue-900: #003d66;
  --blue-800: #004b76;
  --blue-700: #005f96;
  --blue-100: #eaf7ff;
  --blue-050: #f4fbff;
  --teal: #138779;
  --teal-dark: #0d6b60;
  --teal-soft: #d9f4ef;
  --orange: #f6a23a;
  --line: #c9ddeb;
  --line-soft: #e2edf5;
  --surface: #ffffff;
  --surface-muted: #f3f5f7;
  --container: min(1180px, calc(100vw - 40px));
  --dur-press: 100ms;
  --dur-state: 150ms;
  --dur-layer: 200ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.58;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--blue-900);
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.65em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1rem;
  font-weight: 800;
}

p,
ul,
ol,
dl {
  margin: 0 0 1.15em;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--orange);
  transform: translateY(-160%);
}

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

.topbar {
  background: var(--blue-900);
  color: var(--surface);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.header__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-title,
.footer-home {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.desktop-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}

.desktop-nav a,
.mobile-nav a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--blue-700);
}

.mobile-nav {
  flex-shrink: 0;
  display: none;
}

.mobile-nav summary {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

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

.mobile-nav nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  display: grid;
  gap: 2px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mobile-nav nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 8px;
}

.hero {
  padding: 78px 0 84px;
  background: var(--blue-100);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
}

.hero__copy {
  max-width: 790px;
}

.hero h1 {
  max-width: 790px;
}

.hero .lead {
  max-width: 68ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero__visual {
  padding: 10px;
}

.kicker {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--blue-700);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

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

.button--primary:hover {
  background: var(--blue-900);
  color: var(--surface);
}

.button--secondary {
  background: var(--surface);
  color: var(--blue-800);
}

.button:active,
.filter-buttons button:active,
.copy-link:active {
  transform: scale(0.98);
  transition: transform var(--dur-press) ease-out;
}

.section {
  padding: 92px 0;
}

.section--compact {
  padding-top: 64px;
}

.section--muted {
  background: var(--surface-muted);
  border-block: 1px solid var(--line-soft);
}

.podcast-section {
  background: var(--blue-050);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.podcast-player {
  display: block;
  width: 100%;
  min-width: 0;
  margin-block: 24px;
}

.podcast-meta {
  font-weight: 800;
}

.podcast-teaser {
  padding-block: 28px;
  border-block: 1px solid var(--line);
}

@media (max-width: 520px) {
  .podcast-section .button,
  .podcast-teaser .button {
    width: 100%;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  margin-block: 32px;
  list-style: none;
}

.practice-list > li {
  padding-top: 20px;
  border-top: 3px solid var(--teal);
}

.practice-list h3 a {
  display: inline-block;
  min-height: 44px;
}

.page-practice .page-intro h1 {
  font-size: clamp(1.65rem, 7vw, 4rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.practice-toc {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}

.practice-toc ol {
  padding: 0;
  list-style: none;
}

.practice-toc a {
  display: block;
  padding-block: 10px;
  min-height: 44px;
}

.practice-copy,
.practice-note {
  max-width: 68ch;
}

.practice-copy > section + section {
  margin-top: 56px;
}

.practice-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.01em;
  scroll-margin-top: 24px;
}

@media (max-width: 1020px) {
  .practice-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .practice-layout,
  .practice-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-closing {
  max-width: 760px;
  margin-top: 30px;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  list-style: none;
}

.card {
  min-width: 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 61, 102, 0.08);
}

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

.card-link {
  display: block;
  color: var(--ink);
}

.reason-list,
.plain-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding-left: 1.4rem;
}

.reason-list li,
.plain-list li {
  padding-left: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 8vw, 110px);
}

.split > div:last-child {
  max-width: 68ch;
}

.evidence-section {
  background: var(--blue-900);
  color: #eef8ff;
}

.evidence-section h2,
.evidence-section .kicker {
  color: var(--surface);
}

.evidence-section a {
  color: #9ddcf8;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  min-width: 180px;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--blue-050);
  color: var(--ink);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.page-intro {
  padding: 76px 0 68px;
  background: var(--blue-100);
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.lead-text {
  max-width: 68ch;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.lexicon-tools {
  margin-bottom: 26px;
  padding: 24px;
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lexicon-tools > label,
.filter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.lexicon-tools input[type="search"] {
  width: 100%;
  min-height: 52px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button,
.copy-link {
  min-height: 44px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--blue-700);
  border-radius: 4px;
  color: var(--blue-800);
  font-weight: 700;
}

.filter-buttons button[aria-pressed="true"] {
  background: var(--blue-800);
  color: var(--surface);
}

.result-count {
  margin: 18px 0 0;
  color: var(--text);
  font-weight: 700;
}

.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.letter-nav a {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.letter-group {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}

.letter-group > h2 {
  grid-row: 1 / span 50;
  color: var(--teal-dark);
  font-size: 2.6rem;
}

.term-entry {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  scroll-margin-top: 104px;
}

.term-entry + .term-entry {
  margin-top: 0;
}

.term-entry:target {
  border-color: var(--teal);
}

.term-entry summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

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

.term-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow-wrap: anywhere;
  gap: 4px;
}

.term-category {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-title {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.term-synonyms {
  color: var(--text);
  font-size: 0.9rem;
}

.summary-label {
  flex: 0 0 auto;
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 700;
}

details[open] .summary-label::before {
  content: "Schließen";
}

details[open] .summary-label {
  font-size: 0;
}

details[open] .summary-label::before {
  font-size: 0.84rem;
}

.term-content {
  padding: 0 20px 22px;
  max-width: 76ch;
}

.term-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.term-section h4 {
  margin-bottom: 10px;
}

.term-section table {
  font-size: 0.9rem;
}

.copy-link {
  margin-top: 10px;
}

.copy-status {
  display: block;
  min-height: 1.5em;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.empty-state,
.notice {
  padding: 16px 18px;
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
}

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

.comparison {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comparison dl,
.comparison dd {
  margin: 0;
}

.comparison dl > div {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

.comparison dt {
  color: var(--ink);
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list > li {
  position: relative;
}

.process-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 72px;
  bottom: -1px;
  width: 2px;
  background: var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  padding: 24px 0 54px;
}

.step-number {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  background: var(--blue-900);
  border-radius: 4px;
  color: var(--surface);
  font-size: 1.15rem;
  font-weight: 800;
}

.process-list article > div {
  max-width: 76ch;
}

.process-list h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.resource-section {
  background: var(--blue-050);
  border-top: 1px solid var(--line-soft);
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.resource-copy {
  max-width: 62ch;
}

.resource-copy .button {
  margin-top: 14px;
}

.resource-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.resource-preview {
  margin: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 61, 102, 0.08);
}

.resource-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.resource-preview figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.tool-intro {
  padding-bottom: 58px;
}

.privacy-note {
  max-width: 68ch;
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--surface);
  border-left: 4px solid var(--teal);
  font-weight: 600;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 42px;
}

.progress-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.9rem;
}

.progress-line strong {
  color: var(--ink);
}

.check-question {
  min-width: 0;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-question legend {
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.question-number {
  display: inline-block;
  min-width: 34px;
  margin-right: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.answer-options label {
  min-width: 0;
  cursor: pointer;
}

.answer-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-options span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.answer-options input:checked + span {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--surface);
}

.answer-options input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.question-help {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.86rem;
}

.results {
  position: sticky;
  top: 96px;
  min-width: 0;
  padding: 26px;
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.results h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.unknown-count {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.result-grid {
  display: grid;
  gap: 12px;
}

.result-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}

.result-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.result-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.result-heading strong {
  color: var(--blue-800);
  font-size: 0.9rem;
}

.result-card progress {
  width: 100%;
  height: 12px;
  margin: 10px 0 6px;
  accent-color: var(--teal);
}

.result-card p {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.result-level {
  color: var(--ink);
  font-weight: 800;
}

.results .button {
  width: 100%;
  margin-top: 18px;
}

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

.legal-copy h2 {
  margin-top: 1.8em;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-date {
  margin-top: 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.error-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.site-footer {
  padding: 52px 0;
  background: var(--blue-900);
  color: #eaf4fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr);
  gap: 30px 60px;
}

.footer-intro {
  max-width: 68ch;
}

.footer-home,
.site-footer a {
  color: var(--surface);
}

.footer-intro p {
  margin: 12px 0 0;
  color: #d7e7f0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 0;
  color: #bcd2df;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.js-only {
  display: none;
}

.js .js-only {
  display: block;
}

.clipboard-fallback {
  position: fixed;
  left: -10000px;
  top: 0;
}

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

@media (max-width: 1020px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

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

  .results {
    position: static;
  }

  .answer-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(calc(100vw - 28px), 1180px);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero,
  .page-intro {
    padding: 62px 0;
  }

  .hero__grid,
  .split,
  .resource-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section--compact {
    padding-top: 48px;
  }

  .card-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .card-grid > li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .letter-group {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .letter-group > h2 {
    font-size: 2rem;
  }

  .term-entry summary {
    align-items: flex-start;
    gap: 12px;
  }

  .summary-label {
    padding-top: 5px;
  }

  .answer-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    min-height: 44px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-block: 5px;
  }

  .header__inner {
    min-height: 64px;
  }

  .site-title {
    max-width: 230px;
    font-size: 0.86rem;
  }

  .mobile-nav nav {
    top: 64px;
  }

  h1,
  .page-intro h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .button-group {
    display: grid;
  }

  .resource-copy .button {
    width: 100%;
  }

  .button-group .button {
    width: 100%;
  }

  .card,
  .comparison,
  .lexicon-tools,
  .check-question,
  .results {
    padding: 20px;
  }

  .letter-group {
    display: block;
  }

  .letter-group > h2 {
    margin-bottom: 12px;
  }

  .term-entry + .term-entry {
    margin-top: 10px;
  }

  .term-entry summary {
    min-height: 74px;
    padding: 16px;
  }

  .term-content {
    padding: 0 16px 18px;
  }

  .summary-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .process-list article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }

  .process-list > li:not(:last-child)::after {
    left: 23px;
    top: 58px;
  }

  .progress-line {
    display: grid;
    gap: 4px;
  }

  .answer-options {
    grid-template-columns: 1fr;
  }

  .answer-options span {
    min-height: 48px;
  }
}

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

  body {
    color: #000;
    font-size: 10pt;
  }

  .topbar,
  .practice-toc,
  .podcast-section,
  .podcast-teaser,
  .site-header,
  .button,
  .button-group,
  .resource-preview,
  .lexicon-tools,
  .letter-nav,
  .copy-link,
  .copy-status,
  .question-help,
  .hero__visual {
    display: none !important;
  }

  .hero,
  .page-intro,
  .section,
  .section--compact {
    padding: 18pt 0;
    background: #fff;
    border: 0;
  }

  h1 {
    font-size: 26pt;
  }

  h2 {
    font-size: 18pt;
  }

  .card-grid,
  .comparison-grid,
  .split,
  .practice-layout,
  .practice-list,
  .tool-layout {
    display: block;
  }

  .card,
  .comparison,
  .check-question,
  .result-card {
    break-inside: avoid;
    margin-bottom: 12pt;
    box-shadow: none;
  }

  .letter-group {
    display: block;
    break-before: auto;
  }

  .term-entry {
    break-inside: avoid;
    margin-bottom: 8pt;
  }

  .term-entry summary {
    min-height: 0;
  }

  .term-entry .term-content {
    display: block !important;
  }

  .summary-label {
    display: none;
  }

  .results {
    position: static;
    margin-top: 20pt;
  }

  .site-footer {
    padding: 18pt 0 0;
    background: #fff;
    color: #000;
    border-top: 1px solid #555;
  }

  .site-footer a,
  .footer-home,
  .footer-intro p,
  .footer-meta {
    color: #000;
  }

  .site-footer nav {
    display: none;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .chrome {
    background: var(--surface);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .chrome {
    background: var(--surface);
    border: 1px solid var(--ink);
  }

  .card,
  .term-entry,
  .comparison,
  .check-question,
  .results,
  .result-card {
    border-color: var(--ink);
  }
}
