/* ============================================================
   FrameCoach — Shared stylesheet for static HTML pages
   Loaded by: support, canon-setup, legal, privacy, terms,
              cameras/*.html
   Not loaded by: signup.html (self-contained form layout)

   Owns: brand tokens, navbar, content shell, editorial typography,
         cards, FAQ accordion, breadcrumb, footer, focus + motion.
   Page-specific blocks (step, info-grid, camera-pills, etc.)
   live in this file too — additive, not exhaustive overrides.
   ============================================================ */

@font-face {
  font-family: 'Refrigerator Deluxe';
  src: url('/fonts/RefrigeratorDeluxe-ExtraBold.woff2') format('woff2'),
       url('/fonts/RefrigeratorDeluxe-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --shadow: #211C21;
  --shadow-light: #2A2428;
  --scarlet: #DF2935;
  --scarlet-dark: #B8232C;
  --alabaster: #E6E8E6;
  --alabaster-dim: rgba(230, 232, 230, 0.55);
  --white: #FFFFFF;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --card-bg: rgba(255, 255, 255, 0.025);
  --card-bg-elevated: rgba(255, 255, 255, 0.04);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--shadow);
  color: var(--alabaster);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Cinematic ambient glow — anchors the brand without hurting readability */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(223, 41, 53, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(223, 41, 53, 0.04), transparent 60%);
  background-attachment: fixed;
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.875rem 1.5rem;
  background: rgba(33, 28, 33, 0.65);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar a { text-decoration: none; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: filter 0.3s;
}

.logo-link:hover {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(223, 41, 53, 0.3));
}

.logo-link img { height: 32px; width: auto; display: block; }

/* Navbar right cluster — back-link and/or download CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--alabaster-dim);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.05);
}

.back-link {
  color: var(--alabaster-dim);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}

.back-link:hover { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  background: var(--scarlet);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--scarlet-dark);
  box-shadow: 0 0 24px rgba(223, 41, 53, 0.35);
}

.nav-cta:active { transform: scale(0.97); }

/* ── Content shell ─────────────────────────────────────── */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.content-wide { max-width: 960px; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--alabaster-dim);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--alabaster-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb span { margin: 0 0.5rem; }

.breadcrumb .current { color: var(--alabaster); }

/* ── Page header / editorial H1 ────────────────────────── */
.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  /* Editorial lift — subtle gradient softens the slab serif energy */
  background: linear-gradient(180deg, #FFFFFF 0%, #E6E8E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header h1.h1-md { font-size: clamp(2.5rem, 7vw, 4rem); }

.page-header .lede,
.page-header .subtitle,
.page-header > p {
  color: var(--alabaster);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.page-header > p.last-updated {
  color: var(--alabaster-dim);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.last-updated {
  color: var(--alabaster-dim);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* CTA row under header */
.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  min-height: 44px;
}

.cta-primary {
  background: var(--scarlet);
  color: var(--white);
}

.cta-primary:hover {
  background: var(--scarlet-dark);
  box-shadow: 0 0 24px rgba(223, 41, 53, 0.3);
}

.cta-secondary {
  background: transparent;
  color: var(--alabaster);
  border: 1px solid var(--border-strong);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ── Sections ──────────────────────────────────────────── */
.section {
  margin-bottom: 4rem;
  scroll-margin-top: 5rem;
}

section[id] { scroll-margin-top: 5rem; }

.section h2,
.content h2.section-heading {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section h2.h2-sm { font-size: clamp(1.5rem, 4vw, 2rem); }

.section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section p {
  margin-bottom: 1rem;
  color: var(--alabaster);
}

.section p:last-child { margin-bottom: 0; }

.section a {
  color: var(--scarlet);
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.section a:hover { opacity: 0.8; }

.section strong { color: var(--white); font-weight: 600; }

/* ── Long-form content typography (legal/privacy/terms) ──
   Direct children of .content only — won't compete with .section h2. */
.content > h2 {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.content > p,
.content > ul,
.content > ol {
  margin-bottom: 1rem;
  color: var(--alabaster);
}

.content > ul, .content > ol { padding-left: 1.25rem; }

.content > ul > li, .content > ol > li {
  margin-bottom: 0.5rem;
  color: var(--alabaster);
}

.content li::marker { color: var(--scarlet); }

.content > p a,
.content > ul a,
.content > ol a {
  color: var(--scarlet);
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.content > p a:hover,
.content > ul a:hover,
.content > ol a:hover { opacity: 0.8; }

.content strong { color: var(--white); font-weight: 600; }

/* ── Scarlet-tinted hairline divider ───────────────────── */
.divider-cinematic {
  height: 1px;
  margin: 3rem 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(223, 41, 53, 0.25) 30%,
    rgba(223, 41, 53, 0.25) 70%,
    transparent);
  border: 0;
}

/* ── Glass card primitive ──────────────────────────────── */
.glass-card {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── "At a glance" stat card (camera pages) ────────────── */
.glance {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-left: 2px solid var(--scarlet);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glance-title,
.section-eyebrow,
.checklist-title,
.sources-title,
.related-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  margin-bottom: 1rem;
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.glance-item { display: flex; flex-direction: column; gap: 0.25rem; }

.glance-label {
  font-size: 0.75rem;
  color: var(--alabaster-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.glance-value {
  font-size: 0.9375rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Tip card / pitfall (camera pages) ─────────────────── */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tip-card {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.tip-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.tip-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.tip-card p {
  font-size: 0.9375rem;
  color: var(--alabaster);
  margin-bottom: 0;
}

.pitfall {
  background: rgba(223, 41, 53, 0.08);
  border: 1px solid rgba(223, 41, 53, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.pitfall-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--scarlet);
  margin-bottom: 0.5rem;
}

.pitfall p { margin-bottom: 0; }

/* ── Camera brand cards + pills (support page) ─────────── */
.camera-brand {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.camera-brand h3 { margin-bottom: 0.25rem; }

.camera-brand .brand-note {
  font-size: 0.8125rem;
  color: var(--alabaster-dim);
  margin-bottom: 1.25rem;
}

.camera-group-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.camera-group-label:first-of-type { margin-top: 0; }

.camera-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.camera-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
  color: var(--alabaster);
  white-space: nowrap;
  line-height: 1.5;
  transition: border-color 0.2s, background-color 0.2s;
}

.camera-pill:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

a.camera-pill {
  text-decoration: none;
  color: var(--alabaster);
  border-color: rgba(223, 41, 53, 0.35);
  background: rgba(223, 41, 53, 0.08);
}

a.camera-pill::after {
  content: " →";
  color: var(--scarlet);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
  margin-left: 0.125rem;
}

a.camera-pill:hover {
  border-color: var(--scarlet);
  background: rgba(223, 41, 53, 0.14);
  color: #fff;
}

a.camera-pill:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.camera-pill--coming {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--alabaster-dim);
}

.camera-pill--coming:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.not-supported-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.not-supported-list li {
  margin-bottom: 0.375rem;
  color: var(--alabaster-dim);
  font-size: 0.9375rem;
}

.not-supported-list li::marker { color: rgba(255, 255, 255, 0.15); }

/* ── Contact card (support page) ───────────────────────── */
.contact-card {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 480px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  color: var(--scarlet);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
  min-height: 44px;
}

.contact-pill:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-pill svg { flex-shrink: 0; }

.contact-card .response-note {
  font-size: 0.875rem;
  color: var(--alabaster-dim);
}

.limitations-list { padding-left: 1.25rem; }

.limitations-list li {
  margin-bottom: 0.75rem;
  color: var(--alabaster);
  font-size: 0.9375rem;
}

.limitations-list li::marker { color: var(--scarlet); }

/* ── Checklist (canon-setup) ───────────────────────────── */
.checklist {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.checklist ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--alabaster);
}

.checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--scarlet);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Step pattern (canon-setup) ────────────────────────── */
.step { margin-bottom: 2.5rem; }

.step-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.step-number {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--scarlet);
  line-height: 1;
}

.step-title {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.step-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--alabaster-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.step-body {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-left: 2px solid var(--scarlet);
  border-radius: 12px;
  padding: 1.5rem;
}

.step-body p {
  margin-bottom: 1rem;
  color: var(--alabaster);
  font-size: 0.9375rem;
}

.step-body p:last-child { margin-bottom: 0; }

.step-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.step-body ol:last-child { margin-bottom: 0; }

.step-body li {
  margin-bottom: 0.5rem;
  color: var(--alabaster);
  font-size: 0.9375rem;
}

.step-body li::marker {
  color: var(--scarlet);
  font-weight: 600;
}

.step-body strong { color: var(--white); font-weight: 600; }

.step-body a {
  color: var(--scarlet);
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.step-body a:hover { opacity: 0.8; }

.step-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(223, 41, 53, 0.08);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--alabaster-dim);
  line-height: 1.6;
}

.step-note strong { color: var(--alabaster); }

.menu-path {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

.done-banner {
  background: rgba(223, 41, 53, 0.1);
  border: 1px solid rgba(223, 41, 53, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.done-banner p { font-size: 0.9375rem; color: var(--alabaster); }

.done-banner strong { color: var(--white); }

/* ── FAQ accordion (also used for troubleshooting) ─────── */
.faq-item,
.ts-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s;
}

.faq-item[open],
.ts-item[open] {
  border-left: 2px solid var(--scarlet);
  background: var(--card-bg);
}

.faq-item summary,
.ts-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker,
.ts-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after,
.ts-item summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--alabaster-dim);
  border-bottom: 2px solid var(--alabaster-dim);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after,
.ts-item[open] summary::after { transform: rotate(-135deg); }

.faq-item summary:hover,
.ts-item summary:hover { background-color: rgba(255, 255, 255, 0.03); }

.faq-answer,
.ts-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--alabaster);
  line-height: 1.7;
}

.faq-answer p,
.ts-answer p { margin-bottom: 0.75rem; }

.faq-answer p:last-child,
.ts-answer p:last-child { margin-bottom: 0; }

.faq-answer a,
.ts-answer a {
  color: var(--scarlet);
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.faq-answer a:hover,
.ts-answer a:hover { opacity: 0.8; }

/* ── Info grid (legal page) ────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.info-grid dt {
  color: var(--alabaster-dim);
  font-size: 0.875rem;
  font-weight: 500;
}

.info-grid dd {
  color: var(--alabaster);
  font-size: 0.9375rem;
}

/* ── Sources + related + final CTA (camera pages) ──────── */
.sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.sources-title { margin-bottom: 0.75rem; }

.sources ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sources li {
  font-size: 0.8125rem;
  color: var(--alabaster-dim);
  line-height: 1.5;
}

.sources a {
  color: var(--alabaster);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s;
}

.sources a:hover { border-bottom-color: var(--scarlet); }

.related {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-title { margin-bottom: 1rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.625rem;
}

.related-link {
  display: block;
  padding: 0.875rem 1rem;
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--alabaster);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.related-link:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.final-cta {
  background: var(--card-bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(223, 41, 53, 0.12), transparent 70%);
  pointer-events: none;
}

.final-cta > * { position: relative; }

.final-cta h3 {
  font-family: 'Refrigerator Deluxe', 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.final-cta p {
  font-size: 0.9375rem;
  color: var(--alabaster-dim);
  margin-bottom: 1.5rem;
}

/* ── Legal footer ──────────────────────────────────────── */
.legal-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-footer p {
  color: var(--alabaster-dim);
  font-size: 0.8125rem;
}

.legal-footer a {
  color: var(--alabaster-dim);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.legal-footer a:hover { color: var(--white); }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── Focus + accessibility ─────────────────────────────── */
a:focus-visible,
summary:focus-visible,
.cta-primary:focus-visible,
.cta-secondary:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--scarlet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Entry motion ──────────────────────────────────────── */
@keyframes fc-fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-header,
.section,
.glance,
.done-banner,
.step,
.final-cta {
  animation: fc-fade-in-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section:nth-of-type(2)  { animation-delay: 0.05s; }
.section:nth-of-type(3)  { animation-delay: 0.1s; }
.section:nth-of-type(4)  { animation-delay: 0.15s; }
.section:nth-of-type(5)  { animation-delay: 0.2s; }
.section:nth-of-type(6)  { animation-delay: 0.25s; }
.section:nth-of-type(7)  { animation-delay: 0.3s; }
.section:nth-of-type(8)  { animation-delay: 0.35s; }
.section:nth-of-type(9)  { animation-delay: 0.4s; }
.section:nth-of-type(10) { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar {
    background: rgba(33, 28, 33, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .glass-card,
  .glance,
  .step-body,
  .tip-card,
  .camera-brand,
  .contact-card,
  .checklist,
  .info-grid,
  .related-link,
  .final-cta {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 640px) {
  .content { padding: 6rem 1.25rem 3rem; }

  .navbar { padding: 0.75rem 1rem; }

  .nav-links a {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }

  .nav-cta {
    padding: 0.4375rem 0.875rem;
    font-size: 0.75rem;
  }

  .page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; }

  .glance { padding: 1.25rem; }
  .glance-grid { grid-template-columns: 1fr; }

  .camera-brand { padding: 1.25rem; }
  .contact-card { padding: 1.5rem; }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
    padding: 1.25rem;
  }

  .info-grid dt { margin-top: 0.5rem; }
  .info-grid dt:first-child { margin-top: 0; }

  .legal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-grid { grid-template-columns: 1fr 1fr; }

  .final-cta { padding: 2rem 1.25rem; }
}

/* In-page nav links collapse below 480px — they collide with the Download CTA. */
@media (max-width: 480px) {
  .nav-actions .nav-links { display: none; }
}
