:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-strong: #f0f0ed;
  --text: #171918;
  --muted: #5c625f;
  --line: #d9dcd8;
  --accent: #136b55;
  --accent-strong: #0a5643;
  --accent-soft: #dcefe9;
  --focus: #8a4d00;
  --shadow: 0 18px 50px rgba(30, 40, 35, .08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111412;
    --surface: #191d1b;
    --surface-strong: #222825;
    --text: #f2f5f3;
    --muted: #b5bdb8;
    --line: #38413c;
    --accent: #78d5ba;
    --accent-strong: #a4ead6;
    --accent-soft: #173a31;
    --focus: #ffbd66;
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: .2rem;
}

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }
.site-header { padding: 18px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 0 auto; color: var(--text); font-weight: 720; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.nav-links a { color: var(--muted); font-size: .94rem; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 650; }

main { padding-bottom: 72px; }
.hero { padding: clamp(52px, 9vw, 112px) 0 clamp(44px, 7vw, 84px); }
.app-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 30px; }
.app-icon { width: 112px; height: 112px; border-radius: 25%; box-shadow: var(--shadow); }
.app-hero h1 { margin-top: .12em; }
.eyebrow { color: var(--accent-strong); font-size: .82rem; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { max-width: 17ch; margin: .25em 0; font-size: clamp(2.5rem, 8vw, 5.6rem); }
.doc h1, .press h1 { font-size: clamp(2.35rem, 7vw, 4.7rem); }
h2 { margin: 2.4em 0 .7em; font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { margin: 1.6em 0 .45em; font-size: 1.15rem; }
p, li { max-width: 70ch; }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.12rem, 2.5vw, 1.35rem); }
.quiet { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: 10px 17px; border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 680; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .button { color: #09241c; } }
.button.secondary { background: transparent; color: var(--accent-strong); }

.section { padding: 20px 0 46px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; }
.card h2 { font-size: 1.55rem; }
.status { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: .78rem; font-weight: 720; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 36px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.fact { padding: 20px; background: var(--surface); }
.fact strong { display: block; margin-bottom: 3px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; list-style: none; }
.features li { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }

.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-strong); }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }

.doc { padding-top: clamp(42px, 7vw, 80px); }
.doc h2 { padding-top: .35em; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; }
.meta { margin-bottom: 36px; color: var(--muted); }
.callout { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--accent-soft); }
.callout p { margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 680; }
.faq details p { margin-bottom: 0; color: var(--muted); }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.press-item { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.icon-slot { width: 112px; margin-bottom: 20px; border-radius: 25%; }
code { padding: .12em .35em; border-radius: .35em; background: var(--surface-strong); font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

.site-footer { padding: 30px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; }

@media (max-width: 800px) {
  .cards, .press-grid { grid-template-columns: 1fr; }
  .screens { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: min(100% - 24px, 1120px); }
  .nav { align-items: flex-start; }
  .nav-links { gap: 5px 12px; }
  .facts, .features { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; }
  .card { padding: 21px; border-radius: 19px; }
  .footer-row { flex-direction: column; }
  .app-hero { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
  .app-icon { width: 72px; height: 72px; }
  .app-hero h1 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
}
