:root {
  --ink: #0b1f3a;
  --ink-soft: #41536d;
  --line: #d8dde7;
  --panel: #f6f8fb;
  --panel-strong: #eaf0f7;
  --white: #ffffff;
  --accent: #1557a8;
  --accent-dark: #0d3f7f;
  --success-bg: #e8f4ed;
  --warning-bg: #fff4d8;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
  --radius: 16px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.58;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  line-height: 1.16;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  width: 220px;
  display: block;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  font: inherit;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 0.95rem;
}

.primary-nav a {
  color: var(--ink);
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent);
}

.primary-nav .nav-cta {
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, #f7f9fc 0%, #edf3fa 48%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 720px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--accent);
}

.button.secondary:hover {
  background: var(--panel);
  color: var(--accent-dark);
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--warning-bg);
  padding: 0.35rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: var(--panel);
}

.metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink);
}

.metric span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section {
  padding: 4.2rem 0;
}

.section.tight {
  padding-top: 2rem;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--white);
}

.card.featured {
  background: var(--panel);
}

.card h3,
.card h4 {
  margin-bottom: 0.5rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--accent);
  font-weight: 700;
}

.band {
  background: var(--ink);
  color: var(--white);
}

.band h2,
.band h3,
.band p,
.band li {
  color: var(--white);
}

.band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}


/* Public-sector transformation insight reel */
.insight-reel {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--line);
}

.reel-header {
  max-width: 900px;
}

.reel-shell {
  position: relative;
}

.reel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin: -0.5rem 0 0.9rem;
}

.reel-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reel-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 38%);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 0.25rem;
  padding: 0.25rem 0.25rem 1rem;
  scrollbar-width: thin;
}

.reel-card {
  min-height: 100%;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(11, 31, 58, 0.10);
}

.reel-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel);
}

.reel-card-body {
  padding: 1.25rem;
}

.reel-kicker {
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.reel-card-body p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.source-note {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.source-note a {
  color: var(--ink-soft);
}


/* Public-service system cards */
.service-system {
  background: var(--white);
}

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

.service-card {
  position: relative;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(21, 87, 168, 0.08);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: var(--panel-strong);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.page-hero {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0;
}

.page-hero .container {
  max-width: 980px;
}

.breadcrumb {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--white);
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel);
}

tr:last-child td {
  border-bottom: 0;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--panel);
  padding: 1rem 1.15rem;
  border-radius: 0 12px 12px 0;
}

.status-list {
  list-style: none;
  margin-left: 0;
}

.status-list li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}

.status-list li:last-child {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  background: var(--success-bg);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-card {
  background: var(--panel);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

small {
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 2rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--ink-soft);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.75rem 0;
  }

  .primary-nav .nav-cta {
    border-radius: 10px;
    text-align: center;
    margin-top: 0.4rem;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .reel-controls {
    justify-content: flex-start;
  }

  .reel-track {
    grid-auto-columns: minmax(280px, 88%);
  }

}

@media (max-width: 560px) {
  .header-inner,
  .container {
    width: min(100% - 1.2rem, var(--max));
  }

  .logo-link img {
    width: 170px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .status-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .section {
    padding: 3rem 0;
  }
}
