:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5c6370;
  --line: rgba(22, 24, 29, 0.1);
  --accent: #2f6df6;
  --accent-text: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(22, 24, 29, 0.12);
  --shadow: 0 24px 60px rgba(20, 30, 60, 0.18);
  --sky-1: #cfe0ff;
  --sky-2: #f1d9ff;
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #181b21;
    --text: #eceef2;
    --muted: #9aa1ad;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #5b8cff;
    --glass: rgba(40, 44, 54, 0.7);
    --glass-line: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    --sky-1: #1c2a4d;
    --sky-2: #33244a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
}

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

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-icon { width: 96px; height: 96px; }
.hero h1 { font-size: 48px; line-height: 1.1; margin: 20px 0 12px; letter-spacing: -0.02em; }
.hero .lede { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); font-weight: 600;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.note { font-size: 14px; color: var(--muted); }

/* Hero illustration: stacked floating windows */
.scene {
  position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--sky-1), var(--sky-2));
  border: 1px solid var(--line);
}
.win {
  position: absolute; border-radius: 12px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.win .bar { height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--glass-line); }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.win .body { padding: 14px; }
.line { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.line.short { width: 55%; }
.line.mid { width: 80%; }

.win.main { left: 6%; top: 10%; width: 62%; height: 70%; }
.win.split { right: 7%; top: 18%; width: 40%; height: 46%; opacity: 0.88; }
.win.split .body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.win.video { right: 10%; bottom: 8%; width: 42%; aspect-ratio: 16 / 9; border-radius: 10px; }
.win.video .body {
  height: 100%; padding: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #2b3a67, #6a3f8f);
}
.play { width: 0; height: 0; border-left: 18px solid rgba(255,255,255,0.9); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.pin {
  position: absolute; top: 6px; right: 8px; font-size: 11px; line-height: 1;
  padding: 3px 7px; border-radius: 999px; background: rgba(0,0,0,0.35); color: #fff;
}

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-lede { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .glyph { font-size: 22px; margin-bottom: 10px; display: block; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact {
  margin-top: 24px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}

/* Prose (privacy policy) */
.prose { max-width: 720px; padding: 56px 16px 72px; margin: 0 auto; }
.prose h1 { font-size: 38px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
.prose h2 { font-size: 22px; margin: 36px 0 8px; }
.prose .meta { color: var(--muted); margin: 0 0 28px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.summary-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.summary-box p { margin: 0; }

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

@media (max-width: 820px) {
  .hero { padding: 40px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 18px; }
  .features { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
}
