:root {
  --ink: #0e1116;
  --ink-2: #1a1f27;
  --text: #0e1116;
  --muted: #5b6270;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --accent: #ff5a36;
  --accent-ink: #d9401f;
  --radius: 18px;
  --max: 1120px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: inherit; }
.brand svg { width: 32px; height: 32px; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { color: #fff; background: #000; transform: translateY(-1px); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-ink); }
.nav .btn { padding: 9px 16px; color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { padding-top: 104px; padding-bottom: 112px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #aab1bd; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800;
  margin: 22px 0 26px; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #c4c9d2; max-width: 46ch; margin: 0 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .actions a.link { color: #fff; font-weight: 600; text-decoration: none; }
.hero .actions a.link:hover { color: var(--accent); }
.hero-art { position: absolute; right: -60px; bottom: -80px; width: 520px; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .hero-art { width: 340px; right: -110px; bottom: -110px; opacity: .35; } }

/* Sections */
section.block { padding: 104px 0; }
section.alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-bottom: 56px; align-items: end; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin: 10px 0 0; font-weight: 780; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { font-size: 14px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 14px; } section.block { padding: 72px 0; } }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #cfd3da; transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 22px; height: 22px; stroke: #fff; }
.card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.card li { padding: 6px 0; border-top: 1px dashed var(--line); }

.step { padding: 28px 0 0; border-top: 2px solid var(--ink); }
.step .n { font-size: 14px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin: 8px 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.principles > div { padding: 30px; border-right: 1px solid var(--line); }
.principles > div:last-child { border-right: 0; }
.principles h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.015em; }
.principles p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } .principles > div { border-right: 0; border-bottom: 1px solid var(--line); } .principles > div:last-child { border-bottom: 0; } }

.note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 12px; }
.cta p { margin: 0; color: #c4c9d2; }
.cta .mail { justify-self: end; text-align: right; }
.cta .mail a.address { display: block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta .mail a.address:hover { color: var(--accent); }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } .cta .mail { justify-self: start; text-align: left; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { font-size: 17px; color: var(--text); }
.site-footer .brand svg { width: 26px; height: 26px; }

/* Legal pages */
.legal-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.legal-hero .wrap { padding-top: 72px; padding-bottom: 48px; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.05; margin: 10px 0 12px; }
.legal-hero p { margin: 0; color: var(--muted); }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding: 56px 24px 96px; }
.legal aside { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.legal aside p { font-weight: 650; margin: 0 0 10px; }
.legal aside ol { list-style: none; margin: 0; padding: 0; }
.legal aside li { margin: 0; }
.legal aside a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.legal aside a:hover { color: var(--text); }
.legal article { max-width: 72ch; }
.legal article h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; scroll-margin-top: 92px; }
.legal article h2:first-child { margin-top: 0; }
.legal article h3 { font-size: 18px; margin: 26px 0 8px; }
.legal article p, .legal article li { color: #2b313b; }
.legal article ul { padding-left: 22px; }
.legal article li { margin: 6px 0; }
.legal .summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 36px; }
.legal .summary p { margin: 0 0 8px; font-weight: 650; color: var(--text); }
.legal .summary ul { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-2); font-weight: 650; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 24px; padding: 36px 16px 72px; } .legal aside { display: none; } }
@media (max-width: 600px) { .legal table { display: block; overflow-x: auto; } }

/* 404 */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.notfound .code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; }
.notfound .code span { color: var(--accent); }
.notfound p { color: var(--muted); margin: 14px 0 28px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
