@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700.woff2") format("woff2");
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #334155;
  --soft: #475569;
  --line: #e2e8f0;
  --brand: #0369a1;
  --brand-hover: #075985;
  --brand-soft: #e0f2fe;
  --accent: #0284c7;
  --heading: #0c4a6e;
  --tone-warm: #f5f3ff;
  --tone-warm-line: #ddd6fe;
  --hero-a: #0c4a6e;
  --hero-b: #075985;
  --hero-c: #0f172a;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-text: #78350f;
  --info-bg: #f0f9ff;
  --info-line: #bae6fd;
  --tone-alt: #f0fdfa;
  --tone-alt-line: #99f6e4;
  --ok-bg: #ecfdf5;
  --ok-text: #065f46;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --header-h: 5rem;
  color-scheme: light;
}

html.dark {
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f8fafc;
  --muted: #e2e8f0;
  --soft: #cbd5e1;
  --line: #334155;
  --brand: #7dd3fc;
  --brand-hover: #bae6fd;
  --brand-soft: #0c4a6e;
  --accent: #38bdf8;
  --heading: #7dd3fc;
  --tone-warm: #2e1065;
  --tone-warm-line: #6d28d9;
  --warn-bg: #451a03;
  --warn-line: #92400e;
  --warn-text: #fde68a;
  --info-bg: #082f49;
  --info-line: #075985;
  --tone-alt: #134e4a;
  --tone-alt-line: #115e59;
  --ok-bg: #064e3b;
  --ok-text: #a7f3d0;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
p, ul, ol { margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.75rem; color: var(--text); }
h2 { color: var(--heading); }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h3 { font-size: 1.25rem; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}
html.dark .skip { color: #0f172a; }
.skip:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.icon { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: -0.2em; flex: none; }
.icon svg { width: 100%; height: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
  min-width: 0;
  flex: 1 1 auto;
}
.brand strong { display: block; min-width: 0; font-size: 1.05rem; line-height: 1.2; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand > span { display: none; color: var(--brand); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.logo { height: 2.5rem; width: auto; }
html.dark .logo { filter: invert(1) hue-rotate(180deg); }
.nav-desktop { display: none; align-items: center; gap: 0.1rem; }
.nav-desktop a, .mobile-nav a, .subnav a, .crumbs a, .site-footer a {
  text-decoration: none;
}
.nav-desktop a, .mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.6rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-desktop a:hover, .mobile-nav a:hover, .nav-desktop a[aria-current="page"], .mobile-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}
.tools { display: flex; align-items: center; gap: 0.4rem; flex: none; }
.mobile-nav { flex: none; }
.tool {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0 0.7rem;
}
.tool:hover { border-color: var(--brand); }
.sun { display: none; }
html.dark .moon { display: none; }
html.dark .sun { display: inline-block; }
.mobile-nav { position: relative; display: block; }
.mobile-nav:not([open]) > nav,
.mobile-nav:not([open])::details-content { display: none !important; }
.mobile-nav summary {
  list-style: none;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.menu-label { font-size: 0.85rem; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 50;
  width: min(18rem, calc(100vw - 1.5rem));
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}
.mobile-nav a { display: flex; }

main { flex: 1; padding: 2rem 0 3rem; }
main.wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
main.wrap > * { margin-top: 0; margin-bottom: 0; }
.crumbs { font-size: 0.9rem; color: var(--soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--soft); }
.page-head { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.eyebrow {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.subnav { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.follow ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.35rem 0 0; }
.follow a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.7rem;
  background: var(--info-bg);
  border: 1px solid var(--info-line);
  text-decoration: none;
  font-weight: 700;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}
.subnav a[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
html.dark .subnav a[aria-current="page"] { color: #0f172a; }

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 1.5rem;
  color: #f8fafc;
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.35), transparent 40%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b) 45%, var(--hero-c));
  box-shadow: var(--shadow);
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); }
.hero p { color: #e2e8f0; font-size: 1.05rem; }
.accent { color: #7dd3fc; }
.hero-actions, .cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  background: #0369a1;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #075985; color: #fff; }
.button-light { background: rgba(15, 23, 42, 0.55); border-color: rgba(255, 255, 255, 0.25); }
.button-light:hover { background: rgba(15, 23, 42, 0.75); color: #fff; }
.figure {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f172a;
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .figure { aspect-ratio: 4 / 3; }
.caption {
  margin: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: #e0f2fe;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  margin-top: -2.4rem;
  position: relative;
}

.grid-3, .grid-2 { display: grid; gap: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.card > h2:first-child,
.card > h3:first-child,
.tile > h3:first-child { margin-top: 0; }
.card p:last-child, .tile p:last-child { margin-bottom: 0; }
.card-tone { background: var(--info-bg); border-color: var(--info-line); }
.card-tone-alt { background: var(--tone-alt); border-color: var(--tone-alt-line); }
.tile {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.15rem;
}
.tile h3 { margin-top: 0; }
.card > .grid-2, .card > .grid-3 { margin-top: 0.35rem; }
.more { font-weight: 700; text-decoration: none; }
.banner {
  padding: 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid var(--info-line);
  background: var(--info-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.note {
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-text);
}
.note-info { background: var(--info-bg); border-color: var(--info-line); color: var(--text); }
.split { display: grid; gap: 1.25rem; align-items: start; }
.prose .media {
  float: inline-end;
  width: min(42%, 22rem);
  margin: 0 0 0.85rem 1.5rem;
}
.prose > .media + * { margin-top: 0; }
.prose .grid-2, .prose .grid-3 { clear: both; }
.prose .grid-3 > .card:nth-child(3n+1) { background: var(--info-bg); border-color: var(--info-line); }
.prose .grid-3 > .card:nth-child(3n+2) { background: var(--tone-alt); border-color: var(--tone-alt-line); }
.prose .grid-3 > .card:nth-child(3n) { background: var(--tone-warm); border-color: var(--tone-warm-line); }
.prose .grid-3 > .card h3 { color: var(--heading); }
.card::after { content: ""; display: table; clear: both; }
.media { border-radius: 0.9rem; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.media.wide { aspect-ratio: 16 / 10; }
.media.tall { aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose > * + * { margin-top: 0.9rem; }
.prose h2 { margin-top: 2.25rem; }
.prose > h2:first-child,
.prose > .media + h2 { margin-top: 0; }
.prose .plain {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--heading);
  border-radius: 0.85rem;
  padding: 0.85rem 1.1rem 0.85rem 1.7rem;
}
.checks, .plain { padding-left: 1.2rem; }
.checks li, .plain li { margin: 0.35rem 0; }
.meta-list { list-style: none; padding: 0; margin: 0; }
.meta-list li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.55rem 0; }
.contact-layout { display: grid; gap: 1rem; }
label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.3rem; color: var(--soft); }
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  min-height: 2.75rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-row { margin-bottom: 0.85rem; }
.status {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  background: var(--ok-bg);
  color: var(--ok-text);
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.15);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
}
.pill-soft { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 2rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.25rem; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--soft); margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--brand); }
.legal-line {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.4fr 0.8fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .hero { grid-template-columns: 1.3fr 0.8fr; }
}
@media (min-width: 72rem) {
  .nav-desktop { display: flex; }
  .mobile-nav { display: none; }
}
@media (min-width: 90rem) {
  .brand > span { display: block; }
}
@media (max-width: 40rem) {
  .bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    width: calc(100% - 1rem);
    gap: 0.45rem 0.6rem;
    min-height: 0;
    padding-block: 0.45rem;
  }
  .brand { grid-column: 1 / -1; margin-right: 0; min-width: 0; }
  .mobile-nav { justify-self: start; }
  .tools { justify-self: end; }
  .logo { height: 2rem; }
  .brand strong { font-size: 1rem; }
  .tool { min-width: 2.5rem; min-height: 2.5rem; padding: 0 0.45rem; }
  .mobile-nav summary { min-height: 2.5rem; padding: 0 0.55rem; }
  .prose .media { float: none; width: 100%; margin: 0 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header, .site-footer, .skip, .subnav, .hero-actions, .tools, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card, .hero { box-shadow: none; }
}
