/* ============================================================
   FINAL DESIGN — SkaiiNyght Solutions LLC
   Combines Overdrive Refined (D12) + Catalyst Dashboard (D13)
   ============================================================ */

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

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --bg-deep:        #0A060C;
  --bg-surface:     #140A12;
  --bg-card:        #1C0E18;
  --bg-card-alt:    #1E1028;
  --text-primary:   #F5F0F3;
  --text-secondary: #8A6B80;
  --text-muted:     #5A4555;
  --pink:           #FF00EE;
  --pink-deep:      #CC00DD;
  --pink-glow:      rgba(255, 0, 238, 0.15);
  --yellow:         #FCFE01;
  --violet:         #B800E6;
  --gradient:       linear-gradient(135deg, #FF00EE, #FCFE01);
  --gradient-brand: linear-gradient(135deg, #FF00EE, #FCFE01);
  --gradient-pink:  linear-gradient(135deg, #FF00EE, #CC00DD);

  --font-display: 'Chakra Petch', sans-serif;
  --font-body:    'Titillium Web', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-deep);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg-deep);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- UTILITIES ---------- */
.yellow { color: var(--yellow); }
.pink-highlight { color: var(--pink); }
.yellow-dot {
  color: var(--yellow);
  font-size: 0.5em;
  vertical-align: middle;
  margin-right: 6px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 6, 12, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 6, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 0, 238, 0.12);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  text-shadow:
    0 0 8px rgba(255, 0, 238, 0.45),
    0 0 18px rgba(255, 0, 238, 0.20);
  position: relative;
}

.nav__logo-line {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--pink);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section__desc {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__hex-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 0, 238, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

/* Hero badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 0, 238, 0.08);
  border: 1px solid rgba(255, 0, 238, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 28px;
}

/* Bottom-of-viewport variant, sticky brand stamp */
.hero__badge--bottom {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  color: var(--text-muted);
  pointer-events: none;
  text-shadow: 0 0 12px rgba(10, 6, 12, 0.9), 0 0 24px rgba(10, 6, 12, 0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero__badge--bottom .hero__badge-year {
  color: var(--pink);
}

/* Override the anim-hero animation's forwards fill-mode with !important so the
   sticky badge can fade out when the footer scrolls into view */
.hero__badge--bottom.hero__badge--bottom-hidden {
  opacity: 0 !important;
  transform: translate(-50%, 16px) !important;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero__badge-year {
  color: var(--yellow);
  font-weight: 700;
}

/* Hero title */
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  letter-spacing: 6px;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 50px rgba(255, 0, 238, 0.35));
  margin-bottom: 8px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__tagline-hook {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  color: var(--pink);
  line-height: 1.35;
  letter-spacing: 0.4px;
  margin-top: 14px;
}

.hero__tagline-highlight {
  font-weight: 700;
  background: linear-gradient(110deg, #FCFE01 0%, #FFFADF 50%, #FCFE01 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(252, 254, 1, 0.55));
  letter-spacing: 0.5px;
  padding: 0 2px;
}

/* Hero CTA */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--yellow);
  padding: 16px 36px;
  border-radius: 6px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(252, 254, 1, 0.15);
}

.hero__cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 48px rgba(252, 254, 1, 0.35);
}

.hero__cta svg {
  transition: transform 0.3s ease;
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

/* Dual hero CTAs (primary + secondary outlined) */
.hero__ctas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__cta--primary {
  /* inherits .hero__cta — yellow filled */
}

.hero__cta--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 0, 238, 0.35);
  box-shadow: none;
}

.hero__cta--secondary:hover {
  border-color: var(--pink);
  background: rgba(255, 0, 238, 0.08);
  color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 0, 238, 0.15);
}

/* Beta capture form (sits in coming-soon section) */
.beta-form {
  display: flex;
  gap: 12px;
  margin: 36px auto 0;
  max-width: 480px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.beta-form__input {
  flex: 1 1 240px;
  min-width: 220px;
  padding: 14px 18px;
  background: rgba(10, 6, 12, 0.55);
  border: 1px solid rgba(255, 0, 238, 0.28);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}

.beta-form__input::placeholder {
  color: var(--text-muted);
}

.beta-form__input:focus {
  border-color: var(--yellow);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(252, 254, 1, 0.2);
}

.beta-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--yellow);
  color: var(--bg-deep);
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(252, 254, 1, 0.25);
  white-space: nowrap;
}

.beta-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(252, 254, 1, 0.4);
}

.beta-form__btn svg {
  transition: transform 0.3s ease;
}

.beta-form__btn:hover svg {
  transform: translateX(3px);
}

.beta-form__note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.coming-soon__pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 0, 238, 0.4);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  margin-right: 8px;
  background: rgba(255, 0, 238, 0.08);
  color: var(--yellow);
  font-weight: 700;
  vertical-align: middle;
}

/* ============================================================
   HERO ENTRANCE ANIMATION
   ============================================================ */
.anim-hero {
  opacity: 0;
  transform: translateY(30px);
}

.anim-hero.visible {
  animation: heroFadeUp 0.7s var(--ease-out) forwards;
}

.anim-hero[data-delay="1"].visible { animation-delay: 0.15s; }
.anim-hero[data-delay="2"].visible { animation-delay: 0.30s; }
.anim-hero[data-delay="3"].visible { animation-delay: 0.45s; }
.anim-hero[data-delay="4"].visible { animation-delay: 0.60s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.30s; }
.reveal[data-delay="3"] { transition-delay: 0.45s; }
.reveal[data-delay="4"] { transition-delay: 0.60s; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 120px 32px 80px;
  position: relative;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- BENTO GRID ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 20px;
  margin-top: 40px;
}

/* Large card: left, spans 2 rows */
.bento-card--large {
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.12);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card--large:hover {
  border-color: rgba(255, 0, 238, 0.3);
  box-shadow: 0 0 40px rgba(255, 0, 238, 0.06);
}

.bento-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bento-card__icon-hex {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 238, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bento-card__tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 0, 238, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: auto;
}

.bento-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.bento-card__chart-area {
  flex: 1;
  min-height: 100px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 6, 12, 0.5);
  padding: 12px;
}

.bento-card__chart-area canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.bento-card__stat-row {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 0, 238, 0.08);
}

.bento-card__mini-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
}

.bento-card__mini-stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ---------- HEX CARDS (right column) ---------- */
.bento-card--hex {
  grid-column: 2;
}

.bento-card__hex-shape {
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.12);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bento-card__hex-shape:hover {
  border-color: rgba(255, 0, 238, 0.3);
  box-shadow: 0 0 40px rgba(255, 0, 238, 0.06);
}

.bento-card__hex-icon-container {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.bento-card__hex-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.bento-card__hex-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.bento-card__hex-sparkline {
  display: block;
  margin: 0 auto;
  opacity: 0.9;
}

/* ---------- BOTTOM STATS ROW ---------- */
.bento-card--stats {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.12);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card--stats:hover {
  border-color: rgba(255, 0, 238, 0.3);
  box-shadow: 0 0 40px rgba(255, 0, 238, 0.06);
}

.stat-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-counter__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-counter__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-counter__divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 0, 238, 0.12);
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */
.product {
  padding: 120px 32px 80px;
  background: var(--bg-surface);
  position: relative;
}

.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0.3;
}

.product__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- TOOLKIT (editorial flow — no cards, no pills, alternating sides) ---------- */
.toolkit-open {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 32px 0 56px;
  position: relative;
  --aura-gap: 96px;
}

/* Legacy per-piece halos hidden in favor of section-wide aura mesh */
.piece__glow { display: none !important; }

/* Each piece is its own composition: text + viz side by side, alternating.
   align-items: start so the title row and the visualization sit at the same height. */
.piece {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 72px;
  isolation: isolate;
}

.piece__text {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
}

/* Pad the viz down so its top aligns with the title (the label sits above it) */
.piece__viz {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 38px 0 0 0;
}

.piece--reverse .piece__text { grid-column: 2; }
.piece--reverse .piece__viz { grid-column: 1; }

/* Per-item ambient halo — gives each piece its own atmospheric anchor */
.piece__glow {
  position: absolute;
  width: 56%;
  height: 130%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.piece__glow--pink-tl {
  top: -20%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.30), transparent 65%);
}

.piece__glow--yellow-tr {
  top: -20%;
  right: -8%;
  background: radial-gradient(circle, rgba(252, 254, 1, 0.10), transparent 65%);
}

.piece__glow--pink-bl {
  bottom: -20%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.26), transparent 65%);
}

.piece__glow--yellow-br {
  bottom: -20%;
  right: -8%;
  background: radial-gradient(circle, rgba(252, 254, 1, 0.10), transparent 65%);
}

.piece__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.piece__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow:
    0 0 10px rgba(255, 0, 238, 0.7),
    0 0 18px rgba(255, 0, 238, 0.30);
  flex-shrink: 0;
  animation: pieceDotBreathe 4s ease-in-out infinite;
}

@keyframes pieceDotBreathe {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 238, 0.7), 0 0 18px rgba(255, 0, 238, 0.30); }
  50% { box-shadow: 0 0 14px rgba(255, 0, 238, 0.9), 0 0 28px rgba(255, 0, 238, 0.45); }
}

.piece__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 16px;
}

.piece__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: 0;
}

/* Visualizations — bigger and unboxed */
.feature-card__chart {
  min-height: 100px;
  display: flex;
}

.feature-card__chart--grocery-list,
.feature-card__chart--ring,
.feature-card__chart--curve,
.feature-card__chart--minidash,
.feature-card__chart--swap {
  width: 100%;
}

/* Bump up sizes since each viz now has its own column */
.piece__viz .macro-donut {
  width: 80px;
  height: 80px;
}
.piece__viz .macro-donut::before { inset: 13px; }

.piece__viz .macro-donut__nums { font-size: 1.25rem; }
.piece__viz .macro-donut__lbls { font-size: 0.65rem; }

.piece__viz .cut-curve { height: 56px; }

.piece__viz .minidash__ring { width: 52px; height: 52px; }
.piece__viz .minidash__spark { height: 36px; }
.piece__viz .minidash__label { font-size: 1rem; }

.piece__viz .grocery-row__name,
.piece__viz .grocery-row__qty { font-size: 0.7rem; }
.piece__viz.feature-card__chart--grocery-list { gap: 9px; }

/* Ensure chart contents top-align with the title in the text column */
.piece__viz.feature-card__chart--ring,
.piece__viz.feature-card__chart--minidash {
  align-items: start;
}

/* ============================================================
   TOOLKIT · Meals viz (donut + macro target bars + meal-count summary)
   ============================================================ */
.meals-compound {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
}

.meals-compound .macro-donut {
  width: 96px;
  height: 96px;
}

.meals-compound .macro-donut::before {
  inset: 16px;
}

.macro-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.macro-bar {
  display: grid;
  grid-template-columns: 14px 1fr 50px;
  align-items: center;
  gap: 10px;
}

.macro-bar__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.macro-bar__track {
  height: 5px;
  background: rgba(255, 0, 238, 0.10);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.macro-bar__fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--pink);
  border-radius: 3px;
}

.macro-bar__fill--c {
  background: linear-gradient(90deg, var(--pink), rgba(255, 0, 238, 0.55));
}

.macro-bar__fill--f {
  background: var(--yellow);
}

.macro-bar__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--yellow);
  text-align: right;
}

.meals-summary {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 0, 238, 0.10);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.meals-summary strong {
  color: var(--pink);
  font-weight: 700;
}

/* ============================================================
   TOOLKIT · Dashboard viz (3-up gauges + total-cut/streak summary)
   ============================================================ */
.dash-compound {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.piece.reveal.visible .gauge { opacity: 1; transform: translateY(0); }
.piece.reveal.visible .gauge:nth-child(1) { transition-delay: 0.10s; }
.piece.reveal.visible .gauge:nth-child(2) { transition-delay: 0.25s; }
.piece.reveal.visible .gauge:nth-child(3) { transition-delay: 0.40s; }

.gauge__svg {
  width: 96px;
  height: 56px;
  display: block;
}

.gauge__fill {
  stroke: var(--pink);
  filter: drop-shadow(0 0 6px rgba(255, 0, 238, 0.50));
}

.gauge__fill--yellow {
  stroke: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(252, 254, 1, 0.50));
}

.gauge__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1;
}

.gauge__val--gain { color: var(--pink); }
.gauge__val--loss { color: var(--yellow); }

.gauge__lbl {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Generic summary footer — used as the "compound rhythm anchor" beneath any
   aura-stream block (toolkit dashboard, inputs blocks, engine blocks). Two
   columns of key + value pairs, capped by a thin top rule. */
.aura-summary,
.dash-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 0, 238, 0.10);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 1.8px;
  color: var(--text-muted);
}

/* When the summary follows another flex/grid child, drop the extra margin */
.dash-summary { margin-top: 0; }

.aura-summary__row,
.dash-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.aura-summary__key,
.dash-summary__key {
  text-transform: uppercase;
  white-space: nowrap;
}

.aura-summary__val,
.dash-summary__val {
  font-weight: 700;
  color: var(--pink);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aura-summary__val--loss,
.dash-summary__val--loss { color: var(--yellow); }
.aura-summary__val--yellow,
.dash-summary__val--yellow { color: var(--yellow); }

/* === Card 01: Macro stack (3 horizontal ingredient bars) === */
.feature-card__chart--macro-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.macro-stack-row {
  display: grid;
  grid-template-columns: 78px 1fr 14px;
  align-items: center;
  gap: 10px;
}

.macro-stack-row__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.macro-stack-row__track {
  height: 5px;
  background: rgba(255, 0, 238, 0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.macro-stack-row__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--pink);
  border-radius: 3px;
  transition: width 1.2s var(--ease-out);
}

.macro-stack-row__fill--p { background: var(--pink); }
.macro-stack-row__fill--c { background: linear-gradient(90deg, var(--pink), rgba(255, 0, 238, 0.55)); }
.macro-stack-row__fill--f { background: var(--yellow); }

.piece.reveal.visible .macro-stack-row__fill { width: var(--w); }
.piece.reveal.visible .macro-stack-row:nth-child(1) .macro-stack-row__fill { transition-delay: 0.05s; }
.piece.reveal.visible .macro-stack-row:nth-child(2) .macro-stack-row__fill { transition-delay: 0.20s; }
.piece.reveal.visible .macro-stack-row:nth-child(3) .macro-stack-row__fill { transition-delay: 0.35s; }

.macro-stack-row__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--pink);
  text-align: center;
}

/* === Card 01 (alt): Grocery list mini === */
.feature-card__chart--grocery-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-start;
}

.grocery-row {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 9px;
  align-items: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.grocery-row__bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.grocery-row__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grocery-row__qty {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  color: var(--yellow);
  white-space: nowrap;
}

.piece.reveal.visible .grocery-row {
  opacity: 1;
  transform: translateX(0);
}

.piece.reveal.visible .grocery-row:nth-child(1) { transition-delay: 0.05s; }
.piece.reveal.visible .grocery-row:nth-child(2) { transition-delay: 0.18s; }
.piece.reveal.visible .grocery-row:nth-child(3) { transition-delay: 0.31s; }
.piece.reveal.visible .grocery-row:nth-child(4) { transition-delay: 0.44s; }

/* === Card 04 (new): Swap mini === */
.feature-card__chart--swap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
}

.swap-row {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 9px;
  align-items: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.swap-row__bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.swap-row__bullet--out {
  background: transparent;
  border: 1px solid var(--text-muted);
  box-sizing: border-box;
}

.swap-row__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swap-row--out .swap-row__name {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 0, 238, 0.5);
  text-decoration-thickness: 1px;
}

.swap-row__qty {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--yellow);
  white-space: nowrap;
}

.swap-row__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--pink);
  white-space: nowrap;
}

.swap-arrow {
  display: flex;
  justify-content: center;
  color: var(--pink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  margin-left: -3px;
}

.swap-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 0, 238, 0.14);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.swap-impact__delta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
}

.swap-impact__sep {
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 0.65rem;
}

.piece.reveal.visible .feature-card__chart--swap > .swap-row,
.piece.reveal.visible .feature-card__chart--swap > .swap-impact {
  opacity: 1;
  transform: translateX(0);
}
.piece.reveal.visible .feature-card__chart--swap > .swap-arrow {
  opacity: 0.7;
  transform: translateY(0);
}
.piece.reveal.visible .feature-card__chart--swap > *:nth-child(1) { transition-delay: 0.05s; }
.piece.reveal.visible .feature-card__chart--swap > *:nth-child(2) { transition-delay: 0.18s; }
.piece.reveal.visible .feature-card__chart--swap > *:nth-child(3) { transition-delay: 0.31s; }
.piece.reveal.visible .feature-card__chart--swap > *:nth-child(4) { transition-delay: 0.44s; }

/* === Card 02: Macro distribution donut (conic) === */
.feature-card__chart--ring {
  display: flex;
  align-items: center;
  gap: 16px;
}

.macro-donut {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--pink) 0% 40%,
    rgba(255, 0, 238, 0.55) 40% 75%,
    var(--yellow) 75% 100%
  );
  position: relative;
  flex-shrink: 0;
  transform: scale(0.5) rotate(-180deg);
  opacity: 0;
  transition: transform 0.9s var(--ease-spring), opacity 0.4s ease;
}

.macro-donut::before {
  content: '';
  position: absolute;
  inset: 7px;
  background: var(--bg-card);
  border-radius: 50%;
}

.piece.reveal.visible .macro-donut {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.macro-donut__caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.macro-donut__nums {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: 0.5px;
}

.macro-donut__lbls {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* === Card 03: Cumulative cut curve (drawing line) === */
.feature-card__chart--curve {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
}

.cut-curve {
  display: block;
  width: 100%;
  height: 32px;
  overflow: visible;
}

.cut-curve__area {
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

.cut-curve__line {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}

.cut-curve__dot {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cut-curve__dot:nth-of-type(1) { transition-delay: 0.5s; }
.cut-curve__dot:nth-of-type(2) { transition-delay: 0.8s; }
.cut-curve__dot:nth-of-type(3) { transition-delay: 1.1s; }
.cut-curve__dot:nth-of-type(4) { transition-delay: 1.4s; }

.cut-curve__dot--peak {
  filter: drop-shadow(0 0 6px rgba(252, 254, 1, 0.6));
}

.piece.reveal.visible .cut-curve__area { opacity: 1; }
.piece.reveal.visible .cut-curve__line { stroke-dashoffset: 0; }
.piece.reveal.visible .cut-curve__dot { opacity: 1; }

.cut-curve__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 4px;
}

.cut-curve__labels span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* === Card 04: Mini-dashboard (ring + sparkline compound) === */
.feature-card__chart--minidash {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 14px;
}

.minidash__group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.minidash__ring {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.minidash__ring-fill {
  transition: stroke-dashoffset 1.5s var(--ease-out) 0.3s;
}

.piece.reveal.visible .minidash__ring-fill {
  stroke-dashoffset: 22.6;
}

.minidash__group--spark {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
}

.minidash__spark {
  width: 100%;
  height: 24px;
  overflow: visible;
}

.minidash__spark-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease-out) 0.5s;
}

.piece.reveal.visible .minidash__spark-line {
  stroke-dashoffset: 0;
}

.minidash__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--yellow);
  line-height: 1;
}

.minidash__label small {
  font-size: 0.45rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 2px;
  font-weight: 600;
}

.minidash__group--spark .minidash__label {
  align-self: flex-end;
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
}

.minidash__group--spark .minidash__label small {
  margin-top: 0;
}

/* Bar charts inside feature cards (legacy — kept for reuse on other pages) */
.feature-card__bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 0, 238, 0.08);
}

.bar {
  flex: 1;
  background: linear-gradient(to top, var(--pink), rgba(255, 0, 238, 0.3));
  border-radius: 3px 3px 0 0;
  position: relative;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-out);
}

.bar.is-animated {
  transform: scaleY(1);
}

.bar--accent {
  background: linear-gradient(to top, var(--yellow), rgba(252, 254, 1, 0.3));
}

.bar-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   METRICS DASHBOARD PANEL
   ============================================================ */
.metrics-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.15);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.metrics-panel__top-border {
  height: 3px;
  background: var(--gradient);
}

.metrics-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 0, 238, 0.08);
  background: rgba(255, 0, 238, 0.03);
}

.metrics-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
}

.metrics-panel__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.metrics-panel__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(252, 254, 1, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(252, 254, 1, 0); }
}

.metrics-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-cell {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 0, 238, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-cell:last-child {
  border-right: none;
}

.metric-cell__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.metric-cell__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 12px;
  line-height: 1;
}

.metric-unit {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
}

/* Sparkline chart in metric cell */
.metric-cell__chart-wrap {
  margin-bottom: 12px;
  width: 100%;
  max-width: 180px;
}

.metric-cell__chart {
  display: block;
  width: 100%;
  height: 55px;
}

/* Trend arrow (Metric 2) */
.metric-cell__trend-arrow {
  margin-bottom: 12px;
}

.trend-arrow-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

.trend-arrow-dot {
  transition: opacity 0.4s ease 1.2s;
}

.metric-cell.is-animated .trend-arrow-path {
  stroke-dashoffset: 0;
}

.metric-cell.is-animated .trend-arrow-dot {
  opacity: 0.9;
}

/* Ring chart (Metric 3) */
.metric-cell__ring {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

.ring-chart {
  width: 100%;
  height: 100%;
}

.ring-chart__fill {
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

/* Stars (Metric 4) */
.metric-cell__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.star {
  width: 22px;
  height: 22px;
}

.star--filled path {
  fill: var(--yellow);
}

.star--partial path {
  fill: url(#partialStar);
}

/* Trend labels */
.metric-cell__trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
}

.metric-cell__trend--up {
  color: var(--pink);
}

.metric-cell__trend--muted {
  color: var(--text-muted);
}

/* ============================================================
   DASHBOARD (product page §06)
   ============================================================ */
/* Dashboard sits outside the aura-stream language — panels are independent
   UI surfaces. Layout: row 1 has Trend Weight + Weekly Adherence side by
   side; row 2 is Body Measurements full-width. Each panel keeps its own
   atmospheric halo for variation. */
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
  padding: 24px 0 32px;
}

.dashboard__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.dashboard__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Per-panel atmospheric halo — subtle ambient anchor unique to each panel */
.dashboard__panel::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 130%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.dashboard__row > .dashboard__panel:nth-of-type(1)::before {
  top: -22%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.28), transparent 65%);
}

.dashboard__row > .dashboard__panel:nth-of-type(2)::before {
  top: -22%;
  right: -10%;
  left: auto;
  background: radial-gradient(circle, rgba(252, 254, 1, 0.10), transparent 65%);
}

.dashboard > .dashboard__panel::before {
  bottom: -22%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.26), transparent 65%);
}

/* Editorial label-style header: dot + title on one side, status caption on the other */
.dashboard__panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 0, 238, 0.10);
}

.dashboard__panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1.1;
}

.dashboard__panel-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow:
    0 0 10px rgba(255, 0, 238, 0.7),
    0 0 18px rgba(255, 0, 238, 0.30);
  flex-shrink: 0;
  animation: pieceDotBreathe 4s ease-in-out infinite;
}

.dashboard__panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  color: var(--yellow);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.dashboard__panel-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(252, 254, 1, 0.7);
  animation: pulseDot 2s ease-in-out infinite;
}

.dashboard__panel-status--muted {
  color: var(--text-muted);
}

/* Make sure body content sits above the halo */
.dashboard__panel > * {
  position: relative;
  z-index: 1;
}

/* ----- WEIGHT PANEL ----- */
.dashboard__weight-body {
  padding: 8px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.dashboard__weight-headline {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dashboard__weight-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--yellow);
  line-height: 1;
}

.dashboard__weight-unit {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
}

.dashboard__weight-substats {
  display: flex;
  gap: 28px;
}

.dashboard__weight-substat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dashboard__weight-substat-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dashboard__weight-substat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pink);
}

.dashboard__weight-chart {
  display: block;
  width: 100%;
  height: 130px;
  overflow: visible;
}

.dashboard__weight-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.dashboard__weight-axis span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.dashboard__weight-trend {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  transition: stroke-dashoffset 1.6s var(--ease-out) 1.55s;
}

.dashboard__panel.reveal.visible .dashboard__weight-trend {
  stroke-dashoffset: 0;
}

.dashboard__weight-area {
  opacity: 0;
  transition: opacity 0.7s ease 2.4s;
}

.dashboard__panel.reveal.visible .dashboard__weight-area {
  opacity: 1;
}

.dashboard__weight-dot {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-spring);
}

.dashboard__panel.reveal.visible .dashboard__weight-dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.dashboard__panel.reveal.visible .dashboard__weight-dot--end {
  transition-delay: 3.25s;
}

/* ----- SPIDER PANEL ----- */
.dashboard__spider-body {
  padding: 8px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.dashboard__spider-svg {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.dashboard__spider-grid polygon {
  fill: none;
  stroke: rgba(255, 0, 238, 0.10);
  stroke-width: 1;
}

.dashboard__spider-axes line {
  stroke: rgba(255, 0, 238, 0.14);
  stroke-width: 1;
}

.dashboard__spider-fill {
  transform-origin: 120px 120px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.9s var(--ease-spring), opacity 0.4s ease;
}

.dashboard__panel.reveal.visible .dashboard__spider-fill {
  transform: scale(1);
  opacity: 1;
}

.dashboard__spider-vertex {
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(252, 254, 1, 0.6));
}

.dashboard__panel.reveal.visible .dashboard__spider-vertex {
  opacity: 1;
  transition-delay: 0.7s;
}

.dashboard__spider-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1.5px;
  fill: var(--text-secondary);
}

.dashboard__spider-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
}

.dashboard__spider-legend strong {
  color: var(--yellow);
  font-weight: 700;
  margin-left: 4px;
}

/* ----- BODY MEASUREMENTS PANEL ----- */
.dashboard__body {
  padding: 8px 4px 4px;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 24px;
  align-items: stretch;
  flex: 1;
}

.dashboard__body-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard__body-tab {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid transparent;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--text-secondary);
  text-align: left;
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  position: relative;
}

.dashboard__body-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.dashboard__body-tab.is-active {
  background: rgba(255, 0, 238, 0.10);
  border-color: rgba(255, 0, 238, 0.40);
  border-left-color: var(--pink);
  color: var(--text-primary);
  box-shadow:
    inset 0 0 14px rgba(255, 0, 238, 0.16),
    0 0 0 1px rgba(255, 0, 238, 0.10);
}

.dashboard__body-tab.is-active.is-loss {
  background: rgba(252, 254, 1, 0.06);
  border-color: rgba(252, 254, 1, 0.34);
  border-left-color: var(--yellow);
  box-shadow:
    inset 0 0 14px rgba(252, 254, 1, 0.10),
    0 0 0 1px rgba(252, 254, 1, 0.10);
}

.dashboard__body-tab-name {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dashboard__body-tab-value {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.dashboard__body-tab-value--gain { color: var(--pink); }
.dashboard__body-tab-value--loss { color: var(--yellow); }

/* ----- CHART PANEL (open — no enclosing border, just a soft top hairline) ----- */
.dashboard__body-chart {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 14px 4px 4px 16px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 0, 238, 0.06), transparent 70%);
  overflow: hidden;
}

.dashboard__body-chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 16px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 238, 0.40) 0%,
    rgba(255, 0, 238, 0.15) 50%,
    transparent 100%
  );
}

.dashboard__body-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(255, 0, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 238, 0.05) 1px, transparent 1px);
  background-size: 100% 32px, 16.66% 100%;
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 90%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 90%, transparent 100%);
}

.dashboard__body-chart-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dashboard__body-chart-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard__body-chart-eyebrow {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dashboard__body-chart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.dashboard__body-chart-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.30);
  padding: 2px;
  gap: 0;
}

.dashboard__body-chart-toggle-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 5px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.dashboard__body-chart-toggle-btn:hover {
  color: var(--text-secondary);
}

.dashboard__body-chart-toggle-btn.is-active {
  background: rgba(255, 0, 238, 0.18);
  color: var(--pink);
  box-shadow: inset 0 0 8px rgba(255, 0, 238, 0.30);
}

.dashboard__body-chart-toggle.is-loss .dashboard__body-chart-toggle-btn.is-active {
  background: rgba(252, 254, 1, 0.10);
  color: var(--yellow);
  box-shadow: inset 0 0 8px rgba(252, 254, 1, 0.20);
}

.dashboard__body-chart-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.dashboard__body-chart-delta {
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.dashboard__body-chart-delta--gain { color: var(--pink); }
.dashboard__body-chart-delta--loss { color: var(--yellow); }

.dashboard__body-chart-meta-sep {
  color: var(--text-muted);
}

.dashboard__body-chart-meta-text {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dashboard__body-chart-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 160px;
  display: block;
}

.dashboard__body-chart-baseline {
  stroke: rgba(255, 255, 255, 0.20);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.dashboard__body-chart-zerolabel {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 1px;
  fill: rgba(255, 255, 255, 0.30);
}

.dashboard__body-chart-area {
  fill: url(#bodyChartGradGain);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.dashboard__body-chart-area.is-active { opacity: 1; }

.dashboard__body-chart-area--loss { fill: url(#bodyChartGradLoss); }

.dashboard__body-chart-line {
  fill: none;
  stroke: var(--pink);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 0, 238, 0.55));
  transition: opacity 0.4s var(--ease-out);
}

.dashboard__body-chart-line--loss {
  stroke: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(252, 254, 1, 0.50));
}

.dashboard__body-chart-points circle {
  fill: var(--bg-base);
  stroke: var(--pink);
  stroke-width: 2;
  transition: opacity 0.4s var(--ease-out);
}

.dashboard__body-chart-points.is-loss circle { stroke: var(--yellow); }

.dashboard__body-chart-points circle.is-final { fill: var(--pink); filter: drop-shadow(0 0 6px rgba(255, 0, 238, 0.7)); }

.dashboard__body-chart-points.is-loss circle.is-final {
  fill: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(252, 254, 1, 0.6));
}

.dashboard__body-chart-bars rect {
  fill: var(--pink);
  filter: drop-shadow(0 0 4px rgba(255, 0, 238, 0.45));
  transition: opacity 0.4s var(--ease-out);
}

.dashboard__body-chart-bars.is-loss rect {
  fill: var(--yellow);
  filter: drop-shadow(0 0 4px rgba(252, 254, 1, 0.40));
}

.dashboard__body-chart-axis {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 0 4px;
}

.dashboard__body-legend {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 0, 238, 0.08);
}

.dashboard__body-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
}

.dashboard__body-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.dashboard__body-legend-swatch--gain { background: var(--pink); }
.dashboard__body-legend-swatch--loss { background: var(--yellow); }

@media (max-width: 1024px) {
  .dashboard__row {
    grid-template-columns: 1fr;
  }
  .dashboard__body {
    grid-template-columns: 1fr;
  }
  .dashboard__body-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .dashboard__body-tab {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
}

/* ============================================================
   COMING SOON / JOIN THE BETA (dark + atmospheric — not a slab)
   ============================================================ */
.coming-soon {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 0, 238, 0.22), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(184, 0, 230, 0.10), transparent 60%),
    var(--bg-surface);
  padding: 80px 32px;
  text-align: center;
  margin-top: 0;
  border-top: 1px solid rgba(255, 0, 238, 0.22);
  border-bottom: 1px solid rgba(255, 0, 238, 0.22);
}

.coming-soon__stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 22px,
    rgba(255, 0, 238, 0.04) 22px,
    rgba(255, 0, 238, 0.04) 24px
  );
}

/* ---------- SLOGAN BANNERS ---------- */
.slogan {
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 0, 238, 0.08);
  border-bottom: 1px solid rgba(255, 0, 238, 0.08);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.slogan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 0, 238, 0.04), transparent 70%);
  pointer-events: none;
}

.slogan--alt {
  background: var(--bg-surface);
}

.slogan--inline {
  padding: 3rem 0;
  margin: 3rem 0;
  border-top: 1px solid rgba(255, 0, 238, 0.08);
  border-bottom: 1px solid rgba(255, 0, 238, 0.08);
  background: transparent;
}

.slogan--inline::before {
  display: none;
}

.slogan__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.slogan__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.3;
}

.slogan--inline .slogan__text {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--text-secondary);
}

.slogan--inline .slogan__text .yellow {
  color: var(--yellow);
}

.coming-soon__content {
  position: relative;
  z-index: 2;
}

.coming-soon__sub {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.coming-soon__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.coming-soon__yellow {
  color: var(--yellow);
}

.coming-soon__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.coming-soon__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  background: var(--yellow);
  color: var(--bg-deep);
  padding: 4px 14px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 0, 238, 0.08);
  padding: 40px 32px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- CONTACT SECTION ---------- */
.contact {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.contact__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-top: 1rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 238, 0.08);
  border: 1px solid rgba(255, 0, 238, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact__info-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact__info-value {
  font-size: 0.95rem;
  color: var(--pink);
  font-weight: 500;
  transition: color 0.3s;
}

a.contact__info-value:hover {
  color: var(--yellow);
}

.contact__info-value--muted {
  color: var(--text-secondary);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__form-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.contact__form-input {
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.contact__form-input::placeholder {
  color: var(--text-muted);
}

.contact__form-input:focus {
  border-color: rgba(255, 0, 238, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 0, 238, 0.08);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--yellow);
  color: #0A060C;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}

.contact__form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(252, 254, 1, 0.25);
}

/* ============================================================
   RESPONSIVE: TABLET (768 - 1024)
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--large {
    grid-column: 1;
    grid-row: auto;
  }

  .bento-card--hex {
    grid-column: 1;
  }

  .bento-card--stats {
    grid-column: 1;
  }

  .toolkit-open {
    gap: 80px;
  }
  .piece {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .piece__text,
  .piece__viz {
    grid-column: 1;
  }
  .piece--reverse .piece__viz { grid-row: 2; }

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

  .contact__info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .metrics-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-cell {
    border-bottom: 1px solid rgba(255, 0, 238, 0.06);
  }

  .metric-cell:nth-child(2) {
    border-right: none;
  }

  .metric-cell:nth-child(3),
  .metric-cell:nth-child(4) {
    border-bottom: none;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE (<768)
   ============================================================ */
@media (max-width: 768px) {
  /* --- Prevent horizontal overflow --- */
  html, body {
    overflow-x: hidden;
  }

  /* --- Nav --- */
  .nav__inner {
    padding: 0 16px;
    height: 56px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 6, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 0, 238, 0.12);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    font-size: 0.9rem !important;
    letter-spacing: 0.15em !important;
  }

  .nav__mobile-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    z-index: 100;
  }

  .nav__mobile-toggle span {
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
  }

  /* --- Hero --- */
  .hero__title {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
    letter-spacing: 2px;
    padding: 0 8px;
  }

  .hero__subtitle {
    letter-spacing: 0.2em;
    font-size: 0.8rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
    padding: 0 12px;
  }

  .hero__cta {
    font-size: 0.78rem;
    padding: 14px 28px;
  }

  .hero__ctas {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
  }

  .hero__cta {
    justify-content: center;
    width: 100%;
  }

  .beta-form {
    flex-direction: column;
    gap: 10px;
    margin: 28px 12px 0;
  }

  .beta-form__input {
    width: 100%;
    font-size: 16px; /* prevent iOS zoom */
  }

  .beta-form__btn {
    width: 100%;
    justify-content: center;
  }

  .coming-soon__pill {
    font-size: 0.6rem;
    padding: 3px 10px;
  }

  /* --- Sections --- */
  .about,
  .product {
    padding: 60px 16px 48px;
  }

  .about__container,
  .product__container {
    padding: 0;
  }

  .section__heading {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .section__desc {
    font-size: 0.92rem;
  }

  /* --- Slogans --- */
  .slogan {
    padding: 2.5rem 20px;
  }

  .slogan__text {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
  }

  .slogan--inline {
    padding: 2rem 0;
    margin: 2rem 0;
  }

  .slogan--inline .slogan__text {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
  }

  /* --- Bento Grid --- */
  .bento-grid {
    gap: 14px;
  }

  .bento-card--large {
    padding: 20px;
    overflow: hidden;
  }

  .bento-card__text {
    font-size: 0.88rem;
  }

  .bento-card__chart-area {
    overflow: hidden;
    margin: 0 -4px;
  }

  .bento-card__chart-area canvas {
    width: 100% !important;
    height: auto !important;
  }

  .bento-card__stat-row {
    gap: 16px;
  }

  .bento-card__mini-stat-value {
    font-size: 1.4rem;
  }

  .bento-card__hex-shape {
    padding: 20px;
  }

  /* --- Stat Counter Row --- */
  .bento-card--stats {
    flex-wrap: wrap;
    padding: 16px;
    gap: 4px 0;
    justify-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat-counter__divider {
    display: none;
  }

  .stat-counter {
    min-width: unset;
    padding: 12px 8px;
    text-align: center;
  }

  .stat-counter__value {
    font-size: 1.4rem;
  }

  .stat-counter__label {
    font-size: 0.55rem;
  }

  /* --- Toolkit (editorial flow) --- */
  .toolkit-open {
    gap: 64px;
    padding: 20px 0 32px;
  }
  .piece {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .piece__text,
  .piece__viz {
    grid-column: 1;
  }
  .piece--reverse .piece__viz { grid-row: 2; }
  .piece__title { font-size: 1.45rem; }
  .piece__desc { font-size: 0.92rem; }
  .piece__glow { filter: blur(60px); }

  /* --- Metrics Dashboard --- */
  .metrics-panel {
    padding: 0;
    margin-top: 1.5rem;
    max-width: 100%;
    overflow: hidden;
  }

  .metrics-panel__header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 14px 16px;
  }

  .metrics-panel__grid {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .metric-cell {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 0, 238, 0.06);
    overflow: hidden;
    min-width: 0;
  }

  .metric-cell:nth-child(odd) {
    border-right: 1px solid rgba(255, 0, 238, 0.06);
  }

  .metric-cell:nth-child(even) {
    border-right: none;
  }

  .metric-cell:nth-child(3),
  .metric-cell:nth-child(4) {
    border-bottom: none;
  }

  .metric-cell__value {
    font-size: 1.4rem;
  }

  .metric-cell__label {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .metric-unit {
    font-size: 0.65rem;
  }

  .metric-cell__trend {
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .metric-cell__chart-wrap {
    overflow: hidden;
  }

  .metric-cell__chart-wrap canvas {
    width: 100% !important;
    height: 45px !important;
  }

  .metric-cell__trend-arrow svg {
    width: 40px;
    height: 40px;
  }

  /* --- Coming Soon --- */
  .coming-soon {
    padding: 48px 16px;
  }

  .coming-soon__sub {
    font-size: 0.75rem;
  }

  .coming-soon__heading {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: 3px;
  }

  /* --- Contact --- */
  .contact {
    padding: 4rem 0;
  }

  .contact__container {
    padding: 0 16px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__info {
    flex-direction: column;
    gap: 1.25rem;
  }

  .contact__form-input {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

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

  /* --- Footer --- */
  .footer {
    padding: 2rem 16px;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__copy {
    font-size: 0.72rem;
  }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (<400)
   ============================================================ */
@media (max-width: 400px) {
  .hero__title {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
    letter-spacing: 1px;
  }

  .hero__badge {
    font-size: 0.58rem;
    padding: 5px 12px;
    gap: 5px;
  }

  .bento-card--large {
    padding: 16px;
  }

  .bento-card__mini-stat-value {
    font-size: 1.2rem;
  }

  .bento-card__mini-stat-label {
    font-size: 0.55rem;
  }

  .stat-counter__value {
    font-size: 1.2rem;
  }

  .metric-cell__value {
    font-size: 1.3rem;
  }

  .coming-soon__heading {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
    letter-spacing: 2px;
  }

  .slogan__text {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
}

/* ============================================================
   ABOUT PAGE — page hero, story, currently, social footer
   ============================================================ */

/* ---------- PAGE HERO (smaller hero for inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 32px 100px;
  text-align: left;
  overflow: hidden;
  background: var(--bg-deep);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(255, 0, 238, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(252, 254, 1, 0.04), transparent 50%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 0, 238, 0.08);
  border: 1px solid rgba(255, 0, 238, 0.2);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.page-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 12px;
  max-width: 900px;
}

.page-hero__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
}

.page-hero__lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* ---------- HERO STAT STRIP (compact dashboard for the page hero) ---------- */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 18px 26px;
  background: rgba(255, 0, 238, 0.04);
  border: 1px solid rgba(255, 0, 238, 0.18);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--gradient);
  opacity: 0.55;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--yellow);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.hero-stat__unit {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero-stat__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-stat__divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 0, 238, 0.18);
  flex-shrink: 0;
}

/* ---------- SECTION MARKER (big gradient numeral + label + divider) ---------- */
/* Section marker — quiet typographic anchor, no big numerals */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* Numeral hidden by default — kept in DOM for legacy markup but not rendered */
.section-marker__numeral {
  display: none;
}

.section-marker__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.section-marker__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 3.5px;
  color: var(--pink);
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
}

.section-marker__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow:
    0 0 10px rgba(255, 0, 238, 0.7),
    0 0 18px rgba(255, 0, 238, 0.30);
}

.section-marker__divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 238, 0.55), transparent);
}

/* ---------- STORY (long-form prose section) ---------- */
.story {
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 0, 238, 0.07), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(184, 0, 230, 0.05), transparent 60%),
    var(--bg-deep);
}

.story__container--wide {
  max-width: 1100px;
}

.story--alt {
  background: linear-gradient(
    180deg,
    var(--bg-deep) 0,
    var(--bg-surface) 110px,
    var(--bg-surface) calc(100% - 110px),
    var(--bg-deep) 100%
  );
}

.story__container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- STORY DECOR (ambient floating hexes — opt-in via .story__decor) ---------- */
.story__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.story__decor-hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.story__decor-hex--lg {
  width: 380px;
  height: 380px;
  top: 8%;
  right: -130px;
  background: linear-gradient(135deg, rgba(255, 0, 238, 0.05), rgba(184, 0, 230, 0.015));
  animation: hexDrift 16s ease-in-out infinite;
}

.story__decor-hex--sm {
  width: 220px;
  height: 220px;
  bottom: 14%;
  left: -90px;
  background: linear-gradient(135deg, rgba(255, 0, 238, 0.06), transparent);
  animation: hexDrift 22s ease-in-out infinite reverse;
}

@keyframes hexDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-28px); }
}

@media (prefers-reduced-motion: reduce) {
  .story__decor-hex {
    animation: none;
  }
}

.story__body {
  margin-top: 32px;
  margin-bottom: 32px;
}

.story__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 1.4em;
  max-width: 720px;
}

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

.story__body a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.story__body a[target="_blank"]::after {
  content: " \2197";
  display: inline-block;
  margin-left: 2px;
  font-size: 0.85em;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.story__body a[target="_blank"]:hover::after {
  opacity: 1;
  transform: translate(1px, -1px);
}

.story__body a:hover {
  color: var(--yellow);
  text-decoration-color: var(--yellow);
}

.story__emphasis {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  color: var(--pink) !important;
  letter-spacing: 0.5px;
  margin-top: 1.5em !important;
  margin-bottom: 0 !important;
}

.story__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--yellow);
  padding: 14px 28px;
  border-radius: 6px;
  margin-top: 24px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(252, 254, 1, 0.15);
}

.story__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(252, 254, 1, 0.3);
}

.story__cta svg {
  transition: transform 0.3s ease;
}

.story__cta:hover svg {
  transform: translateX(4px);
}

/* ---------- STORY DIVIDER (subtle hex+line break between long prose blocks) ---------- */
.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 240px;
  margin: 48px auto;
}

.story-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 238, 0.4), transparent);
}

.story-divider__hex {
  width: 10px;
  height: 10px;
  background: var(--pink);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ---------- PHOTO PLACEHOLDER (swap for <img> when assets ready) ---------- */
.photo-placeholder {
  margin: 40px auto;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 0, 238, 0.25);
  border-radius: 16px;
  position: relative;
}

.photo-placeholder__shape {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 80%;
  background: rgba(255, 0, 238, 0.04);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.photo-placeholder__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- PROGRESS PHOTOS (3-up grid: before / after first cut / current) ---------- */
.progress-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 56px auto 16px;
  max-width: 720px;
}

.progress-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.progress-photo__shape {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.18);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.progress-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.progress-photo__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.55) 45%, rgba(10, 10, 14, 0.85) 100%);
  z-index: 1;
}

.progress-photo__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--pink);
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-photo__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-photo__caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- CURRENTLY CARD (live cut tracker) ---------- */
.currently-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 238, 0.15);
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.currently-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gradient);
}

.currently-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.currently-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--yellow);
}

.currently-card__week {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.currently-card__week-num {
  color: var(--yellow);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
}

.currently-card__week-of {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.currently-card__progress {
  height: 6px;
  background: rgba(255, 0, 238, 0.08);
  border-radius: 3px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.currently-card__progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0;
  transition: width 1.4s var(--ease-out) 0.4s;
  box-shadow: 0 0 12px rgba(255, 0, 238, 0.4);
}

.reveal.visible .currently-card__progress-fill {
  width: var(--progress);
}

.currently-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulseDot 2s ease-in-out infinite;
}

.currently-card__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 720px;
}

.currently-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  border-bottom: 1px solid rgba(255, 0, 238, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

.currently-card__link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.currently-card__link svg {
  transition: transform 0.3s ease;
}

.currently-card__link:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   PRODUCT PAGE — flow timeline, input cards, bias pills, engine cards
   ============================================================ */

/* ---------- FLOW STREAM (5-step vertical walkthrough — open, no chrome) ---------- */
.flow-stream {
  list-style: none;
  margin: 56px 0 0;
  padding: 8px 0 8px 56px;
  position: relative;
  max-width: 860px;
}

/* Soft connecting trace down the left — fades in/out at top + bottom */
.flow-stream::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 0, 238, 0.30) 8%,
    rgba(255, 0, 238, 0.18) 50%,
    rgba(255, 0, 238, 0.30) 92%,
    transparent 100%
  );
  pointer-events: none;
}

.flow-stream__step {
  position: relative;
  padding-bottom: 56px;
}

.flow-stream__step:last-child {
  padding-bottom: 0;
}

/* Node marker that sits on the trace line at each step's start */
.flow-stream__node {
  position: absolute;
  left: -42px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--pink);
  box-shadow:
    0 0 0 4px rgba(255, 0, 238, 0.10),
    0 0 14px rgba(255, 0, 238, 0.45);
}

.flow-stream__node--final {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow:
    0 0 0 4px rgba(252, 254, 1, 0.12),
    0 0 16px rgba(252, 254, 1, 0.55);
}

.flow-stream__indicator {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 14px;
}

.flow-stream__indicator-current {
  color: var(--pink);
}

.flow-stream__indicator-current--end {
  color: var(--yellow);
}

.flow-stream__indicator-total {
  color: var(--text-muted);
  font-weight: 500;
}

.flow-stream__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.flow-stream__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 60ch;
}

.flow-stream__desc strong {
  font-weight: 600;
}

/* Reveal animation lift */
.flow-stream__step.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.flow-stream__step.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   AURA-STREAM DESIGN LANGUAGE (sitewide pattern)
   ------------------------------------------------------------
   Used by any vertical multi-item section that previously would have
   been a card grid. Layers three effects:
   - .aura-stream::before: section-wide gradient mesh (yellow ↔ pink bands)
   - .aura-stream__block::after: 1px edge trace per block, alternating colors
   - .aura-stream__glow: ghost aura that follows cursor, INVERSE color of
     the trace at that height (set by JS via --lp-* custom properties)
   ============================================================ */
.aura-stream {
  position: relative;
  isolation: isolate;
  /* Each section sets its own --aura-gap (matches its CSS gap between blocks).
     The trace's bottom: calc(var(--aura-gap, 80px) * -1) falls back to 80px. */
}

.aura-stream::before {
  content: '';
  position: absolute;
  inset: -120px -120px;
  background:
    radial-gradient(ellipse 90% 22% at 35% 8%, rgba(252, 254, 1, 0.14), transparent 60%),
    radial-gradient(ellipse 95% 22% at 65% 32%, rgba(255, 0, 238, 0.32), transparent 60%),
    radial-gradient(ellipse 90% 22% at 30% 58%, rgba(252, 254, 1, 0.14), transparent 60%),
    radial-gradient(ellipse 95% 22% at 70% 84%, rgba(255, 0, 238, 0.30), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.aura-stream__block {
  position: relative;
  z-index: 1;
  padding-left: 32px;
}

.aura-stream__block::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: calc(var(--aura-gap, 80px) * -1);
  width: 1px;
  background: linear-gradient(180deg, var(--trace-from), var(--trace-to));
  pointer-events: none;
}

.aura-stream__block:nth-of-type(odd)  { --trace-from: rgba(252, 254, 1, 0.36); --trace-to: rgba(255, 0, 238, 0.36); }
.aura-stream__block:nth-of-type(even) { --trace-from: rgba(255, 0, 238, 0.36); --trace-to: rgba(252, 254, 1, 0.32); }

.aura-stream__block:last-of-type::after {
  bottom: 0;
  background: linear-gradient(180deg, var(--trace-from), transparent);
}

.aura-stream__glow {
  position: absolute;
  left: 6px;
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    var(--lp-core, rgba(255, 255, 255, 0.45)) 0%,
    var(--lp-mid, rgba(255, 255, 255, 0.18)) 28%,
    var(--lp-outer, rgba(255, 255, 255, 0.06)) 56%,
    transparent 78%
  );
  filter: blur(5px);
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  mix-blend-mode: screen;
  transition: opacity 0.6s var(--ease-out), top 110ms linear, background 220ms ease;
}

.aura-stream:hover .aura-stream__glow,
.aura-stream:focus-within .aura-stream__glow {
  opacity: 1;
}

/* Small horizontal connector — runs from the edge trace into each block's
   primary label/title, color matches the trace at that y-position.
   Each section opts in by adding the connector to its own label class. */
.input-block__label::before,
.piece__label::before,
.engine-block__tag::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--trace-from), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.input-block__label,
.piece__label,
.engine-block__tag {
  position: relative;
}

/* ---------- INPUTS STREAM (4 vertical blocks) ---------- */
.inputs-stream {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 48px;
  padding: 24px 0 32px;
  max-width: 820px;
  --aura-gap: 80px;
}

/* Hide the legacy per-block halo spans (markup stays for backward compat) */
.input-block__halo { display: none; }

.input-block__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  line-height: 1.05;
  margin: 0 0 18px;
}

.input-block__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  box-shadow:
    0 0 12px rgba(252, 254, 1, 0.7),
    0 0 22px rgba(252, 254, 1, 0.30);
  animation: inputDotBreatheYellow 4s ease-in-out infinite;
}

@keyframes inputDotBreatheYellow {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(252, 254, 1, 0.7),
      0 0 22px rgba(252, 254, 1, 0.30);
  }
  50% {
    box-shadow:
      0 0 16px rgba(252, 254, 1, 0.9),
      0 0 32px rgba(252, 254, 1, 0.50);
  }
}

.input-block__list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-block__list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.input-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 6px rgba(255, 0, 238, 0.50);
}

.input-block__note {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  max-width: 60ch;
  margin: 0;
}

.input-block__lead {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0 0 22px;
}

/* ---------- BIAS FLOW (no-pill toggle: dot + label, click to toggle) ---------- */
.bias-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 6px;
}

.bias-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.22s var(--ease-out);
  position: relative;
}

.bias-toggle__mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 0, 238, 0.55);
  background: transparent;
  flex-shrink: 0;
  transition: background 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

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

.bias-toggle:hover .bias-toggle__mark {
  border-color: var(--pink);
}

.bias-toggle[aria-pressed="true"] {
  color: var(--text-primary);
}

.bias-toggle[aria-pressed="true"] .bias-toggle__mark {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow:
    0 0 10px rgba(255, 0, 238, 0.7),
    0 0 18px rgba(255, 0, 238, 0.30);
}

.bias-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.bias-toggle:active .bias-toggle__mark {
  transform: scale(0.92);
}

.bias-toggle--more {
  cursor: default;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
}

.bias-toggle--more::before {
  content: '';
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(252, 254, 1, 0.35), transparent);
  margin-right: -2px;
}

/* ---------- ENGINE STREAM (3 vertical blocks — open layout, no chrome) ---------- */
.engine-stream {
  display: flex;
  flex-direction: column;
  gap: 88px;
  margin-top: 48px;
  padding: 24px 0 32px;
  max-width: 820px;
  --aura-gap: 88px;
}

.engine-block {
  position: relative;
  isolation: isolate;
}

/* Legacy per-block halos hidden in favor of section-wide aura mesh */
.engine-block__halo { display: none !important; }

.engine-block__halo {
  position: absolute;
  width: 60%;
  height: 140%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.engine-block__halo--pink-tl {
  top: -25%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.28), transparent 65%);
}

.engine-block__halo--yellow-tr {
  top: -25%;
  right: -10%;
  background: radial-gradient(circle, rgba(252, 254, 1, 0.10), transparent 65%);
}

.engine-block__halo--pink-bl {
  bottom: -25%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 0, 238, 0.26), transparent 65%);
}

.engine-block__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.engine-block__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  box-shadow:
    0 0 10px rgba(255, 0, 238, 0.7),
    0 0 18px rgba(255, 0, 238, 0.30);
  animation: pieceDotBreathe 4s ease-in-out infinite;
}

.engine-block__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0 0 14px;
}

.engine-block__body {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0;
}

.engine-block__list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.engine-block__list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.engine-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 6px rgba(255, 0, 238, 0.50);
}

/* ---------- PRODUCT PAGE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .flow-stream {
    padding-left: 44px;
  }
  .flow-stream::before {
    left: 16px;
  }
  .flow-stream__node {
    left: -36px;
  }
  .flow-stream__title {
    font-size: 1.3rem;
  }
  .flow-stream__desc {
    font-size: 0.95rem;
  }

  .inputs-stream {
    gap: 64px;
  }
  .input-block__label {
    font-size: 1.4rem;
  }
  .input-block__list li {
    font-size: 0.95rem;
  }

  .engine-stream {
    gap: 64px;
  }
  .engine-block__title {
    font-size: 1.3rem;
  }
  .engine-block__body,
  .engine-block__list li {
    font-size: 0.95rem;
  }
}

/* ---------- HANDLE NOTE (small caption at end) ---------- */
.handle-note {
  text-align: center;
  padding: 60px 32px;
  background: var(--bg-deep);
}

.handle-note p {
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- SOCIAL FOOTER ---------- */
.footer--with-social .footer__inner {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.social-list {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.social-list__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.social-list__link:hover {
  color: var(--pink);
}

.social-list__link svg {
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.social-list__link:hover svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- ABOUT PAGE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding: 130px 16px 60px;
  }

  .page-hero__title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 18px;
    margin-top: 28px;
  }

  .hero-stat__value {
    font-size: 1.35rem;
  }

  .hero-stat__divider {
    display: none;
  }

  .section-marker {
    gap: 14px;
  }

  .section-marker__numeral {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .section-marker__divider {
    width: 36px;
  }

  .currently-card__top {
    flex-wrap: wrap;
    gap: 10px;
  }

  .currently-card__week-num {
    font-size: 1.2rem;
  }

  .page-hero__subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }

  .page-hero__lead {
    font-size: 1rem;
  }

  .story {
    padding: 60px 16px 48px;
  }

  .story__body p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .story__emphasis {
    font-size: 1.25rem !important;
  }

  .currently-card {
    padding: 24px 20px;
  }

  .currently-card__body {
    font-size: 0.98rem;
  }

  .photo-placeholder {
    margin: 28px auto;
    max-width: 320px;
  }

  .story-divider {
    margin: 32px auto;
    max-width: 180px;
    gap: 10px;
  }

  .progress-photos {
    gap: 8px;
    margin: 36px 0 12px;
  }

  .progress-photo__overlay {
    padding: 10px 8px 8px;
    gap: 2px;
  }

  .progress-photo__label {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .progress-photo__sub {
    font-size: 0.5rem;
  }

  .progress-photo__caption {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }

  .handle-note {
    padding: 40px 20px;
  }

  .handle-note p {
    font-size: 0.9rem;
  }

  .social-list {
    gap: 18px;
  }
}

/* ============================================================
   PILLARS — "What we build" product roadmap section
   (Added 2026-04-24 for company-first landing restructure)
   ============================================================ */
.pillars {
  padding: 100px 20px 80px;
  background: var(--bg-deep);
  position: relative;
}

.pillars__container {
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
  padding: 24px 0 32px;
  max-width: 820px;
  --aura-gap: 80px;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Featured pillar gets a slightly stronger title via the title-only gradient
   below; no border or chrome — language is handled by the aura-stream pattern. */

.pillar-card__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}

.pillar-card__kicker-accent {
  color: var(--yellow);
}

.pillar-card__kicker-muted {
  color: var(--text-muted);
}

.pillar-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pillar-card--featured .pillar-card__title {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar-card__body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: auto;
  transition: gap 0.3s ease;
}

.pillar-card__link:hover {
  gap: 12px;
}

/* ============================================================
   FLAGSHIP TEASE — Skaii-Meals spotlight below the pillars
   (Added 2026-04-24 for company-first landing restructure)
   ============================================================ */
.flagship {
  padding: 80px 20px 100px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.flagship::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255, 0, 238, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.flagship::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(184, 0, 230, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.flagship__container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.flagship .slogan--inline {
  margin: 32px 0 40px;
}

.flagship__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}

.flagship__cta:hover {
  background: var(--pink);
  color: var(--bg-deep);
  box-shadow: 0 6px 30px rgba(255, 0, 238, 0.35);
  gap: 14px;
}

/* ============================================================
   RESPONSIVE — pillars + flagship
   ============================================================ */
@media (max-width: 900px) {
  .pillar-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillars {
    padding: 80px 20px 60px;
  }

  .flagship {
    padding: 60px 20px 80px;
  }
}

@media (max-width: 600px) {
  .pillar-card {
    padding: 24px 22px;
  }

  .pillar-card__title {
    font-size: 1.4rem;
  }

  .flagship__cta {
    padding: 12px 26px;
    font-size: 0.8rem;
  }
}
