:root {
  /* Align with apps/solrise_mobile theme (colors, radii, borders) */
  --primary: #4a4a4a;
  --foreground: #262626;
  --surface: #ffffff;
  --muted: #ececf0;
  --muted-fg: #717182;
  --border: rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-card: 12px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --gradient-dot-1: #549baa;
  --gradient-dot-2: #e18fe1;
  --gradient-dot-3: #f0d97a;
  --score-grad-1: #549baa;
  --score-grad-2: #e18fe1;
  --score-grad-3: #f0d97a;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.84);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --max-read: 38rem;
  --ink: #000000;
  --band-max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  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: 200px 200px;
}

main {
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 1.5rem);
  max-width: 72rem;
  margin: 0 auto;
}

/* —— Hero: centered title + copy; logo bottom-left —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(5rem, 12vh, 7rem) clamp(1rem, 4vw, 1.5rem) clamp(6.75rem, 18vh, 9.5rem);
}

.hero-center {
  width: 100%;
  max-width: 40rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--hero-text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
}

.hero-lead {
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--hero-muted);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  max-width: var(--max-read);
}

.hero-cta-row {
  justify-content: center;
}

/* Fixed bottom-left logo — stays put while scrolling; hover gives light feedback */
.site-logo-fixed {
  position: fixed;
  left: clamp(1rem, 4vw, 1.5rem);
  bottom: clamp(1rem, 4vw, 1.75rem);
  z-index: 25;
  width: min(148px, 36vw);
  line-height: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-logo-fixed:hover {
  transform: scale(1.03);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.07);
}

.site-logo-fixed img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo-fixed {
    transition: none;
  }
  .site-logo-fixed:hover {
    transform: none;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Matches auth intro primary button typography (theme/authStyles) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  min-height: 3.25rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
}

.btn-primary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

/* Early access — larger glass pill, caption-style caps label, white type */
a.interest-cta.btn-primary {
  padding: 1.35rem 2.5rem;
  min-height: 4.25rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

a.interest-cta.btn-primary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

a.interest-cta.btn-primary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  min-height: 3.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--hero-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Full-bleed opaque white bars (edge to edge) */
.stripe-white {
  background: #ffffff;
  color: var(--ink);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: var(--spacing-xl) 0;
  border: none;
}

.stripe-white--demo {
  padding: clamp(2.75rem, 7vw, 4.25rem) 0;
}

.stripe-white__inset {
  max-width: var(--band-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
  box-sizing: border-box;
}

/* Same label style as “Time to sunset” / “Sunset conditions” (caption-uppercase), larger on stripes */
.stripe-section-title.caption-uppercase {
  margin: 0 0 var(--spacing-md);
  color: var(--ink);
  font-size: clamp(12px, 1.35vw, 15px);
  letter-spacing: 2.8px;
  line-height: 1.45;
}

.stripe-white .caption-uppercase {
  color: var(--ink);
}

.stripe-body {
  margin: 0 0 var(--spacing-md);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.stripe-body:last-child {
  margin-bottom: 0;
}

.stripe-white--analysis {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
}

.analysis-stripe .analysis-note {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: var(--spacing-lg);
}

.analysis-block-title.caption-uppercase {
  margin: var(--spacing-xl) 0 var(--spacing-sm);
  color: var(--ink);
  font-size: clamp(11px, 1.15vw, 13px);
  letter-spacing: 2.4px;
  line-height: 1.45;
}

.analysis-lead-examples {
  margin-bottom: var(--spacing-lg);
}

.analysis-notify-lead {
  margin-bottom: var(--spacing-lg);
}

/* Capture image + score sheet (matches app detail breakdown layout) */
/* Wide low sunset strip + score sheet overlapping the lower band (phone-style preview) */
.analysis-phone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.35rem, 4.5vw, 2.75rem);
  align-items: start;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.analysis-phone-col {
  min-width: 0;
  width: 100%;
}

.analysis-phone-col__stack {
  width: 100%;
}

/* Positioning context so the score card anchors to the bottom of the sunset frame (not the outer stack) */
.analysis-phone-col__media {
  position: relative;
  width: 100%;
  /* Reserve enough space so the sheet (mostly below the 16:9 frame) never overlaps the alerts block */
  margin-bottom: clamp(10.5rem, 38vw, 14.5rem);
}

.analysis-phone-col__shot {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  background: #0a0a0a;
  box-sizing: border-box;
}

.analysis-phone-col__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/*
  Card bottom flush with sunset frame bottom; translateY(%) shifts it down so ~10% of the
  card height overlaps the image — most of the card sits below, sunset stays visible.
*/
.analysis-phone-col__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  transform: translateY(90%);
  box-sizing: border-box;
  z-index: 1;
}

@media (max-width: 700px) {
  .analysis-phone-row {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.25rem);
  }

  .analysis-phone-col__sheet {
    transform: translateY(89%);
  }

  .analysis-phone-col__media {
    margin-bottom: clamp(10rem, 42vw, 14rem);
  }
}

.analysis-alerts-block {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.analysis-alerts-block .analysis-block-title.caption-uppercase {
  margin-top: var(--spacing-xl);
}

.analysis-alerts-block .analysis-block-title.caption-uppercase:first-child {
  margin-top: 0;
}

.analysis-notify-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: 0 clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

/* Score breakdown sheet (CaptureDetailScreen modal body + header) */
.score-detail-sheet {
  width: 100%;
  max-width: 22rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.score-detail-sheet--stacked {
  max-width: none;
}

.score-detail-sheet--stacked .score-detail-sheet__header {
  padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-xs);
}

.score-detail-sheet--stacked .score-detail-sheet__label {
  margin-bottom: var(--spacing-sm);
  font-size: 11px;
  letter-spacing: 0.65px;
}

.score-detail-sheet--stacked .score-detail-sheet__pct {
  font-size: clamp(1.65rem, 7vw, 2.1rem);
}

.score-detail-sheet--stacked .score-detail-sheet__body {
  padding: var(--spacing-sm);
  padding-bottom: var(--spacing-md);
}

.score-detail-sheet--stacked .score-detail-sheet__formula,
.score-detail-sheet--stacked .score-detail-sheet__line {
  font-size: 12px;
}

.score-detail-sheet--stacked .score-detail-sheet__section-label {
  font-size: 13px;
}

.score-detail-sheet--stacked .score-detail-sheet__swatch {
  width: 24px;
  height: 24px;
  border-radius: 12px;
}

.score-detail-sheet--stacked .score-detail-sheet__hex {
  font-size: 10px;
}

.score-detail-sheet--overlay {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__header {
  padding: 6px 10px 4px;
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__label {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.55px;
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__pct {
  font-size: clamp(1.35rem, 5vw, 1.75rem);
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__body {
  padding: 8px 10px 10px;
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__formula,
.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__line {
  font-size: 11px;
  line-height: 1.35;
  margin-bottom: 3px;
}

.score-detail-sheet--overlay.score-detail-sheet--stacked .score-detail-sheet__section-label {
  font-size: 12px;
  margin-top: 6px;
  margin-bottom: 2px;
}

.score-detail-sheet__colors--inline {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.score-detail-sheet__colors--inline .score-detail-sheet__swatch-wrap {
  min-width: 0;
}

.score-detail-sheet--overlay .score-detail-sheet__swatch {
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.score-detail-sheet--overlay .score-detail-sheet__hex {
  font-size: 9px;
}

.score-detail-sheet__header {
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
  color: #fff;
}

.score-detail-sheet__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--spacing-md);
}

.score-detail-sheet__pct {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.625rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.score-detail-sheet__body {
  padding: var(--spacing-md);
  padding-bottom: var(--spacing-xl);
}

.score-detail-sheet__formula {
  margin: 0 0 var(--spacing-sm);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-fg);
}

.score-detail-sheet__line {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-fg);
}

.score-detail-sheet__section-label {
  margin: var(--spacing-sm) 0 var(--spacing-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.score-detail-sheet__colors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xs);
}

.score-detail-sheet__swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 3.5rem;
}

.score-detail-sheet__swatch {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.score-detail-sheet__hex {
  font-size: 11px;
  color: var(--muted-fg);
  font-variant-numeric: tabular-nums;
}

/* Push previews — space-evenly so edge / gap / edge are balanced */
.notification-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.notification-examples__item {
  margin: 0;
  flex: 0 1 auto;
  width: min(20rem, 88vw);
}

.notification-examples__caption {
  margin: var(--spacing-sm) 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-fg);
  text-align: center;
}

@media (max-width: 640px) {
  .notification-examples__item {
    width: min(22rem, 92vw);
  }
}

.notification-mock {
  padding: 12px 14px 14px;
  border-radius: 18px;
  background: rgba(28, 28, 30, 0.82);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.notification-mock__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.notification-mock__icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--score-grad-1), var(--score-grad-2));
  flex-shrink: 0;
}

.notification-mock__app {
  flex: 1;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.notification-mock__time {
  font-variant-numeric: tabular-nums;
}

.notification-mock__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.notification-mock__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.notification-mock--dawn .notification-mock__icon {
  background: linear-gradient(135deg, #93c5fd, #fde68a);
}

/* 9:41 + countdown strip — compact */
.demo-ribbon .palette-row {
  margin-bottom: var(--spacing-xs);
}

.demo-time--compact {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 var(--spacing-xs);
}

.demo-date-row--compact {
  margin-bottom: var(--spacing-xs);
}

.divider--tight {
  margin: var(--spacing-sm) 0;
  background: rgba(0, 0, 0, 0.1);
}

.divider--ribbon {
  margin: var(--spacing-md) 0;
  background: rgba(0, 0, 0, 0.1);
}

.demo-ribbon .divider--ribbon {
  margin: var(--spacing-sm) 0;
}

.caption-uppercase.caption-on-white {
  color: var(--ink);
}

.demo-date--on-white {
  color: var(--ink);
}

.demo-subtitle--on-white {
  color: rgba(0, 0, 0, 0.72);
  font-size: 10px;
  letter-spacing: 1.2px;
  margin: 0;
  max-width: 16rem;
}

.countdown-block--compact {
  margin-bottom: 0;
}

.countdown-value--compact {
  font-size: clamp(0.95rem, 2.75vw, 1.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.info-value--on-white {
  color: var(--ink);
}

.demo-ribbon .info-grid--demo {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.score-section--demo {
  margin-top: var(--spacing-sm);
}

.score-track--demo {
  height: 44px;
  border-radius: var(--radius-lg);
}

.score-track--demo .score-fill {
  border-radius: var(--radius-lg);
}

.score-label-pct--demo {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.section--screens .section-eyebrow,
.section--hardware .section-eyebrow {
  font-size: clamp(12px, 1.65vw, 15px);
  letter-spacing: 2.85px;
  margin-bottom: var(--spacing-md);
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.section--on-particles {
  color: rgba(255, 255, 255, 0.92);
}

.section--screens {
  padding-top: var(--spacing-lg);
}

/* All app screenshots in one horizontal row */
.phone-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  max-width: var(--band-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
}

.phone-row .phone-tile {
  scroll-snap-align: center;
  flex: 0 0 auto;
}

@media (min-width: 1320px) {
  .phone-row {
    justify-content: center;
    overflow-x: visible;
  }
}

.section--hardware {
  padding-top: var(--spacing-lg);
}

.section--hardware .section-eyebrow {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.hardware-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
  max-width: var(--band-max);
  margin: 0 auto;
}

@media (min-width: 720px) {
  .hardware-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 5rem);
  }
}

.hardware-figure {
  --hardware-shot: min(540px, 92vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hardware-photo-frame {
  width: var(--hardware-shot);
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.hardware-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hardware-caption {
  width: var(--hardware-shot);
  max-width: 100%;
  box-sizing: border-box;
  margin: var(--spacing-md) 0 0;
  padding: var(--spacing-md) var(--spacing-xs) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.example-banner {
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(249, 250, 251, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.example-banner strong {
  font-weight: 600;
}

@media (min-width: 1024px) {
  .home-panel--mobile-note {
    display: none;
  }
}

/* —— Home-style white panel (example UI only) —— */
.home-panel {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
  max-width: none;
}

.home-panel .section-inner {
  max-width: var(--band-max);
  margin: 0 auto;
}

.home-panel .caption-uppercase {
  color: var(--ink);
}

.home-panel .demo-subtitle {
  color: rgba(0, 0, 0, 0.72);
}

.home-panel .demo-date {
  color: var(--ink);
}

.home-panel .countdown-value,
.home-panel .info-value {
  color: var(--ink);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: var(--spacing-lg) 0;
}

.divider.compact {
  margin: var(--spacing-md) 0;
}

/* Gradient identifier dots (headerRow in app) */
.palette-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.palette-dot {
  width: 16px;
  height: 16px;
  border-radius: 8px;
}

.palette-dot:nth-child(1) {
  background: var(--gradient-dot-1);
}
.palette-dot:nth-child(2) {
  background: var(--gradient-dot-2);
}
.palette-dot:nth-child(3) {
  background: var(--gradient-dot-3);
}

.caption-uppercase {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 2.4px;
  color: var(--muted-fg);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.demo-time {
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1;
  margin: 0 0 var(--spacing-sm);
}

.demo-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.demo-subtitle {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted-fg);
  margin: 0;
  max-width: 16rem;
}

.demo-date {
  font-size: 12px;
  color: var(--foreground);
}

/* Countdown row */
.countdown-block {
  margin-bottom: var(--spacing-sm);
}

.countdown-value {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0;
}

/* Info grid + mini vertical bars (InfoCard) */
.info-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--spacing-sm));
}

.info-card {
  width: 50%;
  padding: 0 var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-sm);
}

@media (max-width: 520px) {
  .info-card {
    width: 100%;
  }
}

.info-card-text {
  min-width: 0;
  padding-bottom: 2px;
}

.info-value {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--foreground);
}

.mini-bar-wrap {
  position: relative;
  width: 20px;
  height: 48px;
  flex-shrink: 0;
}

.mini-bar-track {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--muted);
}

.mini-bar-gradient {
  position: absolute;
  inset: 0;
  border-radius: 4px;
}

.mini-bar-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-radius: 4px;
  opacity: 0.88;
}

.mini-bar-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #000;
  border-radius: 1px;
  pointer-events: none;
}

/* Sunset score bar (Progress.tsx style) */
.score-section {
  margin-top: var(--spacing-xs);
}

.score-section > .caption-uppercase {
  margin-bottom: var(--spacing-xs);
}

.score-track {
  position: relative;
  width: 100%;
  height: 52px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--muted);
}

.score-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--score-grad-1), var(--score-grad-2), var(--score-grad-3));
  opacity: 0.55;
}

.score-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 72%;
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, var(--score-grad-1), var(--score-grad-2));
}

.score-label-pct {
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  z-index: 1;
  pointer-events: none;
}

/* Screenshot strip — phone aspect ratio, black frame, light rounding, no letterboxing */
.phone-tile__frame {
  width: min(200px, 32vw);
  aspect-ratio: 1170 / 2532;
  border: 3px solid #000000;
  border-radius: 11px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.phone-tile__screen {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  overflow: hidden;
  background: #000000;
}

.phone-tile__screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* CTA on particles — full-viewport band so prior section isn’t visible while reading */
.cta-band {
  text-align: center;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 12vh, 6rem) clamp(1.25rem, 4vw, 2rem);
  box-sizing: border-box;
}

.cta-band__lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

/* Full-bleed footer — solid white, dark type, spread layout */
.footer-bar {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-bar__inner {
  max-width: var(--band-max);
  margin: 0 auto;
  padding: var(--spacing-lg) clamp(1.25rem, 4vw, 2rem) calc(var(--spacing-lg) + 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  width: 100%;
}

.footer-bar__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.footer-bar__link:hover {
  text-decoration: underline;
  color: var(--ink);
}

.footer-bar__copy {
  margin: 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 28rem;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-fg);
  text-align: center;
}
