/* TwinkleCam v2 "Night watch": the shared stylesheet for every page.
   The landing page adds /css/home.css on top. The info pages (pages/*.html through tools/pages.mjs),
   the checkout and the clip pages (their own shell in src/checkout) all use this file alone, so every
   legacy class they use is styled here too (see the "legacy" block). */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..600&family=Geist:wght@400..600&family=Geist+Mono:wght@400..600&display=swap");

:root {
  --night: #05070b;
  --night-2: #090d14;
  --panel: #0e131c;
  --panel-2: #151c28;
  --line: rgb(226 232 240 / .12);
  --line-2: rgb(226 232 240 / .24);
  --ink: #eef1f5;
  --ink-2: #c6cdd7;
  --muted: #929bab;
  --amber: #ffb648;
  --amber-hi: #ffc874;
  --amber-ink: #1b1204;
  --rec: #ff4a3d;
  --motion: #ffd84d;
  --ok: #8be3b0;
  --cream: #fbe9cf;
  --cream-2: #f4dcbb;
  --day-ink: #20160f;
  --day-ink-2: #4d3b2c;
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-text: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gold: var(--amber-hi);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2 { font-family: var(--f-display); font-optical-sizing: auto; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber-hi); }
::selection { background: var(--amber); color: var(--amber-ink); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the camera-feed grain over every page */
.grain {
  position: fixed; inset: -50%; z-index: 45; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -.4'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* type helpers */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.kicker .t { color: var(--amber); }
.kicker .dot, .rec-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgb(255 74 61 / .2); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.fine { font-size: 14px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* buttons: amber is the one action colour */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--amber); color: var(--amber-ink);
  font: 600 16px/1 var(--f-text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { background: var(--amber-hi); transform: translateY(-1px); box-shadow: 0 10px 32px -10px rgb(255 182 72 / .6); }
.btn:active { transform: none; }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost, .btn.line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover, .btn.line:hover { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .45); box-shadow: none; }
.btn--sm, .btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--xl { min-height: 62px; padding: 0 34px; font-size: 18px; }
.btn--ink { background: var(--day-ink); color: var(--cream); }
.btn--ink:hover { background: #3a2a1d; box-shadow: 0 12px 32px -12px rgb(32 22 15 / .7); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link { color: var(--amber-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.link:hover { color: var(--ink); }

/* top bar (landing and info pages) */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.topbar.is-solid, .topbar--solid { background: rgb(5 7 11 / .8); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 64px; width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 var(--f-text); letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.mark { min-height: 44px; flex: none; }
.mark img { display: block; width: 152px; height: auto; }
@media (max-width: 374px) { .mark img { width: 137px; } }
.topbar__nav { display: flex; gap: 2px; margin-left: auto; }
.topbar__nav a { padding: 10px 12px; border-radius: 999px; font: 500 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { color: var(--ink); background: rgb(255 255 255 / .07); }
.topbar .btn { margin-left: 6px; }
@media (max-width: 899px) { .topbar__nav { display: none; } .topbar .btn { margin-left: auto; } }
@media (max-width: 699px) { .topbar { position: absolute; } .topbar__in { height: 58px; } .mark { font-size: 17px; } }

/* the site footer: the night ends in a dawn strip and a cream ground */
.site-foot { position: relative; background: var(--cream); color: var(--day-ink); }
.site-foot__dawn { height: 140px; background: linear-gradient(180deg, var(--night) 0%, #1c1d38 26%, #6c4a6c 52%, #d88a6c 76%, var(--cream) 100%); }
.site-foot__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 56px; padding: 56px 0 48px; }
.site-foot .mark { color: var(--day-ink); }
.site-foot__brand p { margin-top: 14px; color: var(--day-ink-2); max-width: 30ch; }
.site-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.site-foot__cols h3 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--day-ink-2); margin-bottom: 16px; }
.site-foot__cols ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-foot__cols a { color: var(--day-ink); text-decoration: none; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.site-foot__cols a:hover { background-size: 100% 1px; }
.site-foot__ai { grid-column: 1 / -1; max-width: 80ch; font-size: 14.5px; line-height: 1.6; color: var(--day-ink-2); padding-top: 28px; border-top: 1px solid rgb(32 22 15 / .14); }
.site-foot__legal { grid-column: 1 / -1; font-size: 13px; color: var(--day-ink-2); }
.site-foot :focus-visible { outline-color: var(--day-ink); }
@media (max-width: 899px) { .site-foot__in { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .site-foot__dawn { height: 100px; } .site-foot__cols ul { gap: 0; } .site-foot__cols a { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 calc(100% - 10px); } }

/* info pages: a page head and readable documents */
main.page { padding: 132px 0 120px; min-height: 70vh; }
@media (max-width: 699px) { main.page { padding-top: 104px; } }
.page-head { display: grid; gap: 18px; margin-bottom: 56px; }
.page-head h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 340; }
.doc > .wrap { width: min(100% - 2 * var(--gut), 780px); }
.doc .updated { margin: 0 0 30px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc .short { margin: 0 0 8px; padding: 22px 24px; border-left: 2px solid var(--amber); border-radius: 0 14px 14px 0; background: rgb(255 182 72 / .06); color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.doc .head { display: grid; gap: 16px; margin-bottom: 48px; }
.doc h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 340; margin: 14px 0 22px; }
.doc h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 380; line-height: 1.15; margin: 56px 0 14px; letter-spacing: -.012em; }
.doc h3 { font: 600 18px/1.35 var(--f-text); margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p, .doc ul, .doc ol, .doc ul + p, .doc ol + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.doc li::marker { color: var(--amber); }
.doc a { color: var(--amber-hi); text-underline-offset: 3px; }
.doc a.btn { color: var(--amber-ink); }
.doc a.btn.line { color: var(--ink); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.doc > .kicker:first-child { margin-bottom: 4px; }
.doc .lede { margin-bottom: 8px; }

/* cards, tags, prices (info pages and the checkout) */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.card h2, .card h3 { font-family: var(--f-display); font-weight: 380; letter-spacing: -.012em; line-height: 1.1; }
.card h3 { font-size: 26px; }
.card p { color: var(--ink-2); }
.card > * + * { margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.tag.on { border-color: transparent; background: var(--amber); color: var(--amber-ink); }
.price { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); font-size: 52px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.price small, .price span:not(:first-child) { font: 400 15px/1.3 var(--f-text); letter-spacing: 0; color: var(--muted); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

/* camera frames on any page: a clip or still with the burned-in overlay */
.cam { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #000; }
.cam > img, .cam > video { width: 100%; height: 100%; object-fit: cover; }
.cam::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgb(0 0 0 / .14) 0 1px, transparent 1px 3px); }
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font: 500 11.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: #f4f1ea; text-shadow: 0 1px 2px rgb(0 0 0 / .7); }
.hud > * { position: absolute; display: inline-flex; align-items: center; gap: 8px; }
.hud .tl, .hud > :first-child { top: 14px; left: 14px; }
.hud .tr { top: 12px; right: 12px; padding: 5px 8px; border-radius: 6px; background: rgb(5 7 11 / .62); text-shadow: none; }
.hud .bl { bottom: 14px; left: 14px; }


/* ---- shared with the landing page: camera frames, the on-screen display, pass cards, the questions list ---- */
.vf { --vf-c: rgb(255 255 255 / .75); --vf-l: 20px; --vf-i: 14px; }
.vf::before {
  content: ""; position: absolute; inset: var(--vf-i); z-index: 4; pointer-events: none;
  background:
    linear-gradient(var(--vf-c) 0 0) 0 0 / var(--vf-l) 1.5px, linear-gradient(var(--vf-c) 0 0) 0 0 / 1.5px var(--vf-l),
    linear-gradient(var(--vf-c) 0 0) 100% 0 / var(--vf-l) 1.5px, linear-gradient(var(--vf-c) 0 0) 100% 0 / 1.5px var(--vf-l),
    linear-gradient(var(--vf-c) 0 0) 0 100% / var(--vf-l) 1.5px, linear-gradient(var(--vf-c) 0 0) 0 100% / 1.5px var(--vf-l),
    linear-gradient(var(--vf-c) 0 0) 100% 100% / var(--vf-l) 1.5px, linear-gradient(var(--vf-c) 0 0) 100% 100% / 1.5px var(--vf-l);
  background-repeat: no-repeat;
}
.fx { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 45%, transparent 55%, rgb(0 0 0 / .5) 100%), repeating-linear-gradient(180deg, rgb(0 0 0 / .16) 0 1px, transparent 1px 3px); }

/* the on-screen display of a camera */
.osd { position: absolute; inset: 0; z-index: 3; pointer-events: none; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #f6f3ec; text-shadow: 0 1px 2px rgb(0 0 0 / .8); }
.osd > * { position: absolute; display: inline-flex; align-items: center; gap: 8px; }
.osd .rec { color: #fff; }
.osd .rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px rgb(255 74 61 / .25); animation: rec 1.6s steps(1) infinite; }
.osd .ai, .osd .chip { padding: 6px 9px; border-radius: 6px; background: rgb(5 7 11 / .66); text-shadow: none; letter-spacing: .06em; }
.osd .alert { padding: 6px 9px; background: var(--rec); color: #fff; text-shadow: none; opacity: 0; transition: opacity .2s; }
.osd .alert.is-on { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 60% { opacity: .35; } }

/* ---------- prices: three camera passes ---------- */
.passes { background: linear-gradient(180deg, #111735 0%, #121a3a 100%); }
.passes .sec-head { justify-items: center; text-align: center; margin-bottom: 60px; }
.passes .sec-head p:not(.kicker) { margin-inline: auto; }
.pass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pass { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; border-radius: var(--r-lg); background: rgb(6 9 18 / .72); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pass:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.pass__top { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pass h3 { margin-top: 12px; font-family: var(--f-display); font-weight: 380; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; }
.pass__for { color: var(--ink-2); }
.pass__price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; font-family: var(--f-display); font-weight: 340; font-size: clamp(56px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pass__price small { font: 400 15px/1.3 var(--f-text); letter-spacing: 0; color: var(--ink-2); }
.pass .btn { width: 100%; }
.pass ul { list-style: none; padding: 18px 0 0; margin-top: 4px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.pass li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.pass li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber); transform: rotate(-45deg); }
.pass--pass { background: linear-gradient(180deg, rgb(255 182 72 / .12), rgb(6 9 18 / .8) 46%); border-color: rgb(255 182 72 / .55); box-shadow: 0 0 0 1px rgb(255 182 72 / .25), 0 40px 90px -40px rgb(255 160 70 / .45); }
.pass--pass:hover { border-color: var(--amber); }
.pass__badge { position: absolute; top: -13px; left: 28px; padding: 6px 10px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.pass--pass .pass__top { color: var(--amber-hi); }
.passes__fine { margin-top: 32px; text-align: center; color: var(--ink-2); font-size: 15px; }
@media (max-width: 999px) { .pass-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .pass--pass { order: -1; } }

/* ---------- questions: the support log ---------- */
.faq { background: linear-gradient(180deg, #121a3a 0%, #1a1d40 100%); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; display: grid; grid-template-columns: 52px 1fr 28px; align-items: baseline; gap: 12px; padding: 24px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .q { font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--amber); }
.qa summary h3 { font-family: var(--f-display); font-weight: 380; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.25; letter-spacing: -.01em; transition: color .2s; }
.qa summary:hover h3 { color: var(--amber-hi); }
.qa summary .pm { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink-2); transition: transform .3s var(--ease); }
.qa summary .pm::after { transform: rotate(90deg); }
.qa details[open] .pm::after { transform: rotate(0); }
.qa details p { padding: 0 40px 26px 64px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }
@media (max-width: 599px) { .qa summary { grid-template-columns: 40px 1fr 20px; padding: 20px 0; } .qa details p { padding: 0 0 22px 52px; } }


/* ---- legacy: the checkout and clip pages render their own shell (src/checkout) with these classes ---- */
header.top { position: sticky; top: 0; z-index: 50; background: rgb(5 7 11 / .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 var(--f-text); letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.brand i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgb(255 74 61 / .2); }
header.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
nav a.l { padding: 10px 12px; border-radius: 999px; font: 500 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
nav a.l:hover { color: var(--ink); background: rgb(255 255 255 / .07); }
header.top nav .btn { margin-left: 8px; }
@media (max-width: 699px) { nav a.l { display: none; } }
body > main:not(.home-main):not(.page) { display: block; padding: 64px 0 96px; min-height: 60vh; }
body > footer:not(.site-foot) { background: var(--cream); color: var(--day-ink); padding: 52px 0 44px; margin-top: 140px; position: relative; }
body > footer:not(.site-foot)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 140px; background: linear-gradient(180deg, var(--night) 0%, #1c1d38 26%, #6c4a6c 52%, #d88a6c 76%, var(--cream) 100%); pointer-events: none; }
body > footer:not(.site-foot) .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 48px; }
body > footer:not(.site-foot) .brand { color: var(--day-ink); }
footer p.ai { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--day-ink-2); max-width: 64ch; }
footer nav.links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 22px; }
footer nav.links a { color: var(--day-ink); font-weight: 500; text-decoration: none; }
footer nav.links a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer p.legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(32 22 15 / .14); font-size: 13px; color: var(--day-ink-2); }
@media (max-width: 699px) { body > footer:not(.site-foot) .wrap { grid-template-columns: 1fr; } }
.account { display: grid; gap: 28px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.acct-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; align-content: start; }
.acct-card h2, .acct-card h3 { font-family: var(--f-display); font-weight: 380; font-size: 24px; letter-spacing: -.01em; line-height: 1.15; }
.acct-card p { color: var(--ink-2); }
.clip-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.clip-list > li { display: grid; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.clip-list video, .clip-list img { width: 100%; border-radius: 10px; background: #000; }
.copy-row { display: flex; gap: 8px; align-items: stretch; }
.copy-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--night-2); color: var(--ink); font: 400 14px/1 var(--f-mono); }
.copy-row .btn { min-height: 44px; }
.cam .hud, .cam + .hud { z-index: 2; }

/* ---- info pages: pricing, the AI page, 404 ---- */
.page-head--center { justify-items: center; text-align: center; }
.page-head--center .lede { margin-inline: auto; }
.page-head .kicker .dot, .doc .kicker .dot { width: 8px; height: 8px; }
.pass__name { margin-top: 12px; font-family: var(--f-display); font-weight: 380; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; }
.pass li strong { color: var(--ink); font-weight: 600; }
.pricing-faq { margin-top: clamp(96px, 12vh, 140px); }
.pricing-faq .sec-head { display: grid; gap: 16px; position: sticky; top: 110px; }
.pricing-faq .sec-head h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 340; }
.pricing-faq .sec-head p:not(.kicker) { color: var(--ink-2); }
@media (max-width: 899px) { .pricing-faq .sec-head { position: static; } }
.osd .o-tl { top: 26px; left: 28px; }
.osd .o-tr { top: 22px; right: 24px; }
.osd .o-bl { bottom: 26px; left: 28px; }
.osd .photo { padding: 6px 9px; border-radius: 6px; background: rgb(250 247 240 / .9); color: #1b1712; text-shadow: none; }
.ai-pair { margin: 36px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ai-pair .cam { aspect-ratio: 720 / 672; }
.ai-pair .osd { font-size: 10.5px; }
.ai-pair figcaption { grid-column: 1 / -1; font: 500 12px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 499px) { .ai-pair { grid-template-columns: 1fr; } }
.nosignal { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(72vh, 680px); padding: 96px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #0b0d12; text-align: center; }
.nosignal__noise { position: absolute; inset: -50%; z-index: -1; opacity: .2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .5s steps(5) infinite; }
.nosignal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgb(11 13 18 / .55), rgb(11 13 18 / .95)); }
.nosignal__in { display: grid; justify-items: center; gap: 18px; max-width: 640px; }
.nosignal h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 340; }
@media (prefers-reduced-motion: reduce) { .grain, .nosignal__noise, .rec-dot, .kicker .dot, .osd .rec i, .osd .alert.is-on { animation: none; } }
/* phones (mostly Instagram and Facebook in-app browsers): keep the grain still to save battery and frames */
@media (max-width: 699px) { .grain { animation: none; inset: 0; } }
[tabindex="-1"]:focus { outline: none; }
/* under 360px (small Androids) the header button takes a shorter label so the lockup still fits */
.cta-short { display: none; }
@media (max-width: 359px) { .cta-long { display: none; } .cta-short { display: inline; } }

/* Grandparent gift checkout on /pricing (merge, 17 Nov) */
.gift-buy { margin: 72px auto 0; max-width: 560px; scroll-margin-top: 96px; }
.gift-buy .sec-head { margin-bottom: 18px; }
