:root {
  color-scheme: light;
  --background: #edf3fa;
  --paper: #ffffff;
  --soft: #e2ebf8;
  --border: #c9d8ec;
  --ink: #172743;
  --muted: #4a5d79;
  --accent: #294da3;
  --accent-hover: #193779;
  --deep: #142a57;
  --accent-ink: #ffffff;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .18em; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1, h2, h3 { margin: 0; line-height: 1.13; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.05rem; }
p { margin: .6em 0; }
.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.cta, [data-tracking-reload] {
  display: inline-block;
  min-height: 44px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}
.cta:hover, [data-tracking-reload]:hover { background: var(--accent-hover); }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.skip { position: absolute; z-index: 2; left: .75rem; top: .5rem; padding: .5rem; transform: translateY(-200%); background: var(--paper); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--border); background: var(--paper); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .5rem;
  min-height: 68px;
  padding-block: .55rem;
}
.site-nav a {
  display: inline-block;
  padding: .5rem .65rem;
  border-radius: 6px;
  color: var(--ink);
  font-size: .94rem;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { background: var(--soft); color: var(--accent); }
.site-nav a[aria-current] { font-weight: 700; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-block: clamp(2.75rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--border);
  animation: appear .35s ease-out both;
}
.lead { max-width: 58ch; margin-block: 1.25rem 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.facts, .sidebar {
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
}
.facts > div + div { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.facts h2, .sidebar h2 { font: 700 1.03rem/1.3 "Segoe UI", system-ui, sans-serif; color: var(--deep); }
.facts p { margin-bottom: 0; color: var(--muted); }
.section { padding-block: clamp(2.25rem, 6vw, 4rem); }
.section-heading p { max-width: 65ch; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-top: 1.25rem; }
.card { padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.card p { margin-bottom: 0; color: var(--muted); }
.callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 12px;
  background: var(--deep);
  color: var(--accent-ink);
}
.callout a { color: var(--accent-ink); }
.callout a:focus-visible { outline-color: var(--accent-ink); }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2.5rem; }
.article-hero { padding-block: clamp(2.25rem, 6vw, 4.5rem) 1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); align-items: start; gap: 1.25rem; margin-bottom: 3rem; }
.article { min-width: 0; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: 12px; background: var(--paper); }
.article section + section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.article h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.article p { max-width: 73ch; }
.article .example { padding: .9rem 1rem; border-left: 3px solid var(--accent); background: var(--soft); }
.article details { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.article details:last-child { border-bottom: 0; }
.article summary { color: var(--deep); font-weight: 700; cursor: pointer; }
.sidebar nav, .footer-grid nav { display: grid; justify-items: start; gap: .4rem; }
.sidebar .cta { margin-top: 1rem; }
.sidebar nav { margin-top: .7rem; }
.site-footer { padding-block: 1.65rem; border-top: 1px solid var(--border); background: var(--paper); color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 1rem 2rem; }
.footer-grid strong { color: var(--ink); }
.footer-grid button { padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; }
@media (max-width: 740px) {
  .hero, .article-layout, .callout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .site-nav { gap: .1rem .2rem; }
  .site-nav a { padding: .35rem .45rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}
