/* ============================================================================
   marketing.css — Shared design system for WATCHDESK public marketing pages
   ============================================================================
   Canonical dark-theme token + component source for the per-feature landing
   pages served at /features/<slug> (routes/public-features.js) and any future
   standalone (layout:false) marketing page.

   Derived from the inline styles of views/pages/overview.ejs (the original
   infographic landing page). overview.ejs keeps its own inline copy for now;
   THIS file is the canonical source going forward — keep tokens in sync.

   CSP: external same-origin stylesheet (style-src 'self'); Google Fonts are
   allowlisted in middleware/security-headers.js. No inline JS lives here; page
   behavior is in /js/marketing.js (loaded by <script src>, nonce-exempt).

   Brand palette: red #9A0C2F, gold #D4A843. Fonts: Oswald (headers),
   Barlow / Barlow Condensed (body + UI).
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

:root {
  --red: #9A0C2F;
  --red-glow: #c41040;
  --gold: #D4A843;
  --gold-light: #F0DBA8;
  --gold-dim: rgba(212, 168, 67, 0.15);
  --ink: #1A1A1A;
  --ink-deep: #0d0d0d;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #242424;
  --border: rgba(212, 168, 67, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #e8e4df;
  --text-muted: #b0aaa4;
  --white: #FFFFFF;
  --green: #1e8e4e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--ink-deep);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Centered page wrapper + subtle gold grid overlay (mirrors .infographic). */
.marketing {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.marketing::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

section { position: relative; z-index: 1; }

/* ── STICKY NAV ───────────────────────────────────────────────────────────── */
.sticky-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s;
}

.sticky-nav.visible { opacity: 1; transform: translateY(0); }

.sticky-nav a {
  display: inline-block;
  padding: 10px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12pt;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: all 0.3s;
}

.sticky-nav .nav-learn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.sticky-nav .nav-learn:hover { background: var(--gold); color: var(--ink); }

.sticky-nav .nav-signin {
  background: var(--red);
  border: 2px solid var(--red);
  color: var(--white);
}
.sticky-nav .nav-signin:hover { background: var(--red-glow); border-color: var(--red-glow); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 96px 40px 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(154, 12, 47, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-icon {
  font-size: 52pt;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 32px rgba(154, 12, 47, 0.35));
  animation: hero-fade 1s ease-out;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12pt;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  animation: hero-fade 1s ease-out 0.05s both;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 54pt;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.0;
  text-transform: uppercase;
  animation: hero-fade 1s ease-out 0.1s both;
}

.hero-tagline {
  font-family: 'Barlow', sans-serif;
  font-size: 17pt;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  max-width: 720px;
  margin: 16px auto 0;
  line-height: 1.45;
  animation: hero-fade 1s ease-out 0.2s both;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: hero-fade 1s ease-out 0.3s both;
}

.hero-btn {
  display: inline-block;
  padding: 12px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16pt;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.hero-btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.hero-btn-primary:hover { background: var(--red-glow); border-color: var(--red-glow); }

.hero-btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.hero-btn-secondary:hover { background: var(--gold); color: var(--ink); }

@keyframes hero-fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium / Included badge above the hero title */
.feat-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11pt;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: var(--gold);
  color: var(--ink);
  animation: hero-fade 1s ease-out 0.05s both;
}
.feat-badge.free { background: var(--green); color: #fff; }

/* ── SECTION DIVIDER ──────────────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  margin: 56px 0 44px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-divider .label {
  font-family: 'Oswald', sans-serif;
  font-size: 14pt;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── GENERIC SECTION HEADINGS ─────────────────────────────────────────────── */
.sec { padding: 0 40px 56px; }

.sec-title {
  font-family: 'Oswald', sans-serif;
  font-size: 34pt;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 14px;
}

.sec-subtitle {
  text-align: center;
  font-size: 14pt;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

/* ── THE PROBLEM ──────────────────────────────────────────────────────────── */
.problem-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 15pt;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}
.problem-lead strong { color: var(--text); font-weight: 600; }

/* ── CAPABILITY / FEATURE CARD GRID ───────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* .premium-card is reused directly inside .cap-grid (icon + h3 + p). */
.premium-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold);
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.premium-card:hover { border-top-color: var(--gold-light); transform: translateY(-4px); }

.premium-card .pr-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 3px;
}
.premium-card .pr-chip.free { background: var(--green); color: #fff; }

.premium-card .pr-icon {
  font-size: 34pt;
  display: block;
  margin-bottom: 14px;
  filter: grayscale(0.2);
}

.premium-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15pt;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.premium-card p {
  font-size: 13pt;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 300;
}

/* ── HOW IT WORKS (flow steps) ────────────────────────────────────────────── */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-step { text-align: center; flex: 0 0 220px; }

.flow-step .step-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 34pt;
  position: relative;
  transition: all 0.3s;
}
.flow-step:hover .step-circle { background: var(--red); box-shadow: 0 0 30px rgba(154, 12, 47, 0.4); }

.flow-step .step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-size: 11pt;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16pt;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 12.5pt;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
  padding: 0 10px;
}

.flow-arrow {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
  color: var(--gold);
  font-size: 22pt;
}

/* ── APP MOCKUP (browser frame) ───────────────────────────────────────────── */
.mockup-wrap { max-width: 560px; margin: 0 auto; }

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.browser-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(154, 12, 47, 0.08);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-subtle);
}

.chrome-dots { display: flex; gap: 5px; flex-shrink: 0; }
.chrome-dots span { width: 9px; height: 9px; border-radius: 50%; }
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #ffbd2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }

.chrome-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 4px 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 9.5pt;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chrome-url .url-lock { font-size: 8pt; margin-right: 4px; opacity: 0.5; }

.mock-viewport {
  padding: 16px;
  min-height: 260px;
  background: var(--ink);
  position: relative;
}

/* ── GENERIC MOCK PRIMITIVES (compose feature screenshots) ────────────────── */
.mock-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-toolbar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11pt;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mock-add-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14pt; font-weight: 300; line-height: 1;
}

.mock-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11pt;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.mock-sub { font-size: 8.5pt; color: var(--text-muted); margin-bottom: 12px; }
.mock-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 7.5pt; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted);
}
.mock-meta { font-size: 8pt; color: var(--text-muted); }
.mock-divider { height: 1px; background: rgba(255, 255, 255, 0.07); margin: 12px 0; }

/* list rows */
.mock-list { display: flex; flex-direction: column; gap: 7px; }
.mock-list-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 8px 10px;
}
.mock-li-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(154, 12, 47, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12pt; flex-shrink: 0;
}
.mock-li-icon.gold { background: rgba(212, 168, 67, 0.18); }
.mock-li-body { flex: 1; min-width: 0; }
.mock-li-text { font-size: 9.5pt; color: var(--text); font-weight: 500; }
.mock-li-sub { font-size: 8pt; color: var(--text-muted); margin-top: 1px; }

/* a generic two-column key/value or label/value row */
.mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9.5pt; color: var(--text);
}
.mock-row:last-child { border-bottom: none; }

/* pills / status tags */
.mock-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 7pt;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mock-pill-fire { background: rgba(154, 12, 47, 0.25); color: #e86a5e; }
.mock-pill-ems { background: rgba(59, 130, 246, 0.2); color: #6ea8fe; }
.mock-pill-haz { background: rgba(212, 168, 67, 0.2); color: var(--gold); }
.mock-pill-success { background: rgba(30, 142, 78, 0.22); color: #4ade80; }
.mock-pill-warn { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }
.mock-pill-info { background: rgba(212, 168, 67, 0.16); color: var(--gold); }
.mock-pill-muted { background: rgba(255, 255, 255, 0.07); color: var(--text-muted); }

/* toggle chips (filters / segmented controls) */
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8.5pt; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: var(--surface-2);
}
.mock-chip.on { background: var(--red); border-color: var(--red); color: var(--white); }
.mock-chip.on-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* status dots */
.mock-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.mock-dot.green { background: #28c840; }
.mock-dot.amber { background: #ffbd2e; }
.mock-dot.red { background: #ff5f57; }

/* small buttons */
.mock-btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8.5pt; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 5px;
  background: var(--red); color: var(--white);
}
.mock-btn-ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }

/* big number callout */
.mock-bignum {
  font-family: 'Oswald', sans-serif;
  font-size: 26pt; font-weight: 700; color: var(--gold); line-height: 1;
}

/* chat bubbles */
.mock-thread { display: flex; flex-direction: column; gap: 8px; }
.mock-bubble {
  max-width: 78%;
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 9pt;
  line-height: 1.35;
}
.mock-bubble .mock-bubble-from {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 7.5pt; font-weight: 600; letter-spacing: 0.03em;
  color: var(--gold); margin-bottom: 2px;
}
.mock-bubble.them { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 3px; }
.mock-bubble.me { align-self: flex-end; background: rgba(154, 12, 47, 0.35); color: var(--white); border-bottom-right-radius: 3px; }

/* progress bars */
.mock-bar { height: 7px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: hidden; }
.mock-bar-fill {
  height: 100%; border-radius: 4px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}
.reveal.visible .mock-bar-fill { width: var(--fill); }

/* stat trio (reused from dashboard mock) */
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-stat-card {
  background: var(--surface-2); border-radius: 6px;
  padding: 10px 8px; text-align: center; border-top: 2px solid var(--red);
}
.mock-stat-card:last-child { border-top-color: var(--gold); }
.mock-stat-val { font-family: 'Oswald', sans-serif; font-size: 16pt; font-weight: 700; color: var(--gold); line-height: 1; }
.mock-stat-label { font-size: 7.5pt; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* table (reused for response/billing rows) */
.mock-table { width: 100%; border-collapse: collapse; font-size: 8pt; }
.mock-table th {
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 7.5pt;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 5px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-table td {
  padding: 7px 6px; color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
.mock-table tr:last-child td { border-bottom: none; }
.mock-num { font-family: 'Oswald', sans-serif; color: var(--gold); font-weight: 600; }

/* category bars (reused for LOSAP/report mock) */
.mock-category { margin-bottom: 10px; }
.mock-cat-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.mock-cat-name { font-size: 9pt; font-weight: 500; color: var(--text); }
.mock-cat-pts { font-family: 'Oswald', sans-serif; font-size: 9pt; font-weight: 600; color: var(--gold); }
.mock-cat-bar { height: 6px; background: rgba(255, 255, 255, 0.06); border-radius: 3px; overflow: hidden; }
.mock-cat-fill { height: 100%; border-radius: 3px; width: 0%; transition: width 1s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.visible .mock-cat-fill { width: var(--fill); }
.mock-cat-fill-full { background: var(--gold); }
.mock-cat-fill-partial { background: linear-gradient(90deg, var(--red), var(--red-glow)); }
.mock-total { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: baseline; }
.mock-total-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10pt; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.03em; }
.mock-total-val { font-family: 'Oswald', sans-serif; font-size: 16pt; font-weight: 700; color: var(--gold); }
.mock-total-max { font-size: 10pt; color: var(--text-muted); font-weight: 400; }

/* mini month calendar (events / scheduling) */
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mock-cal-dow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 6.5pt; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; padding-bottom: 2px;
}
.mock-cal-cell {
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  background: var(--surface-2);
  font-size: 7pt; color: var(--text-muted);
  padding: 2px 0 0 3px;
  position: relative;
  overflow: hidden;
}
.mock-cal-cell.muted { opacity: 0.4; }
.mock-cal-bar {
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 4px; border-radius: 2px;
}
.mock-cal-bar.green { background: #1e8e4e; }
.mock-cal-bar.amber { background: #d97706; }
.mock-cal-bar.red { background: var(--red); }
.mock-cal-bar.purple { background: #7c5cd6; }
.mock-cal-bar.slate { background: #64748b; }
.mock-cal-bar.gold { background: var(--gold); }

/* ── WORKS WITH (cross-link cards) ────────────────────────────────────────── */
.crosslink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.crosslink-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 16px 18px;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.crosslink-card:hover { transform: translateY(-3px); background: var(--surface-2); border-left-color: var(--gold-light); }
.crosslink-card .cl-icon { font-size: 22pt; flex-shrink: 0; line-height: 1; }
.crosslink-card .cl-body { flex: 1; min-width: 0; }
.crosslink-card .cl-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13pt; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.crosslink-card .cl-desc { font-size: 11pt; color: var(--text-muted); font-weight: 300; line-height: 1.35; margin-top: 2px; }
.crosslink-card .cl-arrow { color: var(--gold); font-size: 15pt; flex-shrink: 0; }

/* ── CTA BAND ─────────────────────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  margin: 10px 40px 0;
  padding: 48px 32px;
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.07), rgba(154, 12, 47, 0.06));
  border: 1px solid var(--border);
  border-radius: 14px;
}
.cta-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 30pt; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px;
}
.cta-band p { font-size: 14pt; color: var(--text-muted); font-weight: 300; max-width: 640px; margin: 0 auto 26px; line-height: 1.5; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-tertiary {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12pt; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
}
.cta-tertiary:hover { color: var(--gold); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.infographic-footer {
  text-align: center;
  padding: 56px 40px 80px;
  position: relative;
}
.infographic-footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(154, 12, 47, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.footer-tagline { font-family: 'Barlow', sans-serif; font-size: 16pt; font-weight: 300; color: var(--text-muted); font-style: italic; margin-bottom: 16px; }
.footer-brand { font-family: 'Oswald', sans-serif; font-size: 28pt; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-url { font-family: 'Barlow Condensed', sans-serif; font-size: 15pt; color: var(--text-muted); letter-spacing: 0.06em; margin-top: 8px; }
.footer-buttons { margin-top: 28px; display: flex; gap: 16px; justify-content: center; }
.footer-line { width: 80px; height: 3px; background: var(--gold); margin: 28px auto 0; }
.footer-links { margin-top: 20px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 12pt; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-contact { margin-top: 26px; font-family: 'Barlow', sans-serif; font-size: 11pt; line-height: 1.7; color: var(--text-muted); }
.footer-contact .fc-name { color: var(--text); font-weight: 600; letter-spacing: 0.02em; }
.footer-contact a { color: var(--text-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

/* ── PWA STANDALONE SIGN-IN BAR ───────────────────────────────────────────── */
.pwa-signin-bar { display: none; }

@media (display-mode: standalone) {
  .sticky-nav { display: none !important; }
  .pwa-signin-bar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 200;
    justify-content: center;
    padding: 10px 16px;
    background: rgba(13, 13, 13, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .pwa-signin-bar a {
    display: block;
    width: 100%;
    max-width: 460px;
    min-height: 52px;
    line-height: 52px;
    text-align: center;
    background: var(--red);
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16pt;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
  }
  .pwa-signin-bar a:active { background: var(--red-glow); }
}

/* ── SCROLL REVEAL ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── PRINT ────────────────────────────────────────────────────────────────── */
@media print {
  body { background: var(--ink-deep); }
  .marketing::before { display: none; }
  .sticky-nav { display: none; }
}

/* ── TABLET ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cap-grid, .cap-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42pt; }
  .mockup-wrap { max-width: 460px; }
  .flow-steps { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .flow-arrow { display: none; }
  .flow-step { flex: 0 0 30%; }
}

/* ── PHONE ────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .sec { padding-left: 20px; padding-right: 20px; }
  .section-divider { padding: 0 20px; margin: 40px 0 30px; }

  .hero { padding: 56px 20px 44px; }
  .hero-icon { font-size: 40pt; }
  .hero-title { font-size: 30pt; }
  .hero-tagline { font-size: 14pt; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btn { font-size: 14pt; padding: 14px 28px; width: 86%; min-height: 50px; text-align: center; }
  .hero-btn-primary { font-size: 16pt; box-shadow: 0 6px 20px rgba(154, 12, 47, 0.4); }

  .sec-title { font-size: 22pt; margin-bottom: 16px; }
  .sec-subtitle, .problem-lead { font-size: 12pt; }
  .section-divider .label { font-size: 11pt; }

  .cap-grid, .cap-grid.cols-2 { grid-template-columns: 1fr; gap: 14px; }
  .premium-card { padding: 24px 18px 18px; }
  .premium-card .pr-icon { font-size: 28pt; margin-bottom: 10px; }
  .premium-card h3 { font-size: 13pt; }
  .premium-card p { font-size: 11pt; }

  .flow-steps { flex-direction: column; gap: 8px; align-items: center; }
  .flow-step { flex: none; width: 100%; }
  .flow-step .step-circle { width: 80px; height: 80px; font-size: 28pt; }

  .mockup-wrap { max-width: 100%; }
  .mock-viewport { min-height: auto; padding: 14px; }

  .crosslink-grid { grid-template-columns: 1fr; }

  .cta-band { margin: 10px 20px 0; padding: 36px 22px; }
  .cta-band h2 { font-size: 22pt; }
  .cta-band p { font-size: 12pt; }

  .infographic-footer { padding: 40px 20px 60px; }
  .footer-brand { font-size: 22pt; }
  .footer-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .footer-buttons .hero-btn { width: 80%; text-align: center; }

  .sticky-nav {
    top: auto; bottom: 0; left: 0; right: 0;
    transform: none;
    justify-content: center;
    background: rgba(13, 13, 13, 0.95);
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .sticky-nav.visible { transform: none; }
  .sticky-nav a { font-size: 11pt; padding: 8px 18px; }
}
