:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e3e6ec;
  --accent: #1f4fd8;
  --accent-ink: #ffffff;
  --radius: 16px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-soft: #121a2e;
    --ink: #e8ecf4;
    --muted: #9aa4b8;
    --line: #232c43;
    --accent: #6e94ff;
    --accent-ink: #0b1020;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
}
nav.main { display: flex; gap: 24px; font-size: 15px; }
nav.main a { color: var(--muted); }
nav.main a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 72px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 14ch; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 46ch; margin: 0 0 32px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.02em; margin: 0 0 12px; }
section p.sub { color: var(--muted); max-width: 60ch; margin: 0 0 40px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--bg-soft); display: flex; flex-direction: column; gap: 16px;
}
.card-head { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.card .tag { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.card p { margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--muted);
}
.pill.soon { border-color: transparent; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; margin-top: auto; }

/* How we work */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.point h3 { margin: 0 0 6px; font-size: 18px; }
.point p { margin: 0; color: var(--muted); }

/* Company details */
.details { width: 100%; border-collapse: collapse; font-size: 15px; }
.details th, .details td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.details th { width: 34%; color: var(--muted); font-weight: 500; padding-right: 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.contact .label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.contact p { margin: 0; }

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

/* Privacy page */
.doc { padding-top: 64px; padding-bottom: 80px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }

@media (max-width: 640px) {
  nav.main { gap: 16px; font-size: 14px; }
  nav.main a.hide-sm { display: none; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  section { padding: 56px 0; }
  .details th, .details td { display: block; width: 100%; padding: 0; border: 0; }
  .details th { padding-top: 14px; }
  .details td { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
}
.sub.flush { margin-bottom: 0; }
