:root {
  --bg: #ffffff;
  --surface: #f5f6fb;
  --text: #1c2233;
  --muted: #5b6275;
  --line: #e3e6ef;
  --c1: #00c8f8;
  --c2: #1e5bff;
  --c3: #a23bff;
  --c4: #e03bff;
  --grad: linear-gradient(100deg, var(--c1), var(--c2) 45%, var(--c3) 80%, var(--c4));
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020;
    --surface: #161a2e;
    --text: #eef0f8;
    --muted: #a3a9bd;
    --line: #262b44;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--c2); }
@media (prefers-color-scheme: dark) { a { color: var(--c1); } }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
header.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px; }
header.top .brand img { width: 34px; height: auto; }
header.top nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
header.top nav a:hover { color: var(--text); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 64px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero .logo { width: 100%; max-width: 420px; justify-self: center; }
@media (prefers-color-scheme: dark) { .hero .logo { background: #fff; border-radius: 32px; padding: 18px; } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--grad); color: #fff; }
.btn.ghost { border: 1.5px solid var(--line); color: var(--text); }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); margin-bottom: 16px; border: 1px solid var(--line); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding: 6px 0 6px 30px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Long-form pages (privacy) */
article.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
article.doc h1 { font-size: 38px; letter-spacing: -0.02em; margin: 16px 0 4px; }
article.doc .updated { color: var(--muted); margin: 0 0 28px; }
article.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero .logo { max-width: 300px; order: -1; }
  .grid, .two { grid-template-columns: 1fr; }
  header.top nav a:first-child { display: none; }
}
