:root {
  --ink: #0f1b2d;
  --ink-soft: #3d4b5f;
  --muted: #6b7788;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --accent: #1f4fd8;
  --accent-dark: #173ca6;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}
header.site .wrap { 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: 17px; }
.brand:hover { text-decoration: none; }
.logo {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .5px;
}
nav.main { display: flex; gap: 22px; font-size: 15px; }
nav.main a { color: var(--ink-soft); }
nav.main a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; letter-spacing: -.02em; max-width: 820px; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 720px; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-alt); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.015em; line-height: 1.2; }
.section-intro { color: var(--ink-soft); font-size: 17px; max-width: 720px; margin-top: 12px; }

.grid { display: grid; gap: 20px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card ul { margin-top: 10px; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }

/* Facts table */
.facts { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts div { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt, .facts dd { padding: 14px 20px; font-size: 15.5px; }
.facts dt { font-weight: 600; background: var(--bg-alt); }
.facts dd { color: var(--ink-soft); }

/* Contact */
.contact-box { margin-top: 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-box .card a { font-weight: 600; font-size: 17px; word-break: break-all; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 34px; letter-spacing: -.015em; }
.legal .updated { color: var(--muted); margin: 8px 0 28px; font-size: 14.5px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-top: 6px; }

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

@media (max-width: 640px) {
  nav.main { display: none; }
  .hero { padding: 60px 0 52px; }
  section { padding: 56px 0; }
  .facts div { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 4px; }
  .facts dd { padding-top: 4px; }
}

/* Icon tiles */
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
}
.icon-tile svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-tile.blue   { background: #e8efff; color: #1f4fd8; }
.icon-tile.purple { background: #f1eafe; color: #7c3aed; }
.icon-tile.green  { background: #e6f6ee; color: #15803d; }
.icon-tile.amber  { background: #fdf3e2; color: #c2690a; }

.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -12px rgba(15,27,45,.18); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #eef1f6; color: var(--ink-soft); font-size: 14px; font-weight: 500; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a060; }
.eyebrow { color: #15803d; }
.grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
