:root {
  color-scheme: light;
  --bg: #f7fffe;
  --wash: #e8fbfa;
  --paper: #ffffff;
  --ink: #12333b;
  --muted: #5e7880;
  --line: rgba(0, 137, 145, 0.2);
  --line-strong: rgba(0, 137, 145, 0.42);
  --turquoise: #00a6a6;
  --teal: #06798a;
  --deep: #063f50;
  --red: #e30a17;
  --sun: #ffd166;
  --sidebar-w: 272px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(0, 166, 166, 0.18), rgba(255, 255, 255, 0.92) 52%),
    repeating-linear-gradient(90deg, rgba(0, 137, 145, 0.06) 0 1px, transparent 1px 44px),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
}
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}
.site-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  text-align: left;
}
.brand {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  justify-items: start;
  text-align: left;
}
.brand-mark {
  width: 86px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(6, 63, 80, 0.12));
}
.brand-name {
  color: var(--deep);
  font-size: 1.8rem;
  font-weight: 860;
  line-height: 1;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
}
.mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}
.mobile-title {
  color: var(--deep);
  font-weight: 850;
}
.menu-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  font-size: 1.2rem;
}
.nav-group {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  justify-items: stretch;
  text-align: left;
}
.nav-group-title {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  padding: 0 10px;
  text-align: left;
  text-transform: uppercase;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  border-color: var(--line-strong);
  background: rgba(232, 251, 250, 0.92);
  color: var(--deep);
}
.nav-icon {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}
.nav-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-main {
  min-width: 0;
  padding: 34px clamp(18px, 4vw, 52px) 72px;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hero-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.page-hero h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 0.98;
}
.page-description {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}
.hero-card {
  width: min(260px, 28vw);
  min-width: 196px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(6, 63, 80, 0.12);
}
.hero-card img {
  display: block;
  width: 100%;
  height: auto;
}
.content-frame {
  max-width: 940px;
}
.content-frame > *:first-child { margin-top: 0; }
.content-frame h1,
.content-frame h2,
.content-frame h3 {
  color: var(--deep);
  line-height: 1.12;
}
.content-frame h1 { font-size: 2.1rem; }
.content-frame h2 {
  margin-top: 34px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.36rem;
}
.content-frame h3 { font-size: 1.08rem; }
.content-frame p,
.content-frame li {
  color: var(--ink);
}
.content-frame .lede {
  color: var(--muted);
  font-size: 1.12rem;
}
.panel,
.callout,
.list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}
.panel,
.callout {
  padding: 18px;
}
.callout {
  border-left: 5px solid var(--turquoise);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 760;
}
.checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}
.check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--turquoise);
  color: white;
  font-size: 0.92rem;
  font-weight: 900;
}
.flag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.flag-mini {
  width: 58px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(6, 63, 80, 0.12);
}
.site-footer {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
@media (max-width: 820px) {
  .site-shell { display: block; }
  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
  }
  .site-sidebar {
    position: fixed;
    inset: 64px 16px auto 16px;
    z-index: 25;
    display: none;
    height: auto;
    max-height: calc(100vh - 86px);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(6, 63, 80, 0.2);
  }
  body.nav-open .site-sidebar { display: block; }
  .site-main { padding-top: 24px; }
  .page-hero { grid-template-columns: 1fr; }
  .hero-card { width: min(240px, 70vw); }
}
