/* Glow Up — the identity from the icon (direction A, the identity boards):
   aubergine and paper grounds, headlines in two lines with the second in the
   accent, SF for headlines and text as on Apple's pages, Funnel Display for
   the wordmark only, and the brand device: two photos, the later one raised
   and lit. The glow is light only, never inside letters. */

@font-face {
  font-family: "Funnel Display";
  src: url("fonts/FunnelDisplay-VF.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --aubergine: #1F0E25;
  --plum: #34183A;
  --then: #7E6680;
  --coral: #FF9A8C;
  --apricot: #FFC07A;
  --gold: #FFF1A6;
  --ember: #D9573E;
  --paper: #FBF5F0;
  --ink: #1A1420;
  --ink-2: #625A68;
  --mist: #B8ADBC;

  /* Light: paper. Ember is for large text only; small accent text takes --link (5.6:1). */
  --bg: var(--paper);
  --bg-2: #F3EAE3;
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --accent: var(--ember);
  --link: #A8402B;
  --line: rgba(26, 20, 32, .12);
  --nav: rgba(251, 245, 240, .78);
  --pill-bg: var(--ink);
  --pill-fg: #fff;
  --field: #fff;
  --halo: rgba(255, 150, 100, .38);
  --ring: rgba(217, 87, 62, .28);
  --error: #B3261E;

  --brand: "Funnel Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  color-scheme: light dark;
}

/* Dark: aubergine, apricot accent. Also the always-dark band (.dark). */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--aubergine);
    --bg-2: var(--plum);
    --fg: #fff;
    --fg-2: var(--mist);
    --accent: var(--apricot);
    --link: var(--apricot);
    --line: rgba(255, 255, 255, .13);
    --nav: rgba(31, 14, 37, .74);
    --pill-bg: var(--apricot);
    --pill-fg: var(--ink);
    --field: rgba(255, 255, 255, .06);
    --halo: rgba(255, 160, 100, .45);
    --ring: rgba(255, 210, 150, .55);
    --error: #FF9A8C;
  }
}
.dark {
  --bg: var(--aubergine);
  --bg-2: var(--plum);
  --fg: #fff;
  --fg-2: var(--mist);
  --accent: var(--apricot);
  --link: var(--apricot);
  --line: rgba(255, 255, 255, .13);
  --halo: rgba(255, 160, 100, .45);
  --ring: rgba(255, 210, 150, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 52px; }

/* The wordmark: lowercase, "up" raised like the later photo in the icon. */
.wm { font: 600 1em/1 var(--brand); letter-spacing: -0.035em; white-space: nowrap; color: var(--fg); }
.wm .up { display: inline-block; transform: translateY(-0.16em); color: var(--accent); }
.app-icon { border-radius: 22.5%; }

/* Navigation: thin, sticky, translucent. */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; height: 52px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 22px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--fg-2); font-size: 14px; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-fg); font: 600 13px/1 var(--text);
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Sections: one idea, one picture, a lot of air. */
.section { padding: clamp(96px, 13vw, 168px) var(--gutter); text-align: center; overflow: clip; }
.inner { max-width: 1080px; margin: 0 auto; }
.headline {
  margin: 0; font: 700 clamp(44px, 7vw, 84px)/1.03 var(--display); letter-spacing: -0.022em; color: var(--fg);
  text-wrap: balance;
}
.headline em, .tile h3 em { font-style: normal; color: var(--accent); }
.hero .what { margin: 0 0 14px; font: 600 clamp(17px, 1.7vw, 21px)/1.3 var(--text); color: var(--fg); text-wrap: balance; }
.hero .headline { font-size: clamp(48px, 8.4vw, 104px); line-height: 1; }
.sub {
  max-width: 640px; margin: 24px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--fg-2);
  text-wrap: pretty;
}
.facts-strip .reveal + .facts { margin-top: clamp(40px, 5vw, 64px); }
/* Questions on the landing pages: native disclosure, one hairline between. */
.guide { max-width: 680px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: left; }
.guide p { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.faq { max-width: 720px; margin: clamp(32px, 4vw, 48px) auto 0; text-align: left; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
               font: 600 19px/1.3 var(--display); color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--fg-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--fg-2); }
.fine { max-width: 560px; margin: 28px auto 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }

/* Hero */
/* Compact enough that the photos and their day labels show on the first screen. */
.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(88px, 11vw, 140px); }
.hero .sub { text-wrap: balance; }
@media (max-width: 480px) { .hero .sub br { display: none; } }
.hero .app-icon { width: 64px; height: 64px; margin: 0 auto 18px; box-shadow: 0 12px 40px rgba(31, 14, 37, .22); }
.cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.badge img { height: 52px; width: auto; }
.cta .note { font-size: 15px; color: var(--fg-2); }

/* The brand device: two photos side by side, the later raised and lit. */
.pair { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2vw, 20px); }
.pair figure { margin: 0; flex: 0 1 auto; }
.pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: clamp(14px, 2vw, 24px); }
.pair figcaption { margin-top: 12px; font: 500 15px/1 var(--text); color: var(--fg-2); text-align: left; }
.pair .then img { filter: saturate(.55) brightness(.86); }
.pair .now { transform: translateY(-9%); }
.pair .now img { box-shadow: 0 0 0 1.5px var(--ring), 0 0 80px var(--halo); }
.pair .now figcaption { color: var(--link); }
/* The light behind the later photo: the glow, never in letters. */
.pair::before {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -8%; top: -18%;
  background: radial-gradient(closest-side, rgba(255, 192, 122, .38), rgba(255, 154, 140, .14), transparent);
  pointer-events: none;
}
.hero .pair { width: fit-content; margin: clamp(52px, 6vw, 80px) auto 0; }
.pair figure { position: relative; }
/* The day on the photo itself, at its top, so it shows as soon as the photo does. */
.pair .day {
  position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px;
  font: 600 13px/1 var(--text); color: #fff; background: rgba(20, 12, 24, .5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pair .now .day { background: var(--apricot); color: var(--ink); }
.hero .pair figure { width: min(320px, 42vw); }
.hero .headline.long { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; }
.pair-note { margin: 22px 0 0; font-size: 14px; color: var(--fg-2); text-wrap: balance; }
.pair-note b { font-weight: 600; color: var(--fg); }
/* The photos taken on the way, so the pair reads as taken, not made; a day picks the earlier photo. */
.roll { position: relative; isolation: isolate; display: flex; justify-content: center; width: min(660px, 100%); margin: 28px auto 0; padding: 0; list-style: none; }
.roll::before { content: ""; position: absolute; z-index: -1; top: 21px; left: 10%; right: 10%; height: 2px; border-radius: 2px;
                background: linear-gradient(90deg, var(--line), var(--accent)); }
.roll li { flex: 1; display: flex; justify-content: center; }
.roll button, .roll .last { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 44px; padding: 4px 0;
               font: 400 14px/1.2 var(--text); color: var(--fg-2); background: none; border: 0; cursor: pointer; }
.roll .dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg);
             border: 1px solid var(--line); color: var(--fg-2); transition: background .2s, color .2s, border-color .2s; }
.roll svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.roll button:hover .dot { border-color: var(--fg-2); }
.roll button:focus-visible { outline: none; }
.roll button:focus-visible .dot { box-shadow: 0 0 0 3px var(--ring); }
.roll button[aria-pressed="true"] { color: var(--fg); font-weight: 600; }
.roll button[aria-pressed="true"] .dot { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.roll .last { color: var(--link); font-weight: 600; cursor: default; }
.roll .last .dot { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.hero .pair .then img { transition: opacity .25s ease; }

@media (prefers-reduced-motion: no-preference) {
  .hero .pair .now { animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .hero .pair .now img { animation: light 1.6s ease .35s both; }
  .hero .pair::before { animation: dawn 2s ease .35s both; }
}
@keyframes rise { from { transform: none; } to { transform: translateY(-9%); } }
@keyframes light { from { box-shadow: 0 0 0 1.5px transparent, 0 0 80px transparent; } }
@keyframes dawn { from { opacity: 0; } }

/* Camera: an always-dark band, the phone rising out of its lower edge. */
.band { background: var(--bg); color: var(--fg); padding-bottom: 0; position: relative; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 78%, rgba(255, 170, 120, .16), transparent 70%),
              radial-gradient(55% 40% at 80% 42%, rgba(74, 33, 64, .85), transparent 75%);
}
.band > * { position: relative; }

/* The phone: a real frame (tools/phone-frame.swift) over the screen. Offsets are
   fractions of the width, so a shorter --cut only crops the phone's lower part. */
.phone { position: relative; width: min(380px, 80vw); aspect-ratio: var(--cut, 924 / 1484); margin: clamp(56px, 7vw, 80px) auto 0; overflow: hidden; }
.phone .screen { position: absolute; top: 0; left: 7.5%; width: 85%; height: auto; margin-top: 4.7%; border-radius: 5.4% / 2.9%; }
.phone .frame { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; }

/* Short facts under a big picture. */
.facts {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; text-align: left;
}
.facts h3 { margin: 0 0 8px; font: 600 21px/1.2 var(--display); letter-spacing: -0.01em; color: var(--fg); }
.facts p { margin: 0; color: var(--fg-2); }
.facts-strip { padding-top: clamp(72px, 9vw, 112px); padding-bottom: 0; }
.facts.four { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
@media (max-width: 1000px) { .facts.four { grid-template-columns: 1fr 1fr; max-width: 720px; } }
@media (max-width: 820px) { .facts.four { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; gap: 28px; max-width: 520px; } }

/* Compare: a before/after slider that works like the app's. */
.compare {
  --pos: 50%;
  position: relative; width: min(560px, 100%); aspect-ratio: 3 / 4; margin: clamp(56px, 7vw, 80px) auto 0;
  border-radius: clamp(20px, 3vw, 32px); overflow: hidden; touch-action: pan-y; cursor: ew-resize;
  user-select: none; -webkit-user-select: none; background: var(--bg-2);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare .knob {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  display: grid; place-items: center; color: var(--ink);
}
.compare .knob svg { width: 22px; height: 22px; }
.compare input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare input:focus-visible ~ .divider .knob { outline: 3px solid var(--link); outline-offset: 3px; }
.compare .date {
  position: absolute; bottom: 16px; padding: 7px 12px; border-radius: 999px; pointer-events: none;
  font: 600 13px/1 var(--text); color: #fff; background: rgba(20, 12, 24, .48);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.compare .d-then { left: 16px; }
.compare .d-now { right: 16px; }

/* Two tiles: a headline each and a phone rising from the tile's edge. */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1080px; margin: clamp(80px, 10vw, 120px) auto 0; }
.tile {
  background: var(--bg-2); border-radius: 32px; overflow: hidden; text-align: left;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column;
}
.tile h3 { margin: 0; font: 700 clamp(30px, 3.4vw, 40px)/1.06 var(--display); letter-spacing: -0.018em; color: var(--fg); }
.tile p { margin: 14px 0 40px; color: var(--fg-2); max-width: 400px; }
.tile .phone { --cut: 924 / 1120; width: min(300px, 78%); margin: auto auto 0; }
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr; max-width: 520px; } }

/* Ready to post: the timelapse as the app draws it (Timelapse.swift: 1080×1920,
   black, the photo in 48/150/984×1312 with 44 corners, date and day under it)
   and the before-and-after card (CompareView: white, 540×720 photos, the date under). */
.tile .lapse, .tile .share-card { margin: auto auto 44px; }
.lapse {
  position: relative; width: min(270px, 72%); aspect-ratio: 9 / 16; background: #000; border-radius: 26px;
  overflow: hidden; container-type: inline-size; box-shadow: 0 0 0 1.5px var(--ring), 0 20px 60px -20px var(--halo);
}
.lapse img {
  position: absolute; left: 4.44%; top: 7.81%; width: 91.11%; height: 68.33%; object-fit: cover;
  border-radius: 4.5% / 3.35%; opacity: 0; transition: opacity .25s linear;
}
.lapse img.on { opacity: 1; }
.lapse-caption { position: absolute; left: 0; right: 0; top: 79.8%; margin: 0; text-align: center; color: #fff; }
.lapse-caption b { display: block; font: 600 5.93cqw/1.2 var(--text); }
.lapse-caption span { display: block; margin-top: 1.1cqw; font: 400 4.26cqw/1.2 var(--text); color: rgba(255, 255, 255, .6); }
.share-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 14px; padding: 2.1%; container-type: inline-size;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1%; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .35);
}
.share-card figure { margin: 0; }
.share-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.share-card figcaption { margin-top: .9cqw; text-align: center; font: 500 2.7cqw/1.3 var(--text); color: #000; }
@media (prefers-reduced-motion: reduce) { .lapse img { transition: none; } }

/* What people track: the brand device, small, per tracker. */
.gallery { list-style: none; padding: 0; margin: clamp(56px, 7vw, 80px) auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-2); border-radius: 28px; padding: 44px 24px 24px; text-align: left; }
.card .pair { gap: 8px; }
.card .pair figure { width: 44%; }
.card .pair img { border-radius: 14px; }
.card .pair .now img { box-shadow: 0 0 0 1px var(--ring), 0 0 36px var(--halo); }
.card .pair::before { width: 60%; right: 0; top: -20%; }
.card h3 { margin: 20px 0 4px; font: 600 21px/1.2 var(--display); letter-spacing: -0.01em; color: var(--fg); }
.card p { margin: 0; font-size: 15px; color: var(--fg-2); }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
}

/* Privacy */
.privacy .facts { margin-top: clamp(56px, 7vw, 88px); }
.privacy .facts li { border-top: 1px solid var(--line); padding-top: 22px; }
.more { display: inline-block; margin-top: 48px; font-size: 17px; }

/* Free and Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: clamp(56px, 7vw, 80px) auto 0; text-align: left; }
.plan { background: var(--bg-2); border-radius: 28px; padding: 36px 32px; }
.plan h3 { margin: 0 0 10px; font: 700 26px/1.1 var(--display); letter-spacing: -0.012em; color: var(--fg); }
.plan p { margin: 0; color: var(--fg-2); }
.plan.pro { box-shadow: inset 0 0 0 1.5px var(--ring), 0 18px 50px -24px var(--halo); }
.pro-cta { margin-top: 48px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Contact */
.form { max-width: 640px; margin: clamp(48px, 6vw, 64px) auto 0; display: grid; gap: 16px; text-align: left; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.form label small { font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 17px/1.4 var(--text); color: var(--fg); background: var(--field);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 150px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 0; border-color: transparent; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-fg); font: 600 17px/1 var(--text); cursor: pointer;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button:disabled { opacity: .5; cursor: progress; }
.form-status { font-size: 15px; color: var(--fg-2); }
.form-status[data-kind="ok"] { color: var(--link); }
.form-status[data-kind="error"] { color: var(--error); }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 40px; font-size: 13px; color: var(--fg-2); }
.foot .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--fg-2); }
.foot nav a:hover { color: var(--fg); }
.foot .legal { flex-basis: 100%; margin: 4px 0 0; line-height: 1.5; }

/* Documents: privacy, terms, support. */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 96px; }
.doc h1 { margin: 0 0 12px; font: 700 clamp(40px, 6vw, 60px)/1.05 var(--display); letter-spacing: -0.02em; }
.doc h2 { margin: 44px 0 8px; font: 600 22px/1.25 var(--display); letter-spacing: -0.01em; }
.doc p { margin: 0 0 14px; color: var(--fg-2); }
.doc p.lead { font-size: 20px; color: var(--fg); }
.doc .muted { font-size: 15px; }
.doc .button { margin-top: 8px; }

/* Guides: an article in the document column. */
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.3em; color: var(--fg-2); }
.doc li { margin: 0 0 8px; line-height: 1.55; }
.article .crumb { margin: 0 0 14px; font-size: 15px; }
.article .lead { margin-top: 18px; }
.article .pair { width: fit-content; margin: 48px auto 0; }
.article .pair figure { width: min(260px, 40vw); }
.article .fine { margin: 18px auto 8px; text-align: center; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(6px, 1.2vw, 12px); margin: 40px 0 0; }
.strip figure { margin: 0; }
.strip img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: clamp(8px, 1.2vw, 14px); }
.strip figure:not(:last-child) img { filter: saturate(.7) brightness(.92); }
.strip figure:last-child img { box-shadow: 0 0 0 1.5px var(--ring), 0 0 40px var(--halo); }
.strip figcaption { margin-top: 8px; font: 500 13px/1.2 var(--text); color: var(--fg-2); text-align: center; }
.tool { margin: 48px 0; padding: 28px 24px; border-radius: 24px; background: var(--bg-2); }
.tool h2 { margin-top: 0 !important; }
.tool .cta { justify-content: flex-start; margin-top: 20px; }
.doc .faq { margin-top: 12px; }
.related a, .guides a { font-weight: 500; }
.guides { list-style: none; padding: 0 !important; margin-top: 40px !important; }
.guides li { padding: 22px 0; border-top: 1px solid var(--line); margin: 0; }
.guides h2 { margin: 0 0 6px !important; }
.guides p { margin: 0; }
.guide .more { margin-top: 26px; font-size: 15px; }

/* The body photo guide: three poses, numbered steps, the camera's own words. */
.guide-hero .poses { display: flex; justify-content: center; gap: clamp(10px, 1.6vw, 20px); margin: clamp(48px, 6vw, 72px) auto 0; }
.poses figure { margin: 0; width: min(240px, 30vw); }
.poses img, .step-pic img { width: 100%; height: auto; border-radius: clamp(14px, 2vw, 20px); box-shadow: inset 0 0 0 1px var(--line); }
.poses figcaption { margin-top: 12px; font: 600 15px/1 var(--text); color: var(--fg-2); }
.guide-steps { padding-top: clamp(32px, 5vw, 64px); }
.steps { list-style: none; max-width: 1080px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 0; text-align: left; }
.step { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center;
        padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 52px; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-pic { margin: 0; }
.step-pic.pose img { width: min(300px, 100%); margin: 0 auto; }
.step-num { font: 700 14px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.step h3 { margin: 12px 0 14px; font: 700 clamp(30px, 3.4vw, 40px)/1.06 var(--display); letter-spacing: -0.018em; color: var(--fg); text-wrap: balance; }
.step p { margin: 0; max-width: 480px; color: var(--fg-2); }
.says { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
        background: #1c1c1e; color: #fff; font: 600 14px/1.2 var(--text); }
.chip svg, .voice svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip.ok svg { color: #34C759; }
.chip.warn svg { color: #FFD60A; }
.voice { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--fg-2); }
.voice svg { color: var(--link); }
/* Step 2: the camera screen before Start, drawn as CaptureView draws it. */
.cam { width: min(260px, 100%); margin: 0 auto; padding: 8px; border-radius: 44px; background: #1c1c1e; box-shadow: 0 30px 60px rgba(31, 14, 37, .2); }
.cam-screen { display: flex; flex-direction: column; align-items: center; padding: 44px 12px 20px; border-radius: 36px; background: #000; color: #fff; }
.cam-view { width: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; }
.cam-view img { width: 100%; height: 100%; object-fit: cover; }
.cam-tip { margin: 14px 6px 0; font: 600 12px/1.35 var(--text); text-align: center; color: #fff; }
.cam-tiles { display: flex; gap: 8px; margin-top: 14px; }
.cam-tiles span { display: grid; place-items: end center; width: 52px; height: 52px; padding-bottom: 5px; border-radius: 10px;
                  background: #2c2c2e; font: 500 9px/1 var(--text); color: #aeaeb2; }
.cam-shutter { width: 54px; height: 54px; margin-top: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 4px #000; background: #FF3B30; }
.tinted { background: var(--bg-2); }
.mistakes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; max-width: 1000px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0; text-align: left; }
.mistakes h3 { margin: 0 0 8px; font: 600 21px/1.2 var(--display); letter-spacing: -0.01em; color: var(--fg); }
.mistakes p { margin: 0; color: var(--fg-2); }
.mistakes .chip { margin-top: 12px; padding: 7px 12px; font-size: 13px; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; }
  .step-pic { max-width: 440px; }
  .mistakes { grid-template-columns: 1fr; gap: 32px; max-width: 520px; }
}

/* Appear on scroll, once. Without JS or with reduced motion, everything is simply there. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
.nowrap { white-space: nowrap; }
