:root {
  --ink: #12131f;
  --ink-soft: #4a4d63;
  --muted: #74778c;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e7e4dc;
  --accent: #5b3df5;
  --accent-dark: #4129d0;
  --accent-soft: #eeeaff;
  --coral: #ff6b4a;
  --radius: 14px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; font-weight: 550; }
.nav a:hover { color: var(--ink); background: #f0eee8; }
.nav a[aria-current="page"] { color: var(--ink); background: #ebe8df; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 650;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #f0eee8; color: var(--ink); }

/* Sections */
section { padding: 84px 0; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 96px 0 84px; position: relative; overflow: hidden; }
.hero h1 { max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-shape { position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); z-index: -1; }

.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.alt .card { background: var(--bg); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.step-num { font-size: 0.85rem; font-weight: 800; color: var(--coral); margin-bottom: 8px; }

.service { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service p { color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; color: var(--muted); font-weight: 600; font-size: 0.95rem; }

/* Contact */
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { flex: none; margin-bottom: 0; }
.contact-item h3 { margin-bottom: 4px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.contact-item p, .contact-item address { font-style: normal; font-size: 1.1rem; color: var(--ink); margin: 0; }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; }
.cta p { color: #c3c5d6; margin: 0; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--accent-soft); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 40px; font-size: 0.95rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; }
.legal-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-3, .grid-2, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .nav { width: 100%; margin-left: -12px; }
  .cta { padding: 36px 24px; }
  .facts th, .facts td { display: block; width: 100%; padding: 4px 16px; border: 0; }
  .facts th { padding-top: 14px; }
  .facts td { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
}
