:root {
  --bg: #f6f5f3;
  --surface: #ffffff;
  --surface-2: #efedea;
  --text: #111111;
  --text-2: #5f5b57;
  --line: #e4e1dd;
  --accent: #111111;
  --on-accent: #ffffff;
  --radius: 28px;
  --maxw: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0f;
    --surface: #18181a;
    --surface-2: #222225;
    --text: #f4f3f1;
    --text-2: #a5a19c;
    --line: #2b2b2e;
    --accent: #f4f3f1;
    --on-accent: #111111;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.nav-links { display: flex; gap: 20px; font-size: 14px; color: var(--text-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 72px 0 56px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
h1.display { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin: 20px 0 16px; font-weight: 800; }
.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--text-2); margin-top: 16px; }
.hero-card { position: relative; border-radius: 36px; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.score-chip { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(17,17,17,.78); color: #fff; border-radius: 22px; padding: 14px 18px; backdrop-filter: blur(10px); }
.score-chip b { font-size: 28px; letter-spacing: -0.03em; }
.score-chip small { display: block; opacity: .7; font-size: 12px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--text-2); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--text-2); font-size: 15px; }

.notice { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--surface-2); border-radius: var(--radius); padding: 28px; }
.notice h3 { margin: 0 0 6px; }
.notice p { margin: 0; color: var(--text-2); }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; background: var(--surface-2); }

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

/* Legal documents */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc blockquote { margin: 20px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.doc blockquote p { margin: 0; }
.lang-switch { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; font-size: 13px; }
.lang-switch a { text-decoration: none; padding: 4px 12px; border-radius: 999px; }
.lang-switch a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
