:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ink: #0b1220;
  --muted: #5b6475;
  --line: #e4e8f0;
  --brand: #0ea5e9;
  --brand-ink: #0369a1;
  --dark: #0b1220;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.logo-mark {
  display: inline-grid; place-items: center;
  background: var(--dark); color: #38bdf8;
  border-radius: 8px; padding: 2px 7px; margin-right: 4px; font-size: 1rem;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--dark); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #1a2540; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(600px 300px at -10% 110%, rgba(56,189,248,.12), transparent 60%);
}
.eyebrow { color: var(--brand-ink); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 32px rgba(11,18,32,.08); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(14,165,233,.1); margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about p { color: var(--muted); font-size: 1.05rem; }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

.contact { text-align: center; }
.contact .lead { margin: 0 auto 28px; }

/* Footer */
.footer { background: var(--dark); color: #c7cede; padding: 48px 0 24px; font-size: .92rem; }
.footer strong { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #c7cede; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8a93a6; font-size: .85rem; }

/* Legal page */
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: #333b4c; }
.legal ul { padding-left: 1.2em; }
.legal .updated { color: var(--muted); font-size: .95rem; }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .about { grid-template-columns: 1fr; gap: 24px; }
}
