/* ──────────────────────────────────────────────────────────────
   ShotSelect — Light theme · 2026-05
   Shared by every page outside the hero (index uses an inlined
   copy of this so its hero doesn't flash unstyled).
   Tokens: warm-paper bg, ink-black text, single emerald accent.
   ────────────────────────────────────────────────────────────── */
:root {
  --bg: #faf8f3;          /* warm off-white · "paper" feel */
  --bg-2: #f0ede5;
  --surface: #ffffff;
  --surface-2: #f5f3ed;
  --line:   rgba(10,10,10,0.08);
  --line-2: rgba(10,10,10,0.14);
  --line-3: rgba(10,10,10,0.22);
  --ink:    #0a0a0a;
  --ink-2:  #2a2a2a;
  --ink-3:  #525252;
  --ink-4:  #888780;
  --ink-5:  #a3a3a3;
  --emerald:   #16a34a;
  --emerald-2: #22c55e;
  --info:  #2563eb;
  --amber: #d97706;
  --rose:  #e11d48;
  --sans:  -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 700px at 70% 35%, rgba(34,197,94,0.035), transparent 60%),
    radial-gradient(900px 600px at 20% 90%, rgba(255,255,255,0.02), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.7; mix-blend-mode: overlay;
}
main, header, section, footer, article { position: relative; z-index: 2; }
a { color: inherit; }

/* ─── keyboard focus ─────────────────────────────────────────── */
/* Every interactive element gets a visible ring on keyboard focus.
   Mouse-driven :focus is suppressed via :focus-visible. */
a:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── nav ────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px;
  border-bottom: 1px solid var(--line);
  height: 56px;
  background: rgba(250,248,243,0.85);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.nav .brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
}
.nav .brand .logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: #0a0a0a; color: #fafafa;
  font-family: var(--sans); font-weight: 800; font-size: 13.5px;
  letter-spacing: -0.06em;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 4px 12px rgba(0,0,0,0.35);
}
.nav nav { display: flex; gap: 28px; }
.nav nav a {
  color: var(--ink-3); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
}
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--ink); font-size: 12.5px; font-weight: 500;
  text-decoration: none;
}
.nav .nav-cta:hover { background: rgba(255,255,255,0.1); }

/* ─── page-title row (sub-pages reuse the index "frame" rhythm) ─── */
.page-frame {
  border-bottom: 1px solid var(--line);
  padding: 56px 32px 40px;
  max-width: 1180px; margin: 0 auto;
}
.page-frame .eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 10px;
}
.page-frame h1 {
  margin: 0 0 12px;
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em;
  line-height: 1.05;
}
.page-frame .lede {
  margin: 0; font-size: 16px; line-height: 1.55;
  color: var(--ink-3); max-width: 700px;
}

/* ─── content blocks ────────────────────────────────────────── */
.prose {
  max-width: 760px; margin: 0 auto;
  padding: 56px 32px;
  font-size: 16px; line-height: 1.65; color: var(--ink-2);
}
.prose h2 {
  margin: 48px 0 16px;
  font-size: 24px; letter-spacing: -0.01em; color: var(--ink);
}
.prose h3 {
  margin: 32px 0 12px;
  font-size: 18px; letter-spacing: -0.005em; color: var(--ink);
}
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code {
  font-family: var(--mono); font-size: 0.92em;
  background: var(--surface-2);
  padding: 1px 6px; border-radius: 4px;
  border: 1px solid var(--line);
}
.prose pre {
  font-family: var(--mono); font-size: 13px; line-height: 1.55;
  background: #0d0d0d; color: #eaeaea;
  padding: 16px 18px; border-radius: 8px; overflow-x: auto;
}
.prose blockquote {
  margin: 20px 0; padding: 8px 18px;
  border-left: 3px solid var(--ink-5);
  color: var(--ink-3); font-style: italic;
}
.prose a {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
/* Tables stay flush on desktop and become horizontally scrollable
   on mobile so wide comparison tables (e.g. /vs/*) don't force the
   whole page to scroll sideways. display:block trades semantic
   <table> rendering for a scroll container — the content is identical. */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 760px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ─── card grid (used by pricing / vs / features tiers) ──────── */
.cards-grid {
  max-width: 1180px; margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
/* Two-tier variant — used by /pricing + /vs/* pages. Override of
   the default 3-col layout. Drops to single column on mobile so
   tier cards stack instead of being squashed side-by-side. */
.cards-grid.tiers-2 { grid-template-columns: repeat(2, 1fr); }
/* Stats-grid variant — 4 small stat cards (e.g. wedding workflow
   "3,247 frames in / 90 min / 387 final / 0 clicks"). 4-col at
   desktop → 2-col tablet → 1-col mobile via the cascade below. */
.cards-grid.stats-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.card p  { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.card .price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.card.featured { border-color: var(--line-3); box-shadow: 0 0 0 1px var(--line-3) inset; }

/* ─── shared CTAs ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1px solid var(--ink);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
/* btn-emerald kept for backward-compat but visually identical to .btn —
   we no longer ship a green primary CTA. Emerald stays an accent only. */
.btn.btn-emerald { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.btn-ghost:hover { background: var(--surface-2); }

/* ─── footer ─── (matches index.html) ───────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  margin-top: 80px;
}
footer.site-footer .inner {
  max-width: 1180px; margin: 0 auto; padding: 56px 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px;
}
footer.site-footer .brand-block .brand-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
footer.site-footer .brand-block .logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: #0a0a0a; color: #fafafa;
  font-weight: 800; font-size: 13.5px; letter-spacing: -0.06em;
  display: inline-flex; align-items: center; justify-content: center;
}
footer.site-footer .brand-block .name { font-weight: 600; font-size: 15px; }
footer.site-footer .brand-block p {
  color: var(--ink-4); font-size: 13px; line-height: 1.55;
  margin: 0 0 18px; max-width: 280px;
}
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer .col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 14px;
}
footer.site-footer a { color: var(--ink-2); text-decoration: none; font-size: 13px; }
footer.site-footer a:hover { color: var(--ink); }
footer.site-footer .legal {
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.04em;
  max-width: 1180px; margin: 0 auto;
}
footer.site-footer .legal a { color: var(--ink-4); }
footer.site-footer .legal a:hover { color: var(--ink-2); }

@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.stats-4 { grid-template-columns: repeat(2, 1fr); }
  footer.site-footer .inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav { padding: 10px 18px; height: 52px; }
  .nav nav { display: none; }
  .page-frame { padding: 36px 18px 28px; }
  .prose { padding: 36px 18px; }
  .cards-grid,
  .cards-grid.tiers-2,
  .cards-grid.stats-4 { grid-template-columns: 1fr; padding: 28px 18px 56px; }
  footer.site-footer .inner { grid-template-columns: 1fr; padding: 40px 18px; }
  footer.site-footer .legal { padding: 14px 18px; flex-direction: column; gap: 10px; }
}
