:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6a84;
  --primary: #0d1a64;
  --primary-2: #23379d;
  --border: #dfe5f1;
  --shadow: 0 18px 40px rgba(13, 26, 100, 0.10);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7da2ff;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  background: #ffffff;
  color: #0d1a64;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }
.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  order: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  order: 1;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
}
.brand-overline {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}
.main-nav a {
  color: var(--text);
  font-weight: 700;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: #eef2fa;
  border: 1px solid var(--border);
  border-radius: 999px;
  flex: 0 0 auto;
  order: 3;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.lang-switch a:hover {
  text-decoration: none;
}
.lang-switch a[aria-current="page"] {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 26, 100, 0.16);
}
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d133e;
}
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(8,12,41,.86) 0%, rgba(8,12,41,.62) 42%, rgba(8,12,41,.32) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 88px 0;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 10px;
  opacity: .9;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  margin: 0 0 18px;
}
.hero-text {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 620px;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.button-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  background: rgba(255,255,255,0.08);
}
.button-block { width: 100%; }
.section { padding: 72px 0; }
.section-muted { background: #edf1f8; }
.section-highlight {
  background: linear-gradient(135deg, #0f1961 0%, #1d2f8c 100%);
  color: white;
}
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.align-center { align-items: center; }
.card, .download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.section-highlight .download-card {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.section-highlight a:not(.button) { color: #ffffff; text-decoration: underline; }
.accent-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
}
.full-width { width: 100%; }
h2, h3 { line-height: 1.2; margin-top: 0; }
h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 12px; }
p, li { font-size: 18px; }
ul, ol { padding-left: 22px; margin: 0; }
li + li { margin-top: 10px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.site-footer {
  background: #0b1336;
  color: white;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.site-footer a { color: white; }

@media (max-width: 900px) {
  .footer-inner,
  .contact-grid,
  .grid-two {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px 18px;
  }
  .header-actions {
    width: 100%;
    grid-column: 1 / -1;
    gap: 12px;
    justify-self: stretch;
    order: 3;
  }
  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .lang-switch {
    justify-self: end;
    align-self: start;
    order: 2;
  }
  .hero { min-height: 68vh; }
  .hero-content { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header { position: static; }
  .header-inner { padding: 12px 0; }
  .brand img { width: 50px; height: 50px; }
  .brand {
    min-width: 0;
  }
  .main-nav {
    gap: 10px 14px;
  }
  .lang-switch {
    padding: 3px;
  }
  .lang-switch a {
    min-width: 40px;
    min-height: 32px;
    padding: 5px 10px;
    font-size: 15px;
  }
  .main-nav a { font-size: 15px; }
  .section { padding: 48px 0; }
  .card, .download-card { padding: 22px; border-radius: 18px; }
  p, li { font-size: 16px; }
  .button, .button-block { width: 100%; }
  .hero-actions { width: 100%; }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px 14px;
  }
  .brand {
    gap: 10px;
  }
  .brand-overline {
    font-size: 12px;
  }
  .header-actions {
    gap: 10px;
  }
  .main-nav {
    width: 100%;
    gap: 10px 16px;
  }
  .lang-switch {
    justify-self: end;
    align-self: start;
  }
}
