:root {
  --ink: #16183a;
  --ink-soft: #4b4e6d;
  --brand: #1d1f6d;
  --brand-2: #3a3fb5;
  --accent: #6b70ff;
  --bg: #ffffff;
  --bg-soft: #f4f5fb;
  --line: #e3e5f2;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── header ─────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-brand span { font-weight: 800; letter-spacing: 1px; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--brand-2); }
.lang-switch {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 14px; font-size: 13px; font-weight: 600;
  color: var(--brand-2) !important;
}

/* ── hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 36px;
}
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 26px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 13px 30px;
  font-size: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; margin-left: 12px; }
.btn-brand { background: var(--brand-2); color: #fff; }

/* ── sections ───────────────────────────────────── */
section { padding: 84px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
section.alt .card { background: #fff; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ── integrations table ─────────────────────────── */
.integration-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.integration {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 22px;
}
.integration strong { font-size: 16px; }
.integration span.note { color: var(--ink-soft); font-size: 13.5px; }
.status {
  flex-shrink: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
  border-radius: 999px; padding: 4px 14px;
}
.status.progress { background: #eef0ff; color: var(--brand-2); }
.compliance-note {
  max-width: 760px; margin: 28px auto 0;
  font-size: 14px; color: var(--ink-soft);
  text-align: center;
}

/* ── about ──────────────────────────────────────── */
.about-box {
  max-width: 760px; margin: 0 auto;
  font-size: 16.5px; color: var(--ink-soft);
}
.about-box p + p { margin-top: 16px; }

/* ── contact ────────────────────────────────────── */
.contact-box { text-align: center; }
.contact-box .big-mail {
  display: inline-block;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 800;
  color: var(--brand-2);
  text-decoration: none;
  margin: 8px 0 22px;
}
.contact-meta { color: var(--ink-soft); font-size: 15px; margin-top: 26px; }
.contact-meta div { margin-top: 4px; }

/* ── footer ─────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
footer .container { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--brand-2); }

/* ── legal page ─────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 24px; }
.legal h1 { font-size: 30px; margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top;
  padding: 9px 12px; border: 1px solid var(--line);
  font-size: 15px; color: var(--ink-soft);
}
.legal-table th { width: 34%; font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.legal-updated { margin-top: 32px; font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 720px) {
  .nav-links a:not(.lang-switch) { display: none; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
