:root {
  color-scheme: light dark;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background: #f4f7fb;
  color: #10182b;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f4f7fb;
}

a {
  color: #4f46e5;
}

a:hover {
  color: #3730a3;
}

.site-header {
  border-bottom: 1px solid #dce3ee;
  background: rgba(255, 255, 255, 0.94);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10182b;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link,
.language-button {
  min-height: 40px;
  border: 1px solid #d6deea;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.language-button[aria-pressed="true"] {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #fff;
}

.page-shell {
  padding-block: 56px 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4f46e5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: #526177;
  font-size: 17px;
  line-height: 1.7;
}

.meta {
  margin-top: 18px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.content-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.content-card {
  overflow-wrap: anywhere;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.content-card p,
.content-card li {
  color: #526177;
  font-size: 15px;
  line-height: 1.75;
}

.content-card p {
  margin: 0;
}

.content-card p + p {
  margin-top: 12px;
}

.content-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 8px;
  background: #4f46e5;
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover {
  background: #4338ca;
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #dce3ee;
  padding-block: 24px 40px;
  color: #64748b;
  font-size: 13px;
}

[data-language-panel][hidden] {
  display: none;
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .header-link {
    display: none;
  }

  .page-shell {
    padding-block: 40px 56px;
  }

  .content-card {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root,
  body {
    background: #071126;
    color: #f8fafc;
  }

  .site-header {
    border-color: #23304a;
    background: rgba(7, 17, 38, 0.95);
  }

  .brand {
    color: #f8fafc;
  }

  .header-link,
  .language-button {
    border-color: #2a3853;
    background: #101b32;
    color: #d9e2f1;
  }

  .intro,
  .content-card p,
  .content-card li {
    color: #aab7cb;
  }

  .meta,
  .site-footer {
    color: #8ea0ba;
  }

  .content-card {
    border-color: #26344f;
    background: #111c32;
    box-shadow: none;
  }

  .site-footer {
    border-color: #23304a;
  }

  a {
    color: #a5b4fc;
  }

  a:hover {
    color: #c7d2fe;
  }
}
