:root {
  --ink: #263747;
  --ink-2: #17344d;
  --blue: #0875d1;
  --blue-dark: #004b78;
  --blue-soft: #e9f4ff;
  --red: #e4212a;
  --paper: #ffffff;
  --surface: #f5f8fb;
  --muted: #6d7480;
  --line: #e1e8ef;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f3f7fa;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(18, 58, 90, 0.08);
  backdrop-filter: blur(10px);
}

.brand,
.nav,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 245px;
  max-width: 42vw;
  height: auto;
}

.nav {
  color: #3f4650;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width 0.18s ease;
}

.nav a:hover {
  color: var(--blue-dark);
}

.nav a:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
}

.button-dark {
  color: #fff;
  background: var(--blue);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.button-light {
  color: var(--blue-dark);
  border: 1px solid #cde3f7;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: center;
  width: min(1200px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 54px 0 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  border-left: 4px solid var(--red);
  border-radius: 3px;
  background: var(--blue-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 650px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
}

h3 {
  color: var(--blue-dark);
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.hero-copy .pill {
  margin-bottom: 20px;
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 48px rgba(18, 58, 90, 0.1);
}

.hero-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.panel-kicker {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-row,
.card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  margin-bottom: 12px;
  border-left: 4px solid var(--blue);
}

.metric-row strong {
  color: var(--blue-dark);
  font-size: 21px;
}

.metric-row span,
.card p {
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.card {
  padding: 24px;
  box-shadow: 0 10px 24px rgba(18, 58, 90, 0.04);
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1200px, calc(100% - 40px));
  margin: 40px auto;
  padding: 48px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-dark), #076eb6);
  box-shadow: 0 18px 46px rgba(0, 75, 120, 0.18);
}

.band h2 {
  color: #fff;
}

.band p {
  max-width: 680px;
  color: #d9ecfb;
}

.band-light {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.band-light h2 {
  color: var(--blue-dark);
}

.band-light p {
  color: var(--muted);
}

.pill-outline {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 14px;
  font: inherit;
  background: var(--surface);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px calc((100% - min(1200px, calc(100% - 40px))) / 2);
  color: #d7e8f6;
  background: var(--blue-dark);
}

.news {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.news-header {
  margin-bottom: 28px;
}

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

.news-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.news-type {
  width: fit-content;
  padding: 3px 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  border-radius: 5px;
  background: var(--blue-soft);
}

.news-date {
  color: var(--muted);
  font-size: 13px;
}

.newsletter-form {
  display: grid;
  gap: 10px;
  min-width: 320px;
}

.form-feedback {
  min-height: 18px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-feedback.is-success {
  color: #1c7d4d;
}

.form-feedback.is-error {
  color: #b3261e;
}

.survey-page {
  width: min(820px, calc(100% - 40px));
  min-height: 60vh;
  margin: 0 auto;
  padding: 56px 0 88px;
}

.survey-intro {
  margin-bottom: 32px;
}

.survey-intro h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.survey-page .news-grid {
  grid-template-columns: 1fr;
}

.survey-note {
  padding: 12px 14px;
  font-size: 14px;
  border-left: 4px solid var(--blue);
  border-radius: 5px;
  background: var(--blue-soft);
}

.choice-group {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.choice-group legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.choice input {
  width: auto;
}

.survey-success {
  display: grid;
  gap: 12px;
  justify-items: start;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    width: min(100% - 28px, 560px);
    padding: 16px;
  }

  .site-header,
  .nav,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    max-width: 240px;
  }

  .hero,
  .section-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .band {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

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

  .newsletter-form {
    min-width: 0;
    width: 100%;
  }
}

.archive-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.archive-filters input[type="search"] {
  flex: 1;
}

.archive-filters select {
  width: 220px;
}

.static-content {
  display: grid;
  gap: 18px;
}

.static-content .card {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.static-content .card p {
  margin: 0;
}

.static-note {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .archive-filters {
    flex-direction: column;
  }

  .archive-filters select {
    width: 100%;
  }
}
