:root {
  --ink: #123b47;
  --muted: #49636d;
  --teal: #09677b;
  --line: #d4e3e6;
  --soft: #f2f8f8;
  --container: min(1180px, calc(100% - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.consent-saved .cookie-banner { display: none; }
:focus-visible { outline: 3px solid #b76100; outline-offset: 4px; }
main:focus { outline: none; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: #083440; color: #fff; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .82rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.h2 { max-width: 850px; margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
h3 { margin: 0 0 12px; font-size: 1.18rem; line-height: 1.35; }
p { margin: 0 0 18px; }
.lead { max-width: 780px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; }
.source-note { margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 20px; border-radius: 8px; color: #fff; background: #083440; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.btn, .nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center; transition: background .18s; }
.btn-primary, .nav-cta { color: #fff; background: var(--teal); }
.btn-primary:hover, .nav-cta:hover { background: #075565; }
.btn-light { color: #123b47; background: #fff; }
.btn-outline { color: var(--teal); border-color: var(--teal); background: #fff; }
.btn-outline:hover, .btn-light:hover { background: #e6f3f4; }
.text-link { display: inline-block; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* The navigation stays usable without JavaScript. */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; }
.brand { flex-shrink: 0; }
.brand-logo-image { width: 210px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 650; }
.nav-links a { padding: 10px 0; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--teal); text-decoration: underline; }
.nav-cta { font-size: .86rem; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid #809da6; border-radius: 8px; color: var(--ink); background: #fff; font-size: 1.3rem; }

.hero { padding: 72px 0; background: radial-gradient(ellipse at 90% 0%, #105569, transparent 65%), #062e3c; color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: 64px; }
.hero .eyebrow, .section-dark .eyebrow { color: #8fe0de; }
h1 { margin: 0; font-size: clamp(2.15rem, 4.2vw, 3.75rem); line-height: 1.09; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { color: #8fe0de; }
.hero .lead { color: #e1eff1; font-size: 1.14rem; }
.hero-note { margin-top: 20px; color: #c0d5db; }
.publisher-note { margin: 28px 0 0; color: #c0d5db; font-size: .85rem; }
.hero a:not(.btn) { color: #b1eeea; }
.workflow-card { min-width: 0; margin: 0; padding: 32px; border: 1px solid #5c8590; border-radius: 22px; background: #0f4252; box-shadow: 0 24px 64px #00131e44; text-align: center; }
.workflow-card figcaption { margin-bottom: 26px; font-size: 1.12rem; font-weight: 650; }
.workflow-portals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.workflow-portals span { padding: 8px 12px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .87rem; font-weight: 650; }
.workflow-arrow { padding: 10px; font-size: 1.6rem; color: #8fe0de; }
.workflow-core, .workflow-property { padding: 20px 12px; border-radius: 12px; }
.workflow-core { background: #d4f1ed; color: #0a424a; }
.workflow-core strong { font-size: 1.3rem; }
.workflow-property { border: 1px solid #78a5af; }
.workflow-card strong, .workflow-card span { display: block; }
.workflow-core span, .workflow-property span { margin-top: 5px; font-size: .9rem; }
.workflow-card p { margin: 22px 0 0; color: #d1e3e7; font-size: .83rem; }

/* All columns may shrink; tables own their overflow instead of widening the page. */
.split, .feature-grid, .steps-grid { display: grid; gap: 24px; }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 48px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 38px 0 0; padding: 0; list-style: none; }
.steps-grid li { border-top: 2px solid #7dbdbd; padding-top: 20px; }
.step-number { display: block; margin-bottom: 18px; color: var(--teal); font-size: .9rem; font-weight: 750; }
.steps-grid p, .card p, .selection-details p { color: var(--muted); }
.card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card p:last-child { margin-bottom: 0; }
.note { margin-top: 32px; padding: 22px 26px; border-left: 4px solid #0c7784; background: #e9f5f4; }
.table-scroll { max-width: 100%; margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .95rem; }
caption { padding: 16px 22px; text-align: left; font-weight: 650; }
th, td { padding: 20px; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: #e6f2f3; }
tbody th { width: 23%; }
tbody td { width: 38.5%; color: var(--muted); }
.section-dark .lead { color: #d1e3e7; }
.section-dark a { color: #a1e6e0; }
.dark-panel { border: 1px solid #587e89; padding: 30px; border-radius: 16px; }
.check-list { padding-left: 22px; }
.check-list li { margin-bottom: 12px; }
.selection-details { margin-top: 40px; }
.product-grid { margin-top: 34px; gap: 24px; align-items: stretch; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; }
.product-card .btn { margin-top: auto; }
.product-card .text-link { margin-top: 20px; font-size: .95rem; }
.product-card .eyebrow { color: var(--teal); }
.faq-container { max-width: 880px; }
.faq { margin-top: 32px; }
.faq details { padding: 22px 0; border-bottom: 1px solid #bfd2d7; }
.faq summary { cursor: pointer; font-size: 1.08rem; font-weight: 650; line-height: 1.5; }
.faq details p { margin: 18px 0 0; color: var(--muted); }
.editorial-note { max-width: 880px; }
.editorial-note .h2 { margin-bottom: 26px; }
.editorial-note p:not(.eyebrow) { color: var(--muted); }
.footer { padding: 38px 0; background: #062e3c; color: #d1e3e7; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.footer p { max-width: 420px; margin: 8px 0 0; font-size: .88rem; }
.footer p a { color: #e4f2f3; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-links a, .footer-cookie-link { color: #e4f2f3; font-size: .9rem; }
.footer-cookie-link { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: .2em; }
.prose { max-width: 860px; }
.prose h2 { margin-top: 32px; line-height: 1.3; }
.prose h1 { margin-bottom: 24px; }
.prose p { color: var(--muted); }
.prose code { overflow-wrap: anywhere; }

/* Consent remains in normal flow: it never obscures the article or a CTA. */
.cookie-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 24px max(24px, calc((100% - 1180px) / 2)); border-bottom: 1px solid #b3ccd1; background: #eef7f7; color: var(--ink); }
.cookie-banner strong { font-size: 1rem; }
.cookie-banner p { max-width: 770px; margin: 5px 0; font-size: .88rem; }
.cookie-banner a { font-size: .86rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn { min-height: 44px; padding: 10px 16px; border: 1px solid #6b8992; border-radius: 8px; font-weight: 650; font-size: .9rem; line-height: 1.4; }
.cookie-btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.cookie-btn-primary:hover { background: #075565; }
.cookie-btn-secondary { background: #fff; color: var(--ink); }
.cookie-btn-secondary:hover { background: #dcefed; }
.cookie-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff; overflow-y: auto; }
.cookie-dialog::backdrop { background: #001c2bc4; }
.cookie-dialog-head { display: flex; align-items: flex-start; gap: 20px; padding: 26px; }
.cookie-dialog-head h2 { margin: 6px 0 0; font-size: 1.45rem; line-height: 1.3; }
.cookie-eyebrow { color: var(--teal); font-size: .8rem; font-weight: 700; }
.cookie-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #809da6; border-radius: 8px; color: var(--ink); background: #fff; font-size: 1.6rem; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border-top: 1px solid var(--line); }
.cookie-option p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.cookie-required { flex-shrink: 0; max-width: 100px; color: #086147; font-size: .8rem; font-weight: 650; text-align: center; }
.cookie-switch-wrap { position: relative; flex-shrink: 0; display: flex; align-items: center; min-height: 44px; }
.cookie-switch-wrap input { width: 26px; height: 26px; accent-color: var(--teal); }
.cookie-switch { display: none; }
.cookie-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 24px 26px; border-top: 1px solid var(--line); }

/* Content visibility never depends on JS or an intersection observer. */
.reveal { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .hero-grid { gap: 32px; }
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --container: calc(100% - 32px); }
  html { scroll-padding-top: 96px; }
  .section { padding: 56px 0; }
  .hero { padding: 44px 0; }
  .hero-grid, .split, .feature-grid, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 36px; }
  .split { gap: 28px; }
  .hero .lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .brand-logo-image { width: 172px; }
  .nav { min-height: 74px; padding-block: 10px; }
  .nav-cta { display: none; }
  .nav-links { flex-wrap: wrap; justify-content: flex-start; gap: 2px 20px; }
  .nav-enhanced .menu-toggle { display: block; }
  .nav-enhanced .nav-links { display: none; }
  .nav-enhanced .nav-links.open { display: flex; flex-direction: column; align-items: stretch; padding-block: 12px; border-top: 1px solid var(--line); }
  .nav-enhanced .nav-links a { padding: 10px 8px; }
  .workflow-card { padding: 24px 20px; }
  .card { padding: 24px; }
  .table-scroll table { min-width: 600px; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
  .cookie-banner { padding: 18px 16px; }
  .cookie-banner-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cookie-btn { padding-inline: 10px; }
  .cookie-option { gap: 14px; padding: 20px; }
  .cookie-dialog-head, .cookie-dialog-actions { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
