:root {
  color-scheme: light dark;
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-alt: #f2f2ef;
  --text: #111113;
  --muted: #6e6e73;
  --border: #e2e2de;
  --accent: #111113;
  --accent-text: #ffffff;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0d;
    --surface: #161618;
    --surface-alt: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: #2c2c2e;
    --accent: #f5f5f7;
    --accent-text: #0c0c0d;
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav li a { display: block; padding: 6px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.nav li a:hover { color: var(--text); background: var(--surface-alt); }
.nav li a[aria-current="page"] { color: var(--text); background: var(--surface-alt); }

/* Hero */
.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; }
.hero .icon { width: 128px; height: 128px; margin: 0 auto 24px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18)); }
.hero h1 { font-size: 64px; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.hero .tagline { font-size: 23px; color: var(--muted); margin: 14px auto 32px; max-width: 640px; }
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-text);
  border-radius: 980px; padding: 14px 28px;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.button:hover { opacity: 0.88; transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.cta small { color: var(--muted); font-size: 14px; }

/* Screenshot carousel */
.showcase { padding-top: 48px; padding-bottom: 24px; }
.screen { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.screen img { width: 100%; height: auto; }
.slides { position: relative; user-select: none; }
.slide { display: none; }
.slide.active { display: block; animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.tabs button {
  font: inherit; font-size: 15px; color: var(--muted);
  background: none; border: 1px solid transparent; border-radius: 980px;
  padding: 6px 14px; cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--border); background: var(--surface); }

/* Features */
.features { padding-top: 64px; padding-bottom: 64px; }
.feature {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--border);
}
.feature:first-child { border-top: 0; }
.feature:nth-child(even) .text { order: 2; }
.feature h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 4px 12px; border-radius: 980px; background: var(--surface-alt); border: 1px solid var(--border); }
.chips li img { width: 15px; height: 15px; object-fit: contain; }
.chips li.more { background: none; border: 0; padding: 5px 0; margin-left: -4px; color: var(--muted); }

/* Overview grid */
.overview { padding-top: 24px; padding-bottom: 72px; }
.overview h2 { text-align: center; font-size: 34px; letter-spacing: -0.02em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.card h3 { font-size: 17px; margin: 0 0 10px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin-bottom: 4px; }

/* Bottom CTA */
.closing { text-align: center; padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--border); }
.closing h2 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 24px; }
.notice { max-width: 640px; margin: 28px auto 0; font-size: 14px; color: var(--muted); }
.notice a { text-decoration: underline; }

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

/* Release notes */
.page { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.page h1 { font-size: 48px; letter-spacing: -0.03em; margin: 0 0 8px; }
.page > p.lead { color: var(--muted); font-size: 19px; margin: 0 0 40px; }
.release { padding: 32px 0; border-top: 1px solid var(--border); }
.release header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.release h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0; }
.release time { color: var(--muted); font-size: 15px; }
.release h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 24px 0 8px; }
.release ul { margin: 0; padding-left: 20px; }
.release li { margin-bottom: 6px; }

@media (max-width: 760px) {
  .hero h1 { font-size: 44px; }
  .hero .tagline { font-size: 19px; }
  .hero .icon { width: 96px; height: 96px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature:nth-child(even) .text { order: 0; }
  .feature h2, .overview h2, .closing h2 { font-size: 28px; }
  .page h1 { font-size: 38px; }
  .nav li a { padding: 6px 8px; }
}
.nowrap { white-space: nowrap; }
footer .made-with { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
footer .made-with img { height: 24px; width: auto; }
