:root {
  --navy: #0c2947;
  --navy-2: #123d65;
  --blue: #197ea5;
  --teal: #1598a6;
  --green: #159447;
  --green-dark: #0f7136;
  --red: #b93434;
  --amber: #a96900;
  --ink: #152638;
  --muted: #5a6a79;
  --line: #d8e2e9;
  --soft: #f1f7f9;
  --soft-green: #eaf7ef;
  --soft-blue: #eaf4f8;
  --white: #ffffff;
  --shadow: 0 18px 52px rgba(12, 41, 71, .12);
  --shadow-sm: 0 8px 24px rgba(12, 41, 71, .09);
  --radius: 22px;
  --radius-sm: 13px;
  --content: 1200px;
  --text-scale: 1;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--text-scale)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.high-contrast {
  --navy: #001f3f;
  --navy-2: #002b52;
  --blue: #005a83;
  --teal: #006c73;
  --green: #006b2d;
  --green-dark: #004c20;
  --ink: #000;
  --muted: #222;
  --line: #777;
  --soft: #f4f4f4;
  --soft-green: #edf7ee;
  --soft-blue: #eef5f8;
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid #f0b429; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  transform: translateY(-180%); background: #fff; color: #000;
  padding: .75rem 1rem; border: 3px solid #000; font-weight: 800;
}
.skip-link:focus { transform: none; }

.emergency-bar {
  background: var(--navy); color: #fff; font-size: .88rem;
  padding: .48rem 1rem; text-align: center;
}
.emergency-bar strong { color: #fff; }
.emergency-bar a { color: #fff; font-weight: 800; }

.site-header {
  position: sticky; top: 0; z-index: 800;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--content); margin: 0 auto; min-height: 84px;
  display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 1rem;
  padding: .65rem 1.25rem;
}
.brand img { width: 238px; max-height: 70px; object-fit: contain; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: .12rem; }
.primary-nav a, .more-button {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .63rem .72rem; border-radius: 999px; color: var(--navy);
  font-size: .91rem; font-weight: 750; text-decoration: none; white-space: nowrap;
  border: 0; background: transparent; cursor: pointer;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"], .more-button:hover, .more-button[aria-expanded="true"] {
  background: var(--soft-blue); color: var(--navy);
}
.header-actions { display: flex; align-items: center; gap: .55rem; }
.menu-button {
  display: none; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  color: var(--navy); min-width: 48px; min-height: 48px; font-size: 1.2rem; cursor: pointer;
}
.button, .button-secondary, .button-quiet {
  display: inline-flex; justify-content: center; align-items: center; gap: .45rem;
  min-height: 46px; padding: .72rem 1.05rem; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.button { background: var(--green); color: #fff; }
.button:hover { background: var(--green-dark); color: #fff; }
.button-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.button-secondary:hover { background: var(--navy); color: #fff; }
.button-quiet { background: var(--soft-blue); color: var(--navy); }
.button-quiet:hover { background: #d9edf4; }
.button.small, .button-secondary.small, .button-quiet.small { min-height: 39px; padding: .5rem .8rem; font-size: .88rem; }

.more-panel {
  position: fixed; z-index: 790; top: 85px; left: 50%; transform: translateX(-50%);
  width: min(940px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 22px 22px; box-shadow: var(--shadow); padding: 1.25rem;
}
.more-panel[hidden] { display: none; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.more-grid a { display: block; padding: .9rem; color: var(--navy); text-decoration: none; border-radius: 12px; }
.more-grid a:hover { background: var(--soft); }
.more-grid strong { display: block; margin-bottom: .15rem; }
.more-grid span { color: var(--muted); font-size: .84rem; }

.accessibility-bar {
  max-width: var(--content); margin: 0 auto; padding: .45rem 1.25rem;
  display: flex; justify-content: flex-end; align-items: center; gap: .4rem;
  border-top: 1px solid #edf2f5; font-size: .82rem;
}
.accessibility-bar button {
  border: 0; background: transparent; color: var(--navy); cursor: pointer;
  padding: .28rem .55rem; border-radius: 7px; font-weight: 700;
}
.accessibility-bar button:hover { background: var(--soft); }

main { min-height: 62vh; }
.container { width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(840px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6.5rem) 0; }
.section.compact { padding: 2.7rem 0; }
.section.soft { background: var(--soft); }
.section.soft-blue { background: var(--soft-blue); }
.section.soft-green { background: var(--soft-green); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3, .section.navy p, .section.navy li { color: #fff; }
.section.navy a:not(.button):not(.button-secondary) { color: #fff; }
.section.navy .card h3, .section.navy .card h4 { color: var(--navy); }
.section.navy .card p, .section.navy .card li { color: var(--ink); }
.section.navy .card a:not(.button):not(.button-secondary) { color: var(--blue); }
.eyebrow {
  margin: 0 0 .55rem; color: var(--green-dark); text-transform: uppercase;
  letter-spacing: .13em; font-weight: 900; font-size: .78rem;
}
.section.navy .eyebrow { color: #8ae0ab; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; margin: 0 0 .75rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.25rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4.1vw, 3.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.04rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 68ch; }
.section-intro { max-width: 760px; margin-bottom: 2rem; }
.section-intro.center { text-align: center; margin-inline: auto; }
.kicker { color: var(--teal); font-weight: 850; }
.meta { color: var(--muted); font-size: .86rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px;
  padding: .35rem .68rem; background: var(--soft-blue); color: var(--navy); font-weight: 800; font-size: .78rem;
}
.badge.green { background: var(--soft-green); color: var(--green-dark); }
.badge.amber { background: #fff3d8; color: #724900; }
.badge.red { background: #fbe8e8; color: #8f2323; }
.badge.navy { background: var(--navy); color: #fff; }

.hero {
  position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 7.6rem) 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(21,152,166,.16), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(21,148,71,.12), transparent 27%),
    linear-gradient(145deg, #fff 0%, #f4fafb 62%, #eff8f1 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 280px; height: 280px; right: -90px; top: -110px; border: 34px solid rgba(25,126,165,.09); }
.hero::after { width: 190px; height: 190px; left: -90px; bottom: -100px; border: 28px solid rgba(21,148,71,.08); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero h1 .green { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.35rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .65rem 1rem; color: var(--navy); font-weight: 750; font-size: .91rem; }
.hero-trust span::before { content: "✓"; color: var(--green); margin-right: .35rem; font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 28px; box-shadow: var(--shadow); background: #fff; }
.hero-visual .floating-note {
  position: absolute; left: -1rem; bottom: -1rem; max-width: 270px; padding: 1rem 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.hero-visual .floating-note strong { display: block; color: var(--navy); }

.alert-box, .note-box, .warning-box, .success-box {
  border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin: 1.1rem 0;
  border-left: 5px solid var(--blue); background: var(--soft-blue);
}
.warning-box { border-left-color: var(--amber); background: #fff7e4; }
.alert-box { border-left-color: var(--red); background: #fff0f0; }
.success-box { border-left-color: var(--green); background: var(--soft-green); }
.alert-box strong, .note-box strong, .warning-box strong, .success-box strong { color: var(--navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.15rem, 2.7vw, 1.8rem); box-shadow: var(--shadow-sm);
}
.card.flat { box-shadow: none; }
.card h3 { margin-top: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: var(--soft-green); color: var(--green-dark); font-size: 1.35rem; font-weight: 900;
}
.role-card { overflow: hidden; padding: 0; }
.role-card img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.role-card .card-body { padding: 1.45rem; }

.journey {
  counter-reset: steps; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .7rem; align-items: stretch;
}
.journey-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.05rem .9rem; min-height: 210px;
}
.journey-step::before {
  counter-increment: steps; content: counter(steps); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 900; margin-bottom: .75rem;
}
.journey-step h3 { font-size: 1.05rem; }
.journey-step p { font-size: .88rem; color: var(--muted); }
.journey-step:not(:last-child)::after {
  content: "→"; position: absolute; z-index: 3; right: -.62rem; top: 24px;
  color: var(--teal); font-weight: 900; background: #fff; border-radius: 50%;
}

.capture-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.6rem; align-items: center; }
.capture-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.capture-list li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; margin: .9rem 0; }
.capture-list .number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; }

.mode-switch {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.mode-card { border: 2px solid var(--line); border-radius: 18px; padding: 1.4rem; background: #fff; }
.mode-card.linked { border-color: var(--green); }
.mode-card.personal { border-color: var(--blue); }
.mode-card ul { padding-left: 1.2rem; }

.image-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.image-card .image-frame { background: #edf3f7; min-height: 180px; display: grid; place-items: center; }
.image-card img { width: 100%; height: 100%; object-fit: contain; }
.image-card figcaption { padding: .85rem 1rem 1rem; color: var(--muted); font-size: .86rem; }
.image-card figcaption strong { display: block; color: var(--navy); font-size: .98rem; }
.image-zoom-trigger { position: relative; display: block; border: 0; padding: 0; width: 100%; background: #edf3f7; cursor: zoom-in; text-align: left; }
.image-zoom-trigger::after {
  content: "Enlarge"; position: absolute; right: .65rem; bottom: .65rem; padding: .35rem .62rem;
  border-radius: 999px; background: rgba(12,41,71,.92); color: #fff; font-size: .76rem; font-weight: 850;
}
.image-zoom-trigger:hover::after { background: var(--green-dark); }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.screenshot-grid.portal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screenshot-grid .image-card img { aspect-ratio: 9 / 16; object-fit: contain; max-height: 540px; }
.screenshot-grid.portal .image-card img { aspect-ratio: 16 / 11; max-height: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 5000; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(3, 12, 22, .96); color: #fff; padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox-title { font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lightbox-controls { display: flex; gap: .45rem; }
.lightbox button {
  min-width: 46px; min-height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font-weight: 900;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox-stage { overflow: auto; display: grid; place-items: center; padding: 1rem 0; touch-action: pan-x pan-y; }
.lightbox-stage img { max-width: min(96vw, 1800px); max-height: 78vh; width: auto; height: auto; transform-origin: center; transition: transform .16s ease; }
.lightbox-caption { max-width: 1000px; margin: 0 auto; text-align: center; color: #dbe7ed; font-size: .92rem; }

.comparison-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.comparison-table th, .comparison-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.comparison-table th { background: var(--navy); color: #fff; }
.comparison-table tr:last-child td { border-bottom: 0; }

.policy-tools, .news-tools {
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1.4rem;
}
.search-input, .filter-select {
  min-height: 46px; border: 1px solid #aebdc8; border-radius: 10px; background: #fff;
  padding: .65rem .8rem; color: var(--ink);
}
.search-input { flex: 1 1 300px; }
.filter-select { min-width: 210px; }
.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.policy-card {
  display: flex; flex-direction: column; min-height: 270px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.policy-card:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--ink); }
.policy-card h3 { font-size: 1.22rem; }
.policy-card .badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.policy-card .policy-link { margin-top: auto; color: var(--green-dark); font-weight: 850; }
.policy-index { position: sticky; top: 132px; align-self: start; max-height: calc(100vh - 160px); overflow: auto; }
.policy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; align-items: start; }
.policy-index a { display: block; padding: .48rem .6rem; border-left: 3px solid transparent; text-decoration: none; color: var(--navy); font-size: .9rem; }
.policy-index a:hover { background: var(--soft); border-left-color: var(--teal); }
.policy-document { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.policy-document h1 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: none; }
.policy-document h2 { font-size: 1.65rem; padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 1.7rem; }
.policy-document h3 { font-size: 1.15rem; margin-top: 1.3rem; }
.policy-document li { margin-bottom: .45rem; }
.policy-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1.2rem 0 1.5rem; }
.policy-meta div { background: var(--soft); border-radius: 10px; padding: .75rem; }
.policy-meta strong { display: block; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.toc { background: var(--soft-blue); border-radius: 14px; padding: 1rem 1.2rem; }
.toc a { color: var(--navy); }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1.3rem; box-shadow: var(--shadow-sm);
}
.news-card h3 { font-size: 1.3rem; }
.news-card .source-line { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .65rem; }
.news-card .news-actions { margin-top: auto; padding-top: .7rem; }
.news-status { border-radius: 14px; background: var(--soft-blue); padding: 1rem; margin-bottom: 1.2rem; }
.news-status .status-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--green); margin-right: .35rem; }
.library-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.library-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.library-table th, .library-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.library-table th { background: var(--navy); color: #fff; position: sticky; top: 0; }

.faq-search { margin-bottom: 1.4rem; }
details.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: .75rem 0; overflow: clip; }
details.faq summary { list-style: none; cursor: pointer; padding: 1rem 3.5rem 1rem 1rem; color: var(--navy); font-weight: 850; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1rem; top: .65rem; font-size: 1.5rem; }
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding: 0 1rem 1rem; color: var(--ink); }

.cta-band { background: linear-gradient(115deg, var(--navy), #125a77); color: #fff; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band .button-secondary { border-color: #fff; color: #fff; background: transparent; }
.cta-band .button-secondary:hover { background: #fff; color: var(--navy); }

.site-footer { background: #071f36; color: #d9e6ed; padding: 3.4rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer a { display: block; color: #d9e6ed; text-decoration: none; margin: .38rem 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-brand img { width: 240px; background: #fff; border-radius: 10px; padding: .3rem; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; font-size: .83rem; color: #b5c8d3; }

.cookie-banner {
  position: fixed; z-index: 1200; left: 1rem; right: 1rem; bottom: 1rem; max-width: 880px;
  margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 80px rgba(0,0,0,.24); padding: 1rem 1.15rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }

.assistant-button {
  position: fixed; z-index: 900; right: 1.2rem; bottom: 1.2rem; min-height: 54px;
  border-radius: 999px; border: 4px solid #fff; background: var(--green); color: #fff; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; font-size: .94rem; font-weight: 850; cursor: pointer;
}
.assistant-panel {
  position: fixed; z-index: 950; right: 1.2rem; bottom: 5.6rem; width: min(380px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 1.2rem;
}
.assistant-panel[hidden] { display: none; }
.assistant-panel h2 { font-size: 1.4rem; }
.assistant-panel a { display: block; padding: .7rem .8rem; background: var(--soft); border-radius: 10px; margin: .45rem 0; text-decoration: none; font-weight: 750; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 210px 1fr auto; }
  .brand img { width: 200px; }
  .primary-nav a, .more-button { font-size: .83rem; padding-inline: .5rem; }
  .journey { grid-template-columns: repeat(4, 1fr); }
  .journey-step:not(:last-child)::after { display: none; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header { position: relative; }
  .header-inner { min-height: 74px; grid-template-columns: 1fr auto; }
  .brand img { width: 210px; }
  .menu-button { display: inline-grid; place-items: center; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .7rem 1rem 1rem;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a, .more-button { justify-content: flex-start; border-radius: 10px; font-size: .96rem; }
  .header-actions .button-secondary { display: none; }
  .more-panel { position: absolute; top: 100%; border-radius: 0 0 18px 18px; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .accessibility-bar { justify-content: center; flex-wrap: wrap; }
  .hero-grid, .capture-demo, .policy-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .hero-visual .floating-note { position: static; margin-top: .8rem; max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .policy-index { display: none; }
  .policy-meta { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 1.4rem, var(--content)); }
  .header-inner { padding-inline: .7rem; }
  .brand img { width: 180px; }
  .header-actions .button { display: none; }
  h1 { font-size: clamp(2.25rem, 14vw, 3.4rem); }
  .hero { padding-top: 2.4rem; }
  .grid-2, .grid-3, .grid-4, .mode-switch, .news-grid, .policy-grid, .screenshot-grid, .screenshot-grid.portal, .footer-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .policy-meta { grid-template-columns: 1fr; }
  .policy-layout > *, .policy-document { min-width: 0; }
  .comparison-table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table th, .comparison-table td { min-width: 150px; }
  .image-zoom-trigger::after { content: "Tap to enlarge"; }
  .lightbox { padding: .55rem; }
  .lightbox-header { align-items: flex-start; flex-direction: column; }
  .lightbox-controls { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .lightbox-stage img { max-height: 70vh; }
  .assistant-button { right: .75rem; bottom: .75rem; }
  .assistant-panel { right: .75rem; bottom: 4.8rem; }
}

@media print {
  .emergency-bar, .site-header, .accessibility-bar, .assistant-button, .assistant-panel,
  .cookie-banner, .policy-index, .policy-tools, .image-zoom-trigger::after, .site-footer { display: none !important; }
  body { color: #000; background: #fff; }
  main, .section { padding: 0; }
  .policy-layout { display: block; }
  .policy-document { box-shadow: none; border: 0; padding: 0; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; }
}
