/* Foyer marketing site - shared styles */
/* Colors pulled directly from src/styles/tokens.js DARK theme */
/* Light-first (owner call 2026-07-13): professional daylight look for the
   marketing site. --cream is "primary text", --goldD is "gold accent text" -
   both flip dark for contrast on paper-white. Print block below re-tunes. */
:root {
  --bg:      #FBFAF7;
  --surface: #FFFFFF;
  --border:  #E5E2D9;
  --cream:   #17233B;
  --slate:   #5B6472;
  --gold:    #D4AF37;
  --goldDeep:#B8860B;
  --goldL:   #F8F1DA;
  --goldD:   #8A6D14;
  --green:   #15803D;
  --greenL:  #DCFCE7;
  --cyan:    #0E7490;
  --mars:    #E11D48;
  --error:   #E11D48;
  --gold-edge: rgba(168, 134, 29, 0.25);
  --gold-edge-strong: rgba(168, 134, 29, 0.45);
  --glass: linear-gradient(155deg, #FFFFFF 0%, #FBF8EF 100%);
  --glass-shadow: 0 16px 40px -18px rgba(23, 35, 59, 0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}

@keyframes foyer-live-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 480px at 12% -8%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(880px 460px at 106% 2%, rgba(14, 116, 144, 0.05), transparent 55%),
    radial-gradient(900px 560px at 50% 115%, rgba(212, 175, 55, 0.05), transparent 62%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 18px;
}

/* ── Nav ──────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--gold-edge);
  background: rgba(251, 250, 247, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo span { color: var(--goldD); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--cream); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--goldDeep) 100%);
  color: #1A1200;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28), 0 0 22px rgba(212, 175, 55, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.34), 0 0 28px rgba(212, 175, 55, 0.24);
}

/* Nav CTA: small target - no glow bloom, deeper gold, heavier ink for
   readability against the frosted bar. Hero/section CTAs keep the glow. */
nav .btn-primary,
nav .btn-primary:hover {
  background: linear-gradient(135deg, #C9A227 0%, #A87A0E 100%);
  color: #0B0800;
  font-weight: 800;
  box-shadow: none;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 35, 59, 0.03);
  color: var(--goldD);
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--gold-edge);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--goldL);
}

/* ── Page wrapper ─────────────────────────────────── */
.page { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid var(--gold-edge);
  color: var(--goldD);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--goldD);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.18);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: foyer-live-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-sub {
  font-size: 20px;
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── App Store badge ──────────────────────────────── */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.appstore-badge:hover {
  border-color: var(--gold);
  background: var(--goldL);
}

.appstore-badge svg { flex-shrink: 0; }

/* ── Divider ──────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.22), transparent);
  margin: 0 40px;
}

/* ── Section ──────────────────────────────────────── */
section { padding: 64px 40px; max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--goldD);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.6;
}

/* ── Feature showcase (screenshot rows) ──────────── */
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-row-reverse .showcase-image {
  grid-column: 1;
  grid-row: 1;
}

.showcase-row-reverse .showcase-text {
  grid-column: 2;
  grid-row: 1;
}

.showcase-eyebrow {
  display: inline-block;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid var(--gold-edge);
  color: var(--goldD);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.showcase-text h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.showcase-text p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
}

.showcase-image {
  display: flex;
  justify-content: center;
}

.phone-frame {
  border-radius: 44px;
  overflow: hidden;
  border: 7px solid #16161C;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.14),
    0 24px 60px rgba(23, 35, 59, 0.22),
    0 0 60px rgba(212, 175, 55, 0.07);
  max-width: 260px;
  width: 100%;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Feature grid (legacy small cards, kept for reuse) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--gold-edge);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--glass-shadow);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  background: var(--goldL);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Prose (legal pages) ──────────────────────────── */
.prose h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  color: var(--cream);
}

.prose .meta {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--cream);
  margin-top: 36px;
  margin-bottom: 10px;
}

.prose p {
  font-size: 17px;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.7;
}

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

.prose ul {
  margin: 10px 0 14px 20px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.7;
}

.prose ul li { margin-bottom: 6px; }

.prose a { color: var(--goldD); text-decoration: underline; }
.prose a:hover { color: var(--cream); }

.prose strong { color: var(--cream); font-weight: 600; }

/* ── Support FAQ ──────────────────────────────────── */
.faq-item {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--gold-edge);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Contact card ─────────────────────────────────── */
.contact-card {
  background: linear-gradient(155deg, #FDF9EC 0%, #FFFFFF 60%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--gold-edge-strong);
  box-shadow: var(--glass-shadow), 0 0 28px rgba(212, 175, 55, 0.10);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  margin-top: 40px;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 17px;
  color: var(--slate);
  margin-bottom: 20px;
}

.contact-card a {
  color: var(--goldD);
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}

.contact-card a:hover { color: var(--cream); }

/* ── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--gold-edge);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: var(--slate);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  min-width: 0;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--cream); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  section { padding: 48px 20px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .hero { padding: 56px 20px 44px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .appstore-badge { justify-content: center; }
  .page { padding: 40px 20px 60px; }
  /* The nav links used to be switched off entirely below 640px, with no menu
     button behind them, so a visitor on a phone had no way to reach Features,
     Pricing, the live demo, Support or the blog. Only the trial button
     survived. They wrap onto a second row instead: no JavaScript, no menu to
     open, nothing to fail. */
  nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { flex-wrap: wrap; gap: 8px 16px; row-gap: 10px; }
  .nav-links .hide-mobile { display: list-item; }
  .nav-links .hide-mobile a { font-size: 14px; }
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showcase-row-reverse .showcase-image,
  .showcase-row-reverse .showcase-text {
    grid-column: auto;
    grid-row: auto;
  }
  .showcase-image { order: -1; }
  .phone-frame { max-width: 220px; }
  .showcase-text h3 { font-size: 22px; }
  .feature-showcase { gap: 56px; }
}

/* ── Print: clean paper output for guides/legal (PDF-ready) ─────────── */
@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --border: #d9d9d9;
    --cream: #111111;
    --slate: #444444;
    --gold: #7a5800;
    --goldD: #7a5800;
    --goldL: #f7efd3;
    --gold-edge: #d9d9d9;
    --gold-edge-strong: #bda668;
    --glass: #ffffff;
    --glass-shadow: none;
  }
  body {
    background: #ffffff !important;
    color: #111111;
    font-size: 12pt;
    line-height: 1.5;
  }
  nav, footer, .hero-cta, .btn-primary, .btn-secondary, .live-dot { display: none !important; }
  .page { max-width: 100%; padding: 0; }
  .prose h1 { font-size: 22pt; color: #111; }
  .prose h2 { font-size: 14pt; color: #111; break-after: avoid; page-break-after: avoid; margin-top: 18pt; }
  .prose p, .prose li { color: #333; }
  .prose ul, .prose li { break-inside: avoid; page-break-inside: avoid; }
  .prose .meta { color: #666; border-bottom-color: #ddd; }
  .prose a { color: #7a5800; text-decoration: none; }
  .feature-card, .faq-item, .contact-card {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    break-inside: avoid;
  }
  .divider { background: #ddd; }
  /* Print header substitute: show the wordmark once at the top */
  .page::before {
    content: "Foyer.";
    display: block;
    font-size: 16pt;
    font-weight: 800;
    margin-bottom: 12pt;
    color: #111;
  }
}

/* ── Pricing ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
}
.price-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--gold-edge);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold-edge-strong);
  box-shadow: var(--glass-shadow), 0 0 34px rgba(212,175,55,0.14);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  white-space: nowrap;
}
.price-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--slate);
  margin-bottom: 6px;
}
.price-card.featured .price-name { color: var(--goldD); }
.price-headline {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.price-amt {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price-amt b { font-size: 34px; font-weight: 800; color: var(--cream); line-height: 1; letter-spacing: -1px; }
.price-card.featured .price-amt b { color: var(--goldD); }
.price-amt span { font-size: 14px; color: var(--slate); }
.price-sub { font-size: 12px; color: var(--slate); margin-bottom: 18px; line-height: 1.5; }
.price-feat { list-style: none; margin: 0 0 20px 0; padding: 0; flex: 1; }
.price-feat li {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.price-feat li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.price-cta {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface);
  color: var(--cream);
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.price-card.featured .price-cta { background: var(--gold); color: #1A1200; border: none; font-weight: 800; }
.price-cta:hover { background: rgba(212,175,55,0.12); }
.price-card.featured .price-cta:hover { background: var(--goldDeep); color: #FFFFFF; }
.price-note { text-align: center; font-size: 14px; color: var(--goldD); font-weight: 600; margin-bottom: 18px; }
.price-toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 24px; }
.price-toggle button {
  font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 24px;
  background: transparent; color: var(--slate); border: 1px solid var(--border);
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.price-toggle button.active { background: var(--goldL); color: var(--goldD); border-color: var(--gold); }
.price-toggle-save { font-size: 11px; font-weight: 700; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 20px; }
.price-toggle button.active .price-toggle-save { background: var(--goldD); }
.price-save { font-size: 12px; font-weight: 700; color: var(--green); margin: 2px 0 14px; }
.price-card.featured .price-save { color: var(--goldD); }

/* Trust strip under the hero */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 14px; padding: 18px 24px 6px; max-width: 980px; margin: 0 auto;
}
.trust-strip span { font-size: 13px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* See Foyer in 90 seconds */
.ninety-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1060px; margin: 28px auto 0; align-items: start;
}
.ninety-card { text-align: left; }
.ninety-shot {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: #0a0a0f; height: 300px; margin-bottom: 14px;
  box-shadow: 0 14px 34px rgba(23, 35, 59, 0.18);
}
.ninety-shot img { width: 100%; display: block; }
.ninety-shot.wide img { height: 100%; width: 100%; object-fit: cover; object-position: top left; }
.ninety-step { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--goldD); margin-bottom: 6px; }
.ninety-card p { font-size: 14px; line-height: 1.65; color: var(--slate); }

/* Which plan explainer */
.plan-explainer {
  max-width: 720px; margin: 34px auto 0; padding: 24px 28px;
  border: 1px solid var(--border); border-radius: 16px; text-align: left;
}
.plan-explainer h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; color: var(--cream); }
.plan-explainer p { font-size: 14px; line-height: 1.7; color: var(--slate); margin-bottom: 8px; }
.plan-explainer p b { color: var(--cream); }
.plan-explainer .roi-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--goldD); font-weight: 600; }

/* ── "A Saturday, live" simulated dashboard ─────────────────── */
.sat-board { max-width: 860px; margin: 0 auto; background: var(--glass); border: 1px solid var(--gold-edge-strong);
  border-radius: 18px; box-shadow: var(--glass-shadow); overflow: hidden; }
.sat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-bottom: 1px solid var(--border); }
.sat-head .t { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.sat-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--green); }
.sat-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: foyer-live-dot 1.6s infinite; }
.sat-clock { font-variant-numeric: tabular-nums; color: var(--slate); font-size: 14px; font-weight: 600; }
.sat-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.sat-kpi { padding: 16px 10px; text-align: center; border-right: 1px solid var(--border); }
.sat-kpi:last-child { border-right: none; }
.sat-kpi b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .3s; }
.sat-kpi b.bump { color: var(--goldDeep); }
.sat-kpi span { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.sat-cols { display: grid; grid-template-columns: 1.15fr 1fr; }
.sat-col-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
  font-weight: 700; padding: 12px 18px 6px; }
.sat-houses { border-right: 1px solid var(--border); padding-bottom: 10px; }
.sat-house { display: flex; align-items: center; gap: 10px; padding: 8px 18px; font-size: 14.5px;
  border-radius: 8px; transition: background .5s; }
.sat-house.flash { background: var(--goldL); }
.sat-house .addr { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sat-house .addr small { display: block; color: var(--slate); font-size: 12px; }
.sat-house .cnt { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 26px; text-align: right; }
.sat-house .pill { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--green);
  border: 1px solid var(--greenL); background: var(--greenL); border-radius: 99px; padding: 2px 8px; }
.sat-feed { padding-bottom: 10px; }
.sat-lead { display: flex; align-items: center; gap: 10px; padding: 8px 18px; font-size: 14px; overflow: hidden; }
.sat-lead.enter { animation: sat-slide .45s cubic-bezier(.2,.7,.3,1); }
@keyframes sat-slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.sat-lead .av { width: 32px; height: 32px; border-radius: 50%; background: var(--greenL); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.sat-lead.hot .av { background: var(--goldL); color: var(--goldDeep); }
.sat-lead .who { flex: 1; min-width: 0; }
.sat-lead .who b { display: block; font-size: 14px; }
.sat-lead .who small { color: var(--slate); font-size: 12px; white-space: nowrap; }
.sat-lead .score { font-weight: 800; font-size: 13px; color: var(--green); flex: none; }
.sat-lead.hot .score { color: var(--goldDeep); }
.sat-foot { padding: 12px 22px 16px; border-top: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
@media (max-width: 720px) {
  .sat-cols { grid-template-columns: 1fr; }
  .sat-houses { border-right: none; border-bottom: 1px solid var(--border); }
  .sat-kpis { grid-template-columns: repeat(2, 1fr); }
  .sat-kpi:nth-child(2) { border-right: none; }
}

/* ── Motion system: paper & glass, never video-game ─────────── */
/* .rv is only ever added by JS (motion-safe users, JS on). Base page is fully visible. */
.rv { opacity: 0; transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.2,.65,.25,1), transform .65s cubic-bezier(.2,.65,.25,1); }
.rv.in { opacity: 1; transform: none; }
.rv-left  { transform: translate(-30px, 10px); }
.rv-right { transform: translate(30px, 10px); }
.rv-report { transform: translateY(54px) rotate(-1.4deg) scale(.985); transition-duration: .9s; }

/* gentle lift on interactive cards */
.ninety-card, .feature-card, .price-card {
  transition: transform .22s ease, box-shadow .22s ease; }
.ninety-card:hover, .feature-card:hover, .price-card:hover {
  transform: translateY(-4px); box-shadow: 0 20px 44px -22px rgba(23, 35, 59, 0.28); }
.phone-frame { transition: transform .35s cubic-bezier(.2,.65,.25,1); }
.showcase-image:hover .phone-frame { transform: translateY(-5px); }

/* hero entrance — keyframes go FROM hidden, base stays visible, so if
   animations are disabled (reduced motion) the hero simply shows. */
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }
.hero > * { animation: hero-in .7s cubic-bezier(.2,.65,.25,1) both; }
.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .15s; }
.hero > *:nth-child(3) { animation-delay: .25s; }
.hero > *:nth-child(4) { animation-delay: .35s; }
.hero > *:nth-child(5) { animation-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ninety-card, .feature-card, .price-card, .phone-frame { transition: none !important; }
}

/* ── Cinema hero: film background, board floating ─────────────── */
.hero-film {
  position: relative;
  overflow: hidden;
  /* Full-bleed cinema: the film owns the viewport edge to edge - never a
     boxed clip floating in a column. Overrides .hero's 800px reading width. */
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 40px 70px;
}
.hero-grid { width: 100%; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Motivated light: the veil reads as window light from the top-left. */
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(251, 250, 247, 0.88) 0%,
    rgba(251, 250, 247, 0.80) 34%,
    rgba(251, 250, 247, 0.42) 58%,
    rgba(251, 250, 247, 0.06) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}
.hero-film .hero-copy h1 { text-align: left; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.12; }
.hero-film .hero-sub { margin-left: 0; text-align: left; }
.hero-film .hero-cta { justify-content: flex-start; }

/* ── The Saturday board ──────────────────────────────────────── */
.sat-board {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 24px 60px rgba(23, 35, 59, 0.22), inset 1px 1px 0 rgba(255, 255, 255, 0.9);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.sat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sat-live { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--goldD); display: inline-flex; align-items: center; gap: 7px; }
.sat-addr { font-size: 12px; color: var(--slate); font-weight: 600; }
.sat-rows { flex: 1; padding-top: 6px; }
.sat-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(229, 226, 217, 0.6);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, background 0.6s ease-out;
  border-radius: 8px;
}
.sat-row.tick { opacity: 1; transform: none; background: rgba(212, 175, 55, 0.10); }
.sat-row.tick { animation: sat-cool 1.4s ease-out forwards; }
@keyframes sat-cool { from { background: rgba(212, 175, 55, 0.14); } to { background: transparent; } }
.sat-name { font-size: 13.5px; font-weight: 700; color: var(--cream); flex-shrink: 0; }
.sat-type { font-size: 11.5px; color: var(--slate); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sat-score { font-size: 12px; font-weight: 800; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sat-high { background: #DCFCE7; color: #15803D; }
.sat-med { background: #F8F1DA; color: #8A6D14; }
.sat-low { background: #EFEDE6; color: var(--slate); }
.sat-foot { padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--slate); }
.sat-foot b { color: var(--goldD); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-veil { background: rgba(251, 250, 247, 0.93); }
  .sat-board { min-height: 320px; }
}

/* ── Human close-up ──────────────────────────────────────────── */
.closeup { position: relative; overflow: hidden; padding: 0; }
.closeup-img { width: 100%; display: block; max-height: 560px; object-fit: cover; object-position: center 30%; }
.closeup-chip {
  position: absolute; left: 7%; bottom: 22%;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 18px 44px rgba(23, 35, 59, 0.3);
}
.chip-score { width: 44px; height: 44px; border-radius: 50%; background: #DCFCE7; color: #15803D; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chip-name { font-size: 14px; font-weight: 800; color: var(--cream); }
.chip-sub { font-size: 11.5px; color: var(--slate); }
.closeup-line {
  position: absolute; right: 6%; bottom: 8%;
  font-size: clamp(17px, 2.4vw, 26px); font-weight: 800; color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  max-width: 420px; text-align: right; margin: 0;
}
@media (max-width: 700px) {
  .closeup-chip { left: 5%; bottom: 30%; transform: scale(0.85); transform-origin: bottom left; }
  .closeup-line { right: 5%; bottom: 6%; }
}

/* ── Motivated light: one direction, everywhere the same ─────── */
.price-card, .plan-explainer, .ninety-card p ~ *, .contact-card {
  background-image: linear-gradient(135deg, #FFFFFF 0%, #FAF8F1 100%);
}
.price-card.featured { background-image: linear-gradient(135deg, #FFFDF4 0%, #F8F1DA 100%); }
/* Dark panels: faint gold rim light, as if lit by the board. */
.ninety-shot, .phone-frame {
  box-shadow: inset 1px 1px 0 rgba(212, 175, 55, 0.30), 0 14px 34px rgba(23, 35, 59, 0.18);
}

/* ── Physics: things settle, they don't pop ──────────────────── */
.settle { opacity: 0; transform: translateY(14px); }
.settle.in {
  opacity: 1; transform: none;
  transition: opacity 0.32s ease-out var(--d, 0ms), transform 0.32s ease-out var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .settle { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
}

/* ── Ambient sections: the film's world continues down the page ── */
.ambient {
  position: relative;
  overflow: hidden;
  /* Full-bleed atmosphere: the backdrop owns the viewport width while the
     content keeps its 960px column via matched padding. */
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(40px, calc(50vw - 480px));
}
.ambient::before {
  content: '';
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
  animation: ambient-drift 46s ease-in-out infinite alternate;
}
/* Veil keeps text on paper, not on photo - atmosphere, never competition. */
.ambient::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(251, 250, 247, 0.86) 0%,
    rgba(251, 250, 247, 0.70) 55%,
    rgba(251, 250, 247, 0.82) 100%);
  z-index: 0;
}
.ambient > * { position: relative; z-index: 1; }
.ambient-room::before { background-image: url('media/ambient-room.jpg'); }
.ambient-door::before { background-image: url('media/ambient-door.jpg'); }
@keyframes ambient-drift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.07) translateY(-1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient::before { animation: none; }
}

/* Photographic bands and the how-it-works film inside prose pages:
   full column width, soft frame, same settle treatment as cards. */
.prose .photo-band,
.prose .howto-film {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(20, 16, 8, 0.08);
  display: block;
  margin: 26px 0 8px;
}
.prose .photo-caption {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 8px 0 26px;
}
