:root {
  --bg: #f6f2ea;
  --bg-soft: #fffaf2;
  --text: #1f2933;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e6dfd2;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(14px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: var(--text);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.logo-text {
  font-size: 0.95rem;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

.lang-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  color: #ffffff;
  background: var(--accent);
}

.lang-button:focus-visible,
.primary-link:focus-visible,
.secondary-link:focus-visible,
.content-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  align-content: center;
  padding: 72px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0 0 28px;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

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

.secondary-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.text-block {
  max-width: 820px;
  color: var(--text);
  font-size: 1.05rem;
}

.text-block p {
  margin: 0 0 18px;
}

.accent-section {
  margin: 24px 0;
  padding: 48px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.accent-section p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.content-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 18px 46px rgba(31, 41, 51, 0.1);
}

.card-number {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.content-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 48px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .top-bar {
    align-items: flex-start;
  }

  .logo-text {
    display: none;
  }

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

  h1 {
    letter-spacing: -0.06em;
  }

  .section {
    padding: 52px 0;
  }

  .accent-section {
    padding: 28px;
    border-radius: 22px;
  }

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

  .content-card {
    min-height: 210px;
  }
}
