.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap--wide {
  width: var(--wrap-wide);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--space-3);
}

.section-head {
  max-width: 38rem;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.section-head p {
  color: var(--color-muted);
  margin: 0;
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-green-deep);
  border: 1px solid var(--color-green);
}

.btn--outline:hover {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.topbar-slim {
  background: #fff;
  border-bottom: 1px solid rgba(0, 72, 132, 0.1);
}

.topbar-slim__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}

.topbar-link {
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.topbar-link::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--color-green);
  box-shadow: 0 0 0 4px rgba(16, 196, 105, 0.14);
  vertical-align: middle;
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  min-height: 2.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
}

.btn-lang + .btn-lang {
  border-left: 1px solid rgba(0, 72, 132, 0.15);
}

.btn-lang--active,
.btn-lang:hover {
  color: var(--color-brand);
  font-weight: 700;
}

.header-top {
  background: var(--color-brand);
  color: #fff;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.25rem;
  padding: 0.65rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  flex: 0 1 auto;
  min-width: 0;
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  display: block;
  height: clamp(2.6rem, 4.5vw, 3.55rem);
  width: auto;
  max-width: min(100%, 22rem);
  object-fit: contain;
  object-position: left center;
}

.header-info {
  display: none;
  gap: 1.1rem;
  align-items: center;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 10rem;
}

.info-chip__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.info-chip small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2px;
  font-size: 0.72rem;
}

.info-chip strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

.info-chip a {
  color: #fff;
  text-decoration: none;
}

.info-chip a:hover {
  color: var(--color-green);
}

.header-nav-wrap {
  background: #fff;
  border-bottom: 1px solid rgba(0, 72, 132, 0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  min-height: 3rem;
  gap: 0.75rem;
}

.nav {
  display: none;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  color: var(--color-brand);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

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

.nav a[aria-current="page"] {
  color: var(--color-green-deep);
  border-bottom-color: var(--color-green);
}

.nav-actions {
  display: none;
  align-items: center;
}

.btn--nav {
  min-height: 2.2rem;
  font-size: 0.82rem;
  white-space: nowrap;
  padding-inline: 1rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--color-white);
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-drawer {
  display: none;
  background: #fff;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(0, 72, 132, 0.1);
  box-shadow: var(--shadow-soft);
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer a {
  display: block;
  color: var(--color-brand);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 72, 132, 0.08);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-drawer a[aria-current="page"] {
  color: var(--color-green-deep);
}

.page-hero {
  background: linear-gradient(120deg, var(--color-navy-deep), var(--color-brand-mid));
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-hero .eyebrow {
  color: var(--color-green);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  max-width: 18ch;
  margin-bottom: 0.6rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-green);
}

.gateways {
  display: grid;
  gap: 1rem;
}

.gateway {
  display: block;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-green);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.gateway:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.gateway h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.gateway p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gateway__go {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--color-green-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.content-list {
  display: grid;
  gap: 0.75rem;
}

.content-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line);
  font-weight: 600;
  color: var(--color-ink-soft);
}

.prose-wide {
  max-width: 48rem;
}

.footer-lang a {
  font-weight: 600;
}

.footer-lang a[aria-current="page"] {
  color: var(--color-white);
}

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-8) 0 var(--space-6);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: var(--space-7);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  max-width: 100%;
}

.footer-brand__logo {
  display: block;
  height: clamp(2.4rem, 4vw, 3.1rem);
  width: auto;
  max-width: min(100%, 18rem);
  object-fit: contain;
  object-position: left center;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  background: rgba(10, 18, 32, 0.97);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner h2 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42rem;
}

.cookie-banner a {
  color: #9ec1ff;
}

.cookie-banner .btn-row {
  gap: 0.55rem;
}

.cookie-banner .btn {
  min-height: 2.15rem;
  font-size: 0.82rem;
  padding-inline: 0.9rem;
}

.cookie-panel {
  display: none;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.cookie-panel.is-open {
  display: grid;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.cookie-option input {
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .header-info {
    display: flex;
    gap: 0.85rem;
  }

  .header-info .info-chip:first-child {
    display: none;
  }

  .info-chip {
    min-width: 0;
  }

  .info-chip strong {
    font-size: 0.88rem;
  }

  .nav {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-actions .btn--nav {
    margin-left: 0.25rem;
  }

  .nav-toggle {
    display: none;
  }

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

@media (min-width: 1100px) {
  .header-info .info-chip:first-child {
    display: flex;
  }

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