:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #221a12;
  --ink-2: #6b5f53;
  --line: rgba(34, 26, 18, 0.08);
  --amber: #f19c38;
  --amber-deep: #c9731f;
  --amber-ink: #381f08;
  --radius: 28px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17130f;
    --surface: #211b16;
    --ink: #f4ede4;
    --ink-2: #b3a597;
    --line: rgba(255, 240, 225, 0.09);
    --amber-deep: #f6b56a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-deep); text-underline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.site a.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
header.site a.brand img { width: 28px; height: 28px; }
header.site nav { display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--ink-2); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img.icon { width: 112px; height: 112px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)); }
h1 {
  font: 700 clamp(34px, 7vw, 52px)/1.08 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.025em; margin: 20px 0 10px; text-wrap: balance;
}
.lede { font-size: 20px; color: var(--ink-2); margin: 0 auto 28px; max-width: 32ch; text-wrap: balance; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(#f8c27e, var(--amber)); color: var(--amber-ink);
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(241,156,56,.35), inset 0 1px 0 rgba(255,255,255,.6);
}
.badge.soon { background: var(--surface); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.note { font-size: 14px; color: var(--ink-2); margin-top: 12px; }

section { padding: 32px 0; }
h2 { font: 700 26px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-size: 17px; margin: 0 0 4px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface); border-radius: 22px; padding: 18px 20px;
  box-shadow: 0 0 0 1px var(--line);
}
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pro-tag {
  display: inline-block; font: 700 11px/1 -apple-system, system-ui; letter-spacing: .06em;
  color: var(--amber-deep); background: rgba(241,156,56,.16); padding: 4px 8px; border-radius: 999px;
  vertical-align: 2px; margin-left: 6px;
}
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--ink-2); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 8px 0 0; }

.doc h1 { font-size: clamp(30px, 6vw, 40px); margin-top: 32px; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc .updated { font-size: 14px; }

footer.site { padding: 40px 0 56px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); margin-top: 24px; }
footer.site a { color: var(--ink-2); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }


/* ---- Landing page: the App Store slide look ---- */
:root { --glow-1: #fff6ea; --glow-2: #fbeede; --glow-3: #f3dcc2; --eyebrow: #c9731f; }
@media (prefers-color-scheme: dark) {
  :root { --glow-1: #2a2119; --glow-2: #1d1712; --glow-3: #15110d; --eyebrow: #f6b56a; }
}
body.home {
  background:
    radial-gradient(120% 70% at 15% 0%, var(--glow-1) 0%, var(--glow-2) 45%, transparent 100%),
    linear-gradient(180deg, var(--glow-2) 0%, var(--bg) 60%, var(--glow-3) 100%);
  background-attachment: fixed;
}
.wrap.wide { max-width: 1120px; }

.feature {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr; padding: 56px 0;
}
@media (min-width: 860px) {
  .feature { grid-template-columns: 1.05fr 0.95fr; gap: 72px; padding: 72px 0; }
  .feature.flip .copy { order: 2; }
  .feature.flip .art { order: 1; }
}
.eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--eyebrow); margin: 0 0 14px;
}
.feature h1, .feature h2 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
  margin: 0 0 20px; text-wrap: balance;
}
.feature h2 { font-size: clamp(34px, 5vw, 56px); }
.feature .lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--ink-2); margin: 0 0 28px; max-width: 30ch; text-align: left; }
.hero-feature { padding-top: 40px; }
.feature .art { margin: 0; display: flex; justify-content: center; }
.feature .art img {
  width: auto; height: auto; max-width: min(100%, 440px); max-height: 640px;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(80, 45, 10, 0.25), 0 1px 0 var(--line);
}
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(#f8c27e, var(--amber));
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 4px; height: 8px;
  border: solid var(--amber-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); box-sizing: border-box;
}
.cards { padding: 24px 0 8px; }
.section-title { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; margin: 0 0 20px; }
.grid.four { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.home .card { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(8px); }
.home #support { max-width: 760px; margin: 32px auto 0; }
.home footer.site { max-width: 760px; margin-left: auto; margin-right: auto; }
