:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --text: #17202a;
  --muted: #52606d;
  --border: #d9e2ec;
  --border-strong: #bcccdc;
  --accent: #185c9b;
  --accent-soft: #eaf2fb;
  --success: #0f766e;
  --success-soft: #e6f6f4;
  --danger: #8b2e2e;
  --danger-soft: #fbeaea;
  --max-width: 62rem;
  --narrow-width: 48rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
  line-height: 1.55;
}

a {
  color: var(--accent);
}

a:hover {
  color: #0f4d84;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--narrow-width));
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-lockup {
  min-width: 0;
}

.brand {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-note {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.support-link {
  color: var(--text);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

.page-main {
  padding: 1.5rem 0 3rem;
}

.hero-section {
  padding: 1rem 0 0.5rem;
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
  gap: 1.25rem;
}

.eyebrow,
.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
  color: #102a43;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 40rem;
  font-size: 1.04rem;
  color: #243b53;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  color: #ffffff;
  background: #124c80;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.button-secondary:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.section-block {
  padding: 0.75rem 0;
}

.section-heading {
  margin-bottom: 0.9rem;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.2rem;
}

.panel-compact {
  padding: 1rem;
}

.meta-list,
.number-list {
  margin: 0;
  padding-left: 1.15rem;
}

.meta-list li,
.number-list li {
  margin-bottom: 0.55rem;
}

.flow-graphic {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface-muted);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.status-card p {
  margin-bottom: 0;
  color: #334e68;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.status-row h3 {
  margin-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-enabled {
  background: var(--success-soft);
  color: var(--success);
}

.status-disabled {
  background: var(--danger-soft);
  color: var(--danger);
}

.document {
  padding: 1.5rem;
}

.document-date {
  color: var(--muted);
  font-size: 0.94rem;
}

.document h2 {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-mark {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 880px) {
  .site-header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .two-column,
  .status-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page-main {
    padding-top: 1rem;
  }

  .panel,
  .document {
    padding: 1rem;
  }

  .site-nav,
  .footer-nav {
    gap: 0.75rem;
  }
}
