:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: #ececec;
  --soft: #f7f7f8;
  --accent: #c4141f;
  --measure: 66ch;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.nav { max-width: 760px; margin: 0 auto; padding: 28px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; font-size: .92rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

main { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--measure); }
.hero { padding: 13vh 0 9vh; }
.kicker { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; }
h1 { font-weight: 700; font-size: clamp(2.3rem, 6.5vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--muted); margin: 0; max-width: 34ch; text-wrap: pretty; }
h2 { font-weight: 650; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; margin: 2.6em 0 .6em; }
h3 { font-weight: 650; font-size: 1.1rem; margin: 2em 0 .4em; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
ul, ol { padding-left: 1.2em; }
li { margin: .35em 0; }

.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li { margin: 0; border-bottom: 1px solid var(--line); }
.list a, .list span { display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; color: var(--fg); text-decoration: none; }
.list a:hover { color: var(--accent); }
.list small { color: var(--faint); font-size: .85rem; white-space: nowrap; }

footer { max-width: 760px; margin: 96px auto 0; padding: 28px 24px 48px; border-top: 1px solid var(--line); color: var(--faint); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

.crumbs { font-size: .86rem; color: var(--faint); margin: 48px 0 0; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.article-head { padding: 24px 0 8px; }
.article-head h1 { font-size: clamp(2rem, 5.6vw, 2.9rem); }
.byline { font-size: .9rem; color: var(--faint); margin: 18px 0 0; }
.byline a { color: var(--muted); }
.answer { font-size: 1.18rem; line-height: 1.6; color: var(--fg); border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 36px 0 8px; }

.steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 1fr; gap: 18px; padding: 32px 0; border-top: 1px solid var(--line); margin: 0; }
@media (min-width: 680px) { .steps > li { grid-template-columns: 1fr 220px; align-items: start; gap: 32px; } }
.steps h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 .4em; font-size: 1.15rem; }
.steps h3::before { content: counter(step); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps p { margin: 0; color: var(--muted); }
.steps figure { margin: 0; justify-self: center; width: min(220px, 70vw); }
.steps figure img { border-radius: 18px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.35); aspect-ratio: 420 / 910; }

.note-box { background: var(--soft); border-radius: 14px; padding: 18px 20px; margin: 1.4em 0; }
.note-box p:last-child { margin: 0; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

.app-card { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 48px 0 0; }
.app-card img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.app-card b { display: block; font-size: 1.05rem; }
.app-card span { color: var(--muted); font-size: .95rem; }
.app-card .play { display: inline-block; margin-top: 10px; font-weight: 600; }
.fine { font-size: .86rem; color: var(--faint); margin-top: 28px; }

.shot { margin: 24px auto; width: min(220px, 70vw); }
.shot img { border-radius: 18px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.35); aspect-ratio: 420 / 910; }

.phone { margin: 0 auto; width: min(236px, 64vw); padding: 7px; border-radius: 36px; background: var(--soft); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 22px 44px -22px rgba(29,29,31,.28); }
.phone .screen { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 29px; overflow: hidden; background: #fff; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.phone .screen img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.phone figcaption { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--muted); }
.tap { position: absolute; left: var(--x); top: var(--y); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid var(--accent); background: rgba(196,20,31,.10); pointer-events: none; }
.tap::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); animation: tap-pulse 1.8s ease-out infinite; }
@keyframes tap-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tap::after { animation: none; opacity: 0; } }

.zoom { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; display: grid; place-items: center; }
.zoom:not([open]) { display: none; }
.zoom::backdrop { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); }
.zoom img { max-height: 92vh; max-width: 92vw; width: auto; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(29,29,31,.35); cursor: zoom-out; }
