:root {
  --ink: #14213d;
  --muted: #5d687f;
  --paper: #f7f8fb;
  --card: #ffffff;
  --line: #e1e6ef;
  --accent: #275dad;
  --accent-dark: #1c4380;
  --warm: #f5c76a;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--warm);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  border-bottom: 1px solid rgba(225, 230, 239, 0.8);
  background: rgba(247, 248, 251, 0.88);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 76px;
}

.brand,
.footer-brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.brand-name {
  line-height: 1;
}

.language-nav {
  display: flex;
  gap: 16px;
  font-size: 0.92rem;
}

.language-switch-link {
  color: var(--accent);
}

.language-switch-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.hero {
  padding-top: clamp(76px, 6vw, 140px);
  padding-bottom: clamp(68px, 6vw, 116px);
}

.eyebrow,
.card-region {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.regions {
  padding-bottom: 88px;
}

.section-heading {
  margin-bottom: 28px;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.site-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.site-card > p:not(.card-region) {
  flex: 1;
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  background: var(--accent-dark);
}

.ad-slot {
  min-height: 90px;
  margin-bottom: 72px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.content-page {
  max-width: 760px;
  padding-top: 84px;
  padding-bottom: 110px;
}

.content-page p {
  color: var(--muted);
}

.content-page h2 {
  margin-top: 42px;
  font-size: 1.5rem;
}

.content-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.content-list li + li {
  margin-top: 8px;
}

.text-link {
  font-weight: 700;
}

.site-footer {
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  margin-bottom: 4px;
  color: var(--ink);
}

.footer-inner p {
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  text-align: right;
}

.footer-links p {
  width: 100%;
  color: var(--ink);
  font-weight: 700;
}

.footer-links .footer-contact {
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 900px) {
  .site-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 28px, 520px);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-inner {
    padding: 18px 0;
  }

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

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