/* TestFlock website — matches mobile app theme (src/constants/theme.ts) */
:root {
  --bg: #0b1628;
  --bg-rgb: 11, 22, 40;
  --bg-gradient-end: #0f2240;
  --card: rgba(16, 32, 58, 0.75);
  --card-border: rgba(100, 140, 200, 0.18);
  --card-highlight: rgba(30, 58, 95, 0.9);
  --text-primary: #ffffff;
  --text-secondary: #8ba3c7;
  --text-muted: #6b8299;
  --accent: #3b9eff;
  --accent-glow: rgba(59, 158, 255, 0.35);
  --green: #1d7a5c;
  --green-bright: #22c55e;
  --orange: #e08848;
  --gold: #fbbf24;
  --plain-egg: #e2e8f0;
  --cyan: #22d3ee;
  --purple: #a78bfa;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-glow: 0 0 60px rgba(59, 158, 255, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  display: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: #6bb5ff; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 20, 38, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-primary);
}

.brand-name {
  white-space: nowrap;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(59, 158, 255, 0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--accent-glow);
  color: #fff !important;
}

.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: rgba(59, 158, 255, 0.12);
  border: 1px dashed var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

/* Google Play badge (not yet linked) */
.play-download-badge-wrap {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.play-download-badge {
  display: block;
  width: 155px;
  height: auto;
  border-radius: 6px;
  opacity: 0.85;
}

.play-download-badge-wrap--lg .play-download-badge {
  width: 180px;
}

.nav-play-badge .play-download-badge {
  width: 118px;
}

.nav-play-badge {
  margin-left: 0.35rem;
}

.coming-soon-tag-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.nav-coming-soon {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(59, 158, 255, 0.1);
  color: var(--text-primary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  padding: 4.5rem 0 4rem;
  min-height: clamp(440px, 58vh, 620px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/hero.png') center top / cover no-repeat;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(var(--bg-rgb), 0.12) 28%,
    rgba(var(--bg-rgb), 0.45) 52%,
    rgba(var(--bg-rgb), 0.78) 72%,
    rgba(var(--bg-rgb), 0.94) 86%,
    var(--bg) 96%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin-left: max(1rem, calc(50vw - var(--max-width) / 2));
  margin-right: auto;
  max-width: 40rem;
  text-align: left;
}

.hero-content .reveal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero .btn-group {
  justify-content: flex-start;
}

.hero-grid {
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(29, 122, 92, 0.15);
  border: 1px solid rgba(29, 122, 92, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-bright);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 32rem;
  line-height: 1.7;
}

/* ── Sections ── */
section { padding: 4.5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
  max-width: 36rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 140, 200, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

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

/* ── Steps timeline ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 72px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--card-border), transparent);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.step-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-screenshot {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 280px;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-screenshot:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.screenshot-trigger {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  text-align: left;
}

.screenshot-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.screenshot-trigger .step-screenshot {
  margin-top: 0;
  pointer-events: none;
}

.screenshot-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Image lightbox ── */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-lightbox[hidden] {
  display: none !important;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.image-lightbox-img {
  width: 100%;
  max-height: calc(90vh - 5rem);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #0d1117;
}

.image-lightbox-caption {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 36rem;
}

.image-lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: rgba(16, 32, 58, 0.95);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.image-lightbox-close:hover {
  background: var(--card-highlight);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
}

.table-scroll .comparison-table {
  margin: 0;
}

.table-scroll .comparison-table th:first-child,
.table-scroll .comparison-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 1;
}

/* ── Eggs feature ── */
.eggs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.egg-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.egg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.egg-card.plain::before { background: radial-gradient(circle at 50% 0%, var(--plain-egg), transparent 60%); }
.egg-card.golden::before { background: radial-gradient(circle at 50% 0%, var(--gold), transparent 60%); }

.egg-icon {
  display: none;
}

@keyframes egg-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.egg-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.egg-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

.egg-color-plain { color: var(--plain-egg); }
.egg-color-gold { color: var(--gold); }

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  width: 100%;
  margin-inline: auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover { background: rgba(59, 158, 255, 0.05); }

.faq-question .chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-item.open .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 140, 200, 0.35);
}

.blog-card-body { padding: 1.5rem; }

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.blog-card h2 a { color: var(--text-primary); }
.blog-card h2 a:hover { color: var(--accent); }

.blog-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Article / legal prose ── */
.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.prose .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.prose p, .prose li {
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.prose a { text-decoration: underline; text-underline-offset: 2px; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--card-border);
  text-align: left;
}

.comparison-table th {
  background: var(--card-highlight);
  font-weight: 600;
}

.comparison-table td { color: var(--text-secondary); }

.comparison-table .yes { color: var(--green-bright); }
.comparison-table .partial { color: var(--orange); }

/* ── Page header (inner pages) ── */
.page-banner {
  position: relative;
  width: 100%;
  isolation: isolate;
  overflow-x: clip;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vw * 724 / 2172);
  background: url('/images/background.png') no-repeat center top;
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

.page-banner-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vw * 724 / 2172);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 72%,
    rgba(var(--bg-rgb), 0.35) 85%,
    rgba(var(--bg-rgb), 0.85) 94%,
    var(--bg) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.page-banner-body {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  overflow-x: clip;
  max-width: 100%;
}

.page-banner-body > section:first-of-type,
.page-banner-body > .container:first-child {
  padding-top: 0;
}

.page-banner .page-hero {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 0 0 1.5rem;
  text-align: center;
}

.page-banner-body .container[style*="padding:3rem"] {
  padding-top: 0 !important;
}

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.15), rgba(29, 122, 92, 0.12));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.cta-banner p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
  max-width: 20rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-secondary); }

/* ── SEO highlight box ── */
.seo-callout {
  background: rgba(29, 122, 92, 0.1);
  border: 1px solid rgba(29, 122, 92, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.seo-callout strong { color: var(--green-bright); }

/* ── Support page ── */
.support-layout {
  max-width: 56rem;
  margin: 2rem auto 0;
}

.support-contact {
  text-align: center;
  margin: 0 0 2rem;
}

.support-contact h2 {
  margin: 0 0 0.75rem;
}

.support-contact p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.support-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.support-email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── 404 ── */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    min-height: clamp(380px, 52vh, 520px);
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  .hero-content {
    margin-left: 1rem;
    margin-right: 1rem;
    width: auto;
  }

  .card-grid { grid-template-columns: 1fr; }
  .eggs-showcase { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .support-links-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .brand {
    font-size: 1.25rem;
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 20, 38, 0.98);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open { display: flex; }

  .nav-links a { width: 100%; padding: 0.75rem 1rem; }

  .nav-links .nav-play-badge {
    margin: 0.25rem 1rem 0.5rem;
    align-self: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero .btn-group,
  .cta-banner .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-group .btn,
  .cta-banner .btn-group .btn,
  .hero .btn-group .play-download-badge-wrap,
  .cta-banner .btn-group .play-download-badge-wrap {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .stats-bar {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .step-app {
    padding-left: 2.15rem;
  }

  .step-app-panel {
    padding: 0.85rem 0.9rem;
  }

  .step-app-row {
    gap: 0.65rem;
  }

  .step-app-body {
    min-width: 0;
  }

  .step-screenshot,
  .screenshot-trigger {
    max-width: 100%;
  }

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

  .page-hero p {
    font-size: 0.95rem;
  }

  .prose h1 {
    font-size: 1.65rem;
  }

  .prose h2 {
    font-size: 1.2rem;
  }

  .comparison-table {
    min-width: 36rem;
    font-size: 0.82rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.65rem 0.75rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .faq-answer-inner {
    padding: 0 1rem 1rem;
    font-size: 0.92rem;
  }

  .image-lightbox {
    padding: 0.75rem;
  }

  .image-lightbox-dialog {
    width: 100%;
  }

  .image-lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    position: fixed;
    z-index: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .egg-icon-box { animation: none; }
}
