/* MeSee website. Same palette as the app: bluish cream in light, neutral graphite in dark.
   Mobile first. WCAG 2.2 AA: text ≥ 4.5:1, large text and UI ≥ 3:1, visible focus, 44 px targets,
   no content hidden behind animation, reduced motion respected, and a pause control for moving demos. */
:root {
  --canvas: #FBF8F1;
  --canvas-2: #F3EEE2;
  --card: #FFFFFF;
  --card-2: #F1ECE0;
  --text: #19202B;
  --muted: #4A5361;
  --accent: #2B5797;
  --accent-strong: #1F4478;
  --accent-soft: #DDE8F7;
  --on-accent: #FFFFFF;
  --line: #E0D8C6;
  --focus: #C2410C;
  --good: #1F7A4D;
  --shadow: 0 1px 2px rgba(25, 32, 43, .06), 0 10px 28px -14px rgba(25, 32, 43, .22);
  --radius: 20px;
  --gutter: 1rem;
  --serif: "New York", "Iowan Old Style", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #131416;
    --canvas-2: #18191C;
    --card: #1F2124;
    --card-2: #282B2F;
    --text: #F2F3F5;
    --muted: #B9BFC8;
    --accent: #9CC3FF;
    --accent-strong: #C2DAFF;
    --accent-soft: #23303F;
    --on-accent: #111316;
    --line: #33363B;
    --focus: #FDBA74;
    --good: #6EE7A8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 36px -18px rgba(0, 0, 0, .75);
  }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); --line: var(--text); }
}
@media (min-width: 40rem) { :root { --gutter: 1.5rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 40rem) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 8vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 5.2vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
ul.plain, ol.plain { list-style: none; margin: 0; padding: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -6rem; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: .8rem 1.1rem; border-radius: 12px; font-weight: 700;
}
.skip:focus { top: .75rem; }

.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
section { padding: clamp(3rem, 8vw, 6rem) 0; }
section.alt { background: var(--canvas-2); }

/* Section heading: always centred, content below keeps its own alignment. */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-head p { margin-inline: auto; }
.section-head > :last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 700 .8rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .9rem;
}
.eyebrow svg { width: 1.2em; height: 1.2em; flex: none; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }
.muted { color: var(--muted); }
.note { margin-top: 2rem; text-align: center; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.site-nav ul { display: flex; align-items: center; gap: .25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: .12em; }
.menu-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px; padding: 0 .9rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text);
  font: 700 1rem/1 var(--sans); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* Phones: the nav folds behind a Menu button (only when JavaScript can open it). */
@media (max-width: 47.99rem) {
  .has-menu .menu-toggle { display: inline-flex; }
  .has-menu .site-nav { display: none; }
  .has-menu .site-nav.open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1rem;
  }
  .has-menu .site-nav.open ul { flex-direction: column; align-items: stretch; gap: 0; }
  .has-menu .site-nav.open a { width: 100%; min-height: 52px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .has-menu .site-nav.open li:last-child a { border-bottom: 0; }
  /* Without JavaScript the links simply wrap under the logo. */
  html:not(.has-menu) .bar { flex-wrap: wrap; padding-block: .4rem; }
  html:not(.has-menu) .site-nav ul { flex-wrap: wrap; gap: 0 1rem; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1.4rem; border-radius: 16px; border: 0;
  background: var(--accent); color: var(--on-accent); font: 700 1.05rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
}
.button:hover { filter: brightness(1.06); text-decoration: none; }
.button.secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 29.99rem) { .actions .button { flex: 1 1 100%; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); overflow: hidden; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.hero h1 .accent { color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.badges li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; font-weight: 600;
}
.badges svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Demos (phone, viewfinder) with their pause control underneath */
.demo { display: grid; justify-items: center; gap: .9rem; min-width: 0; }
.pause {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: 700 .95rem/1 var(--sans); cursor: pointer;
}
.pause svg { width: 18px; height: 18px; }
.coach .pause { background: #1F2124; color: #F2F3F5; border-color: #3A3D42; }

/* Phone mockup */
.phone {
  position: relative; width: min(100%, 270px); aspect-ratio: 9 / 18.5;
  border-radius: 44px; padding: 10px; background: #0E0F11;
  box-shadow: 0 34px 70px -30px rgba(25, 32, 43, .55), inset 0 0 0 2px #2A2D31;
}
@media (min-width: 60rem) { .phone { width: min(100%, 320px); } }
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%);
  background: #000; border-radius: 20px; z-index: 3;
}
.screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: var(--canvas); display: flex; flex-direction: column; }
.screen .photo { position: relative; flex: 1; }
.screen .photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vo-ring { /* VoiceOver cursor */
  position: absolute; inset: 10px; border: 3px solid #111; border-radius: 22px; box-shadow: 0 0 0 3px #fff;
  opacity: 0; animation: ring 7s ease-in-out infinite;
}
.panel { background: var(--card); padding: 14px 16px 20px; border-top: 1px solid var(--line); min-height: 44%; }
.panel .who { display: flex; align-items: center; gap: .5rem; font: 700 .75rem/1 var(--sans); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .55rem; }
.panel .who img { width: 24px; height: 24px; border-radius: 7px; }
.typed { font-size: .95rem; line-height: 1.5; min-height: 6.2em; margin: 0; }
.typed .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .7rem; }
.chips span { font-size: .78rem; font-weight: 700; padding: .35rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.float-card {
  position: absolute; z-index: 4; background: var(--card); border-radius: 16px; padding: .65rem .85rem; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; display: none; align-items: center; gap: .5rem; white-space: nowrap;
}
.float-card svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
@media (min-width: 60rem) {
  .float-card { display: flex; }
  .float-1 { left: -22%; top: 16%; animation: bob 6s ease-in-out infinite; }
  .float-2 { right: -20%; bottom: 6%; animation: bob 7s ease-in-out -2s infinite; }
}

/* ---------- Trust strip ---------- */
.strip { padding: 1.25rem 0; border-block: 1px solid var(--line); background: var(--canvas-2); }
.strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; list-style: none; margin: 0 auto; padding: 0; font-weight: 700; color: var(--muted); font-size: .95rem; }
@media (min-width: 48rem) { .strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; font-size: 1rem; } }
.strip li { display: flex; align-items: center; gap: .5rem; }
.strip svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* ---------- Cards and grids (always left-aligned) ---------- */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .grid { gap: 1.25rem; } }
.card { background: var(--card); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
@media (min-width: 40rem) { .card { padding: 1.6rem; } }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: .9rem;
  background: var(--accent); color: var(--on-accent); font: 800 1.1rem/1 var(--sans);
}

/* Features: icon beside the title on phones (text gets the full width), above it on wider screens */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 0 .85rem; align-items: center; }
.feature .icon { width: 42px; height: 42px; margin: 0; }
.feature h3 { margin: 0; }
.feature > div:last-child { grid-column: 1 / -1; margin-top: .6rem; }
@media (min-width: 40rem) {
  .feature { display: block; }
  .feature .icon { width: 48px; height: 48px; margin-bottom: .9rem; }
  .feature h3 { margin-bottom: .35rem; }
  .feature > div:last-child { margin-top: 0; }
}
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: .9rem; }
.icon svg { width: 26px; height: 26px; }
.feature blockquote { margin: .8rem 0 0; padding: .6rem .85rem; border-radius: 12px; background: var(--canvas-2); font-size: .95rem; font-style: italic; }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--good); margin-top: .2rem; }

/* Chat demo */
.chat { background: var(--card); border-radius: 26px; padding: 1.2rem; box-shadow: var(--shadow); display: grid; gap: .7rem; width: 100%; max-width: 30rem; justify-self: center; }
.bubble { max-width: 85%; padding: .7rem .95rem; border-radius: 20px; font-size: 1rem; line-height: 1.5; }
.bubble.me { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.bubble.iris { justify-self: start; background: var(--card-2); border-bottom-left-radius: 6px; }

/* ---------- Camera Coach band ---------- */
.coach { background: #111316; color: #F2F3F5; }
@media (min-width: 48rem) { .coach { border-radius: 32px; width: min(100% - 2rem, 78rem); margin-inline: auto; } }
.coach .eyebrow { color: #9CC3FF; }
.coach .lead, .coach .checks li { color: #CDD2D9; }
.coach .checks svg { color: #6EE7A8; }
.coach a { color: #9CC3FF; }
.price-tag { margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: 16px; background: #1F2124; max-width: 26rem; }
.price-tag p { margin: 0; color: #CDD2D9; }
.price-tag .price { font-weight: 700; color: #F2F3F5; }
.price-tag strong { font-size: 1.6rem; color: #fff; margin-right: .2rem; }
.viewfinder {
  position: relative; aspect-ratio: 3 / 4; width: min(100%, 380px); border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #5B7BA6, #2C3E57 60%, #1B2433); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.viewfinder .scene { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; animation: pan 9s ease-in-out infinite; }
.vf-subject { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 18px; border: 4px solid #FACC15; animation: frame 9s ease-in-out infinite; }
.vf-guide {
  position: absolute; left: 12px; right: 12px; bottom: 92px; padding: .75rem .95rem; border-radius: 16px;
  background: rgba(0, 0, 0, .75); font: 800 1.05rem/1.3 var(--sans); color: #fff; min-height: 3.1rem;
}
.vf-guide span { position: absolute; inset: .75rem .95rem; opacity: 0; animation: say 9s infinite; }
.vf-guide span:nth-child(2) { animation-delay: 2.25s; }
.vf-guide span:nth-child(3) { animation-delay: 4.5s; }
.vf-guide span:nth-child(4) { animation-delay: 6.75s; color: #6EE7A8; }
.vf-shutter { position: absolute; bottom: 16px; left: 50%; width: 60px; height: 60px; transform: translateX(-50%); border-radius: 50%; border: 5px solid #fff; background: #fff; box-shadow: inset 0 0 0 4px #111316; animation: shutter 9s infinite; }
.vf-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 9s infinite; }
.haptic { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; }
.haptic i { width: 6px; height: 18px; border-radius: 3px; background: #9CC3FF; opacity: .3; animation: tick 1.2s infinite; }
.haptic i:nth-child(2) { animation-delay: .2s; } .haptic i:nth-child(3) { animation-delay: .4s; }

/* ---------- Privacy ---------- */
.promise { border-top: 5px solid var(--accent); }

/* ---------- Pricing ---------- */
.billing-wrap { display: flex; justify-content: center; margin-bottom: 2rem; }
.billing { display: inline-flex; padding: 5px; border-radius: 16px; background: var(--card-2); gap: 4px; border: 0; margin: 0; }
.billing label { position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem; border-radius: 12px; font-weight: 700; cursor: pointer; }
.billing input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.billing label:has(input:checked) { background: var(--card); box-shadow: var(--shadow); color: var(--accent); }
.billing label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.save { font-size: .75rem; padding: .15rem .45rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 24px; padding: 1.7rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.plan.featured { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 1.4rem; background: var(--accent); color: var(--on-accent); font: 800 .78rem/1 var(--sans); padding: .45rem .75rem; border-radius: 999px; letter-spacing: .04em; }
.plan h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.plan p { margin: 0; }
.amount { font: 800 2.3rem/1.1 var(--sans); letter-spacing: -0.02em; margin: .9rem 0 .2rem !important; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: .55rem; font-size: 1rem; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--good); margin-top: .2rem; }
.plan .button { width: 100%; }
[data-period="yearly"] .m, [data-period="monthly"] .y { display: none; }
.fine { margin: 1.75rem auto 0; max-width: 46rem; text-align: center; }

/* ---------- Accessibility list ---------- */
.a11y li { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.15rem; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.a11y svg { width: 24px; height: 24px; color: var(--accent); flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3.2rem 1rem 1.2rem; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

/* ---------- Dedication ---------- */
.dedication { text-align: center; background: radial-gradient(60% 80% at 50% 0%, var(--accent-soft), transparent 70%); }
.dedication h2 { font-size: clamp(2rem, 6vw, 3.6rem); }
.dedication p { margin-inline: auto; max-width: 38rem; }
.dedication img { width: 88px; height: 88px; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.dedication .actions { justify-content: center; }

/* ---------- Legal and help pages ---------- */
.doc { padding: clamp(2rem, 6vw, 3.5rem) 0 4rem; }
.doc h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); }
.doc h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.doc h3 { margin-top: 1.5rem; margin-bottom: .3rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: .4rem; }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 1rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
/* Tables become stacked cards on phones, so nothing needs sideways scrolling. */
@media (max-width: 39.99rem) {
  .doc table, .doc caption, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { background: var(--card); border-radius: 14px; padding: .4rem 1rem; margin-bottom: .75rem; box-shadow: inset 0 0 0 1px var(--line); }
  .doc td { border: 0; padding: .45rem 0; }
  .doc td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 1rem; background: var(--canvas-2); }
footer.site .wrap { display: grid; gap: 1.75rem; }
@media (min-width: 48rem) { footer.site .wrap { grid-template-columns: 1.5fr 1fr 1fr; } }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); }
footer.site h2 { font: 800 .8rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
footer.site p { margin: .9rem 0 0; }

/* ---------- Motion ---------- */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ring { 0%, 10% { opacity: 0; } 18%, 70% { opacity: 1; } 80%, 100% { opacity: 0; } }
/* The frame follows the mug: scene scale s and shift t put it at 50% + (x - 50%) * s + t. */
@keyframes frame {
  0%, 20% { left: 13%; top: 29%; width: 50%; }
  25%, 45% { left: 31%; top: 29%; width: 50%; }
  50%, 70% { left: 20%; top: 25%; width: 60%; border-color: #FACC15; }
  75%, 100% { left: 20%; top: 25%; width: 60%; border-color: #22C55E; }
}
@keyframes pan {
  0%, 20% { transform: translateX(-18%) scale(1.4); }
  25%, 45% { transform: translateX(0) scale(1.4); }
  50%, 100% { transform: translateX(-8%) scale(1.7); }
}
@keyframes say { 0% { opacity: 0; } 2%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes shutter { 0%, 84% { transform: translateX(-50%) scale(1); } 86% { transform: translateX(-50%) scale(.86); } 90%, 100% { transform: translateX(-50%) scale(1); } }
@keyframes flash { 0%, 85% { opacity: 0; } 86% { opacity: .85; } 92%, 100% { opacity: 0; } }
@keyframes tick { 0%, 100% { opacity: .25; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vo-ring { opacity: 1; }
  .vf-subject { left: 20%; top: 25%; width: 60%; border-color: #22C55E; }
  .viewfinder .scene { transform: translateX(-8%) scale(1.7); }
  .vf-guide span:nth-child(4) { opacity: 1; }
  .pause { display: none !important; }
}

.doc caption { caption-side: top; text-align: left; padding-bottom: .5rem; }
