
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
  --ink:        #1a1c20;
  --ink-mid:    #3d4148;
  --ink-light:  #6b7280;
  --rule:       #d4d8dd;
  --bg:         #f8f7f4;
  --bg-card:    #ffffff;
  --accent:     #2e5b9a;
  --accent-dim: #e8eef7;
  --accent-hover: #1e3f70;
  --gold:       #b8962e;
  --success:    #2e7d4f;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:    4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  --nav-h: 72px;
  --max-w: 1200px;
  --col-gap: 2rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--ink-mid); }
.lead { font-size: 1.15rem; line-height: 1.75; color: var(--ink-mid); }
.mono { font-family: var(--font-mono); font-size: .85em; color: var(--gold); }
.label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.container { width: min(var(--max-w), 100% - 2.5rem); margin-inline: auto; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.rule { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  color: var(--ink-mid);
  padding: .7rem 1rem;
}
.btn-ghost:hover { color: var(--accent); }
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248,247,244,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  z-index: 1000;
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-placeholder span {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.site-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.site-name span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-mid);
  padding: .45rem .75rem;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: var(--accent-dim); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .25rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  transform: translateX(-50%) translateY(-4px);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .85rem;
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--ink-mid);
}
.dropdown-menu a:hover { background: var(--accent-dim); color: var(--accent); }
.dropdown-menu a .ph { font-size: 1rem; color: var(--accent); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  flex-direction: column;
  gap: .25rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
  padding: .8rem 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .65rem;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); background: var(--accent-dim); }
.mobile-menu .mobile-group-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 1rem 1rem .4rem;
}
.hero {
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,28,32,.95) 0%, rgba(26,28,32,.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 720px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,.75); max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .3rem;
}
.page-hero {
  margin-top: var(--nav-h);
  background: var(--ink);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .2;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,28,32,.95) 0%, rgba(46,91,154,.6) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 600px; margin-top: .75rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a:hover { color: #fff; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: .2rem .6rem;
  border-radius: 2px;
  margin-bottom: .75rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-meta { font-size: .8rem; color: var(--ink-light); display: flex; align-items: center; gap: .35rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.feature-item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  position: relative;
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  border-radius: 4px 0 0 4px;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.4rem;
}
.feature-item h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.feature-item p { font-size: .9rem; }
.section-header { margin-bottom: 3rem; }
.section-header .label { margin-bottom: .5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 520px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-inline: auto; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--ink-light); margin-top: .35rem; }
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.pull-quote cite {
  display: block;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--ink-light);
  font-style: normal;
}
.img-block { margin: 2.5rem 0; }
.img-block img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 480px;
}
.img-caption {
  margin-top: .65rem;
  font-size: .8rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.toc {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.toc-title { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-light); margin-bottom: 1rem; }
.toc ul { display: flex; flex-direction: column; gap: .25rem; }
.toc ul a {
  font-size: .875rem;
  color: var(--ink-mid);
  padding: .3rem .5rem;
  border-radius: var(--radius);
  display: block;
}
.toc ul a:hover { color: var(--accent); background: var(--accent-dim); }
.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 3rem; align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: .75rem; }
.article-body p  { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .5rem; color: var(--ink-mid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-row-text { font-size: .9rem; }
.contact-row-text strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-light); margin-bottom: .2rem; }
.contact-row-text a { color: var(--ink-mid); }
.contact-row-text a:hover { color: var(--accent); }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .45rem;
}
.form-control {
  display: block;
  width: 100%;
  padding: .65rem .9rem;
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,91,154,.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--ink-light); margin-top: .4rem; }
.form-check { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: 1.25rem; }
.form-check input[type=checkbox] { margin-top: .2rem; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: .85rem; color: var(--ink-mid); line-height: 1.5; }
.form-success {
  display: none;
  background: #e8f5ee;
  border: 1px solid #a3d9b8;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--success);
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}
.form-success.visible { display: flex; }
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .site-name { color: #fff; font-size: 1.2rem; }
.footer-brand p { font-size: .875rem; margin-top: .75rem; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 2rem));
  background: var(--ink);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 9999;
  transition: opacity .3s, transform .3s;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cookie-icon { font-size: 1.5rem; flex-shrink: 0; color: var(--gold); }
.cookie-text { flex: 1; font-size: .85rem; line-height: 1.55; }
.cookie-text a { color: rgba(255,255,255,.7); text-decoration: underline; }
.cookie-text a:hover { color: #fff; }
.cookie-actions { display: flex; gap: .65rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--accent);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background .15s;
  white-space: nowrap;
}
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .15s;
  white-space: nowrap;
}
.cookie-decline:hover { background: rgba(255,255,255,.18); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.team-body { padding: 1.25rem; }
.team-body h4 { margin-bottom: .2rem; font-size: 1rem; }
.team-role { font-size: .8rem; color: var(--accent); margin-bottom: .5rem; }
.team-bio { font-size: .85rem; }
.value-list { display: flex; flex-direction: column; gap: 1rem; }
.value-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}
.value-num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gold);
  background: rgba(184,150,46,.1);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}
.value-row h4 { margin-bottom: .3rem; }
.value-row p { font-size: .88rem; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.legal-nav {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.legal-nav ul { display: flex; flex-direction: column; gap: .15rem; }
.legal-nav ul a {
  display: block;
  font-size: .85rem;
  color: var(--ink-mid);
  padding: .45rem .65rem;
  border-radius: var(--radius);
}
.legal-nav ul a:hover { color: var(--accent); background: var(--accent-dim); }
.legal-nav ul a.active { color: var(--accent); background: var(--accent-dim); font-weight: 500; }
.legal-title { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-light); padding: .45rem .65rem; margin-top: .5rem; }
.legal-body h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.legal-body h2:first-child { border-top: none; margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .65rem; }
.legal-body p { margin-bottom: 1.1rem; font-size: .95rem; }
.legal-body ul, .legal-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: .4rem; font-size: .95rem; color: var(--ink-mid); }
.legal-meta {
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .85rem;
  color: var(--ink-mid);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.legal-meta strong { color: var(--ink); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: var(--radius-md); overflow: hidden; }
.split-img img { width: 100%; height: 400px; object-fit: cover; }
.split-content .lead { margin-top: .75rem; }
.newsletter-strip {
  background: var(--accent);
  padding: 3.5rem 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-text h2 { color: #fff; font-size: 1.6rem; }
.newsletter-text p { color: rgba(255,255,255,.75); margin-top: .4rem; }
.newsletter-form { display: flex; gap: .65rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: .9rem;
  min-width: 240px;
  outline: none;
  background: rgba(255,255,255,.15);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { background: rgba(255,255,255,.22); }
.newsletter-form button {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.newsletter-form button:hover { background: rgba(255,255,255,.9); }
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 900;
  border: none;
  cursor: pointer;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); }
.accent-band {
  background: var(--accent-dim);
  border-top: 1px solid rgba(46,91,154,.15);
  border-bottom: 1px solid rgba(46,91,154,.15);
  padding: 2.5rem 0;
}
.topic-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.topic-card-img { height: 180px; overflow: hidden; }
.topic-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.topic-card:hover .topic-card-img img { transform: scale(1.05); }
.topic-card-body { padding: 1.5rem; flex: 1; }
.topic-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--rule); }
.topic-card-footer a { font-size: .85rem; font-weight: 500; display: flex; align-items: center; gap: .35rem; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--ink-light); }
.bg-card { background: var(--bg-card); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .topic-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
