/* Quiet, Apple-style marketing page: neutrals everywhere, the app's green only on links (darkened on white so body-size text stays readable). */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --ink: #1D1D1F;
  --ink-muted: #6E6E73;
  --line: #D2D2D7;
  --link: #217A40;
  --bezel: #1D1D1F;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-alt: #161617; --ink: #F5F5F7; --ink-muted: #86868B; --line: #424245;
    --link: #5CC783; --bezel: #2C2C2E;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-alt: #161617; --ink: #F5F5F7; --ink-muted: #86868B; --line: #424245;
  --link: #5CC783; --bezel: #2C2C2E;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Header: thin and quiet */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.top nav { display: flex; gap: 24px; font-size: 13px; }
.top nav a { color: var(--ink-muted); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* Sections: centered headline, one line of copy, then the picture */
section { padding: 96px 0; text-align: center; }
section.alt { background: var(--bg-alt); }
h1, h2 { font-weight: 700; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
/* A headline clause stays whole, so a narrow screen breaks at the comma instead of leaving one character
   on a line; body copy is only balanced, since whole clauses there leave ragged gaps. */
.p { display: inline-block; }
h1, h2, .sub { text-wrap: balance; }
.sub { font-size: clamp(19px, 2.4vw, 24px); color: var(--ink-muted); margin: 16px auto 0; max-width: 32em; line-height: 1.4; }
.note { font-size: 17px; color: var(--ink-muted); margin: 20px 0 0; }
.more { display: inline-block; font-size: 17px; margin-top: 20px; }
.more::after { content: " ›"; }

.hero { padding-top: 72px; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; display: block; margin: 0 auto 24px; }

/* A plain device outline around each screenshot */
.device {
  width: min(300px, 72vw); margin: 56px auto 0; padding: 9px;
  background: var(--bezel); border-radius: 50px;
}
.device img { display: block; width: 100%; height: auto; border-radius: 41px; }
.hero .device { width: min(340px, 78vw); }

/* The film: as wide as the column, never upscaled past its own size */
.film { display: block; width: 100%; height: auto; margin: 48px auto 0; border-radius: 18px; background: #F3F5F1; box-shadow: 0 20px 60px rgba(0,0,0,.12); }

.entries { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 19px; font-weight: 600; }
.entries li span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-muted); }

/* Footer */
footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 12px; color: var(--ink-muted); }
footer p { margin: 0 0 10px; line-height: 1.6; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 16px; }
footer a { color: var(--ink-muted); }

/* Text pages */
.doc { max-width: 692px; margin: 0 auto; padding: 64px 22px 80px; text-align: left; }
.doc h1 { font-size: 40px; }
.doc .updated { color: var(--ink-muted); font-size: 14px; margin: 8px 0 40px; }
.doc h2 { font-size: 24px; margin: 40px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; }
.doc ul { padding-left: 1.2em; }
.doc .summary { font-size: 21px; line-height: 1.5; margin: 0 0 8px; }
.faq { margin: 8px 0 0; }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.faq p { margin: 0; color: var(--ink-muted); }

@media (max-width: 734px) {
  .sub br { display: none; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .device { margin-top: 40px; }
}
