:root {
  --navy: #073b50;
  --navy-2: #0d4e66;
  --ink: #163f50;
  --muted: #5e7580;
  --coral: #eb6648;
  --coral-dark: #c94d33;
  --teal: #3aa7a0;
  --teal-dark: #287d78;
  --sky: #cdeffa;
  --cream: #fff8ee;
  --sand: #f7eddf;
  --line: #dbe7e8;
  --white: #fff;
  --success: #177a5d;
  --danger: #a5372e;
  --shadow: 0 18px 50px rgba(7, 59, 80, .12);
  --shadow-soft: 0 10px 28px rgba(7, 59, 80, .08);
  --radius: 18px;
  --radius-sm: 11px;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --wrap: min(1480px, calc(100% - 56px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--coral-dark); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb64c; outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy); font-family: var(--sans); line-height: 1.12; margin: 0 0 .75rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.15rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-kicker { display: block; color: var(--coral-dark); font: 800 .76rem/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; margin-bottom: .65rem; }
.hand-label, .hand-note { font-family: var(--hand); color: var(--navy); transform: rotate(-2deg); }
.hand-note { width: fit-content; max-width: 430px; margin: 30px 0 0 auto; padding: 12px 18px 11px 48px; font-size: 1.03rem; border-bottom: 2px solid var(--coral); position: relative; }
.hand-note::before { content: "↘"; position: absolute; left: 10px; top: -4px; color: var(--teal); font: 2.4rem var(--hand); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: 12px; font: 800 .94rem/1.1 var(--sans); text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--coral-dark); box-shadow: 0 8px 20px rgba(201, 77, 51, .25); }
.button-primary:hover { color: #fff; background: #a83f2a; }
.button-light { color: var(--navy); background: #fff; border-color: var(--line); }
.button-light:hover { color: var(--navy); border-color: var(--teal); }
.button-ghost { color: var(--navy); background: transparent; border-color: #a8c3c8; }
.button-text { min-height: 0; padding-inline: .2rem; color: var(--navy); background: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(7,59,80,.09); backdrop-filter: blur(12px); }
.utility-bar { color: #e9f7f7; background: var(--navy); font-size: .78rem; }
.utility-bar .wrap { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-bar a { color: #fff; }
.header-main { height: 82px; display: grid; grid-template-columns: 302px 1fr auto; align-items: center; gap: 24px; }
.brand { display: block; text-decoration: none; }
.brand img { width: 292px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 26px); }
.primary-nav a { color: var(--navy); font: 800 .83rem/1 var(--sans); text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--coral-dark); }
.header-actions { display: flex; align-items: center; gap: 11px; }
.search-toggle { width: 42px; height: 42px; border: 0; color: var(--navy); background: transparent; font: 2rem/1 var(--sans); }
.help-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 17px; border-radius: 12px; color: #fff; background: var(--coral-dark); font: 800 .84rem var(--sans); text-decoration: none; }
.help-button:hover { color: #fff; background: #a83f2a; }
.help-button span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.menu-toggle { display: none; border: 0; background: transparent; }
.header-search { padding: 18px 0 22px; border-top: 1px solid var(--line); background: var(--cream); }
.header-search form { display: flex; align-items: end; gap: 22px; }
.header-search label { font: 800 1rem var(--sans); }
.header-search form > div { flex: 1; display: flex; gap: 10px; }
.header-search input { flex: 1; min-height: 48px; border: 1px solid #b8cfd3; border-radius: 10px; padding: 0 14px; background: #fff; }

/* Home */
.home-hero { position: relative; min-height: 610px; overflow: hidden; background: var(--sky); }
.home-hero-art { position: absolute; inset: 0; }
.home-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,238,.96) 0, rgba(255,248,238,.88) 31%, rgba(255,248,238,.48) 49%, rgba(255,248,238,0) 67%); pointer-events: none; }
.home-hero-content { position: relative; z-index: 1; padding-top: 78px; }
.home-hero-content h1 { max-width: 760px; font-family: var(--hand); font-weight: 800; font-size: clamp(2.9rem, 4.35vw, 4.25rem); letter-spacing: -.055em; line-height: 1.06; }
.home-hero-content h1 > span, .home-hero-content h1 > em { display: block; }
.home-hero-content h1 em { position: relative; width: max-content; max-width: 100%; font-style: normal; white-space: nowrap; }
.home-hero-content h1 em::after { content: ""; position: absolute; left: 0; right: 5%; bottom: -9px; height: 5px; background: var(--coral); border-radius: 80% 10% 70% 25%; transform: rotate(-1deg); }
.home-hero-content > p { max-width: 525px; margin-top: 26px; color: #234f60; font-size: 1.08rem; }
.hero-note { position: absolute; left: min(63vw, 980px); top: 45px; width: 220px; font-size: 1.05rem; }
.hero-search { position: relative; display: flex; width: min(530px, 100%); margin-top: 28px; border-radius: 13px; box-shadow: var(--shadow-soft); }
.hero-search input { min-width: 0; flex: 1; height: 54px; border: 1px solid #d5e1df; border-radius: 13px 0 0 13px; padding: 0 18px; color: var(--navy); background: rgba(255,255,255,.96); }
.hero-search button { width: 58px; border: 0; border-radius: 0 13px 13px 0; color: #fff; background: var(--coral-dark); font: 2rem/1 var(--sans); }
.search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 7px); z-index: 10; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.search-suggestions a { display: flex; flex-direction: column; padding: 11px 15px; text-decoration: none; border-bottom: 1px solid #edf3f2; }
.search-suggestions a:last-child { border: 0; }
.search-suggestions span { color: var(--teal-dark); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-links a { padding: 5px 10px; border: 1px solid rgba(58,167,160,.27); border-radius: 999px; color: var(--navy); background: rgba(255,255,255,.78); font-size: .76rem; text-decoration: none; }
.situation-section { position: relative; padding: 52px 0 48px; }
.section-heading { margin-bottom: 28px; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin-inline: auto; }
.section-heading p { max-width: 750px; color: var(--muted); }
.section-heading.compact { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading.compact > a { margin-bottom: 18px; color: var(--coral-dark); font: 800 .9rem var(--sans); }
.situation-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.situation-card { min-height: 182px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 18px; border: 1px solid #edf1ee; border-radius: var(--radius); color: var(--navy); background: #fff; box-shadow: var(--shadow-soft); text-align: center; text-decoration: none; }
.situation-card:hover { transform: translateY(-5px); color: var(--navy); border-color: #b9ddda; }
.situation-icon { color: var(--teal-dark); font: 2.8rem/1 var(--sans); }
.situation-card > span:last-child { font-size: 1.35rem; }
.side-note { position: absolute; right: 10px; top: 0; max-width: 180px; text-align: center; }
.mission-band { position: relative; min-height: 390px; overflow: hidden; background: var(--sky); }
.mission-band picture { position: absolute; inset: 0; }
.mission-band picture img { width: 100%; height: 100%; object-fit: cover; }
.mission-copy { position: relative; z-index: 1; width: min(590px, calc(100% - 48px)); margin: 42px auto; padding: 30px 34px 32px; border: 1px solid rgba(7,59,80,.1); border-radius: 22px; background: rgba(255,248,238,.94); box-shadow: 0 18px 48px rgba(7,59,80,.13); text-align: center; backdrop-filter: blur(4px); }
.mission-copy h2 { font-size: clamp(1.85rem, 2.5vw, 2.4rem); }
.mission-copy p { color: #315766; }
.process-section { padding: 55px 0 62px; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 35px 0 0; padding: 0; counter-reset: none; }
.process-grid li { position: relative; padding-left: 62px; }
.process-grid li:not(:last-child)::after { content: "→"; position: absolute; right: -25px; top: 15px; color: #6aa0ae; font-size: 1.4rem; }
.process-grid li > span { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--coral-dark); font: 800 1rem var(--sans); }
.process-grid strong { display: block; color: var(--navy); font: 800 1.03rem var(--sans); }
.process-grid p { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.tools-rights { display: grid; grid-template-columns: 1.5fr .85fr; gap: 22px; padding-bottom: 60px; }
.tools-panel { position: relative; padding: 33px 34px; border-radius: 20px; background: linear-gradient(120deg, #fff9ef, #f7ead9); }
.tools-panel > .hand-label { position: absolute; right: 30px; top: 15px; width: 180px; font-size: .9rem; }
.mini-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mini-tool-grid a { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 17px; border: 1px solid #eadfce; border-radius: 14px; background: rgba(255,255,255,.75); text-decoration: none; }
.mini-tool-grid a > span { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #cbe2df; border-radius: 12px; color: var(--teal-dark); font: 2rem/1 var(--sans); }
.mini-tool-grid strong { align-self: end; font-family: var(--sans); line-height: 1.2; }
.mini-tool-grid small { color: var(--muted); }
.rights-panel { position: relative; min-height: 335px; overflow: hidden; border-radius: 20px; color: #fff; background: var(--teal); text-decoration: none; }
.rights-panel picture, .rights-panel picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rights-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,117,112,.93) 0 45%, rgba(26,117,112,.15) 78%); }
.rights-panel > span { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 13px; width: 50%; padding: 36px 0 0 32px; }
.rights-panel b { color: #fff; font: 800 1.7rem var(--hand); }
.rights-panel small { line-height: 1.5; }
.rights-panel strong { width: fit-content; padding: 9px 13px; border-radius: 10px; color: var(--navy); background: #fff; }
.featured-guides { padding: 45px 0 55px; background: var(--cream); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-grid a { overflow: hidden; display: grid; grid-template-columns: 135px 1fr; grid-template-rows: 1fr auto; min-height: 155px; border-radius: 16px; color: var(--navy); background: #fff; box-shadow: var(--shadow-soft); text-decoration: none; }
.guide-visual { grid-row: 1 / 3; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--sky), var(--teal)); font: 4rem/1 var(--sans); }
.guide-grid strong { align-self: end; padding: 22px 20px 5px; font: 800 1.05rem/1.3 var(--sans); }
.guide-grid small { padding: 0 20px 20px; color: var(--muted); }
.trust-section { padding: 56px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-grid article { position: relative; min-height: 190px; padding: 28px 28px 24px 78px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.trust-grid article > span { position: absolute; left: 24px; top: 27px; color: var(--coral-dark); font: 800 1.15rem var(--sans); }
.trust-grid p { color: var(--muted); }
.trust-update { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; padding: 17px 20px; border-radius: 12px; color: #d9ecef; background: var(--navy); font-size: .86rem; }
.trust-update strong { color: #fff; font-family: var(--sans); }
.trust-update a { margin-left: auto; color: #fff; font-weight: 800; }
.home-faq { position: relative; padding: 58px 0 62px; background: linear-gradient(135deg, #edfafa, #fff 52%, var(--cream)); }
.faq-home-grid { display: grid; grid-template-columns: 330px minmax(0, 760px); align-items: center; justify-content: center; gap: 58px; }
.faq-sign { position: relative; min-height: 330px; overflow: hidden; display: grid; place-items: center; padding: 12px; border: 1px solid rgba(7,59,80,.09); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); }
.faq-sign img { width: 100%; height: 100%; max-height: 310px; object-fit: contain; }
.faq-sign .hand-label { position: absolute; left: 18px; right: 18px; bottom: 14px; padding: 11px 14px; border-radius: 12px; color: var(--navy); background: rgba(255,248,238,.94); box-shadow: 0 8px 24px rgba(7,59,80,.1); text-align: center; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.faq-list summary { position: relative; padding: 15px 46px 15px 18px; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font: 1.5rem/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.home-cta { padding: 27px 0; background: var(--cream); }
.home-cta .wrap { display: flex; align-items: center; justify-content: center; gap: 60px; text-align: center; }
.home-cta .hand-label { display: block; font-size: 1.65rem; }
.home-cta p { margin: 0; }

/* Footer */
.footer-cta { color: #fff; background: var(--teal); }
.footer-cta .wrap { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-cta .hand-label { color: #fff; font-size: 1.4rem; }
.footer-cta p { margin: 5px 0 0; }
.site-footer { color: #d5e5e9; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; padding: 54px 0 42px; }
.footer-brand img { width: 320px; padding: 10px 14px; border-radius: 11px; background: #fff; }
.footer-brand p { max-width: 420px; margin-top: 15px; color: #bcd0d7; }
.footer-brand .semantiak { font-weight: 700; }
.site-footer a { color: #fff; }
.site-footer .button-light { color: var(--navy); }
.site-footer .button-light:hover { color: var(--navy); background: var(--cream); }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid nav strong { margin-bottom: 6px; color: #fff; font: 800 .95rem var(--sans); }
.footer-grid nav a { font-size: .88rem; text-decoration: none; }
.footer-bottom { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.13); font-size: .77rem; }
.footer-bottom .hand-label { max-width: 260px; color: #fff; text-align: right; }

/* Breadcrumbs + internal */
.breadcrumbs { padding-top: 18px; font-size: .8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 7px; color: #9aadb4; }
.breadcrumbs a { color: var(--muted); }
.internal-hero { position: relative; margin-top: 16px; overflow: hidden; background: linear-gradient(115deg, var(--cream), #fff 55%, var(--sky)); }
.internal-hero::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 480px; height: 360px; opacity: .23; background: url('/assets/images/droits-voyage-600.webp') center/cover; border-radius: 50%; }
.internal-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: center; min-height: 390px; padding-block: 56px; }
.internal-hero h1 { max-width: 950px; font-size: clamp(2.4rem, 4.7vw, 4.45rem); }
.internal-hero-grid > div > p { max-width: 830px; color: #355c6a; font-size: 1.12rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.hero-meta span { padding: 5px 9px; border: 1px solid #bcd9d8; border-radius: 999px; color: var(--teal-dark); background: rgba(255,255,255,.65); font: 800 .71rem var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.hero-check-card { padding: 27px; border: 1px solid rgba(255,255,255,.9); border-radius: 17px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-soft); }
.hero-check-card strong { display: block; margin-top: 12px; font-family: var(--sans); }
.hero-check-card ul { margin: 12px 0 17px; padding-left: 19px; }
.hero-check-card a { color: var(--coral-dark); font-weight: 800; }
.article-layout { display: grid; grid-template-columns: 290px minmax(0, 900px); justify-content: center; gap: 64px; padding-block: 52px 72px; }
.article-aside { position: relative; }
.toc { position: sticky; top: 142px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); }
.toc > strong { color: var(--navy); font: 800 1rem var(--sans); }
.toc ol { display: grid; gap: 4px; list-style: none; margin: 14px 0 0; padding: 0; }
.toc a { display: block; padding: 7px 9px; border-left: 3px solid transparent; color: var(--muted); font-size: .87rem; text-decoration: none; }
.toc a:hover { color: var(--navy); border-color: var(--coral); background: var(--cream); }
.aside-help { margin-top: 18px; padding: 22px; border-radius: 15px; background: var(--sky); }
.aside-help p { margin-top: 12px; font-size: .88rem; }
.aside-help a { font-weight: 800; }
.report-error { width: 100%; margin-top: 15px; padding: 9px; border: 0; color: var(--muted); background: transparent; font-size: .78rem; text-decoration: underline; }
.article-content { min-width: 0; }
.answer-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding: 30px; border-left: 6px solid var(--coral); border-radius: 0 16px 16px 0; background: var(--cream); }
.answer-main p { color: var(--navy); font: 800 1.32rem/1.48 var(--sans); }
.answer-facts { display: grid; gap: 10px; margin: 0; }
.answer-facts div { padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,.75); }
.answer-facts dt { color: var(--teal-dark); font: 800 .68rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.answer-facts dd { margin: 3px 0 0; color: var(--ink); font-size: .86rem; line-height: 1.4; }
.article-section { padding: 52px 0 0; }
.article-section h2 { max-width: 760px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.article-section > p { font-size: 1.02rem; line-height: 1.78; }
.article-section a { font-weight: 700; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.fact-grid article { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fact-number { color: var(--coral-dark); font: 800 .82rem var(--sans); }
.fact-grid h3 { margin-top: 11px; }
.fact-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.steps-list { display: grid; gap: 10px; list-style: none; counter-reset: steps; margin: 25px 0 0; padding: 0; }
.steps-list li { position: relative; min-height: 74px; padding: 16px 18px 16px 70px; border: 1px solid var(--line); border-radius: 13px; background: #fff; counter-increment: steps; }
.steps-list li::before { content: counter(steps); position: absolute; left: 18px; top: 15px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--coral-dark); font: 800 .9rem var(--sans); }
.steps-list strong { display: block; color: var(--navy); font-family: var(--sans); }
.steps-list span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.formula-card { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 15px; margin: 26px 0 18px; padding: 22px; border-radius: 15px; color: var(--navy); background: var(--sky); }
.formula-card > div { display: flex; flex-direction: column; padding: 13px; border-radius: 10px; background: rgba(255,255,255,.75); }
.formula-card span { color: var(--coral-dark); font: 800 1.35rem var(--sans); }
.formula-card strong { font-size: .83rem; }
.formula-result { outline: 2px solid var(--teal); }
.small-print, .result-note { color: var(--muted); font-size: .84rem !important; }
.check-list { display: grid; gap: 11px; list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { position: relative; padding: 13px 16px 13px 47px; border-radius: 10px; background: #f5faf9; }
.check-list li::before { content: "✓"; position: absolute; left: 16px; top: 12px; color: var(--teal-dark); font-weight: 900; }
.case-study { padding: 26px 28px; border: 1px solid #d7e5e4; border-radius: 16px; background: linear-gradient(135deg, #f3fbfa, #fff); }
.case-study p:last-child { margin-bottom: 0; }
.warning-box { margin: 24px 0; padding: 20px 22px; border-left: 5px solid var(--coral); background: #fff4ef; }
.warning-box strong { color: var(--coral-dark); font: 800 .9rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.warning-box p { margin: 6px 0 0; }
.table-wrap { width: 100%; overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--navy); font: 800 .84rem var(--sans); }
td { font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.choice-grid article { padding: 25px; border-radius: 15px; background: var(--cream); }
.choice-grid article:last-child { background: var(--sky); }
.choice-icon { color: var(--coral); font-size: 2rem; }
.inline-tool-card { display: flex; flex-direction: column; gap: 5px; margin-top: 24px; padding: 20px 24px; border-radius: 14px; color: #fff; background: var(--teal); text-decoration: none; }
.inline-tool-card:hover { color: #fff; background: var(--teal-dark); }
.inline-tool-card span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.case-timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.case-timeline div { padding: 20px; background: #fff; border-right: 1px solid var(--line); }
.case-timeline div:last-child { border: 0; }
.case-timeline time { color: var(--coral-dark); font: 800 .85rem var(--sans); }
.case-timeline p { margin: 7px 0 0; font-size: .85rem; }
.source-section { margin-top: 52px; padding: 32px; border-radius: 16px; background: #f4f8f8; }
.source-list { display: grid; gap: 11px; margin: 22px 0 0; padding-left: 22px; }
.source-list li { padding-left: 6px; }
.source-list a { font-family: var(--sans); }
.source-list span { display: block; color: var(--muted); font-size: .82rem; }
.source-list .source-use { display: block; margin-top: 3px; color: #1f6663; font: 600 .78rem/1.45 var(--body); }
.editorial-focus { padding-top: 38px; }
.specific-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 23px; }
.specific-grid article { padding: 21px; border: 1px solid #cee1e0; border-radius: 14px; background: linear-gradient(150deg, #fff, #f4fbfa); }
.specific-grid h3 { font-size: 1.02rem; }
.specific-grid p { margin: 0; color: #466673; font-size: .9rem; }
.decision-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.decision-strip > div { padding: 18px 20px; border-radius: 13px; background: var(--cream); }
.decision-strip > div:last-child { background: #fff1ec; }
.decision-strip span { color: var(--coral-dark); font: 800 .71rem var(--sans); text-transform: uppercase; letter-spacing: .09em; }
.decision-strip p { margin: 6px 0 0; font-size: .9rem; }
.reference-scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid #d4e5e4; border-radius: 13px; background: #d4e5e4; }
.reference-scope > div { padding: 17px 18px; background: #fff; }
.reference-scope strong { color: var(--teal-dark); font: 800 .76rem var(--sans); }
.reference-scope p { margin: 6px 0 0; color: var(--muted); font-size: .84rem; }
.distinctive-case { margin-top: 24px; }
.distinctive-case h3, .distinctive-procedure h3 { margin-bottom: 10px; font-size: 1.12rem; }
.distinctive-procedure { margin-top: 24px; }
.distinctive-procedure .steps-list { margin-top: 12px; }
.reference-matrix { margin-top: 27px; }
.reference-matrix h3, .evidence-pack h3 { margin-bottom: 0; font-size: 1.12rem; }
.reference-matrix .table-wrap { margin-top: 12px; }
.reference-matrix th[scope="row"] { min-width: 130px; color: var(--navy); }
.evidence-pack { margin-top: 24px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(135deg, var(--cream), #fff); }
.evidence-pack .check-list { grid-template-columns: 1fr 1fr; margin: 14px 0 0; }
.verified-facts { margin-top: 14px; padding: 18px 20px; border-left: 4px solid var(--teal); background: #f0f9f8; }
.verified-facts > strong { color: var(--navy); font: 800 .84rem var(--sans); }
.verified-facts ul { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 20px; }
.verified-facts li { font-size: .86rem; }
.verified-facts a { white-space: nowrap; }
.editorial-trace { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #d4e2e3; }
.editorial-trace div { display: flex; flex-direction: column; gap: 3px; }
.editorial-trace strong { color: var(--navy); font: 800 .76rem var(--sans); }
.editorial-trace span { color: var(--muted); font-size: .8rem; }
.editorial-trace > a { grid-column: 1 / -1; width: fit-content; font-size: .82rem; }
.definition-lead { padding: 20px 22px; border-left: 5px solid var(--teal); color: var(--navy); background: #f0f9f8; font: 700 1.08rem/1.65 var(--body); }
.citation-box { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; margin-top: 25px; padding: 25px 28px; border-radius: 16px; color: #fff; background: var(--teal); }
.citation-box h2, .citation-box .eyebrow { color: #fff; }
.citation-box h2 { font-size: 1.4rem; }
.citation-box p { margin: 0; font-size: .82rem; }
.related-section { width: var(--wrap); margin: 0 auto 72px; padding-top: 4px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: flex; min-height: 165px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); text-decoration: none; }
.related-card > span { color: var(--teal-dark); font: 800 .68rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.related-card strong { margin-top: 10px; color: var(--navy); font-family: var(--sans); line-height: 1.3; }
.related-card small { margin-top: auto; padding-top: 16px; color: var(--coral-dark); }

/* Hubs */
.hub-hero { position: relative; height: 410px; margin-top: 16px; overflow: hidden; background: linear-gradient(112deg, var(--cream), #fff 58%, #ddf5fb); }
.hub-hero::before { content: ""; position: absolute; right: -90px; top: -170px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(58,167,160,.14), rgba(205,239,250,.42) 54%, rgba(205,239,250,0) 70%); }
.hub-hero-inner { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: center; gap: 42px; }
.hub-hero-copy { min-width: 0; }
.hub-hero h1 { max-width: 900px; margin-bottom: .55rem; font-size: clamp(2.5rem, 3.55vw, 3.6rem); }
.hub-hero p { max-width: 850px; margin-bottom: 0; font-size: 1.04rem; line-height: 1.52; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; }
.hub-visual { position: relative; height: 100%; display: grid; place-items: center; margin: 0; }
.hub-visual img { position: relative; z-index: 1; width: min(100%, 355px); max-height: 360px; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(7,59,80,.14)); }
.hub-visual .hand-label { position: absolute; z-index: 2; right: 0; top: 32px; max-width: 225px; padding: 8px 11px; border-radius: 10px; background: rgba(255,248,238,.88); text-align: center; }
.hub-orientation { padding: 60px 0 35px; }
.orientation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.orientation-grid article { position: relative; padding: 26px 25px 24px 74px; border-radius: 15px; background: var(--cream); }
.orientation-grid span { position: absolute; left: 24px; top: 25px; color: var(--coral-dark); font: 800 1.25rem var(--sans); }
.orientation-grid p { margin: 0; color: var(--muted); }
.hub-catalog { padding: 38px 0 72px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.catalog-card { min-height: 235px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); background: #fff; box-shadow: var(--shadow-soft); text-decoration: none; transition: transform .18s, border-color .18s; }
.catalog-card:hover { transform: translateY(-4px); color: var(--navy); border-color: var(--teal); }
.catalog-type { width: fit-content; padding: 4px 8px; border-radius: 6px; color: var(--teal-dark); background: #e7f6f4; font: 800 .67rem var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.catalog-card h2, .catalog-card h3 { margin-top: 14px; font-size: 1.16rem; }
.catalog-card p { color: var(--muted); font-size: .87rem; }
.catalog-card small { margin-top: auto; color: var(--coral-dark); font-weight: 800; }
.hub-method { padding: 55px 0; color: #fff; background: var(--navy); }
.hub-method .wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hub-method h2, .hub-method .eyebrow { color: #fff; }
.hub-method p { max-width: 780px; margin: 0; color: #c8dce2; }
.hub-source-wrap { padding-bottom: 72px; }

/* Letters and tools */
.letter-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0; }
.letter-toolbar span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.letter-sheet { min-height: 720px; padding: 55px 65px; border: 1px solid #e2ddd4; border-radius: 4px; background: #fffdfa; box-shadow: 0 18px 55px rgba(41,52,51,.12); font-family: Georgia, serif; line-height: 1.75; }
.letter-sheet:focus { outline: 3px solid var(--teal); }
.letter-date { text-align: right; }
.tool-workspace { margin-top: 0; padding: 34px; border: 1px solid #cae0df; border-radius: 19px; background: linear-gradient(145deg, #f3fbfa, #fff); box-shadow: var(--shadow); }
.tool-heading { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.tool-heading h2 { font-size: 2rem; }
.tool-heading p { max-width: 670px; color: var(--muted); }
.privacy-chip { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; color: var(--success); background: #e7f7f0; font: 800 .74rem var(--sans); }
.tool-form { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label, .compare-columns label, .contact-form label { display: flex; flex-direction: column; gap: 7px; color: var(--navy); font: 800 .82rem var(--sans); }
.form-grid input, .form-grid select, .form-grid textarea, .compare-columns input, .compare-columns select, .compare-columns textarea, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #b9cdcf; border-radius: 9px; color: var(--ink); background: #fff; font: 400 .95rem var(--body); }
.form-grid textarea, .compare-columns textarea, .contact-form textarea { resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.tool-form > .button { margin-top: 20px; }
.tool-result { min-height: 115px; margin-top: 26px; padding: 24px; border: 1px dashed #93b9b7; border-radius: 14px; background: #fff; }
.result-placeholder { display: block; padding: 20px; color: var(--muted); text-align: center; }
.result-label { color: var(--teal-dark); font: 800 .7rem var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.result-success h3 { margin-top: 10px; }
.result-error { color: var(--danger); }
.result-error strong { font: 800 1rem var(--sans); }
.result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 17px; }
.result-metrics > div { display: flex; flex-direction: column; gap: 5px; padding: 17px; border-radius: 11px; background: var(--cream); }
.result-metrics span { color: var(--muted); font-size: .76rem; }
.result-metrics strong { color: var(--navy); font: 800 1.2rem/1.25 var(--sans); }
.result-metrics small { color: var(--muted); line-height: 1.35; }
.result-list { display: grid; gap: 7px; padding-left: 20px; }
.tool-actions-secondary { display: flex; justify-content: end; gap: 9px; margin-top: 14px; }
.compare-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-columns fieldset { display: grid; gap: 13px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 13px; }
.compare-columns legend { padding: 0 8px; color: var(--navy); font: 800 1rem var(--sans); }
.interactive-checklist, .share-list { list-style: none; margin: 18px 0 0; padding: 0; }
.interactive-checklist li, .share-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.interactive-checklist small { color: var(--muted); }
.share-list strong { color: var(--navy); }
.result-head { display: flex; align-items: center; justify-content: space-between; }
#generated-letter { white-space: pre-wrap; padding: 20px; color: var(--ink); background: var(--cream); font-family: Georgia, serif; }

/* About, legal, search, error */
.about-hero { padding: 80px 0; background: linear-gradient(120deg, var(--cream), var(--sky)); }
.about-hero p { max-width: 920px; font-size: 1.14rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 62px 0; }
.about-grid article { position: relative; padding: 30px 30px 28px 82px; border: 1px solid var(--line); border-radius: 16px; }
.about-grid article > span { position: absolute; left: 27px; top: 30px; color: var(--coral-dark); font: 800 1.15rem var(--sans); }
.about-grid h2 { font-size: 1.45rem; }
.about-grid p { color: var(--muted); }
.method-long { padding: 20px 0 72px; }
.version-log { padding: 38px 42px 52px; margin-bottom: 70px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, var(--cream), #fff); }
.version-log > div > p { color: var(--muted); }
.version-log .check-list { grid-template-columns: 1fr 1fr; }
.correction-cta { padding: 48px 0; background: var(--sky); }
.correction-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.legal-page { max-width: 1000px; padding-block: 65px 82px; }
.legal-page > header { margin-bottom: 45px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-page section h2 { margin-top: 35px; font-size: 1.65rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; padding: 28px; border-radius: 16px; background: var(--cream); }
.contact-form .consent { grid-column: 1 / -1; flex-direction: row; align-items: start; font-family: var(--body); font-weight: 400; }
.contact-form .consent input { width: 20px; min-height: 20px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.contact-status { margin: 40px 0; padding: 45px; border-radius: 16px; background: var(--cream); text-align: center; }
.contact-status.error { border-top: 5px solid var(--danger); }
.contact-status.success { border-top: 5px solid var(--success); }
.search-results { padding: 60px 0 80px; }
.search-results header { max-width: 900px; margin-bottom: 45px; }
.empty-state { padding: 50px; border-radius: 16px; background: var(--cream); text-align: center; }
.error-shell { min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-block: 70px; text-align: center; }
.error-code { color: var(--sky); font: 900 clamp(7rem, 20vw, 15rem)/.8 var(--sans); }
.error-shell p { max-width: 620px; }
.error-shell > div { display: flex; gap: 13px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 500; max-width: 360px; padding: 13px 18px; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-weight: 700; }

@media (max-width: 1220px) {
  :root { --wrap: min(100% - 38px, 1120px); }
  .header-main { grid-template-columns: 252px 1fr auto; gap: 12px; }
  .brand img { width: 244px; }
  .primary-nav { gap: 13px; }
  .primary-nav a { font-size: .76rem; }
  .help-button { padding-inline: 12px; }
  .situation-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 250px minmax(0, 820px); gap: 38px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-panel > .hand-label { display: none; }
  .hub-hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
  .hub-visual img { width: min(100%, 320px); max-height: 330px; }
}

@media (max-width: 980px) {
  .utility-bar { display: none; }
  .header-main { height: 72px; grid-template-columns: 1fr auto auto; }
  .brand img { width: 244px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; width: 42px; height: 42px; justify-content: center; align-items: center; }
  .menu-toggle > span:not(.sr-only) { width: 24px; height: 2px; background: var(--navy); }
  .primary-nav { position: fixed; left: 0; right: 0; top: 72px; display: none; flex-direction: column; align-items: stretch; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px; font-size: .95rem; }
  .help-button { display: none; }
  .home-hero { min-height: 590px; }
  .home-hero-art img { object-position: 66% center; }
  .home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,238,.98) 0 50%, rgba(255,248,238,.76) 67%, rgba(255,248,238,.1)); }
  .home-hero-content { padding-top: 65px; }
  .home-hero-content h1 { max-width: 580px; }
  .hero-note { display: none; }
  .mission-band { min-height: 400px; }
  .mission-band::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.24); }
  .mission-copy { width: min(590px, 84%); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2)::after, .process-grid li:last-child::after { display: none; }
  .tools-rights { grid-template-columns: 1fr; }
  .rights-panel { min-height: 380px; }
  .guide-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .faq-home-grid { grid-template-columns: 1fr; }
  .faq-sign { min-height: 180px; }
  .faq-sign img { max-height: 220px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid nav:last-child { grid-column: 2 / -1; }
  .internal-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-check-card { max-width: 530px; }
  .article-layout { display: block; }
  .article-aside { display: none; }
  .article-content { max-width: 860px; margin-inline: auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-hero-inner { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
  .hub-hero h1 { font-size: clamp(2.3rem, 4.8vw, 2.7rem); }
  .hub-hero p { font-size: .98rem; }
  .hub-visual img { width: min(100%, 240px); max-height: 275px; }
}

@media (max-width: 820px) {
  .hub-hero { height: 470px; padding: 0; }
  .hub-hero-inner { display: block; padding-block: 34px; }
  .hub-hero-copy { position: relative; z-index: 2; }
  .hub-hero h1 { max-width: 100%; font-size: clamp(2.25rem, 6.3vw, 2.7rem); }
  .hub-hero p { max-width: 100%; font-size: .98rem; }
  .hub-actions { gap: 8px; margin-top: 16px; }
  .hub-actions .button { padding-inline: .9rem; }
  .hub-visual { position: absolute; right: -48px; bottom: -80px; width: 270px; height: 270px; opacity: .15; pointer-events: none; }
  .hub-visual img { width: 100%; max-height: none; }
  .hub-visual .hand-label { display: none; }
}

@media (max-width: 700px) {
  :root { --wrap: calc(100% - 28px); }
  body { font-size: 16px; }
  .header-main { grid-template-columns: 1fr auto auto; gap: 8px; }
  .brand img { width: min(224px, 62vw); }
  .search-toggle { width: 36px; }
  .header-search form { display: block; }
  .header-search form > div { margin-top: 8px; }
  .home-hero { min-height: 650px; }
  .home-hero-art img { object-position: 73% center; }
  .home-hero::after { background: linear-gradient(180deg, rgba(255,248,238,.98) 0 62%, rgba(255,248,238,.5) 82%, rgba(255,248,238,.08)); }
  .home-hero-content { padding-top: 42px; }
  .home-hero-content h1 { max-width: 100%; font-size: clamp(2.55rem, 9vw, 3.6rem); }
  .home-hero-content > p { font-size: 1rem; }
  .situation-section { padding-top: 40px; }
  .situation-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .situation-card { min-height: 150px; padding: 13px; }
  .side-note { display: none; }
  .mission-band { min-height: 465px; }
  .mission-band picture img { object-position: center; }
  .mission-copy { width: calc(100% - 28px); margin-block: 42px; padding: 28px 20px 30px; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-grid li::after { display: none; }
  .tools-panel { padding: 25px 18px; }
  .section-heading.compact { display: block; }
  .section-heading.compact > a { display: inline-block; }
  .mini-tool-grid { grid-template-columns: 1fr; }
  .rights-panel { min-height: 400px; }
  .rights-panel::after { background: linear-gradient(180deg, rgba(26,117,112,.94) 0 45%, rgba(26,117,112,.15) 78%); }
  .rights-panel > span { width: 88%; padding: 28px 24px; }
  .guide-grid a { grid-template-columns: 95px 1fr; }
  .home-faq { background: linear-gradient(145deg, #edfafa, var(--cream)); }
  .faq-sign { min-height: 250px; }
  .faq-sign img { max-height: 245px; }
  .trust-update a { width: 100%; margin-left: 0; }
  .home-cta .wrap, .footer-cta .wrap, .hub-method .wrap, .correction-cta .wrap { flex-direction: column; text-align: center; padding-block: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid nav:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: start; padding-block: 24px; }
  .footer-bottom .hand-label { text-align: left; }
  .breadcrumbs { padding-top: 13px; }
  .internal-hero-grid { min-height: 0; padding-block: 40px; }
  .internal-hero::after { opacity: .1; }
  .hero-meta { gap: 6px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { width: 100%; }
  .article-layout { padding-top: 30px; }
  .answer-panel { grid-template-columns: 1fr; padding: 23px; }
  .fact-grid, .choice-grid, .result-metrics, .orientation-grid, .about-grid, .specific-grid, .decision-strip, .editorial-trace, .reference-scope { grid-template-columns: 1fr; }
  .version-log { padding: 28px 22px 38px; }
  .version-log .check-list, .evidence-pack .check-list { grid-template-columns: 1fr; }
  .editorial-trace > a { grid-column: auto; }
  .reference-matrix .table-wrap { overflow: visible; border: 0; background: transparent; }
  .reference-matrix table, .reference-matrix tbody, .reference-matrix tr, .reference-matrix th, .reference-matrix td { display: block; width: 100%; min-width: 0; }
  .reference-matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .reference-matrix tbody { display: grid; gap: 11px; }
  .reference-matrix tr { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .reference-matrix th[scope="row"] { padding: 12px 14px; border: 0; color: #fff; background: var(--navy); }
  .reference-matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .reference-matrix td:last-child { border-bottom: 0; }
  .reference-matrix td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--teal-dark); font: 800 .69rem var(--sans); text-transform: uppercase; letter-spacing: .05em; }
  .formula-card { grid-template-columns: 1fr; }
  .formula-card > i { text-align: center; }
  .case-timeline { grid-template-columns: 1fr 1fr; }
  .case-timeline div:nth-child(2) { border-right: 0; }
  .case-timeline div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .citation-box { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hub-hero { height: 470px; padding: 0; }
  .hub-hero-inner { display: block; padding-block: 34px; }
  .hub-hero-copy { position: relative; z-index: 2; }
  .hub-hero h1 { max-width: 100%; font-size: clamp(2.2rem, 9vw, 2.75rem); }
  .hub-hero p { max-width: 100%; font-size: .98rem; }
  .hub-actions { gap: 8px; margin-top: 16px; }
  .hub-actions .button { padding-inline: .9rem; }
  .hub-visual { position: absolute; right: -48px; bottom: -80px; width: 270px; height: 270px; opacity: .15; pointer-events: none; }
  .hub-visual img { width: 100%; max-height: none; }
  .hub-hero .hand-label { display: none; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 205px; }
  .letter-toolbar span { width: 100%; margin: 0; }
  .letter-sheet { min-height: 0; padding: 30px 23px; }
  .tool-workspace { padding: 23px 17px; }
  .tool-heading { display: block; }
  .privacy-chip { width: fit-content; margin-top: 12px; }
  .form-grid, .compare-columns, .contact-form { grid-template-columns: 1fr; }
  .field-wide, .contact-form .consent { grid-column: auto; }
  .tool-actions-secondary { flex-direction: column; }
  .contact-form { padding: 20px; }
  .error-shell > div { flex-direction: column; }
}

@media (max-width: 390px) {
  :root { --wrap: calc(100% - 20px); }
  .brand img { width: 190px; }
  .situation-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 680px; }
  .hub-hero { height: 510px; }
  .quick-links a { font-size: .71rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav:last-child { grid-column: auto; }
  .case-timeline { grid-template-columns: 1fr; }
  .case-timeline div { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .home-hero-content h1 em { width: auto; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .article-aside, .related-section, .hero-actions, .letter-toolbar, .tool-actions-secondary, .report-error, .toast { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .wrap, .article-content, .article-layout { width: 100%; max-width: none; margin: 0; padding: 0; display: block; }
  .internal-hero { margin: 0 0 20px; background: #fff; }
  .internal-hero-grid { min-height: 0; display: block; padding: 0; }
  .hero-check-card { display: none; }
  .letter-sheet { box-shadow: none; border: 0; padding: 0; }
  .article-section { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; }
}
