:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --ink: #0f1b2d;
  --ink-soft: #4a5568;
  --line: #e2e8f0;
  --brand: #0b2545;
  --brand-2: #13315c;
  --accent: #10b5a3;
  --accent-ink: #087a6e;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .75rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 680px; }
.section-head { margin-bottom: 44px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--accent-ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.lang a, .lang span { padding: 5px 11px; text-decoration: none; color: var(--ink-soft); }
.lang span { background: var(--brand); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(16, 181, 163, .28), transparent 60%),
              linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  padding: 110px 0 100px;
}
.hero .eyebrow { color: #7ee8db; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); max-width: 820px; }
.hero h1 em { font-style: normal; color: #7ee8db; }
.hero .lead { color: #c8d3e6; font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04211e; }
.btn-primary:hover { background: #2fd0bd; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; max-width: 900px; }
.stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; }
.stat small { color: #aebcd4; font-size: .88rem; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(16, 181, 163, .12); color: var(--accent-ink); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .93rem; }

/* Tech */
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-group h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 500; }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-weight: 800; font-size: 1.6rem; color: var(--accent);
}
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
.timeline .when { font-size: .85rem; font-weight: 700; color: var(--accent-ink); }
.timeline h3 { margin: 2px 0 4px; }
.timeline .org { color: var(--ink-soft); font-size: .95rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:first-child { color: var(--ink-soft); }
.facts li span:last-child { font-weight: 600; text-align: right; }
.brands { color: var(--ink-soft); font-size: .95rem; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; }
.contact .lead { color: #c8d3e6; }
.contact .eyebrow { color: #7ee8db; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; text-decoration: none; font-weight: 600;
}
.contact-list a:hover { background: rgba(255, 255, 255, .1); }
.contact-list svg { width: 22px; height: 22px; color: #7ee8db; flex: none; }
.contact-list small { display: block; color: #aebcd4; font-weight: 400; font-size: .82rem; }

/* Footer */
.site-footer { background: #081a33; color: #aebcd4; font-size: .88rem; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer strong { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #7ee8db; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2em; }
.legal .meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 2em; }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: .5em; }
.legal p, .legal li { color: #2d3748; }

@media (max-width: 960px) {
  .grid-3, .tech-groups { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .lang { margin-left: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
  .grid-3, .grid-2, .tech-groups, .steps { grid-template-columns: 1fr; }
}
