@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-500i.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/fonts/jost-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/fonts/jost-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #fbf8f3;          /* ivory */
  --bg-deep: #f3ece1;     /* warm sand, alternate bands */
  --surface: #ffffff;
  --ink: #1d1916;
  --muted: #6f655b;
  --line: #e6dccd;
  --gold: #a8844c;
  --gold-soft: #d9c39c;
  --gold-ink: #8a6a35;
  --warn-bg: #fbf1dc; --warn-ink: #6a4b12;
  --error-bg: #f8e6e2; --error-ink: #8a2a1e;
  --radius: 4px;
  --serif: "Cormorant", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 8.5vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 5.5vw, 44px); line-height: 1.1; margin-bottom: 18px; }
h3 { font-size: 26px; line-height: 1.2; }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.eyebrow.gold { color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); margin: 22px 0 0; max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Header / footer ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--ink); }
.logo .mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.wordmark { font: 600 21px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; padding-top: 2px; }
.logo.small { gap: 10px; }
.logo.small .mark { width: 24px; height: 24px; }
.logo.small .wordmark { font-size: 16px; }
.who { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); min-width: 0; }
#who-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36vw; }
footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13px; padding: 36px 20px; border-top: 1px solid var(--line); margin-top: 40px;
}

main { flex: 1; width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 2px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #3a322b; border-color: #3a322b; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.primary:disabled:hover { background: var(--ink); }
.btn.big { min-height: 60px; padding: 0 36px; }
.btn:focus-visible, .link:focus-visible, input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn.link, .link {
  background: none; border: none; color: var(--ink); padding: 0 8px; min-height: 44px;
  font: 500 14px var(--sans); letter-spacing: .04em; text-decoration: underline; text-decoration-color: var(--gold-soft);
  text-underline-offset: 4px; cursor: pointer; display: inline-flex; align-items: center; text-transform: none;
}
.btn.link:hover, .link:hover { background: none; color: var(--gold-ink); }

/* ---------- Example frames (placeholder until /examples/<name>.jpg exists) ---------- */
.frame {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 35%, #fffdf9 0%, #f1e8da 70%, #e9dcc7 100%);
}
.frame::before {
  content: ""; position: absolute; left: 50%; top: 44%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 1.5px solid var(--gold); transform: rotate(45deg);
}
.frame::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; top: calc(44% + 26px);
  text-align: center; font: 500 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Landing ---------- */
.landing { padding-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero. Phones: small title, then the before/after takes most of the screen; the button is pinned to the bottom. */
.hero {
  display: grid; gap: 14px; padding-top: 18px; padding-bottom: 40px;
  grid-template-areas: "title" "show" "lead" "cta";
}
.hero h1 { grid-area: title; font-size: clamp(30px, 8.4vw, 72px); }
.hero h1 em { font-style: italic; color: var(--gold-ink); }
.hero .lead { grid-area: lead; margin: 18px 0 0; }
.showcase { grid-area: show; }
.hero-cta { grid-area: cta; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.hero-cta .btn { width: 100%; max-width: 360px; }

/* Before/after slider */
.compare {
  position: relative; overflow: hidden; background: var(--surface); user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize; --pos: 50%;
  /* Fill the width at 4:5, but never push the look buttons below the first screen on short phones. */
  height: clamp(280px, calc(100svh - 330px), calc((100vw - 40px) * 1.25));
  box-shadow: 0 30px 60px -34px rgba(60, 40, 20, .45);
}
.compare .pair, .compare .before, .compare .after { position: absolute; inset: 0; }
.compare .frame { position: absolute; inset: 0; aspect-ratio: auto; }
.compare .before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .before .frame { background: linear-gradient(160deg, #cfc6b8, #a99f90); }
.compare .before .frame::before { border-color: #fff; }
/* Placeholders: each label sits in its own half so they don't collide at the divider. */
.compare .frame::before { left: 25%; }
.compare .after .frame::before { left: 75%; }
.compare .frame::after { width: 50%; left: 0; right: auto; white-space: pre-line; padding: 0 10px; }
.compare .after .frame::after { left: 50%; }
.compare .before .frame::after { color: #fff; }
.compare img { pointer-events: none; -webkit-user-drag: none; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0; pointer-events: none; }
.handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.25); }
.handle span {
  position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' stroke='%23a8844c' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.compare:has(input:focus-visible) .handle span { outline: 2px solid var(--gold); outline-offset: 3px; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 255, 255, .92);
  font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 7px 9px;
}
.tag.after-tag { left: auto; right: 12px; color: var(--gold-ink); }

.look-switch { display: flex; gap: 6px; margin-top: 12px; }
.look-switch button {
  flex: 1; min-height: 44px; padding: 0 6px; background: transparent; border: 1px solid var(--line); color: var(--muted);
  font: 500 14px/1.2 var(--sans); letter-spacing: .02em; cursor: pointer;
  transition: all .2s var(--ease);
}
.look-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 959px) {
  /* Pinned call to action on phones and tablets, only while the landing page is showing. */
  .hero-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; margin: 0; align-items: stretch; gap: 0;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(251, 248, 243, .96);
    backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .hero-cta .btn { max-width: none; min-height: 54px; }
  .hero-cta .small { display: none; }
  body:has([data-screen="home"]:not([hidden])) { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .hero .lead { text-align: center; margin-left: auto; margin-right: auto; }
}

.block { padding-top: 84px; padding-bottom: 12px; }

/* More examples: two static before/after pairs. */
.duos { display: grid; gap: 40px; margin-top: 40px; }
.duo { margin: 0; }
.duo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--surface); padding: 8px; border: 1px solid var(--line); }
.duo-side { position: relative; }
.duo-side .tag { top: 10px; left: 10px; }
.duo-side .tag.after-tag { left: auto; right: 10px; }
/* Whole photo visible: letterbox on a soft studio tone instead of cropping. The img's own background hides the placeholder mark. */
.duo-side.fit .frame img { object-fit: contain; background: #efe8dd; }
.duo figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
@media (min-width: 860px) { .duos { grid-template-columns: 1fr 1fr; gap: 32px; } }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 34px; }
.steps li { text-align: center; padding: 0 8px; }
.steps .num { display: block; font: 500 italic 34px/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0 auto; color: var(--muted); max-width: 22em; }



.promise { background: var(--ink); color: #f3ece1; margin-top: 96px; padding: 84px 0; text-align: center; }
.promise h2 { color: #fff; font-style: italic; }
.promise p:last-child { max-width: 36em; margin: 0 auto; color: #cfc4b4; font-size: 18px; }

.closing { text-align: center; padding-top: 90px; padding-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.closing h2 { margin-bottom: 14px; }
.closing .btn { width: 100%; max-width: 360px; }

/* ---------- Flow ---------- */
.progress {
  list-style: none; display: flex; gap: 6px; max-width: 960px; padding-top: 28px; margin-bottom: 0; counter-reset: step;
}
.progress.wrap { padding-left: 20px; padding-right: 20px; } /* match .flow, not the wider landing gutters */
.progress li {
  flex: 1; font: 500 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-top: 12px; border-top: 2px solid var(--line); counter-increment: step;
}
.progress li::before { content: counter(step, upper-roman) "  "; color: var(--gold-soft); }
.progress li.done { border-color: var(--gold-soft); }
.progress li.now { border-color: var(--gold); color: var(--ink); }
.progress li.now::before, .progress li.done::before { color: var(--gold); }

.flow { max-width: 720px; margin: 0 auto; padding: 30px 20px 40px; }
.flow.wide { max-width: 960px; }
.flow h2 { margin-bottom: 20px; }
.flow.center { text-align: center; padding-top: 80px; }
.flow.center .lead { margin-left: auto; margin-right: auto; }
.progress:not([hidden]) + .flow, .progress ~ .flow { padding-top: 26px; }

/* ---------- Upload ---------- */
.flow-head { margin-bottom: 22px; }
.flow-head h2 { margin-bottom: 6px; }
.sub-lead { margin: 0; color: var(--muted); font-size: 17px; }
.upload-grid { display: grid; gap: 16px; }

.drop {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.drop::before { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--gold-soft); pointer-events: none; }
.drop.over { border-color: var(--gold); }
.drop.over::before { border-style: solid; border-color: var(--gold); background: rgba(168, 132, 76, .05); }
.drop.has-photo { padding: 14px; background: #f6f1ea; }
.drop.has-photo::before { display: none; }
.drop img { max-width: 100%; max-height: 56vh; object-fit: contain; box-shadow: 0 18px 40px -26px rgba(60, 40, 20, .5); }
.pick { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 300px; text-align: center; position: relative; }
.pick .btn { width: 100%; }
.pick .small { margin: 8px 0 0; font-size: 13px; }
.pick-mark { width: 18px; height: 18px; border: 1.5px solid var(--gold); transform: rotate(45deg); margin-bottom: 16px; }
.drop-title { margin: 0; font: 500 26px/1.2 var(--serif); }
.drop-or { margin: 0 0 4px; color: var(--muted); font-size: 14px; }

/* Touch screens get "Take a photo" + "Choose from gallery"; mouse/trackpad gets drag-and-drop + "Choose a photo". */
.only-fine { display: none; }
@media (hover: hover) and (pointer: fine) {
  .only-touch { display: none !important; }
  .only-fine { display: block; }
  span.only-fine { display: inline; }
  .pick .gallery { background: var(--ink); border-color: var(--ink); color: #fff; }
}

/* Tips live in the subtitle now; the drop box sits alone, centred under a centred heading. */
.upload .flow-head { text-align: center; margin-bottom: 30px; }
.upload > :not(.flow-head) { max-width: 760px; margin-inline: auto; } /* buttons, warnings, errors line up with the box */
@media (min-width: 860px) { .drop { min-height: 420px; } }

/* Free images left: quiet, in the header beside the account. */
.count { display: inline-flex; align-items: center; white-space: pre; }
.count[hidden] { display: none; }
.count::before { content: ""; margin-right: 8px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
.count:not([hidden]) + #who-email:not([hidden])::before { content: "·"; margin: 0 8px 0 2px; color: var(--line); }
.count.none { color: var(--error-ink); font-weight: 500; }
.count.none::before { background: var(--error-ink); }


.notice, .error, .warn { padding: 14px 16px; margin: 16px 0; border-left: 2px solid; }
.notice { background: var(--bg-deep); border-color: var(--gold); }
.error { background: var(--error-bg); color: var(--error-ink); border-color: var(--error-ink); }
.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-ink); }
.warn p { margin: 0; }
.warn .small { color: inherit; opacity: .85; margin-top: 4px; }
.landing > .error { margin-top: 20px; }

.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.actions .primary { flex: 1; max-width: 340px; margin-left: auto; }
.cost { text-align: right; margin: 10px 0 0; }

/* Radio inputs, hidden but focusable */
.choice input, .tile input { position: absolute; opacity: 0; pointer-events: none; }
.choice, .tile { cursor: pointer; display: block; position: relative; }

/* Picture tiles */
.tiles { display: grid; gap: 12px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.four { grid-template-columns: repeat(2, 1fr); }
.tile { height: 100%; } /* every card in a row matches the tallest */
.tile-in { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); padding: 6px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.tile-text { display: block; padding: 12px 6px 6px; }
.tile-text b { display: block; font: 500 20px/1.15 var(--serif); }
.tile-text small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.tile:hover .tile-in { border-color: var(--gold-soft); }
.tile input:checked + .tile-in { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 18px 36px -24px rgba(60, 40, 20, .5); }
.tile input:checked + .tile-in .frame::after { color: var(--ink); }
.tile input:checked + .tile-in::after {
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/14px no-repeat;
}
.tiles.four .frame { aspect-ratio: 1; }

.sub { border: none; padding: 0; margin: 34px 0 0; }
.sub fieldset { border: none; padding: 0; margin: 0 0 24px; }
legend { font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; padding: 0; }

/* Text chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice span { display: block; background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); }
.chips .choice span { padding: 0 22px; display: flex; align-items: center; min-height: 48px; font-size: 16px; }
.chips .choice:hover span { border-color: var(--gold-soft); }
.chips .choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }


/* Size cards */
.cards { display: grid; gap: 12px; }
/* Platforms: phones stack as rows; wider screens get five tall cards. */
.platforms { display: grid; gap: 10px; }
.platforms .choice > span { display: flex; align-items: center; gap: 18px; padding: 16px 18px; position: relative; }
.platforms .choice:hover > span { border-color: var(--gold-soft); }
.platforms .choice input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: #fffdf9; }
.platforms .choice input:checked + span::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pf-text { display: block; min-width: 0; background: none !important; border: 0 !important; } /* .choice span styles target the card only */
.pf-text b { display: block; font: 500 20px/1.25 var(--serif); }
.pf-text b + b { margin-top: 2px; }
.platforms .choice > span { height: 100%; }
@media (min-width: 860px) { .platforms .pf-text { display: flex; flex-direction: column; flex: 1; } .platforms .pf-text small { margin-top: auto; padding-top: 14px; } }
.size-h { margin-bottom: 6px !important; }
.size-lead { margin-bottom: 22px; }
.cost.over { color: var(--error-ink); }

/* "I want more photos" */
.more .lead { margin-bottom: 30px; }
.more #more-ask .btn { min-width: 280px; }
.more-thanks { font: 500 22px/1.4 var(--serif); max-width: 30em; margin: 0 auto 30px; }
.more-thanks b { font-weight: 600; }
.more-q { border: none; padding: 0; margin: 0 0 14px; }
.more-q legend { margin: 0 auto 14px; font-size: 15px; color: var(--ink); }
.more-q legend span { color: var(--muted); font-size: 13px; margin-left: 6px; }
.more-q .chips { justify-content: center; }
.more #more-back { margin-top: 26px; }
.more-line { margin-top: 18px; }
.more-line .link { font-size: inherit; }
.pf-text small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.phone {
  flex: none; width: 30px; height: 54px; border: 1.5px solid var(--line); border-radius: 6px; padding: 4px 3px;
  display: flex; align-items: center; justify-content: center; transition: border-color .2s var(--ease);
}
.phone .fill { display: block; width: 100%; background: var(--gold-soft); transition: background-color .2s var(--ease); }
.fill.f916 { height: 100%; } .fill.f45 { aspect-ratio: 4 / 5; } .fill.f11 { aspect-ratio: 1; }
.platforms .choice input:checked + span .phone { border-color: var(--gold); }
.platforms .choice input:checked + span .fill { background: var(--gold); }
@media (min-width: 860px) {
  .platforms { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .platforms .choice > span { flex-direction: column; justify-content: flex-start; text-align: center; gap: 22px; padding: 30px 14px 24px; height: 100%; }
  .platforms .choice { height: 100%; }
  .phone { width: 40px; height: 72px; border-radius: 8px; padding: 5px 4px; }
  .pf-text b { font-size: 19px; }
}
.choice input:disabled + span { opacity: .55; }

.summary { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary img { width: 48px; height: 48px; object-fit: cover; flex: none; }
.summary > div { flex: 1; min-width: 0; }
.summary .eyebrow { margin: 0 0 2px; font-size: 10px; }
.summary p:last-child { margin: 0; font: 500 17px/1.3 var(--serif); }

.making { margin-top: 30px; text-align: center; }
.making-line { margin: 18px 0 4px; font: 500 italic 24px/1.3 var(--serif); transition: opacity .5s var(--ease); }
.making-line.fade { opacity: 0; }
.bar { height: 1px; background: var(--line); overflow: hidden; max-width: 320px; margin: 0 auto; }
.bar span { display: block; height: 100%; width: 35%; background: var(--gold); animation: slide 2.2s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* Result */
.result-frame { display: block; background: var(--surface); padding: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .45); }
.result-frame img { width: 100%; }
/* single photo: keep Download above the fold on a laptop */
.result:not(.multi) .result-frame { display: inline-block; }
.result:not(.multi) .result-frame img { width: auto; max-width: 100%; max-height: calc(100vh - 420px); min-height: 300px; object-fit: contain; }
.result-item { margin: 0; display: grid; gap: 14px; }
.result-body { display: grid; gap: 14px; }
.result-item .btn { width: 100%; }
.result-item figcaption { text-align: center; }
.result-item figcaption b { display: block; font: 500 34px/1.15 var(--serif); }
.result.multi .result-item figcaption b { font-size: 24px; }
.result-item figcaption small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.result { max-width: 520px; margin-inline: auto; text-align: center; }
.result.multi { max-width: 1080px; }
.result-side { margin-top: 22px; }
.result-list { display: grid; gap: 28px; }
.result.multi .result-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-template-rows: auto auto; align-items: start; }
/* Labels share one row (bottom-aligned); photos start on one line beneath, each with its button right under it. */
.result.multi .result-item { grid-row: span 2; grid-template-rows: subgrid; }
.result.multi .result-item figcaption { align-self: end; }
.result.multi .result-body { align-self: start; align-content: start; }

/* Entrance */
[data-screen]:not([hidden]) { animation: rise .5s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-screen]:not([hidden]) { animation: none; }
  .bar span { animation: none; width: 100%; opacity: .5; }
}

/* ---------- Phones: main button full width, Back underneath ---------- */
@media (max-width: 560px) {
  .actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .actions .primary { max-width: none; margin-left: 0; }
  .btn { letter-spacing: .1em; }
  .cost { text-align: center; }
}

/* ---------- Small phones ---------- */
@media (max-width: 420px) {
  .progress li { letter-spacing: .1em; }
  .progress li::before { content: none; }
  .tiles.three { gap: 8px; }
  .tile-in { padding: 4px; }
  .tile-text { padding: 8px 2px 4px; }
  .tile-text b { font-size: 17px; }
  .tile-text small { font-size: 12px; }
  .tile input:checked + .tile-in::after { top: 10px; right: 10px; width: 18px; height: 18px; background-size: 12px; }
  .frame::after { font-size: 9px; letter-spacing: .14em; }
  #who-email { display: none; }
  .count .long { display: none; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 760px) {
  .tiles.four { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (min-width: 960px) {
  .top { padding: 20px 40px; }
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hero {
    grid-template-columns: 1fr minmax(0, 1fr); column-gap: 72px; row-gap: 0; padding-top: 40px; padding-bottom: 80px;
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". show" "title show" "lead show" "cta show" ". show";
  }
  .hero h1 { font-size: clamp(48px, 5.4vw, 76px); }
  .hero .lead { margin-top: 22px; }
  .hero-cta { margin-top: 34px; }
  .compare { height: auto; aspect-ratio: 4 / 5; max-height: calc(100vh - 190px); margin-left: auto; }
  .showcase { max-width: 520px; width: 100%; justify-self: end; }
}

#more-email { white-space: nowrap; }
