:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b6070;
  --line: #e7e4dc;
  --accent: #2f5bea;
  --accent-ink: #ffffff;
  --accent-soft: #eaf0ff;
  --radius: 14px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #181b22;
    --ink: #eef0f4;
    --muted: #a3a9b8;
    --line: #2a2e38;
    --accent: #7c9bff;
    --accent-ink: #0d1020;
    --accent-soft: #1d2540;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav .btn { margin-left: 8px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }

/* Sections */
section { padding: 88px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 650; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 0 32px; }
.muted { color: var(--muted); }

.hero { padding: 104px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { aspect-ratio: 1 / 1; border-radius: 24px; background: var(--accent-soft); position: relative; overflow: hidden; }
.hero-art span { position: absolute; border-radius: 50%; }
.hero-art .a { width: 58%; height: 58%; background: var(--accent); top: 12%; left: 10%; }
.hero-art .b { width: 38%; height: 38%; background: #f2b33d; bottom: 10%; right: 12%; }
.hero-art .c { width: 22%; height: 22%; background: var(--ink); top: 14%; right: 14%; border-radius: 6px; transform: rotate(18deg); }

.logos { padding: 0 0 72px; }
.logos p { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.logos ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 700; font-size: 18px; color: var(--muted); opacity: 0.8; }

.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

.quote { max-width: 780px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(22px, 3vw, 30px); line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 20px; }
.quote cite { font-style: normal; color: var(--muted); }

.cta { text-align: center; }
.cta-box { background: var(--accent); color: var(--accent-ink); border-radius: 24px; padding: 64px 24px; }
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { margin: 0 auto 28px; max-width: 520px; opacity: 0.9; }
.cta-box .btn { background: var(--accent-ink); color: var(--accent) !important; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 28px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline b { display: block; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person .avatar { aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--accent-ink); margin-bottom: 14px; }
.person h3 { margin: 0 0 2px; font-size: 18px; }
.person p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-ok { display: none; background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.info { display: grid; gap: 24px; }
.info h3 { font-size: 16px; margin: 0 0 4px; }
.info p { margin: 0; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Page header */
.page-head { padding: 88px 0 40px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 380px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats, .team { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr; }
  .nav a:not(.btn) { padding: 8px 8px; }
}
@media (max-width: 520px) {
  .nav .btn { display: none; }
  .logo span:last-child { display: none; }
}
