:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-muted: #f1f4f8;
  --text: #182230;
  --text-muted: #526075;
  --border: #d9e0ea;
  --primary: #0d6efd;
  --primary-strong: #0a58ca;
  --shadow: 0 20px 40px rgba(24, 34, 48, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.narrow > * {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(217, 224, 234, 0.75);
}

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

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a:hover {
  color: var(--text);
}

.language-toggle {
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.language-toggle:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  border-color: var(--border);
  background: var(--surface);
}

.hero-panel {
  background: linear-gradient(135deg, #0f1724, #1e2f49);
  color: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.card p {
  margin-bottom: 0;
}

.section-intro {
  max-width: 760px;
}

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

.card-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.card-link:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .cards-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    gap: 0.35rem 0.75rem;
    padding: 0.55rem 0;
  }

  .language-toggle {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 0;
  }
}
