:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --ink: #111827;
  --muted: #566174;
  --line: #d8e2ee;
  --panel: rgba(255, 255, 255, 0.94);
  --brand: #0f766e;
  --accent: #b45309;
  --deep: #102a43;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(15, 118, 110, 0.35); outline-offset: 3px; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px; border-bottom: 1px solid var(--line);
}
.brand { color: var(--deep); font-weight: 900; text-decoration: none; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0.75rem; color: var(--muted); font-size: 0.95rem; font-weight: 700; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--brand); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr); gap: 3rem; align-items: center; min-height: calc(100vh - 72px); padding: 4.5rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 930px; margin: 0; color: var(--deep); font-size: clamp(2.8rem, 6.5vw, 5.8rem); line-height: 0.98; letter-spacing: 0; }
h2 { margin: 0; color: var(--deep); font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.08; letter-spacing: 0; }
h3 { margin: 0 0 0.65rem; color: var(--deep); font-size: 1.08rem; }
.lead { max-width: 760px; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.16rem; line-height: 1.7; }
.lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.lang-card, .panel, .card, .proof li { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 16px 44px rgba(16, 42, 67, 0.08); }
.lang-card { padding: 1rem; }
.lang-card strong { display: block; margin-bottom: 0.35rem; color: var(--brand); }
.lang-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0.75rem 1rem; background: #fff; color: var(--deep); font-weight: 900; text-decoration: none; }
.button--primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.button:hover { transform: translateY(-1px); }
.panel { padding: 1.35rem; }
.panel__label { margin: 0 0 0.8rem; color: var(--brand); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.panel strong { display: block; color: var(--deep); font-size: 1.25rem; line-height: 1.35; }
.panel ul, .proof { display: grid; gap: 0.65rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.panel li { color: var(--muted); line-height: 1.45; }
.panel li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.5rem; border-radius: 999px; background: var(--accent); vertical-align: middle; }
.section { padding: 4rem 0; border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section__head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-height: 210px; padding: 1.25rem; }
.card span { display: inline-flex; margin-bottom: 1rem; color: var(--brand); font-weight: 900; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; }
.proof { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.proof li { display: flex; min-height: 78px; align-items: center; justify-content: center; padding: 0.85rem; color: var(--deep); font-size: 0.92rem; font-weight: 900; text-align: center; }
.footer { padding: 2rem 0 4rem; color: var(--muted); }
.footer a { color: var(--deep); font-weight: 800; }

@media (max-width: 900px) {
  .hero, .cards, .lang-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head { display: block; }
  .section__head p { margin-top: 1rem; }
}
@media (max-width: 560px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .hero { min-height: auto; padding: 3.2rem 0; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .proof { grid-template-columns: 1fr; }
}
