:root {
  --brand: #B9473F;
  --brand-dark: #963b35;
  --amber: #D89A45;
  --ink: #1E2026;
  --text: #2B2D31;
  --muted: #6F706F;
  --paper: #F7F4EF;
  --soft: #EEE9E2;
  --white: #fffdf9;
  --accent: #E06A3B;
  --line: #d9d1c8;
  --shadow: 0 18px 45px rgba(30, 32, 38, .10);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brand); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
code { background: #e8e1d8; padding: .1em .35em; border-radius: 5px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.container.narrow { width: min(calc(100% - 40px), 860px); }
.section-shell { padding: 82px 0; }
.compact-top { padding-top: 42px; }
.alt-bg { background: var(--soft); }
.dark-band { background: var(--ink); color: #f6f1e9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 239, .96);
  border-bottom: 1px solid rgba(111, 112, 111, .18);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 210px; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 17px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.primary-nav { display: flex; gap: 4px; align-items: center; }
.primary-nav a { text-decoration: none; padding: 9px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: #e8e1d8; color: var(--brand-dark); }
.search-open, .menu-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
}
.menu-toggle { display: none; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: start center; padding: 10vh 20px 20px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(20, 21, 25, .72); }
.search-panel { position: relative; width: min(100%, 680px); background: var(--paper); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.search-panel h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.search-panel p { margin: 0 0 20px; color: var(--muted); }
.search-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 34px; line-height: 1; color: var(--muted); }
.search-form label, .search-page-form label, .contact-form label { display: block; font-weight: 700; margin-bottom: 7px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 13px 14px; color: var(--text); }
.search-row button { border: 0; border-radius: 10px; padding: 13px 20px; background: var(--brand); color: white; font-weight: 700; }

.hero { padding-top: 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 58px; align-items: center; }
.hero-copy h1, .page-hero h1, .article-hero h1 {
  margin: 12px 0 20px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--ink);
}
.page-hero h1, .article-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.hero-copy > p, .page-hero p, .article-hero > .container > p { font-size: 19px; color: #545555; max-width: 760px; }
.eyebrow, .section-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.dark-band .section-kicker { color: #f3b46f; }
.hero-actions, .button-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.button.primary { background: var(--brand); color: white; }
.button.primary:hover { background: var(--brand-dark); color: white; }
.button.secondary { background: transparent; border-color: #b9b0a6; color: var(--ink); }
.button.secondary:hover { border-color: var(--brand); color: var(--brand); }
.button.inverse { background: #f6f1e9; color: var(--ink); }
.hero-notes { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.hero-notes li { position: relative; padding-left: 21px; }
.hero-notes li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; width: 70%; height: 70%; background: #e5d4c2; border-radius: 50%; right: -14%; top: -12%; z-index: -1; }
.hero-media img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 30px 30px 90px 30px; box-shadow: var(--shadow); }
.hero-media figcaption, .editorial-figure figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

.intro-band { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-band h2, .section-heading h2, .split-layout h2, .two-column-copy h2, .callout h2, .question-band h2 {
  margin: 8px 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.section-heading.light h2, .section-heading.light p, .dark-band h2 { color: #f7f2ea; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card { display: grid; grid-template-columns: 190px 1fr; min-height: 220px; background: var(--white); border: 1px solid #ddd5cc; border-radius: var(--radius); overflow: hidden; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; }
.feature-card div { padding: 24px; }
.feature-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; color: var(--ink); }
.feature-card h3 a { text-decoration: none; }
.feature-card p { color: var(--muted); margin: 0 0 14px; }
.text-link { color: var(--brand-dark); font-weight: 800; }
.light-link { color: #f3c58d; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split-layout p, .two-column-copy p { color: #55575a; font-size: 17px; }
.dark-band .split-layout p, .dark-band .two-column-copy p { color: #d4d0ca; }
.editorial-figure { margin: 0; }
.editorial-figure img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.number-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.number-list li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; }
.number-list li::before { content: counter(step, decimal-leading-zero); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: 12px; font-weight: 800; grid-row: span 2; }
.number-list strong { color: var(--ink); }
.number-list span { color: var(--muted); }

.news-list { display: grid; border-top: 1px solid rgba(255,255,255,.16); margin-bottom: 30px; }
.news-row { display: grid; grid-template-columns: 180px 1fr 1.1fr; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.news-row h3 { margin: 0; font-size: 21px; line-height: 1.35; }
.news-row h3 a { color: white; text-decoration: none; }
.news-row p { margin: 0; color: #c9c5bf; }
.news-row time { display: block; color: #aca8a2; font-size: 13px; margin-top: 7px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border-radius: 999px; background: rgba(185, 71, 63, .13); color: var(--brand-dark); font-size: 12px; font-weight: 800; }
.dark-band .tag { background: rgba(224,106,59,.2); color: #f4c192; }

.topic-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.topic-strip article { padding: 26px; background: var(--white); border-right: 1px solid var(--line); }
.topic-strip article:last-child { border-right: 0; }
.topic-strip h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.35; color: var(--ink); }
.topic-strip h3 a { text-decoration: none; }
.topic-strip p { color: var(--muted); font-size: 14px; }

.link-stack { display: grid; gap: 10px; margin-top: 26px; }
.link-stack a { display: grid; gap: 3px; padding: 15px 18px; border: 1px solid var(--line); background: var(--white); text-decoration: none; border-radius: var(--radius-sm); }
.link-stack a:hover { border-color: var(--brand); }
.link-stack strong { color: var(--ink); }
.link-stack span { color: var(--muted); font-size: 14px; }

.question-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.question-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.question-links a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; font-weight: 700; }
.question-links a:hover { border-color: var(--brand); background: #fff8f4; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 800; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 26px; color: var(--brand); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 20px 20px; color: var(--muted); }
.faq-list details > div p { margin: 0 0 10px; }
.compact-faq { margin-bottom: 24px; }

.about-teaser { border-top: 1px solid var(--line); }
.page-hero { padding-top: 64px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

.compare-table { display: grid; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.compare-table [role="row"] { display: grid; grid-template-columns: 1fr 1fr 1.5fr; border-top: 1px solid var(--line); }
.compare-table [role="row"]:first-child { border-top: 0; background: #e7dfd5; }
.compare-table [role="row"] > * { padding: 12px 14px; border-left: 1px solid var(--line); }
.compare-table [role="row"] > *:first-child { border-left: 0; }
.two-column-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.device-grid, .three-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.device-grid article, .three-panels article { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); }
.device-grid h3, .three-panels h3 { margin: 0 0 10px; font-size: 23px; }
.device-grid p { margin: 0; color: #cfcbc5; }
.three-panels article { background: var(--white); border-color: var(--line); }
.three-panels span { color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.three-panels h3 { color: var(--ink); margin-top: 8px; }
.three-panels p { color: var(--muted); }
.process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.process-list article { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.process-list article > span { font-size: 27px; font-weight: 900; color: var(--brand); }
.process-list h3 { margin: 0 0 6px; color: var(--ink); }
.process-list p { margin: 0; color: var(--muted); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.callout h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 10px; }
.callout p { margin: 0; color: var(--muted); max-width: 760px; }
.dark-band .light-callout { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
.dark-band .light-callout p { color: #ccc7c0; }

.domain-box { background: var(--ink); color: white; border-radius: var(--radius-sm); padding: 22px; margin: 22px 0; display: grid; gap: 5px; }
.domain-box span { color: #bcb8b2; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.domain-box strong { font-size: clamp(24px, 4vw, 38px); overflow-wrap: anywhere; }
.domain-box small { color: #cfcac3; }
.check-grid, .warning-grid, .scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check-grid article, .warning-grid article, .scope-grid article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.check-grid article > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: white; font-weight: 900; }
.check-grid h3, .warning-grid h3, .scope-grid h3 { margin: 16px 0 8px; color: var(--ink); font-size: 20px; }
.check-grid p, .warning-grid p, .scope-grid p { margin: 0; color: var(--muted); }
.scope-grid { grid-template-columns: repeat(3, 1fr); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid #d5c9be; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid var(--paper); }
.timeline strong { color: var(--ink); font-size: 19px; }
.timeline p { margin: 4px 0 0; color: var(--muted); }

.evidence-list, .principle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.evidence-list li, .principle-list li { display: grid; grid-template-columns: minmax(240px, .9fr) 1.1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.evidence-list strong, .principle-list strong { color: var(--ink); }
.evidence-list span, .principle-list span { color: var(--muted); }

.topic-catalog { display: grid; gap: 28px; }
.topic-card-wide { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.topic-card-wide img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.topic-card-wide > div { padding: 32px; }
.topic-card-wide h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: var(--ink); margin: 10px 0 14px; }
.topic-card-wide h2 a { text-decoration: none; }
.topic-card-wide p, .topic-card-wide li { color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-grid article { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; }
.guide-index { position: absolute; right: 20px; top: 10px; font-size: 54px; font-weight: 900; line-height: 1; color: rgba(185,71,63,.08); }
.guide-grid h2 { max-width: 80%; color: var(--ink); line-height: 1.3; margin: 0 0 10px; }
.guide-grid h2 a { text-decoration: none; }
.guide-grid p, .guide-grid li { color: var(--muted); }

.article-hero { padding-bottom: 46px; }
.article-hero .meta-row { margin-bottom: 8px; }
.meta-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.article-content { min-width: 0; }
.article-content > section { max-width: 820px; padding: 18px 0; }
.article-content h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; color: var(--ink); margin: 8px 0 14px; }
.article-content h3 { color: var(--ink); }
.article-content p { font-size: 17px; color: #4f5052; }
.article-image { margin: 0 0 32px; }
.article-image img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: var(--radius); }
.article-aside { position: sticky; top: 104px; display: grid; gap: 14px; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.aside-box h2 { font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.aside-box p, .aside-box li { color: var(--muted); font-size: 14px; }
.aside-box a { display: block; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.related-links a { display: inline-flex; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }
.steps-detailed { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps-detailed li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps-detailed li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-weight: 900; }
.steps-detailed h3 { margin: 0 0 4px; }
.steps-detailed p { margin: 0; }
.note-box { background: #f3e4d5; border-left: 4px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px !important; margin: 16px 0; }

.article-index { display: grid; gap: 16px; }
.article-index article { display: grid; grid-template-columns: 260px 1fr; gap: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-index img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.article-index article > div { padding: 24px 26px 24px 0; }
.article-index h2 { color: var(--ink); font-size: 27px; line-height: 1.25; margin: 9px 0; }
.article-index h2 a { text-decoration: none; }
.article-index p { color: var(--muted); }

.legal-copy { max-width: 880px; }
.legal-copy section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { color: var(--ink); font-size: 28px; margin: 0 0 10px; }
.legal-copy p { color: #55575a; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.contact-layout aside { display: grid; gap: 14px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; background: #fffdfa; color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.error-box, .success-box { border-radius: var(--radius); padding: 24px; background: var(--white); border: 1px solid var(--line); }
.error-box { border-left: 4px solid var(--brand); }
.success-box { border-left: 4px solid #678264; }
.success-box dl { display: grid; gap: 10px; }
.success-box dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.success-box dt { font-weight: 800; }
.success-box dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

.search-page-form { margin-top: 28px; }
.search-summary { margin-bottom: 24px; }
.search-summary h2 { color: var(--ink); margin-bottom: 5px; }
.search-summary p { color: var(--muted); }
.search-results { display: grid; gap: 12px; }
.search-results article { padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.search-results h3 { font-size: 22px; margin: 8px 0; color: var(--ink); }
.search-results h3 a { text-decoration: none; }
.search-results p { margin: 0; color: var(--muted); }
.empty-state { text-align: center; padding: 54px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { color: var(--ink); font-size: 30px; }
.empty-state p { color: var(--muted); max-width: 620px; margin: 0 auto 18px; }
.empty-state .related-links { justify-content: center; }

.not-found { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.error-code { display: block; font-size: clamp(90px, 18vw, 210px); font-weight: 900; line-height: .82; color: rgba(185,71,63,.12); }
.not-found h1 { color: var(--ink); font-size: clamp(36px, 6vw, 62px); margin: 16px 0; }
.not-found p { color: var(--muted); font-size: 18px; }
.not-found .button-group { justify-content: center; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }

.site-footer { background: #17191e; color: #d6d1ca; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { color: white; font-size: 17px; margin: 0 0 14px; }
.footer-grid p { margin: 0; color: #aaa7a2; max-width: 420px; }
.footer-grid a { display: block; color: #c5c1bb; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: #96938f; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand); color: white; box-shadow: var(--shadow); font-weight: 900; }

@media (max-width: 1100px) {
  .primary-nav a { padding: 8px 7px; font-size: 13px; }
  .header-inner { gap: 13px; }
  .feature-card { grid-template-columns: 160px 1fr; }
  .topic-strip { grid-template-columns: 1fr 1fr; }
  .topic-strip article:nth-child(2) { border-right: 0; }
  .topic-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .check-grid, .warning-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; flex-wrap: wrap; padding: 10px 0; }
  .menu-toggle { display: inline-flex; order: 2; }
  .search-open { order: 3; }
  .primary-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 2px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 12px; font-size: 15px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero-grid, .split-layout, .intro-band, .question-band, .two-column-copy { grid-template-columns: 1fr; gap: 34px; }
  .hero-media { max-width: 720px; }
  .reverse-mobile figure { order: 2; }
  .news-row { grid-template-columns: 130px 1fr; }
  .news-row p { grid-column: 2; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .topic-card-wide { grid-template-columns: 1fr; }
  .topic-card-wide img { min-height: 0; aspect-ratio: 1.8; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section-shell { padding: 60px 0; }
  .container, .container.narrow { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 50px; }
  .hero-copy h1, .page-hero h1, .article-hero h1 { font-size: clamp(34px, 10vw, 52px); }
  .hero-copy > p, .page-hero p, .article-hero > .container > p { font-size: 17px; }
  .feature-grid, .guide-grid, .device-grid, .three-panels, .process-list, .scope-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card img { aspect-ratio: 1.8; }
  .topic-strip { grid-template-columns: 1fr; }
  .topic-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .topic-strip article:last-child { border-bottom: 0; }
  .question-links { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 9px; }
  .news-row p { grid-column: auto; }
  .compare-table { overflow-x: auto; }
  .compare-table [role="row"] { min-width: 620px; }
  .check-grid, .warning-grid { grid-template-columns: 1fr; }
  .evidence-list li, .principle-list li { grid-template-columns: 1fr; gap: 5px; }
  .article-index article { grid-template-columns: 1fr; }
  .article-index img { min-height: 0; aspect-ratio: 1.7; }
  .article-index article > div { padding: 0 20px 24px; }
  .article-aside { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .brand strong { font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
  .search-open { padding: 8px 11px; font-size: 13px; }
  .menu-toggle { padding: 8px 11px; font-size: 13px; }
  .hero-actions, .button-group { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .search-row { flex-direction: column; }
  .search-row button { width: 100%; }
  .search-panel { padding: 26px 20px 20px; }
  .topic-card-wide > div, .guide-grid article, .contact-form { padding: 22px; }
  .success-box dl div { grid-template-columns: 1fr; gap: 2px; }
}

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