/* ═══════════════════════════════════════════════════════════
   RoomScore Homepage – Editorial Redesign
   Alternating gradient sections: dark → light → dark
   Each section has its own atmospheric mood
   ═══════════════════════════════════════════════════════════ */

/* ── Base ──────────────────────────────────────────────── */

body.homepage-editorial,
body.solution-editorial {
  background: #0c0b09;
  background-image: none;
  color: #2f342e;
}

/* ═══════════════════════════════════════════════════════════
   INTRO SPLASH – Cinematic title card
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: splash-fade-out 0.6s ease 2.6s forwards;
}

body.homepage-editorial .intro-splash-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.homepage-editorial .intro-splash-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 5, 0.2) 0%, rgba(8, 7, 5, 0.35) 100%);
}

/* Splash logo container */
body.homepage-editorial .intro-splash-logo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: splash-fade-out 0.6s ease 2.6s forwards;
}

body.homepage-editorial .logo-anim {
  width: clamp(80px, 14vw, 120px);
  height: clamp(80px, 14vw, 120px);
}

/* Wave bars: pulse then fade */
body.homepage-editorial .logo-bar {
  transform-origin: center center;
  animation: bar-pulse 0.6s ease 0.2s 2 alternate;
}

body.homepage-editorial .logo-bar--2,
body.homepage-editorial .logo-bar--4 { animation-delay: 0.3s; }
body.homepage-editorial .logo-bar--3,
body.homepage-editorial .logo-bar--5 { animation-delay: 0.4s; }

@keyframes bar-pulse {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(1.4); }
}

/* Waves fade out as ring draws in */
body.homepage-editorial .logo-waves {
  animation: waves-out 0.5s ease 1.2s forwards;
}

@keyframes waves-out {
  to { opacity: 0; transform: translate(60px,60px) scale(0.7); }
}

/* Ring track fades in */
body.homepage-editorial .logo-ring-track {
  opacity: 0;
  animation: ring-track-in 0.4s ease 1.0s forwards;
}

@keyframes ring-track-in {
  to { opacity: 1; }
}

/* Ring fill draws from 0 to 82% */
body.homepage-editorial .logo-ring-fill {
  animation: ring-draw 1.0s cubic-bezier(0.2, 0.72, 0.22, 1) 1.3s forwards;
}

@keyframes ring-draw {
  to { stroke-dashoffset: 49.8; }  /* 276.5 - (276.5 * 0.82) = 49.8 → 82% fill */
}

/* Wordmark under the logo */
body.homepage-editorial .intro-splash-wordmark {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fdfcf8;
  opacity: 0;
  animation: splash-text-in 0.6s ease 1.5s forwards;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

@keyframes splash-text-in {
  from {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* (splash-shimmer and splash-text-out removed — logo anim handles exit) */

/* splash-bg-darken removed — splash fades out, hero bg persists */

@keyframes splash-fade-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Block scrolling during splash */
body.homepage-editorial.splash-active {
  overflow: hidden;
}

/* Reduced motion: skip entirely */
@media (prefers-reduced-motion: reduce) {
  body.homepage-editorial .intro-splash {
    display: none;
  }
}

/* ── Section background images ── */
body.homepage-editorial .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
}

/* Dark sections: slightly more visible */
body.homepage-editorial .feature-panel[data-feature="coverage"] .section-bg,
body.homepage-editorial .feature-panel[data-feature="portfolio"] .section-bg,
body.homepage-editorial .home-compare .section-bg,
body.homepage-editorial #roadmap .section-bg,
body.homepage-editorial #get-started .section-bg,
body.homepage-editorial .home-trust .section-bg,
body.homepage-editorial .home-final .section-bg {
  opacity: 0.14;
}

/* Light sections: subtler */
body.homepage-editorial .feature-showcase > .section-bg,
body.homepage-editorial #credibility .section-bg,
body.homepage-editorial #guides .section-bg,
body.homepage-editorial #support .section-bg {
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Feature panels need position:relative for the bg to anchor */
body.homepage-editorial .feature-panel[data-feature="coverage"],
body.homepage-editorial .feature-panel[data-feature="portfolio"] {
  position: relative;
}

/* ── Typography: DM Serif Display for headings ── */
body.homepage-editorial .hero-title,
body.homepage-editorial .section-title,
body.homepage-editorial h2.section-title,
body.homepage-editorial h3.section-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

body.homepage-editorial::before {
  display: none;
}

body.homepage-editorial main::before {
  display: none;
}

/* ── Noise/grain texture overlay for premium editorial feel ── */
body.homepage-editorial main::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

/* ── App Store badge ── */
body.homepage-editorial .app-store-badge {
  display: inline-block;
  margin-top: 0.25rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.homepage-editorial .app-store-badge svg {
  width: 110px;
  height: auto;
}

body.homepage-editorial .app-store-badge:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ── Founder strip (replaces old benchmark section) ── */
body.homepage-editorial .founder-strip-section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: #0c0b09;
}

body.homepage-editorial .founder-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .founder-strip-photo {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  max-width: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(246, 243, 236, 0.1);
}

body.homepage-editorial .founder-strip-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

body.homepage-editorial .founder-strip-mission {
  margin: 0;
  color: rgba(246, 243, 236, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
  font-style: italic;
}

body.homepage-editorial .founder-strip-name {
  margin: 0.25rem 0 0;
  color: rgba(246, 243, 236, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ── Staggered reveal animations ── */
body.homepage-editorial [data-story-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

body.homepage-editorial [data-story-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

/* ── Hero screenshot float animation ── */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

body.homepage-editorial .home-hero-visual .story-media-stage {
  animation: hero-float 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.homepage-editorial .home-hero-visual .story-media-stage {
    animation: none;
  }
}

/* ── Active nav link highlighting ── */
body.homepage-editorial .nav-links a.is-active {
  color: #f6f3ec !important;
}

body.homepage-editorial .nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

body.homepage-editorial .nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #f6f3ec;
  border-radius: 999px;
  opacity: 1;
  width: 100%;
}

/* ── Parallax screenshots: will-change hint ── */
body.homepage-editorial .app-screenshot {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── Section dividers (gradient wipes between sections) ── */
body.homepage-editorial .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 236, 0.06) 30%, rgba(246, 243, 236, 0.06) 70%, transparent);
  pointer-events: none;
}

body.homepage-editorial .home-hero::before,
body.homepage-editorial .founder-strip-section::before {
  display: none;
}

/* Light section dividers */
body.homepage-editorial .feature-showcase::before,
body.homepage-editorial #credibility::before,
body.homepage-editorial #guides::before,
body.homepage-editorial #support::before {
  background: linear-gradient(90deg, transparent, rgba(47, 52, 46, 0.06) 30%, rgba(47, 52, 46, 0.06) 70%, transparent);
}

/* ── App Store badge alignment: match button width ── */
body.homepage-editorial .home-hero .app-store-badge {
  display: none;
}

/* ── CTA button glow pulse ── */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 243, 236, 0); }
  50% { box-shadow: 0 0 24px 4px rgba(246, 243, 236, 0.08); }
}

body.homepage-editorial .home-hero .button-primary {
  animation: cta-glow 3s ease-in-out infinite;
}

/* ── Card hover micro-interactions ── */
body.homepage-editorial .glass,
body.homepage-editorial .home-proof-card,
body.homepage-editorial .doc-card,
body.homepage-editorial .roadmap-item {
  transition: transform 0.3s cubic-bezier(0.2, 0.72, 0.22, 1), box-shadow 0.3s ease;
}

body.homepage-editorial .doc-card:hover,
body.homepage-editorial .roadmap-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

/* ── Gradient shimmer on hero ── */
@keyframes hero-shimmer {
  0% { opacity: 0; transform: translateX(-100%) skewX(-15deg); }
  50% { opacity: 0.06; }
  100% { opacity: 0; transform: translateX(200%) skewX(-15deg); }
}

body.homepage-editorial .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  animation: hero-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

body.homepage-editorial .site-header {
  backdrop-filter: blur(18px);
  background: rgba(12, 11, 9, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.homepage-editorial .site-header .brand,
body.homepage-editorial .site-header .nav-links a,
body.homepage-editorial .site-header .button-nav {
  color: rgba(246, 243, 236, 0.76);
}

body.homepage-editorial .site-header .nav-links a:hover,
body.homepage-editorial .site-header .brand:hover {
  color: #f6f3ec;
}

body.homepage-editorial .site-header .button-nav {
  border-color: rgba(246, 243, 236, 0.18);
}

body.homepage-editorial .site-header .button-primary--sm {
  background: #f6f3ec;
  color: #0c0b09;
  border: none;
}

/* Header SVG logo */
body.homepage-editorial .brand-mark-svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

body.homepage-editorial .brand {
  text-decoration: none;
}

/* Footer SVG logo */
body.homepage-editorial .footer-brand .brand-mark-svg {
  width: 26px;
  height: 26px;
}

body.homepage-editorial .section,
body.solution-editorial .docs-page {
  position: relative;
}

body.homepage-editorial #credibility,
body.homepage-editorial #roadmap,
body.homepage-editorial #guides,
body.homepage-editorial #get-started,
body.homepage-editorial #support,
body.homepage-editorial .home-final {
  overflow: clip;
}

body.homepage-editorial .feature-showcase {
  overflow: visible;
}

/* ── Tighter section padding ──────────────────────────── */

body.homepage-editorial .section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

body.homepage-editorial .home-hero {
  padding-top: clamp(5.5rem, 11vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}

/* ── Reveal animation ─────────────────────────────────── */

body.homepage-editorial [data-story-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.16, 0.82, 0.18, 1);
}

body.homepage-editorial [data-story-reveal].is-visible,
html.reduced-motion body.homepage-editorial [data-story-reveal] {
  opacity: 1;
  transform: none;
}

/* ── Container widths ─────────────────────────────────── */

body.homepage-editorial .home-hero .container,
body.homepage-editorial .founder-strip-section .container,
body.homepage-editorial .feature-showcase .container,
body.homepage-editorial .home-compare .container,
body.homepage-editorial #credibility .container,
body.homepage-editorial #roadmap .container,
body.homepage-editorial #guides .container,
body.homepage-editorial #get-started .container,
body.homepage-editorial #support .container,
body.homepage-editorial .home-final .container,
body.solution-editorial .docs-page > .container {
  max-width: 1180px;
}

/* ═══════════════════════════════════════════════════════════
   HERO – Deep black with cinematic overlay
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-hero {
  overflow: clip;
  padding: clamp(5.5rem, 11vw, 7.5rem) 0 clamp(4rem, 8vw, 5.5rem);
  background: #0c0b09;
}

/* Scroll-driven video canvas */
body.homepage-editorial .home-hero .hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* During splash: canvas starts vivid */
body.splash-active .home-hero .hero-bg-canvas {
  opacity: 0.7;
  animation: hero-bg-settle 1.4s ease 1.8s forwards;
}

@keyframes hero-bg-settle {
  to { opacity: 0.22; }
}

/* Static fallback (hidden when canvas is active) */
body.homepage-editorial .home-hero .hero-bg-image {
  position: absolute;
  inset: 0;
  background: url("/img/photos/hero-conference-room.webp") center/cover no-repeat;
  opacity: 0.22;
  z-index: 0;
}

body.homepage-editorial.frames-loaded .home-hero .hero-bg-image {
  display: none;
}

body.homepage-editorial .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, #0c0b09);
  pointer-events: none;
  z-index: 0;
}

body.homepage-editorial .home-hero .feature-row--hero {
  position: relative;
  z-index: 1;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
}

body.homepage-editorial .home-hero-copy {
  gap: 1rem;
  color: #f6f3ec;
}

body.homepage-editorial .home-hero .eyebrow,
body.homepage-editorial .home-hero .hero-note,
body.homepage-editorial .home-hero .hero-note a {
  color: rgba(246, 243, 236, 0.6);
}

body.homepage-editorial .home-hero .hero-title {
  max-width: 9ch;
  margin: 0;
  color: #fdfcf8;
  font-size: clamp(3.2rem, 6.4vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

body.homepage-editorial .home-hero .lead {
  max-width: 31rem;
  margin: 0;
  color: rgba(246, 243, 236, 0.85);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
}

body.homepage-editorial .home-hero .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

body.homepage-editorial .home-hero .button-secondary {
  color: #f6f3ec;
  border-color: rgba(246, 243, 236, 0.2);
  background: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 40rem;
  padding-top: 1rem;
}

body.homepage-editorial .home-hero-proof-stat {
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 243, 236, 0.12);
}

body.homepage-editorial .home-hero-proof-stat strong,
body.homepage-editorial .story-benchmark-value,
body.homepage-editorial .story-score-card strong,
body.homepage-editorial .story-stat-large {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

body.homepage-editorial .home-hero-proof-stat span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(246, 243, 236, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.homepage-editorial .home-hero-visual {
  display: grid;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER / BENCHMARK – Dark, integrated with hero flow
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-benchmark-section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: #0c0b09;
  color: #f6f3ec;
}

body.homepage-editorial .home-benchmark-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(246, 243, 236, 0.08);
  border-bottom: 1px solid rgba(246, 243, 236, 0.08);
}

body.homepage-editorial .story-founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

body.homepage-editorial .story-founder-photo {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.homepage-editorial .story-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.homepage-editorial .home-benchmark-quote {
  margin: 0;
  max-width: 30rem;
  color: rgba(246, 243, 236, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

body.homepage-editorial .home-benchmark-section .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-benchmark-section .app-footnote {
  color: rgba(246, 243, 236, 0.58);
}

body.homepage-editorial .benchmark-strip-stats {
  gap: 1.4rem;
}

body.homepage-editorial .benchmark-strip-stat {
  text-align: left;
  color: #f6f3ec;
}

body.homepage-editorial .story-benchmark-value::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 243, 236, 0.35) calc(var(--stat-fill, 82) * 1%), rgba(246, 243, 236, 0.06) 0);
}

/* ═══════════════════════════════════════════════════════════
   MEDIA STAGES – Shared screenshot framing
   ═══════════════════════════════════════════════════════════ */

/* ── Screenshot framing: clean, consistent, no multi-layer frames ── */

body.homepage-editorial .story-media-stage {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.homepage-editorial .story-media-stage--dark,
body.homepage-editorial .story-media-stage--muted,
body.homepage-editorial .story-media-stage--hero {
  background: transparent;
  box-shadow: none;
}

body.homepage-editorial .story-media-frame {
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

body.homepage-editorial .story-media-frame img,
body.homepage-editorial .story-guide-thumb img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

/* On dark sections, stronger shadow for screenshots */
body.homepage-editorial .feature-panel[data-feature="coverage"] .story-media-frame img,
body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-media-frame img {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
}

body.homepage-editorial .home-hero .story-media-frame img {
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

body.homepage-editorial .story-media-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Caption colors per section context */
body.homepage-editorial .home-hero .story-media-caption {
  color: rgba(246, 243, 236, 0.55);
}

/* Light section captions */
body.homepage-editorial .feature-showcase .story-media-caption {
  color: rgba(47, 52, 46, 0.62);
}

/* Dark section captions */
body.homepage-editorial .feature-panel[data-feature="coverage"] .story-media-caption,
body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-media-caption {
  color: rgba(246, 243, 236, 0.55);
}

/* Proof cards and solution hero media retain their styling */
body.homepage-editorial .story-proof-card,
body.solution-editorial .solution-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

body.solution-editorial .solution-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE SHOWCASE (How It Works) – Light warm section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .feature-showcase {
  padding-top: clamp(4rem, 7vw, 5rem);
  padding-bottom: 0;
  color: #2f342e;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(246, 243, 236, 0.6), transparent 60%),
    linear-gradient(180deg, #0c0b09 0%, #f8f5ef 6%, #f2ede4 40%, #f2ede4 100%);
}

body.homepage-editorial .feature-showcase > .container > .kicker {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial .feature-showcase > .container > .section-title {
  max-width: 12ch;
  color: #2f342e;
}

/* Light section text overrides for feature showcase */
body.homepage-editorial .feature-showcase .section-title {
  color: #2f342e;
}

body.homepage-editorial .feature-showcase .section-subtitle {
  color: rgba(47, 52, 46, 0.78);
}

body.homepage-editorial .feature-showcase .kicker,
body.homepage-editorial .feature-showcase .feature-kicker {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial .feature-showcase .home-feature-list li {
  color: rgba(47, 52, 46, 0.72);
}

body.homepage-editorial .feature-showcase .home-feature-list li::before {
  background: #1c6d25;
}

body.homepage-editorial .feature-showcase .app-footnote {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial .feature-showcase .home-analysis-chip {
  color: rgba(47, 52, 46, 0.72);
  background: rgba(47, 52, 46, 0.06);
}

body.homepage-editorial .feature-showcase .home-metric-card {
  color: #2f342e;
}

body.homepage-editorial .feature-showcase .home-metric-label {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial .feature-showcase .home-reco-item {
  color: rgba(47, 52, 46, 0.78);
}

body.homepage-editorial .feature-showcase .home-reco-item strong {
  color: #2f342e;
}

/* Scenarios card in light section */
body.homepage-editorial .feature-showcase .app-card--scenarios {
  color: #2f342e;
  background: rgba(252, 249, 244, 0.82);
  border: 1px solid rgba(47, 52, 46, 0.06);
  border-radius: 22px;
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-label {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-scenario-total {
  color: #2f342e;
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-scenario-meta,
body.homepage-editorial .feature-showcase .app-card--scenarios .app-note {
  color: rgba(47, 52, 46, 0.68);
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-segment button {
  color: rgba(47, 52, 46, 0.55);
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-segment button.is-active {
  color: #2f342e;
  border-bottom-color: #2f342e;
}

body.homepage-editorial .feature-showcase .app-card--scenarios .app-scenario-pill {
  color: rgba(47, 52, 46, 0.78);
  background: rgba(47, 52, 46, 0.04);
  border-color: rgba(47, 52, 46, 0.08);
}

body.homepage-editorial .feature-panels {
  gap: clamp(3.5rem, 7vw, 5.5rem);
}

body.homepage-editorial .home-feature-row {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

body.homepage-editorial .home-feature-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 30rem;
}

body.homepage-editorial .home-feature-row .section-title {
  margin: 0;
  max-width: 11ch;
}

body.homepage-editorial .home-feature-row .section-subtitle {
  margin: 0;
}

body.homepage-editorial .home-feature-media {
  display: grid;
  gap: 0.85rem;
}

/* ── Photo cards ──────────────────────────────────────── */

body.homepage-editorial .story-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(35, 38, 34, 0.06);
  box-shadow: 0 14px 36px rgba(40, 43, 38, 0.08);
}

body.homepage-editorial .story-context-media {
  min-height: 200px;
  border: 1px solid rgba(47, 52, 46, 0.06);
  background: rgba(240, 234, 223, 0.82);
}

body.homepage-editorial .story-context-media--dark {
  background: rgba(42, 45, 42, 0.9);
}

body.homepage-editorial .story-context-media .story-context-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  margin: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.86);
  color: rgba(47, 52, 46, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

body.homepage-editorial .story-context-media--dark .story-context-label {
  background: rgba(20, 21, 24, 0.55);
  color: rgba(246, 243, 236, 0.74);
}

body.homepage-editorial .story-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-width: none;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: none;
}

/* ── Score grid (3 room photos) ───────────────────────── */

body.homepage-editorial .story-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.homepage-editorial .story-score-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 20px;
  background: #fcfbf8;
  box-shadow: 0 8px 24px rgba(40, 43, 38, 0.06);
}

body.homepage-editorial .story-score-card img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: none;
  max-width: none;
}

body.homepage-editorial .story-score-card span {
  display: block;
  color: rgba(47, 52, 46, 0.65);
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

/* ── Mini chart / Growth chart / Coverage legend ──────── */

body.homepage-editorial .story-mini-chart,
body.homepage-editorial .story-growth-chart,
body.homepage-editorial .story-community-chart,
body.homepage-editorial .story-coverage-legend {
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(47, 52, 46, 0.05);
}

body.homepage-editorial .story-growth-chart {
  padding-bottom: 1.25rem;
}

body.homepage-editorial .story-mini-chart h4,
body.homepage-editorial .story-growth-chart h4,
body.homepage-editorial .story-community-chart h4 {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(47, 52, 46, 0.62);
}

/* ── Bar charts ───────────────────────────────────────── */

body.homepage-editorial .story-bars {
  display: grid;
  gap: 0.6rem;
}

body.homepage-editorial .story-bar-row {
  display: grid;
  grid-template-columns: minmax(90px, 110px) 1fr auto;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.85rem;
}

body.homepage-editorial .story-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 52, 46, 0.08);
  overflow: hidden;
}

body.homepage-editorial .story-bar-fill {
  width: calc(var(--bar-target, 0) * 1%);
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  background: linear-gradient(90deg, #1c6d25, #729c58);
  transition: width 1s cubic-bezier(0.2, 0.72, 0.22, 1);
}

body.homepage-editorial .story-bar-fill[data-tone="mid"] {
  background: linear-gradient(90deg, #904e00, #be7b2e);
}

body.homepage-editorial .story-bar-fill[data-tone="low"] {
  background: linear-gradient(90deg, #9f403d, #d06c68);
}

/* ── Delta charts (before/after) ──────────────────────── */

body.homepage-editorial .story-delta-panel {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

body.homepage-editorial .story-delta-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

body.homepage-editorial .story-delta-head strong {
  font-size: 1rem;
}

body.homepage-editorial .story-delta-meta {
  color: rgba(47, 52, 46, 0.62);
  font-size: 0.82rem;
}

body.homepage-editorial .story-delta-chart {
  display: grid;
  gap: 0.55rem;
}

body.homepage-editorial .story-delta-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.82rem;
}

body.homepage-editorial .story-delta-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(47, 52, 46, 0.08);
}

body.homepage-editorial .story-delta-before,
body.homepage-editorial .story-delta-after {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  transform-origin: left center;
}

body.homepage-editorial .story-delta-before {
  width: calc(var(--before, 0) * 1%);
  background: rgba(144, 78, 0, 0.3);
}

body.homepage-editorial .story-delta-after {
  width: calc(var(--after, 0) * 1%);
  background: linear-gradient(90deg, #1c6d25, #759f59);
}

/* ── Coverage legend ──────────────────────────────────── */

body.homepage-editorial .story-coverage-legend .story-gradient {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c44e45, #d5ae49, #43ab58);
}

body.homepage-editorial .story-coverage-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  color: rgba(47, 52, 46, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Portfolio stack ──────────────────────────────────── */

body.homepage-editorial .story-portfolio-stack {
  display: grid;
  gap: 0.85rem;
}

body.homepage-editorial .story-portfolio-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  justify-items: center;
}

/* Portfolio screenshots: consistent size, no frame override */
body.homepage-editorial .story-portfolio-screens .story-media-frame img {
  max-width: 260px;
}

/* Community screenshot in card: consistent with others */
body.homepage-editorial .home-proof-card .app-screenshot {
  max-width: 260px;
  border-radius: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════
   COVERAGE MAPPING – DARK dramatic section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .feature-panel[data-feature="coverage"] {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  padding: clamp(3rem, 6vw, 4.5rem) calc(50vw - 50%);
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(28, 109, 37, 0.08), transparent 60%),
    linear-gradient(180deg, #1a1d1a 0%, #141613 50%, #1a1d1a 100%);
  color: #f6f3ec;
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .section-title {
  color: #f6f3ec;
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .section-subtitle {
  color: rgba(246, 243, 236, 0.75);
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .home-feature-list li {
  color: rgba(246, 243, 236, 0.65);
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .home-feature-list li::before {
  background: rgba(246, 243, 236, 0.35);
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .story-coverage-legend {
  background: rgba(246, 243, 236, 0.06);
  border-color: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .feature-panel[data-feature="coverage"] .story-coverage-scale {
  color: rgba(246, 243, 236, 0.55);
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO – Dark section continuing flow
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .feature-panel[data-feature="portfolio"] {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  padding: clamp(3rem, 6vw, 4.5rem) calc(50vw - 50%) clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, #1a1d1a 0%, #131511 100%);
  color: #f6f3ec;
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .section-title {
  color: #f6f3ec;
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .section-subtitle {
  color: rgba(246, 243, 236, 0.72);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .home-feature-list li {
  color: rgba(246, 243, 236, 0.62);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .home-feature-list li::before {
  background: rgba(246, 243, 236, 0.3);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-mini-chart {
  background: rgba(246, 243, 236, 0.05);
  border-color: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-mini-chart h4 {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-bar-row {
  color: rgba(246, 243, 236, 0.75);
}

body.homepage-editorial .feature-panel[data-feature="portfolio"] .story-bar-track {
  background: rgba(246, 243, 236, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITY BENCHMARKS – Dark section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-compare {
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(28, 109, 37, 0.06), transparent),
    linear-gradient(180deg, #131511 0%, #171a16 50%, #131511 100%);
  color: #f6f3ec;
}

body.homepage-editorial .home-compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

body.homepage-editorial .home-compare .container {
  position: relative;
  z-index: 1;
}

body.homepage-editorial .home-compare .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-compare .section-title {
  color: #f6f3ec;
}

body.homepage-editorial .home-compare .section-subtitle {
  color: rgba(246, 243, 236, 0.68);
}

body.homepage-editorial .home-compare-header {
  margin-bottom: 1.5rem;
}

body.homepage-editorial .home-stat-tile {
  padding: 1.1rem 1.3rem;
  border-radius: 20px;
  background: rgba(246, 243, 236, 0.05);
  border: 1px solid rgba(246, 243, 236, 0.06);
  box-shadow: none;
}

body.homepage-editorial .home-stat-tile .app-label {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-stat-tile .section-title {
  color: #f6f3ec;
}

body.homepage-editorial .home-proof-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
}

body.homepage-editorial .home-proof-card {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(246, 243, 236, 0.04);
  border: 1px solid rgba(246, 243, 236, 0.06);
  box-shadow: none;
  color: #f6f3ec;
}

body.homepage-editorial .home-proof-card--image {
  display: grid;
  gap: 0.85rem;
}

body.homepage-editorial .home-proof-card .card-title {
  color: #f6f3ec;
}

body.homepage-editorial .home-proof-card .card-text {
  color: rgba(246, 243, 236, 0.62);
}

body.homepage-editorial .home-proof-card .app-label {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-proof-card .story-community-chart {
  background: rgba(246, 243, 236, 0.04);
  border-color: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .home-proof-card .story-community-chart h4 {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-proof-card .story-growth-axis {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .home-proof-card .story-community-chart svg path[stroke="#1c6d25"] {
  stroke: #5daa68;
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY / TRUST – Dark glass card
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-trust {
  background: linear-gradient(180deg, #131511 0%, #131511 100%);
}

body.homepage-editorial .home-trust .glass {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  background:
    linear-gradient(160deg, rgba(34, 37, 34, 0.95), rgba(22, 24, 22, 0.98));
  border: 1px solid rgba(246, 243, 236, 0.06);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body.homepage-editorial .home-trust .kicker,
body.homepage-editorial .home-trust .section-title,
body.homepage-editorial .home-trust .section-subtitle {
  color: #f6f3ec;
}

body.homepage-editorial .home-trust .section-subtitle {
  color: rgba(246, 243, 236, 0.68);
}

body.homepage-editorial .home-trust .kicker {
  color: rgba(246, 243, 236, 0.55);
}

/* ═══════════════════════════════════════════════════════════
   CREDIBILITY – Light warm section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #credibility {
  color: #2f342e;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(246, 243, 236, 0.5), transparent 60%),
    linear-gradient(180deg, #131511 0%, #f4f0e8 8%, #ece7dd 92%, #111310 100%);
}

body.homepage-editorial #credibility .kicker {
  color: rgba(47, 52, 46, 0.62);
}

/* Override dark theme vars in light sections */
body.homepage-editorial #credibility .section-title,
body.homepage-editorial #credibility .card-title {
  color: #2f342e;
}

body.homepage-editorial #credibility .section-subtitle,
body.homepage-editorial #credibility .card-text,
body.homepage-editorial #credibility p {
  color: rgba(47, 52, 46, 0.78);
}

body.homepage-editorial #credibility .cred-title {
  color: #2f342e;
}

body.homepage-editorial #credibility .cred-badges .tag {
  color: rgba(47, 52, 46, 0.72);
}

body.homepage-editorial #credibility .cred-anchor-header .app-label,
body.homepage-editorial #credibility .cred-anchor-header .app-chip {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial #credibility .cred-anchor-note {
  color: rgba(47, 52, 46, 0.58);
}

body.homepage-editorial #credibility .story-gate-head {
  color: rgba(47, 52, 46, 0.82);
}

body.homepage-editorial #credibility .story-gate-head strong {
  color: #2f342e;
}

/* SVG in cred section needs dark strokes on light bg */
body.homepage-editorial #credibility .cred-curve line {
  stroke: rgba(47, 52, 46, 0.12);
}

body.homepage-editorial #credibility .cred-curve path {
  stroke: #2f342e;
}

body.homepage-editorial #credibility .cred-curve line[stroke-dasharray] {
  stroke: rgba(47, 52, 46, 0.45);
}

body.homepage-editorial #credibility .cred-curve circle {
  fill: #2f342e;
}

body.homepage-editorial #credibility .cred-anchor,
body.homepage-editorial #credibility .glass {
  border-radius: 22px;
  border: 1px solid rgba(47, 52, 46, 0.06);
  background: rgba(252, 249, 244, 0.82);
  box-shadow: 0 12px 32px rgba(40, 43, 38, 0.04);
}

body.homepage-editorial #credibility .cred-anchor {
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

body.homepage-editorial .story-cred-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

body.homepage-editorial .cred-curve {
  width: 100%;
  height: auto;
}

/* Chart line draw animation */

body.homepage-editorial [data-chart-line] {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

body.homepage-editorial [data-chart-line].is-drawn {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.72, 0.22, 1);
}

/* ── Quality gates ────────────────────────────────────── */

body.homepage-editorial .story-gate-grid {
  display: grid;
  gap: 0.7rem;
}

body.homepage-editorial .story-gate {
  display: grid;
  gap: 0.3rem;
}

body.homepage-editorial .story-gate-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

body.homepage-editorial #credibility .story-gate-track,
body.homepage-editorial .story-gate-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 52, 46, 0.08);
}

body.homepage-editorial .story-gate-fill {
  width: calc(var(--bar-target, 0) * 1%);
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  background: linear-gradient(90deg, #2f342e, #7f847b);
}

body.homepage-editorial .credibility-callout {
  background: rgba(252, 249, 244, 0.82);
}

/* ═══════════════════════════════════════════════════════════
   ROADMAP – Dark moody section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #roadmap {
  color: #f6f3ec;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(28, 109, 37, 0.06), transparent),
    linear-gradient(180deg, #111310 0%, #161914 50%, #111310 100%);
}

body.homepage-editorial #roadmap .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial #roadmap .section-title {
  color: #f6f3ec;
}

body.homepage-editorial #roadmap .section-subtitle {
  color: rgba(246, 243, 236, 0.65);
}

body.homepage-editorial #roadmap .story-growth-chart {
  background: rgba(246, 243, 236, 0.04);
  border-color: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial #roadmap .story-growth-chart h4 {
  color: rgba(246, 243, 236, 0.5);
}

body.homepage-editorial #roadmap .story-growth-axis {
  color: rgba(246, 243, 236, 0.5);
}

body.homepage-editorial #roadmap .story-growth-chart svg path[stroke="#1c6d25"] {
  stroke: #5daa68;
}

body.homepage-editorial .story-growth-chart svg,
body.homepage-editorial .story-community-chart svg {
  width: 100%;
  height: auto;
}

body.homepage-editorial .story-growth-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: rgba(47, 52, 46, 0.62);
  font-size: 0.72rem;
}

body.homepage-editorial #roadmap .roadmap-list {
  background: transparent;
  box-shadow: none;
  border: none;
  margin-top: 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

body.homepage-editorial #roadmap .roadmap-item {
  position: relative;
  padding: 1.2rem 1.25rem 1.2rem 2.6rem;
  border-radius: 20px;
  background: rgba(246, 243, 236, 0.04);
  border: 1px solid rgba(246, 243, 236, 0.06);
  box-shadow: none;
  color: rgba(246, 243, 236, 0.82);
}

body.homepage-editorial #roadmap .roadmap-item .card-title {
  color: #f6f3ec;
}

body.homepage-editorial #roadmap .roadmap-item .card-text {
  color: rgba(246, 243, 236, 0.6);
}

body.homepage-editorial #roadmap .roadmap-item::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5daa68;
}

body.homepage-editorial #roadmap .roadmap-muted {
  color: rgba(246, 243, 236, 0.5);
}

body.homepage-editorial #roadmap .roadmap-muted .card-title {
  color: rgba(246, 243, 236, 0.6);
}

body.homepage-editorial #roadmap .roadmap-muted::before {
  background: rgba(246, 243, 236, 0.2);
}

body.homepage-editorial #roadmap .tag--good {
  color: #5daa68;
}

body.homepage-editorial #roadmap .tag--neutral {
  color: rgba(246, 243, 236, 0.55);
}

/* ═══════════════════════════════════════════════════════════
   GUIDES – Light clean section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #guides {
  color: #2f342e;
  background:
    radial-gradient(ellipse 50% 35% at 15% 25%, rgba(246, 243, 236, 0.4), transparent),
    linear-gradient(180deg, #111310 0%, #f6f2ea 8%, #ede8de 92%, #111310 100%);
}

body.homepage-editorial #guides .kicker {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial #guides .section-title {
  color: #2f342e;
}

body.homepage-editorial #guides .section-subtitle,
body.homepage-editorial #guides .section-subtitle a {
  color: rgba(47, 52, 46, 0.78);
}

body.homepage-editorial #guides .card-title {
  color: #2f342e;
}

body.homepage-editorial #guides .card-text {
  color: rgba(47, 52, 46, 0.72);
}

body.homepage-editorial #guides .app-label {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial #guides .app-link {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial #guides .docs-grid {
  gap: 0.85rem;
}

body.homepage-editorial #guides .doc-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  text-decoration: none;
  border-radius: 22px;
  border: 1px solid rgba(47, 52, 46, 0.06);
  background: rgba(252, 249, 244, 0.82);
  box-shadow: 0 12px 32px rgba(40, 43, 38, 0.04);
}

body.homepage-editorial .story-guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  border: 1px solid rgba(47, 52, 46, 0.06);
  background: linear-gradient(180deg, rgba(244, 239, 229, 0.9), rgba(236, 228, 214, 0.95));
  color: #39403a;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.homepage-editorial .story-guide-icon--olive {
  background: linear-gradient(180deg, rgba(230, 237, 225, 0.94), rgba(215, 226, 204, 0.96));
}

body.homepage-editorial .story-guide-icon--charcoal {
  background: linear-gradient(180deg, rgba(224, 228, 227, 0.92), rgba(208, 213, 211, 0.96));
}

body.homepage-editorial .story-guide-icon--sand {
  background: linear-gradient(180deg, rgba(241, 233, 221, 0.94), rgba(233, 220, 200, 0.96));
}

body.homepage-editorial .story-guide-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

body.homepage-editorial .story-guide-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.homepage-editorial #guides .doc-card:hover .story-guide-icon {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(40, 43, 38, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   GET STARTED – Dark section
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #get-started {
  color: #f6f3ec;
  background:
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(28, 109, 37, 0.05), transparent),
    linear-gradient(180deg, #111310 0%, #161914 50%, #131511 100%);
}

body.homepage-editorial #get-started .kicker {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial #get-started .section-title {
  color: #f6f3ec;
}

body.homepage-editorial #get-started .section-subtitle {
  color: rgba(246, 243, 236, 0.65);
}

body.homepage-editorial #get-started .glass {
  border-radius: 22px;
  border: 1px solid rgba(246, 243, 236, 0.06);
  background: rgba(246, 243, 236, 0.04);
  box-shadow: none;
  color: rgba(246, 243, 236, 0.82);
}

body.homepage-editorial #get-started .card-text {
  color: rgba(246, 243, 236, 0.6);
}

body.homepage-editorial #get-started .grid-2 {
  align-items: stretch;
}

body.homepage-editorial #get-started .early-access-label {
  color: #f6f3ec;
}

body.homepage-editorial #get-started .story-growth-chart {
  background: rgba(246, 243, 236, 0.04);
  border-color: rgba(246, 243, 236, 0.06);
}

body.homepage-editorial #get-started .story-growth-chart h4 {
  color: rgba(246, 243, 236, 0.5);
}

body.homepage-editorial #get-started .story-growth-axis {
  color: rgba(246, 243, 236, 0.5);
}

body.homepage-editorial #get-started .story-growth-chart svg path[stroke="#1c6d25"] {
  stroke: #5daa68;
}

body.homepage-editorial #get-started .privacy-list {
  color: rgba(246, 243, 236, 0.72);
}

body.homepage-editorial #get-started .privacy-list strong {
  color: #f6f3ec;
}

body.homepage-editorial #get-started .button-primary {
  background: #f6f3ec;
  color: #1a1d1a;
}

/* ═══════════════════════════════════════════════════════════
   SUPPORT – Light warm section, FIXED alignment
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #support {
  color: #2f342e;
  background:
    radial-gradient(ellipse 50% 35% at 15% 20%, rgba(246, 243, 236, 0.4), transparent),
    linear-gradient(180deg, #111310 0%, #f2ede3 8%, #ebe5da 92%, #ebe5da 100%);
}

body.homepage-editorial #support .kicker {
  color: rgba(47, 52, 46, 0.62);
}

body.homepage-editorial #support .section-title {
  color: #2f342e;
}

body.homepage-editorial #support .section-subtitle {
  color: rgba(47, 52, 46, 0.78);
}

body.homepage-editorial .support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

body.homepage-editorial .support-column--lead {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

body.homepage-editorial .support-intro {
  max-width: 30rem;
}

body.homepage-editorial #support .glass {
  border-radius: 22px;
  border: 1px solid rgba(47, 52, 46, 0.06);
  background: rgba(252, 249, 244, 0.82);
  box-shadow: 0 12px 32px rgba(40, 43, 38, 0.04);
}

/* Form fields in light sections need dark text override */
body.homepage-editorial #support .form-field input,
body.homepage-editorial #support .form-field textarea,
body.homepage-editorial #support .form-field select {
  color: #2f342e;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(47, 52, 46, 0.12);
}

body.homepage-editorial #support .form-field input:focus,
body.homepage-editorial #support .form-field textarea:focus,
body.homepage-editorial #support .form-field select:focus {
  border-color: #2f342e;
  box-shadow: 0 0 0 1px rgba(47, 52, 46, 0.15);
}

body.homepage-editorial #support .form-field input::placeholder,
body.homepage-editorial #support .form-field textarea::placeholder {
  color: rgba(47, 52, 46, 0.4);
}

body.homepage-editorial #support .form-field span {
  color: rgba(47, 52, 46, 0.72);
}

body.homepage-editorial #support .card-title,
body.homepage-editorial #support .card-text {
  color: #2f342e;
}

body.homepage-editorial #support .card-text {
  color: rgba(47, 52, 46, 0.72);
}

body.homepage-editorial #support .button-primary {
  background: #2f342e;
  color: #f6f3ec;
}

/* FAQ column – aligned to top of the contact form card */
body.homepage-editorial .support-faq {
  display: grid;
  gap: 0;
  padding-top: 0;
  align-content: start;
}

body.homepage-editorial #support .faq details {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(47, 52, 46, 0.08);
  transition: none;
}

body.homepage-editorial #support .faq details:first-child {
  border-top: 1px solid rgba(47, 52, 46, 0.08);
}

body.homepage-editorial #support .faq details:hover {
  transform: none;
  box-shadow: none;
}

body.homepage-editorial #support .faq summary {
  padding: 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  color: #2f342e;
}

body.homepage-editorial #support .faq p {
  padding: 0 0 0.85rem;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(47, 52, 46, 0.68);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA – Dark, FIXED alignment
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-final {
  padding-top: clamp(3rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
  background: linear-gradient(180deg, #ebe5da 0%, #1a1d1a 25%, #0c0b09 50%);
}

body.homepage-editorial .home-final .glass {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #2d332c 0%, #1f231e 100%);
  border: 1px solid rgba(246, 243, 236, 0.06);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}

body.homepage-editorial .home-final .glass::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(20px);
  pointer-events: none;
}

body.homepage-editorial .home-final .section-title {
  position: relative;
  z-index: 1;
  color: #f6f3ec;
  margin-bottom: 0.75rem;
}

body.homepage-editorial .home-final .section-subtitle {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: rgba(246, 245, 241, 0.6);
}

body.homepage-editorial .home-final .button-primary {
  position: relative;
  z-index: 1;
  background: #faf9f5;
  color: #2f342e;
}

/* ── Footer in dark mode ──────────────────────────────── */

body.homepage-editorial .footer {
  background: #0c0b09;
  color: rgba(246, 243, 236, 0.55);
  border-top: 1px solid rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .footer a {
  color: rgba(246, 243, 236, 0.55);
}

body.homepage-editorial .footer a:hover {
  color: #f6f3ec;
}

/* ═══════════════════════════════════════════════════════════
   HOVER EFFECTS
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .home-final .button-primary:hover,
body.homepage-editorial .button-primary:hover,
body.solution-editorial .docs-cta:hover,
body.solution-editorial .cta-button:hover,
body.solution-editorial .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(40, 43, 38, 0.12);
}

body.homepage-editorial .story-proof-card:hover,
body.homepage-editorial .doc-card:hover,
body.homepage-editorial .story-score-card:hover,
body.homepage-editorial .story-photo-card:hover,
body.solution-editorial .solution-hero__media:hover {
  transform: translateY(-3px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body.homepage-editorial .story-proof-card,
body.homepage-editorial .doc-card,
body.homepage-editorial .story-score-card,
body.homepage-editorial .story-photo-card,
body.solution-editorial .solution-hero__media {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #1c6d25, #5daa68);
  pointer-events: none;
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════
   HEADER SHRINK ON SCROLL
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .site-header {
  transition: padding 0.3s ease, background 0.3s ease;
}

body.homepage-editorial .site-header .header-inner {
  transition: padding 0.3s ease;
}

body.homepage-editorial .site-header.is-scrolled {
  background: rgba(12, 11, 9, 0.94);
  backdrop-filter: blur(24px);
}

body.homepage-editorial .site-header.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 243, 236, 0.1);
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(12px);
  color: rgba(246, 243, 236, 0.7);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

body.homepage-editorial .back-to-top svg {
  width: 20px;
  height: 20px;
}

body.homepage-editorial .back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.homepage-editorial .back-to-top:hover {
  background: rgba(28, 30, 26, 0.95);
  border-color: rgba(246, 243, 236, 0.18);
  color: #f6f3ec;
}

/* ═══════════════════════════════════════════════════════════
   FAQ CUSTOM CHEVRONS
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial #support .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

body.homepage-editorial #support .faq summary::-webkit-details-marker {
  display: none;
}

body.homepage-editorial #support .faq summary::marker {
  display: none;
  content: "";
}

body.homepage-editorial #support .faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%235a5d58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}

body.homepage-editorial #support .faq details[open] summary::after {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER REDESIGN
   ═══════════════════════════════════════════════════════════ */

body.homepage-editorial .footer {
  background: #0c0b09;
  color: rgba(246, 243, 236, 0.55);
  border-top: 1px solid rgba(246, 243, 236, 0.06);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

body.homepage-editorial .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(246, 243, 236, 0.06);
}

body.homepage-editorial .footer-brand {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

body.homepage-editorial .footer-brand .brand {
  color: rgba(246, 243, 236, 0.85);
  font-size: 1.1rem;
}

body.homepage-editorial .footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

body.homepage-editorial .footer-tagline {
  margin: 0;
  color: rgba(246, 243, 236, 0.45);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 22rem;
}

body.homepage-editorial .footer-brand .app-store-badge svg {
  width: 120px;
}

body.homepage-editorial .footer-col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

body.homepage-editorial .footer-heading {
  margin: 0 0 0.35rem;
  color: rgba(246, 243, 236, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.homepage-editorial .footer-col a {
  color: rgba(246, 243, 236, 0.5);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

body.homepage-editorial .footer-col a:hover {
  color: #f6f3ec;
}

body.homepage-editorial .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(246, 243, 236, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   SOLUTION EDITORIAL (shared)
   ═══════════════════════════════════════════════════════════ */

body.solution-editorial .docs-page {
  padding-top: 2rem;
}

body.solution-editorial .solution-hero {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  color: #f7f3eb;
}

body.solution-editorial .solution-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 12, 20, 0.74), rgba(11, 12, 20, 0.88)),
    var(--solution-hero-image) center/cover no-repeat;
}

body.solution-editorial .solution-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

body.solution-editorial .solution-hero__content h1 {
  margin-bottom: 1rem;
  color: #fbfaf5;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

body.solution-editorial .solution-hero__content p,
body.solution-editorial .solution-hero__content .solution-hero__eyebrow {
  color: rgba(247, 243, 235, 0.82);
}

body.solution-editorial .solution-hero__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.solution-editorial .solution-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

body.solution-editorial .solution-hero__media {
  padding: 0.9rem;
  background: rgba(248, 245, 239, 0.12);
  backdrop-filter: blur(10px);
}

body.solution-editorial .solution-hero__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  body.homepage-editorial .home-benchmark-strip,
  body.homepage-editorial .story-cred-grid,
  body.homepage-editorial .support-layout,
  body.solution-editorial .solution-hero__inner {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .home-proof-grid {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .support-faq {
    padding-top: 0;
  }
}

@media (max-width: 960px) {
  /* ── Header: shrink CTA button ── */
  body.homepage-editorial .site-header .button-primary--sm {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  body.homepage-editorial .site-header .button-nav {
    padding: 5px 10px;
    font-size: 0.82rem;
  }

  body.homepage-editorial .brand-mark-svg {
    width: 24px;
    height: 24px;
  }

  body.homepage-editorial .brand span {
    font-size: 1rem;
  }

  /* ── Footer ── */
  body.homepage-editorial .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  body.homepage-editorial .footer-brand {
    grid-column: 1 / -1;
  }

  /* ── Layouts: single column ── */
  body.homepage-editorial .home-hero .feature-row--hero,
  body.homepage-editorial .home-feature-row,
  body.homepage-editorial .story-portfolio-stack {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .home-feature-row--reverse .home-feature-copy,
  body.homepage-editorial .home-feature-row--reverse .home-feature-media {
    order: initial;
  }

  body.homepage-editorial .home-hero-proof,
  body.homepage-editorial .story-score-grid,
  body.homepage-editorial .story-portfolio-screens {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .feature-panel[data-feature="coverage"],
  body.homepage-editorial .feature-panel[data-feature="portfolio"] {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  body.homepage-editorial #roadmap .roadmap-list {
    grid-template-columns: 1fr;
  }

  /* ── Hero: tighter on mobile ── */
  body.homepage-editorial .home-hero {
    padding-top: clamp(4.5rem, 9vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 4rem);
  }

  body.homepage-editorial .home-hero .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
    max-width: none;
  }

  body.homepage-editorial .home-hero .lead {
    font-size: 1rem;
  }

  /* ── Screenshots: full width on mobile ── */
  body.homepage-editorial .story-media-frame img,
  body.homepage-editorial .app-screenshot {
    max-width: 100% !important;
    width: 100%;
  }

  body.homepage-editorial .home-hero .story-media-frame img {
    max-width: 280px !important;
  }

  /* ── Section titles: scale down ── */
  body.homepage-editorial .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  body.homepage-editorial .section-subtitle {
    font-size: 0.95rem;
  }

  /* ── Community compare header ── */
  body.homepage-editorial .home-compare-header {
    flex-direction: column;
    align-items: flex-start;
  }

  body.homepage-editorial .home-stat-tile {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  body.homepage-editorial .footer-grid {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  body.homepage-editorial .home-hero,
  body.homepage-editorial .section {
    padding-inline: 0;
  }

  body.homepage-editorial .story-bar-row,
  body.homepage-editorial .story-delta-row {
    grid-template-columns: 1fr;
  }

  /* ── Header: even tighter ── */
  body.homepage-editorial .site-header .button-primary--sm {
    padding: 7px 12px;
    font-size: 0.76rem;
  }

  body.homepage-editorial .site-header .button-nav {
    padding: 4px 8px;
    font-size: 0.76rem;
  }

  body.homepage-editorial .brand-mark-svg {
    width: 22px;
    height: 22px;
  }

  body.homepage-editorial .brand span {
    font-size: 0.92rem;
  }

  body.homepage-editorial .site-header .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* ── Hero: mobile-first sizing ── */
  body.homepage-editorial .home-hero .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  body.homepage-editorial .home-hero .lead {
    font-size: 0.95rem;
  }

  body.homepage-editorial .home-hero .button-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  body.homepage-editorial .home-hero .hero-note {
    font-size: 0.82rem;
  }

  /* ── Sections: more breathing room ── */
  body.homepage-editorial .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── Feature panels: consistent padding ── */
  body.homepage-editorial .feature-panel[data-feature="coverage"],
  body.homepage-editorial .feature-panel[data-feature="portfolio"] {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── Proof stats: horizontal on mobile ── */
  body.homepage-editorial .home-hero-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  body.homepage-editorial .home-hero-proof-stat strong {
    font-size: 1.2rem;
  }

  body.homepage-editorial .home-hero-proof-stat span {
    font-size: 0.65rem;
  }

  /* ── Metric grid: full width ── */
  body.homepage-editorial .home-metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Support layout ── */
  body.homepage-editorial .support-layout {
    grid-template-columns: 1fr;
  }

  /* ── Splash: scale down logo ── */
  body.homepage-editorial .logo-anim {
    width: 70px;
    height: 70px;
  }

  body.homepage-editorial .intro-splash-wordmark {
    font-size: 1.8rem;
  }

  /* ── Early access grid ── */
  body.homepage-editorial .early-access-grid {
    grid-template-columns: 1fr;
  }

  /* ── Guides: 2-col on small screens ── */
  body.homepage-editorial #guides .docs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  /* ── Tiny screens ── */
  body.homepage-editorial #guides .docs-grid {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .home-hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  body.homepage-editorial .home-metric-grid {
    grid-template-columns: 1fr;
  }

  body.homepage-editorial .footer-col {
    gap: 0.4rem;
  }

  body.homepage-editorial .footer-heading {
    font-size: 0.72rem;
  }

  body.homepage-editorial .footer-col a {
    font-size: 0.82rem;
  }
}
