/* Website style (copied to site/style.css by tools/build_site.py). No web fonts and no
   scripts: the system font is used and the page makes no third-party requests. */
:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --tile: #eef1f8;
  --text: #0b1020;
  --muted: #5d6680;
  --line: #e2e6f0;
  --accent: #3b6cf6;
  --c1: #22d3ee;
  --c2: #3b82f6;
  --c3: #7c3aed;
  --grad: linear-gradient(110deg, var(--c1) 0%, var(--c2) 45%, var(--c3) 100%);
  --shadow: 0 50px 100px -30px rgba(30, 41, 80, 0.35), 0 18px 40px -20px rgba(30, 41, 80, 0.25);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05080f;
    --surface: #0d1322;
    --tile: #0d1322;
    --text: #f1f4ff;
    --muted: #8e99b5;
    --line: #1a2238;
    --accent: #7aa2ff;
    --shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.85), 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- header and footer ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 15px; }
nav a[aria-current="page"], nav a:hover { color: var(--text); text-decoration: none; }
footer {
  max-width: 1160px; margin: 120px auto 0; padding: 28px 20px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px; border-top: 1px solid var(--line);
}

/* ---------- shared ---------- */
main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title {
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.045em;
  text-align: center; margin: 0 0 56px;
}
.btn {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { color: #fff; background: var(--grad); box-shadow: 0 14px 34px -14px rgba(59, 108, 246, .9); }
.btn.ghost { color: var(--text); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 96px 0 0; }
.glow {
  position: absolute; left: 50%; top: -120px; width: 1500px; height: 1100px; transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(28% 34% at 34% 30%, color-mix(in srgb, var(--c1) 40%, transparent), transparent 70%),
    radial-gradient(30% 36% at 66% 26%, color-mix(in srgb, var(--c3) 36%, transparent), transparent 70%),
    radial-gradient(40% 40% at 50% 66%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 75%);
}
.pill {
  display: inline-block; margin: 0 0 28px; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line);
}
.hero h1 { font-size: clamp(56px, 11vw, 132px); line-height: 0.95; letter-spacing: -0.055em; margin: 0 0 28px; font-weight: 800; }
.lead { font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); margin: 0 auto 38px; max-width: 640px; }
.hero-shot { margin: 96px auto 0; max-width: 1100px; }
.hero-shot img { border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- bento ---------- */
.bento { margin-top: 200px; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 28px;
  padding: 36px 36px 0; min-height: 420px; border-radius: 28px;
  background: var(--tile); border: 1px solid var(--line);
}
.tile.wide { grid-column: span 4; }
.tile.accent {
  color: #fff; border: 0;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(34, 211, 238, .55), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(124, 58, 237, .6), transparent 60%),
    #1c2a6b;
}
.tile h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 8px; font-weight: 750; }
.tile p { margin: 0; color: var(--muted); font-size: 17px; }
.tile.accent p { color: rgba(255, 255, 255, .78); }
.tile .visual { margin-top: auto; padding-bottom: 36px; }
.tile .visual img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(10, 20, 60, .6); margin: 0 auto; }
.tile.wide .visual img { width: 64%; }
/* Windows that run off the bottom edge of their tile. */
.tile .visual.bleed { padding-bottom: 0; margin-bottom: -2px; }
.tile .visual.bleed img { border-radius: 14px 14px 0 0; }
.tile.wide .visual.bleed img { width: 84%; }
/* A progress ring drawn in CSS (the "Never lose progress" tile). */
.ring-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ring {
  width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c1), var(--c2) 40%, var(--c3) 62%, color-mix(in srgb, var(--text) 10%, transparent) 62% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
  position: relative;
}
.ring-wrap::before {
  content: "62%"; position: absolute; top: 105px; left: 50%; transform: translate(-50%, -50%);
  font-size: 52px; font-weight: 800; letter-spacing: -0.04em;
}
.ring-note { margin: 0; font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ring-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #f5b841; }
.tile.mini { min-height: 0; padding: 32px; gap: 0; }
.tile.mini .glyph { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #fff; background: var(--grad); margin-bottom: 22px; }
.tile.mini h3 { font-size: 24px; }

/* ---------- systems (CSS-only tabs) ---------- */
.systems { text-align: center; margin-top: 200px; }
.systems .title { margin-bottom: 18px; }
.systems .sub { color: var(--muted); font-size: 20px; margin: 0 auto 36px; }
.os > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 56px;
}
.tabs label { padding: 10px 26px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); }
.tabs label:hover { color: var(--text); }
#os-windows:checked ~ .tabs label[for="os-windows"],
#os-mac:checked ~ .tabs label[for="os-mac"],
#os-linux:checked ~ .tabs label[for="os-linux"] { color: #fff; background: var(--grad); }
#os-windows:focus-visible ~ .tabs label[for="os-windows"],
#os-mac:focus-visible ~ .tabs label[for="os-mac"],
#os-linux:focus-visible ~ .tabs label[for="os-linux"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.pane { display: none; margin: 0 auto; max-width: 1000px; }
#os-windows:checked ~ .panes .pane-windows,
#os-mac:checked ~ .panes .pane-mac,
#os-linux:checked ~ .panes .pane-linux { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.pane img { border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- privacy ---------- */
.privacy-band {
  margin-top: 200px; padding: 96px 32px; border-radius: 36px; text-align: center; color: #fff;
  background:
    radial-gradient(50% 80% at 10% 0%, rgba(34, 211, 238, .4), transparent 60%),
    radial-gradient(50% 80% at 90% 100%, rgba(124, 58, 237, .5), transparent 60%),
    #070c1c;
}
.privacy-band .glyph { width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: #fff; margin: 0 auto 30px; }
.privacy-band h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; margin: 0 0 22px; }
.privacy-band p { color: #c3cce6; font-size: 20px; margin: 0 0 26px; }
.privacy-band a { color: #9cc2ff; font-weight: 600; }

/* ---------- get ---------- */
.get { text-align: center; margin-top: 200px; }
.get img { margin: 0 auto 26px; filter: drop-shadow(0 20px 34px rgba(59, 108, 246, .4)); }
.get h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; margin: 0 0 40px; }
.badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2;
  padding: 12px 26px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 650; font-size: 19px;
}
.badge small { font-weight: 500; font-size: 12px; opacity: .7; }
a.badge { text-decoration: none; transition: transform .15s, box-shadow .2s; }
a.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(59, 108, 246, .7); }
.badge.soon { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.get .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.get-note { color: var(--muted); font-size: 15px; margin: 24px auto 0; max-width: 32em; }

/* ---------- documents (privacy, support, legal) ---------- */
.doc { max-width: 740px; padding-top: 56px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 38px 0 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc h3 + p { margin-top: 0; }
.doc ul { padding-left: 22px; }
.doc em { color: var(--muted); font-style: normal; font-size: 15px; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .tile, .tile.wide { grid-column: auto; min-height: 0; }
  .tile.wide .visual img, .tile.wide .visual.bleed img { max-width: 100%; width: 100%; }
  .bento, .systems, .privacy-band, .get { margin-top: 128px; }
  .hero { padding-top: 56px; }
  .hero-shot { margin-top: 64px; }
  .title { margin-bottom: 36px; }
  .privacy-band { padding: 64px 24px; }
}
@media (max-width: 520px) {
  nav { gap: 14px; }
  nav a { font-size: 14px; }
  .top { padding-left: 16px; padding-right: 16px; }
  main { padding: 0 16px; }
  .tile { padding: 28px 24px 0; border-radius: 22px; }
  .tabs label { padding: 9px 16px; }
}
