:root {
  --bg: #ffffff;
  --soft: #f5f7fb;
  --ink: #0f172a;
  --muted: #526077;
  --line: #e3e8f0;
  --brand: #1f4fd6;
  --brand-dark: #173da8;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(31, 79, 214, 0.12), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(31, 79, 214, 0.08), transparent 60%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 20px; max-width: 820px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #ffffff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #ffffff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d2e0; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
.section .intro { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0 0 40px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 18px; margin: 14px 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(31, 79, 214, 0.1); display: grid; place-items: center; }

.step .num { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; }

.two-col { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 79, 214, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231f4fd6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.contact-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; }
.contact-card dt { color: var(--muted); font-size: 14px; }
.contact-card dd { margin: 0; }

/* Legal documents */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 20px 88px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #26324a; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 8px; }
.toc strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.note { background: var(--soft); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; padding: 14px 18px; }

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

@media (max-width: 720px) {
  .nav { display: none; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .toc ol { columns: 1; }
  .contact-card dl { grid-template-columns: 1fr; gap: 4px; }
  .contact-card dd { margin-bottom: 12px; }
}
