/*
 * MorphCam — Main Stylesheet
 * Single shared stylesheet for all pages.
 *
 * Google Fonts import (place in each page's <head>):
 * <link rel="preconnect" href="https://fonts.googleapis.com">
 * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
 * <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* backgrounds */
  --bg:             #0a0a0b;
  --bg-contrast:    #0d0d0f;
  --bg-raised:      #101012;
  --surface:        #161618;
  --surface-hover:  #1c1c1f;
  /* borders */
  --border:         #222226;
  --border-strong:  #2e2e34;
  /* text */
  --text-primary:   #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted:     #6b6b73;
  /* accent */
  --accent:         #00B4D8;
  --accent-hover:   #22c5e8;
  --accent-soft:    rgba(0,180,216,0.12);
  /* glows */
  --glow-violet:    rgba(120,90,255,0.10);
  --glow-cyan:      rgba(0,180,216,0.12);
  /* radii */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --maxw:           1160px;
  /* legacy aliases so existing page rules don't break */
  --surface-2:      #1c1c1f;
  --success:        #10b981;
  --danger:         #ef4444;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-weight: 700; letter-spacing: -0.03em; }

/* Eyebrow label — sits above section headings */
.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Display / hero heading size */
.text-display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Section heading size */
.text-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* Section spacing utility */
.section {
  padding: 120px 0;
}

/* Background band utilities */
.band-bg       { background: var(--bg); }
.band-contrast { background: var(--bg-contrast); }
.band-raised   { background: var(--bg-raised); }

/* Glow utility — soft radial light behind section content */
.has-glow {
  position: relative;
  overflow: hidden;
}

.has-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, var(--glow-cyan), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 40%, var(--glow-violet), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.has-glow > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   LINKS
   ============================================================ */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}

.btn-primary {
  background: var(--accent);
  color: #04181c;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #04181c;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0,180,216,0.25);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
  color: var(--text-primary);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.site-logo:hover {
  text-decoration: none;
}

/* Primary nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
  margin-left: auto;
}

.nav-toggle svg {
  display: block;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 820px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 0 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .site-header .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-contrast);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Footer brand column */
.footer-brand .site-logo {
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Footer nav columns */
.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 56px 0;
  }

  .section {
    padding: 72px 0;
  }
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  padding: 96px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  margin-bottom: 20px;
}

.hero-scroll-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.hero-scroll-link:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* .hero-shot is now an .app-window — no override needed */

/* ============================================================
   HOME — THE PROBLEM
   ============================================================ */
.section-problem {
  border-top: 1px solid var(--border);
}

/* Shared centered prose block */
.prose-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.prose-center h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}

.prose-center p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.prose-center p:last-of-type {
  margin-bottom: 24px;
}

.prose-center a {
  font-size: 0.9375rem;
}

/* ============================================================
   HOME — WHO IT'S FOR
   ============================================================ */
.section-who {
  border-top: 1px solid var(--border);
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================================
   HOME — HOW IT WORKS
   ============================================================ */
.section-how {
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================================
   HOME — TRUST TEASER
   ============================================================ */
.section-trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HOME — PRICING TEASER
   ============================================================ */
.section-pricing-teaser {
  border-top: 1px solid var(--border);
}

/* ============================================================
   HOME — FINAL CTA
   ============================================================ */
.section-cta {
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   HOME — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-sub {
    max-width: 100%;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   INNER PAGES — PAGE HEADER
   (shared by download, pricing, about, etc.)
   ============================================================ */
.page-header {
  padding: 96px 0 80px;
  background: var(--bg);
}

.page-header .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.page-header-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-header-intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

/* Highlight pill/chip for the value proposition */
.page-header-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-md);
  max-width: fit-content;
  margin-top: 8px;
}

.page-header-highlight p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.highlight-mark {
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   PAGE HEADER — RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .page-header {
    padding: 64px 0 56px;
  }

  .page-header h1 {
    margin-bottom: 24px;
  }

  .page-header-intro {
    font-size: 1rem;
  }

  .page-header-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }

  .page-header-highlight p {
    font-size: 0.875rem;
  }

  .highlight-mark {
    width: 2px;
  }
}

/* ============================================================
   INNER PAGES — NARROW CONTENT COLUMN
   ============================================================ */
.content-narrow {
  max-width: 680px;
}

.content-narrow h2 {
  font-size: 1.375rem;
  margin-bottom: 20px;
}

.content-narrow p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================================
   DOWNLOAD — CTA BLOCK
   ============================================================ */
.section-download-cta {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.download-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.download-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   DOWNLOAD — REQUIREMENTS LIST
   ============================================================ */
.requirements-intro {
  margin-bottom: 16px;
}

.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.styled-list li {
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  font-size: 0.9375rem;
}

.styled-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ============================================================
   DOWNLOAD — INSTALL STEPS
   ============================================================ */
.install-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.install-steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.install-step-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
}

.install-steps strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   DOWNLOAD — CALLOUT BOX
   ============================================================ */
.callout {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.callout-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.callout p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ============================================================
   MOTION & ANIMATION
   ============================================================ */

/* --- Card hover lift --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  /* subtle top-edge highlight */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,180,216,0.06);
}

/* --- Button feel --- */
.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* --- Nav link animated underline --- */
.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* --- Hero load animation --- */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.05s;
}

.hero-sub {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.15s;
}

.hero-actions {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.25s;
}

.hero-scroll-link {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.32s;
}

/* hero-shot animation now handled by .hero-visual.reveal */

/* --- Reduced motion: disable all animation/transition --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0.01ms !important;
  }

  /* Ensure reveal elements are always visible */
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   TRUST & SAFETY — PROHIBITED LIST
   ============================================================ */
.section-prohibited {
  border-top: 1px solid var(--border);
}

.ts-intro {
  margin-bottom: 20px;
}

.prohibited-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.prohibited-list li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 22px;
  position: relative;
}

.prohibited-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.6;
}

.ts-closing {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ============================================================
   TRUST & SAFETY — ENFORCEMENT & COMMITMENT
   ============================================================ */
.section-enforcement {
  border-top: 1px solid var(--border);
}

.section-commitment {
  border-top: 1px solid var(--border);
}

/* ============================================================
   PRICING — PACKAGES GRID
   ============================================================ */
.section-packages {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}

.pricing-loading {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ============================================================
   PRICING CARDS — MODERN LINEAR-GRADE DESIGN
   ============================================================ */

/* Card link wrapper — entire card is clickable */
.pricing-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.pricing-card-link:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,180,216,0.06);
}

.pricing-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Featured card styling — elevated with accent glow */
.pricing-card-link--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,180,216,0.02) 100%);
}

.pricing-card-link--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing-card-link--featured > * {
  position: relative;
  z-index: 1;
}

.pricing-card-link--featured:hover {
  transform: translateY(-6px);
  border-color: var(--accent-hover);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 60px rgba(0,180,216,0.15),
    0 0 40px rgba(0,180,216,0.1);
}

/* Badge pill at top of featured cards */
.pricing-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 16px;
  width: fit-content;
}

/* Package name */
.pricing-name {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Price display — hero element */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.pricing-price .currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.9;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Divider line */
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Credits display block */
.pricing-credits-block {
  margin-bottom: 16px;
}

.pricing-credits-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-credits-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Streaming time stat line */
.pricing-time {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA styling — looks like a button but is part of the link */
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  margin-top: auto;
  width: 100%;
  transition: all 0.15s;
}

.pricing-cta-primary {
  background: var(--accent);
  color: #04181c;
  border: 1px solid var(--accent);
}

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

/* Helper text below grid */
.pricing-helper-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================================
   PRICING — RESPONSIVE
   ============================================================ */
/* Medium: 2x2 grid */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: single column */
@media (max-width: 820px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card-link {
    padding: 24px;
  }

  .pricing-price .currency {
    font-size: 1.5rem;
  }

  .pricing-price .amount {
    font-size: 2.125rem;
  }

  .pricing-credits-number {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ABOUT — PROSE NARROW
   Comfortable reading width for long-form prose sections.
   Distinct from .content-narrow (680px, used for lists/steps)
   — this one is wider and has paragraph spacing built in.
   ============================================================ */
.prose-narrow {
  max-width: 720px;
}

.prose-narrow h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 20px;
}

.prose-narrow p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

/* Callout variant with a button below the body text */
.callout--with-action {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callout-body {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ============================================================
   CONTACT — EMAIL ITEMS
   ============================================================ */
.contact-email-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-email-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-email-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-response-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   FORMS — REUSABLE FIELD STYLES
   Used by contact form, and any future forms site-wide.
   ============================================================ */

/* Constrained column width for forms */
.form-column {
  max-width: 600px;
}

.form-column h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 28px;
}

/* Individual field wrapper */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Shared input / textarea base */
.site-form input,
.site-form textarea,
.newsletter-form input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 11px 14px;
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}

.site-form input::placeholder,
.site-form textarea::placeholder,
.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* Accent border on focus */
.site-form input:focus,
.site-form textarea:focus,
.newsletter-form input:focus {
  border-color: var(--accent);
}

.site-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.site-form .btn {
  margin-top: 4px;
}

/* ============================================================
   CONTACT — NEWSLETTER INLINE ROW
   ============================================================ */
.section-newsletter {
  border-top: 1px solid var(--border);
}

.newsletter-intro {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.newsletter-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter-row input {
  flex: 1;
}

/* Screen-reader only label */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CONTACT — COMPANY NOTE
   ============================================================ */
.section-company-note {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Override default section padding for this small closing line */
.section-company-note.reveal {
  padding: 48px 0;
}

.company-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .form-column {
    max-width: 100%;
  }

  .newsletter-row {
    flex-direction: column;
  }

  .newsletter-row .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   LEGAL PAGES — SHARED LAYOUT
   Reused by acceptable-use.html, terms.html, privacy.html.
   ============================================================ */
.legal-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.legal-body {
  padding: 72px 0 96px;
}

/* Single comfortable reading column */
.legal-column {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Each numbered section */
.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.legal-num {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
  flex-shrink: 0;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

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

/* Lettered list (a, b, c …) for prohibited-use sections */
.legal-alpha-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  counter-reset: alpha-counter;
}

.legal-alpha-list li {
  counter-increment: alpha-counter;
  display: flex;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-alpha-list li::before {
  content: counter(alpha-counter, lower-alpha) ".";
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-shrink: 0;
  width: 18px;
  padding-top: 1px;
}

/* Unordered list variant for legal pages (sections 3, 4 of Privacy Policy) */
.legal-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.legal-bullet-list li {
  display: flex;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-bullet-list li::before {
  content: '–';
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 1px;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero-section {
  padding-top: 72px;
  padding-bottom: 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-headline {
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* Accent highlight on "Stay private." */
.hero-accent {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), #48d8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* App window mockup */
.hero-visual {
  position: relative;
}

.app-window {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3);
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.app-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  display: block;
}

.app-window-body {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  background: var(--bg-raised);
}

/* Soft glow bloom behind the hero visual */
.hero-visual-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--glow-cyan), transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(24px);
}

/* ============================================================
   HOME — INTEGRATIONS STRIP
   ============================================================ */
.integrations-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.integrations-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

.integrations-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.integrations-row span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ============================================================
   HOME — SECTION HEADER (eyebrow + heading block)
   ============================================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header .text-heading {
  margin-top: 0;
}

/* ============================================================
   HOME — WHO IT'S FOR GRID
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card icon container */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* Featured card — full width, faint accent border */
.card--featured {
  grid-column: 1 / -1;
  border-color: rgba(0,180,216,0.25);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,180,216,0.04) 100%);
}

/* ============================================================
   HOME — HOW IT WORKS STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 22px; /* vertically centred on the step number */
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
  pointer-events: none;
}

.step {
  padding: 0 32px 0 0;
}

.step:last-child {
  padding-right: 0;
}

.step-number {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================================
   HOME — FEATURE ROWS
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-visual {
  display: flex;
  align-items: center;
}

.feature-visual .app-window {
  width: 100%;
}

.feature-visual .app-window-body {
  aspect-ratio: 16 / 10;
}

/* Reverse: visual on left, text on right */
.feature-row--reverse .feature-text { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }

.feature-text .eyebrow {
  margin-bottom: 12px;
}

.feature-text .text-heading {
  margin-bottom: 20px;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ============================================================
   HOME — PROSE CENTER BUTTON SPACING
   ============================================================ */
.prose-center .btn {
  margin-top: 8px;
}

.prose-center .text-heading {
  margin-bottom: 20px;
}

.prose-center p {
  margin-bottom: 16px;
}

.prose-center p:last-of-type {
  margin-bottom: 24px;
}

/* ============================================================
   HOME — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .hero-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .card--featured {
    grid-column: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .step {
    padding-right: 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }

  .feature-row--reverse .feature-text { order: 1; }
  .feature-row--reverse .feature-visual { order: 2; }

  .integrations-row {
    gap: 24px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ============================================================
   TRUST & SAFETY PAGE
   ============================================================ */

/* Enforcement grid — 4 cards on desktop, 2 on medium, 1 on mobile */
.enforcement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .enforcement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .enforcement-grid {
    grid-template-columns: 1fr;
  }
}

/* Prohibited uses list — serious, clear styling */
.prohibited-list {
  list-style: none;
  margin: 28px 0;
}

.prohibited-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.prohibited-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.125rem;
}

.prohibited-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.prohibited-closing {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Abuse email highlight — prominent callout */
.abuse-email-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.abuse-email-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.abuse-email-address {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.abuse-email-address a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

.abuse-email-address a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* Commitment block — strong closing statement */
.commitment-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
}

.commitment-block .eyebrow {
  margin-bottom: 8px;
}

.commitment-block .text-heading {
  margin-bottom: 0;
}

.commitment-block p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */

/* Hero / CTA block */
.dl-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.dl-hero-inner .eyebrow {
  margin-bottom: 16px;
}

.dl-hero-inner .text-display {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.dl-hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.dl-meta {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Narrow content column for inner sections */
.dl-narrow {
  max-width: 680px;
}

.dl-intro {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Requirements list */
.dl-req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dl-req-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.dl-req-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Install steps */
.dl-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.dl-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}

/* Vertical connector line between steps */
.dl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}

.dl-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.dl-step-body {
  padding-top: 9px;
}

.dl-step-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

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

/* Inline filename style */
.dl-filename {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Accent callout — info/reassurance variant */
.callout--accent {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.callout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Support section body text */
.dl-narrow > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

/* ============================================================
   DOWNLOAD PAGE — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .dl-hero-inner .text-display {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .dl-hero-sub {
    max-width: 100%;
  }

  .callout--accent {
    flex-direction: column;
    gap: 14px;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Hero — centred, generous vertical space */
.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-heading {
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.about-hero-sub {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* Prose sections — comfortable 720px reading column */
.about-prose {
  max-width: 720px;
}

.about-prose .eyebrow {
  margin-bottom: 16px;
}

.about-prose .text-heading {
  margin-bottom: 28px;
}

.about-prose p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.about-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Section intro paragraph (audience section) */
.about-section-intro {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Audience cards — 3-column grid, last card full-width on its row */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Card heading style for about cards */
.about-card-heading {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 14px;
}

/* Survivor card — full width + faint accent border for emphasis */
.card--survivor {
  grid-column: 1 / -1;
  border-color: rgba(0, 180, 216, 0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 180, 216, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(0,180,216,0.08);
}

.card--survivor:hover {
  border-color: rgba(0, 180, 216, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,180,216,0.12);
}

/* Closing paragraph after audience cards */
.about-audience-closing {
  max-width: 640px;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

/* Closing callout — centred CTA block */
.about-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.about-callout .text-heading {
  margin-bottom: 0;
}

.about-callout > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0;
}

.about-callout-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.about-callout-email a {
  color: var(--text-secondary);
  transition: color 0.15s;
}

.about-callout-email a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* ============================================================
   ABOUT PAGE — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .about-hero-sub {
    font-size: 1.0625rem;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .card--survivor {
    grid-column: auto;
  }

  .about-audience-closing {
    margin-top: 28px;
  }
}

/* ============================================================
   ABOUT PAGE — TYPEWRITER ANIMATION
   Only used by #about-hero-headline on about.html.
   ============================================================ */

/* Screen-reader copy: visually hidden but in the a11y tree */
.about-hw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cursor — thin vertical bar rendered as a pseudo-element */
.about-hw-cursor::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  border-radius: 1px;
  margin-left: 3px;
  vertical-align: middle;
  animation: hw-blink 0.65s step-start infinite;
}

@keyframes hw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* After typing finishes: stop blinking, fade the cursor out */
.about-hw-cursor--done::after {
  animation: hw-cursor-fade 0.8s ease 0.4s forwards;
}

@keyframes hw-cursor-fade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ============================================================
   TRUST & SAFETY — ACCOUNT REVIEW SECTION
   ============================================================ */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-bottom: 0;
}

.review-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.review-item:first-child {
  border-top: 1px solid var(--border);
}

.review-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

.review-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.review-closing {
  max-width: 720px;
  margin-top: 32px;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ============================================================
   TRUST & SAFETY — FAQ SECTION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Hero */
.contact-hero-inner {
  max-width: 640px;
}

.contact-hero-heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Email cards — two-column row */
.contact-email-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin-bottom: 28px;
}

.contact-email-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 24px;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

.contact-card-address {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.3;
}

.contact-card-address:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Response note below the cards */
.contact-response-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Form panel — constrained width, card-style surface */
.contact-form-wrap {
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 40px 36px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.contact-form-header {
  margin-bottom: 32px;
}

.contact-form-header .eyebrow {
  margin-bottom: 12px;
}

.contact-form-header .text-heading {
  margin: 0;
}

/* Submit button — full width inside the panel */
.contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* Newsletter panel — constrained width, card-style surface */
.contact-newsletter-wrap {
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 40px 36px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.contact-newsletter-text {
  margin-bottom: 28px;
}

.contact-newsletter-text .eyebrow {
  margin-bottom: 12px;
}

.contact-newsletter-text .text-heading {
  margin-bottom: 12px;
}

.contact-newsletter-text .newsletter-intro {
  margin-bottom: 0;
}

/* Company note section — minimal vertical padding */
.contact-company {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ============================================================
   CONTACT PAGE — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .contact-email-cards {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .contact-newsletter-wrap {
    padding: 28px 24px;
    border-radius: var(--radius-md);
  }
}

/* ============================================================
   LEGAL PAGES — UPGRADED HEADER
   Shared by acceptable-use.html, terms.html, privacy.html.
   ============================================================ */

/* Title area — generous top padding, accent rule below */
.legal-page-header {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--border);
}

.legal-page-header-inner {
  max-width: 760px;
  padding-bottom: 48px;
}

.legal-page-header-inner .eyebrow {
  margin-bottom: 16px;
}

/* Page title — confident but not display-scale; legal needs authority,
   not drama. Sits between text-heading and text-display. */
.legal-page-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Thin accent rule — the only decorative touch on legal pages */
.legal-page-header-inner::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 24px;
}

/* "Last updated" date — understated, below the rule */
.legal-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 0;
}

/* ============================================================
   LEGAL PAGES — BODY UPGRADES
   Consolidates and improves the existing .legal-* rules.
   ============================================================ */

/* Outer section — consistent band, generous vertical breathing room */
.legal-body {
  padding: 64px 0 112px;
}

/* Single reading column — max 760px, left-aligned */
.legal-column {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0; /* sections separated by border-top instead of gap */
}

/* Each numbered section */
.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:first-child {
  border-top: 1px solid var(--border);
}

/* Section heading — number + title inline */
.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Section number — muted, slightly smaller */
.legal-num {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

/* Body paragraphs */
.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

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

/* Lettered list (a, b, c …) */
.legal-alpha-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  counter-reset: alpha-counter;
}

.legal-alpha-list li {
  counter-increment: alpha-counter;
  display: flex;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-alpha-list li::before {
  content: counter(alpha-counter, lower-alpha) ".";
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  flex-shrink: 0;
  width: 18px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* Bullet list variant */
.legal-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.legal-bullet-list li {
  display: flex;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-bullet-list li::before {
  content: '–';
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 1px;
}

/* ============================================================
   LEGAL PAGES — RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .legal-page-header {
    padding-top: 56px;
  }

  .legal-page-header-inner {
    padding-bottom: 36px;
  }

  .legal-page-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .legal-body {
    padding: 48px 0 80px;
  }

  .legal-section {
    padding: 28px 0;
  }
}

/* ============================================================
   404 PAGE
   ============================================================ */

/* Section fills the space between header and footer */
.notfound-section {
  min-height: calc(100vh - 64px - 280px); /* viewport minus header minus approx footer */
  display: flex;
  align-items: center;
}

/* Centred content column */
.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 0;
}

/* Large 404 numeral — accent gradient, display scale, purely decorative */
.notfound-code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(0,180,216,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  margin-bottom: -8px; /* tighten gap to eyebrow below */
}

/* Text block — eyebrow + heading + sub */
.notfound-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.notfound-text .eyebrow {
  margin-bottom: 14px;
}

.notfound-heading {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.notfound-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin: 0;
}

/* Button row */
.notfound-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Quick-links row */
.notfound-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.notfound-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.notfound-links a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* Dot separator between quick links */
.notfound-links-sep {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* ============================================================
   404 PAGE — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .notfound-inner {
    padding: 56px 0;
    gap: 28px;
  }

  .notfound-actions {
    flex-direction: column;
    width: 100%;
  }

  .notfound-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */

/* Hero */
.hiw-hero-inner {
  max-width: 680px;
}

.hiw-hero-heading {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hiw-hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
}

.hiw-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Shared narrow column for prose sections */
.hiw-narrow {
  max-width: 720px;
}

/* Section intro paragraph (sits below heading inside section-header) */
.hiw-section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ---- Video placeholder ---- */
.hiw-video-wrap {
  margin-top: 36px;
}

.hiw-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 32px rgba(0,0,0,0.3);
  overflow: hidden;
}

.hiw-video-placeholder span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---- Checklist ---- */
.hiw-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.hiw-checklist li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hiw-checklist li:first-child {
  border-top: 1px solid var(--border);
}

/* Accent tick mark */
.hiw-check {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.hiw-check::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
}

.hiw-check::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---- Numbered steps ---- */
.hiw-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.hiw-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hiw-step:first-child {
  border-top: 1px solid var(--border);
}

.hiw-step-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 32px;
  padding-top: 3px;
  line-height: 1;
}

.hiw-step-body {
  flex: 1;
}

.hiw-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.hiw-step-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ---- Tips grid ---- */
.hiw-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hiw-tip p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.hiw-tip strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---- Homepage: guide link below steps ---- */
.hiw-guide-link {
  margin-top: 48px;
  text-align: center;
}

/* ============================================================
   HOW IT WORKS PAGE — MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .hiw-hero-actions {
    flex-direction: column;
  }

  .hiw-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hiw-step {
    gap: 20px;
    padding: 28px 0;
  }

  .hiw-tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hiw-tips-grid {
    grid-template-columns: 1fr;
  }
}

/* Support section CTA — left-aligned, spaced below the prose */
.hiw-support-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
}

/* ============================================================
   FRAME IMAGE — screenshot inside app-window-body
   ============================================================ */

/* Allow the frame body to clip the image to the frame's border-radius */
.app-window-body {
  overflow: hidden;
}

.frame-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom; /* removes inline gap below the image */
}
