/* Otter Wellness Family — shared visual system */
:root {
  --cyan: #2a9d94;
  --cyan-deep: #1a5c5a;
  --mist: #eef3f2;
  --mist-deep: #d5dfdd;
  --ink: #1a2423;
  --ink-soft: #5a6866;
  --foam: #f4f6f5;
  --board: #0c0e10;
  --board-mist: #f0f4f5;
  --heat: #e8a87c;
  /* Otter Workout app accent — OtterGlassTheme.accent */
  --workout-accent: #38bdd1;
  --workout-accent-soft: #59d1e0;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cyan-deep);
}

/* ——— Atmosphere ——— */
.mist-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(42, 157, 148, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 15%, rgba(26, 92, 90, 0.06), transparent 50%),
    linear-gradient(180deg, #f6f7f6 0%, #e9eeed 48%, #dde5e3 100%);
}

body.page-home .mist-field {
  background:
    radial-gradient(ellipse 90% 60% at 70% 40%, rgba(90, 120, 118, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 92, 90, 0.08), transparent 50%),
    linear-gradient(185deg, #f3f4f2 0%, #e6ebe9 42%, #d5dedb 100%);
}

body.page-home .hero--quiet,
body.page-home .hero-inner--quiet {
  min-height: 100dvh;
}

.mist-field::before,
.mist-field::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.35;
  animation: drift 22s var(--ease) infinite alternate;
}

.mist-field::before {
  width: 48vw;
  height: 48vw;
  top: -12%;
  left: -8%;
  background: rgba(180, 196, 192, 0.45);
}

.mist-field::after {
  width: 40vw;
  height: 40vw;
  bottom: 0;
  right: -10%;
  background: rgba(26, 92, 90, 0.12);
  animation-delay: -6s;
  animation-duration: 26s;
}

.grain {
  display: none;
}

body.page-home .grain,
body.page-meditate .grain {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(4%, 6%) scale(1.08);
  }
}

body.page-workout .mist-field {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(46, 196, 182, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(232, 168, 124, 0.08), transparent 45%),
    linear-gradient(180deg, #0c0e10 0%, #14181c 55%, #1a2226 100%);
}

body.page-workout {
  --cyan: var(--workout-accent);
  --cyan-deep: #2a9eb0;
  color: #eef3f4;
  background: var(--board);
}

body.page-workout a:hover {
  color: var(--workout-accent-soft);
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  backdrop-filter: blur(18px) saturate(1.05);
  background: rgba(244, 246, 245, 0.62);
  border-bottom: 1px solid rgba(26, 36, 35, 0.05);
}

body.page-home .site-nav {
  background: rgba(243, 244, 242, 0.55);
}

body.page-workout .site-nav {
  background: rgba(12, 14, 16, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark span {
  color: var(--cyan-deep);
  font-weight: 400;
  font-style: italic;
}

body.page-workout .brand-mark span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.nav-links a:not(.nav-btn) {
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
  padding: 0.35rem 0.2rem;
}

.nav-links a:not(.nav-btn):hover,
.nav-links a:not(.nav-btn)[aria-current="page"] {
  opacity: 1;
  color: inherit;
}

.nav-links a:not(.nav-btn)[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.nav-btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

/* Shared door logic: Meditate = soft solid · Workout = ghost outline */
.nav-btn-meditate {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(26, 36, 35, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 6px 18px rgba(26, 36, 35, 0.05);
}

.nav-btn-meditate:hover,
.nav-btn-meditate[aria-current="page"] {
  background: #fff;
  color: var(--ink);
  border-color: rgba(26, 92, 90, 0.2);
  box-shadow: 0 8px 20px rgba(26, 36, 35, 0.07);
}

.nav-btn-workout {
  background: rgba(26, 36, 35, 0.04);
  color: var(--ink);
  border-color: rgba(26, 36, 35, 0.22);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.nav-btn-workout:hover,
.nav-btn-workout[aria-current="page"] {
  background: rgba(26, 36, 35, 0.08);
  color: var(--ink);
  border-color: rgba(26, 36, 35, 0.38);
}

body.page-home .site-nav--over-hero .nav-btn-meditate {
  background: rgba(244, 246, 245, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

body.page-home .site-nav--over-hero .nav-btn-workout {
  background: rgba(244, 246, 245, 0.08);
  color: var(--ink);
  border-color: rgba(26, 36, 35, 0.28);
}

body.page-home .site-nav--over-hero .nav-btn-workout:hover,
body.page-home .site-nav--over-hero .nav-btn-workout[aria-current="page"] {
  background: rgba(244, 246, 245, 0.18);
  border-color: rgba(26, 36, 35, 0.42);
}

body.page-workout .nav-btn-meditate {
  background: rgba(244, 246, 245, 0.1);
  color: #eef3f4;
  border-color: rgba(244, 246, 245, 0.28);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body.page-workout .nav-btn-meditate:hover,
body.page-workout .nav-btn-meditate[aria-current="page"] {
  background: rgba(244, 246, 245, 0.18);
  color: #fff;
  border-color: rgba(244, 246, 245, 0.45);
}

body.page-workout .nav-btn-workout {
  background: rgba(244, 246, 245, 0.94);
  color: var(--board);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

body.page-workout .nav-btn-workout:hover,
body.page-workout .nav-btn-workout[aria-current="page"] {
  background: #fff;
  color: var(--board);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  align-items: end;
  padding: clamp(3rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
}

.hero--quiet {
  align-items: end;
  min-height: min(100vh, 62rem);
  padding: 0;
  isolation: isolate;
}

.hero--house {
  align-items: center;
  min-height: min(92vh, 52rem);
  padding: clamp(5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 9vh, 5.5rem);
}

.hero-inner--house {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero-inner--house .hero-brand {
  max-width: 15ch;
  color: var(--ink);
}

.hero-inner--house .hero-line {
  max-width: 22ch;
  color: var(--ink);
}

.hero-inner--house .hero-support {
  max-width: 40ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero--home .hero-stage img {
  object-position: 58% 55%;
  filter: saturate(1.04) contrast(1.03) brightness(1.02);
}

.hero--home .hero-stage::after {
  background:
    linear-gradient(180deg, rgba(18, 28, 26, 0.2) 0%, transparent 30%, rgba(12, 20, 18, 0.18) 58%, rgba(10, 16, 15, 0.7) 100%),
    linear-gradient(90deg, rgba(10, 16, 15, 0.52) 0%, rgba(10, 16, 15, 0.16) 36%, transparent 58%);
}

.hero-inner--home .hero-brand {
  max-width: 14ch;
}

body.page-home .hero-inner--home .hero-line {
  margin-bottom: 1.05rem;
  max-width: none;
  white-space: nowrap;
}

.hero-inner--home .hero-support {
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.85;
  letter-spacing: 0.015em;
  color: rgba(244, 246, 245, 0.78);
  margin-bottom: 2rem;
}

/* Beat quiet’s narrower support width; avoid orphan single-word lines */
body.page-home .hero-inner--home .hero-support {
  max-width: 42ch;
  text-wrap: pretty;
}

body.page-home .hero--quiet .cta-row {
  gap: 0.75rem 0.8rem;
}

body.page-home .hero--quiet .btn {
  padding: 0.85rem 1.35rem;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

body.page-home .hero--quiet .btn-primary {
  background: rgba(244, 246, 245, 0.94);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

body.page-home .hero--quiet .btn-ghost {
  background: rgba(244, 246, 245, 0.06);
  color: #f4f6f5;
  border-color: rgba(244, 246, 245, 0.38);
  backdrop-filter: blur(10px);
}

body.page-home .site-nav--over-hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(243, 244, 242, 0.42);
  border-bottom-color: rgba(26, 36, 35, 0.04);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transform: scale(1.02);
  animation: stage-breathe 14s ease-in-out infinite alternate;
  filter: saturate(0.78) contrast(1.04) brightness(0.92);
}

.hero--meditate .hero-stage img {
  object-position: center 48%;
  filter: saturate(1.05) contrast(1.02) brightness(1.06) hue-rotate(12deg);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 244, 242, 0.28) 0%, rgba(243, 244, 242, 0.04) 22%, rgba(26, 36, 35, 0.28) 58%, rgba(18, 24, 23, 0.72) 100%),
    linear-gradient(90deg, rgba(18, 24, 23, 0.28) 0%, transparent 46%);
  pointer-events: none;
}

.hero--meditate .hero-stage::after {
  background:
    linear-gradient(180deg, rgba(232, 242, 236, 0.1) 0%, transparent 30%, rgba(18, 40, 32, 0.18) 62%, rgba(12, 28, 22, 0.52) 100%),
    linear-gradient(90deg, rgba(12, 28, 22, 0.18) 0%, transparent 50%);
}

.hero--workout .hero-stage img {
  object-position: center 45%;
  filter: saturate(0.9) contrast(1.04) brightness(0.97);
}

.hero--workout .hero-stage::after {
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.35) 0%, rgba(12, 14, 16, 0.08) 28%, rgba(12, 14, 16, 0.35) 58%, rgba(8, 10, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.42) 0%, transparent 48%);
}

body.page-workout .hero--quiet .btn-primary {
  background: var(--workout-accent);
  color: rgba(12, 14, 16, 0.88);
  box-shadow: 0 12px 36px rgba(56, 189, 209, 0.28);
}

body.page-workout .hero--quiet .btn-primary:hover {
  background: var(--workout-accent-soft);
  color: rgba(12, 14, 16, 0.88);
}

body.page-workout .hero--quiet .btn-ghost {
  color: #f4f6f5;
  border-color: rgba(244, 246, 245, 0.35);
  background: rgba(244, 246, 245, 0.06);
  backdrop-filter: blur(10px);
}

body.page-workout .hero--quiet .btn-ghost:hover {
  background: rgba(244, 246, 245, 0.14);
  border-color: rgba(244, 246, 245, 0.55);
  color: #fff;
}

body.page-workout .site-nav--over-hero {
  background: rgba(12, 14, 16, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.page-workout .hero-inner--quiet .hero-brand em {
  color: var(--workout-accent-soft);
}

@keyframes stage-breathe {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.05) translateY(-0.6%);
  }
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  animation: rise 1.1s var(--ease) both;
}

.hero-inner--quiet {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(2.75rem, 8vh, 4.5rem);
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: min(100vh, 62rem);
  color: #f4f6f5;
}

.hero-inner--quiet .hero-brand,
.hero-inner--quiet .hero-line,
.hero-inner--quiet .hero-support {
  max-width: 16ch;
  color: #f4f6f5;
}

.hero-inner--quiet .hero-line {
  max-width: 22ch;
}

.hero-inner--quiet .hero-support {
  max-width: 32ch;
  color: rgba(244, 246, 245, 0.72);
}

body.page-workout .hero-inner--quiet .hero-brand {
  margin-bottom: 0.85rem;
}

body.page-workout .hero-inner--quiet .hero-support {
  margin-bottom: 1.5rem;
}

.hero-inner--quiet .hero-brand em {
  color: rgba(180, 220, 214, 0.95);
}

.hero-inner--quiet .door-kicker {
  color: rgba(244, 246, 245, 0.7);
  margin-bottom: 0.85rem;
}

body.page-home .hero--quiet .btn-primary,
body.page-meditate .hero--quiet .btn-primary {
  background: rgba(244, 246, 245, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

body.page-home .hero--quiet .btn-primary:hover,
body.page-meditate .hero--quiet .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

body.page-home .hero--quiet .btn-ghost,
body.page-meditate .hero--quiet .btn-ghost {
  color: #f4f6f5;
  border-color: rgba(244, 246, 245, 0.35);
  background: rgba(244, 246, 245, 0.06);
  backdrop-filter: blur(10px);
}

body.page-home .hero--quiet .btn-ghost:hover,
body.page-meditate .hero--quiet .btn-ghost:hover {
  background: rgba(244, 246, 245, 0.14);
  border-color: rgba(244, 246, 245, 0.55);
  color: #fff;
}

/* Legacy centered family layout (unused on home) */
.hero--family {
  align-items: center;
  min-height: min(96vh, 58rem);
  padding-top: clamp(2rem, 6vh, 4rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.hero-inner--family {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-otter {
  margin: 0.35rem 0 1.5rem;
  width: min(100%, 52rem);
  line-height: 0;
}

.hero-otter img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--cyan-deep);
}

body.page-workout .hero-brand em {
  color: var(--cyan);
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
  max-width: 28ch;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.page-workout .hero-support {
  color: rgba(238, 243, 244, 0.72);
}

.hero-beats {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  width: max-content;
  max-width: 100%;
}

.hero-beats li {
  display: grid;
  grid-template-columns: 2.1rem max-content;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.15rem 0 1.05rem;
  border-bottom: 1px solid rgba(244, 246, 245, 0.14);
}

.hero-beats li:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}

.hero-beat-index {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--workout-accent);
  line-height: 1.6;
}

.hero-beat-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(244, 246, 245, 0.9);
  white-space: nowrap;
}

@media (max-width: 540px) {
  .hero-beats {
    width: 100%;
  }

  .hero-beats li {
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }

  .hero-beat-text {
    white-space: normal;
  }
}

body.page-meditate .hero-inner--quiet .cta-row {
  margin-top: 0.35rem;
}

.hero-cta {
  width: min(100%, 28rem);
  display: grid;
  gap: 0.85rem;
}

.btn-coming {
  pointer-events: none;
  cursor: default;
  opacity: 0.92;
}

.join-form--hero {
  margin: 0;
}

body.page-meditate .join-form--hero input[type="email"] {
  border-color: rgba(244, 246, 245, 0.22);
  background: rgba(12, 14, 16, 0.45);
  color: #f4f6f5;
  backdrop-filter: blur(10px);
}

body.page-meditate .join-form--hero input[type="email"]::placeholder {
  color: rgba(244, 246, 245, 0.45);
}

body.page-meditate .join-form--hero input[type="email"]:focus {
  border-color: rgba(42, 157, 148, 0.65);
  box-shadow: 0 0 0 3px rgba(42, 157, 148, 0.18);
  background: rgba(12, 14, 16, 0.7);
}

body.page-meditate .join-note--hero {
  margin: 0;
  color: rgba(180, 230, 220, 0.92);
}

body.page-meditate .join-note--hero.is-error {
  color: #f0a090;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--ink);
  color: var(--foam);
  box-shadow: 0 10px 28px rgba(26, 36, 35, 0.16);
}

.btn-primary:hover {
  background: var(--cyan-deep);
  color: var(--foam);
  box-shadow: 0 14px 32px rgba(26, 92, 90, 0.22);
}

body.page-workout .btn-primary {
  background: var(--workout-accent);
  color: rgba(12, 14, 16, 0.88);
}

body.page-workout .btn-primary:hover {
  background: var(--workout-accent-soft);
  color: rgba(12, 14, 16, 0.88);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(16, 36, 40, 0.22);
  color: var(--ink);
}

body.page-workout .btn-ghost {
  border-color: rgba(238, 243, 244, 0.28);
  color: #eef3f4;
}

/* Hero water plane */
.hero-plane {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(46, 196, 182, 0.12) 30%, rgba(11, 110, 106, 0.2)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255, 255, 255, 0.04) 48px,
      rgba(255, 255, 255, 0.04) 49px
    );
  mask-image: linear-gradient(180deg, transparent, #000 35%);
  animation: tide 12s ease-in-out infinite alternate;
}

body.page-workout .hero-plane {
  background: linear-gradient(180deg, transparent, rgba(46, 196, 182, 0.08) 40%, rgba(0, 0, 0, 0.4));
}

@keyframes tide {
  from {
    opacity: 0.7;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-8px);
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 3rem);
}

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

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 22ch;
}

.section .lede {
  margin: 0 0 2rem;
  max-width: 42ch;
  color: var(--ink-soft);
}

body.page-workout .section .lede {
  color: rgba(238, 243, 244, 0.7);
}

/* Product doors — interaction containers, not decorative cards */
.doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .doors {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.door {
  display: block;
  padding: 1.85rem 1.6rem 1.6rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.35rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  min-height: 13rem;
  position: relative;
  overflow: hidden;
}

.door:hover {
  transform: translateY(-3px);
  color: inherit;
}

.door-meditate {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(220, 230, 227, 0.75));
  box-shadow: inset 0 0 0 1px rgba(26, 36, 35, 0.06);
}

.door-workout {
  background: linear-gradient(160deg, #161a1c, #0c0e10 70%);
  color: #eef3f4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.door:hover.door-meditate {
  box-shadow: inset 0 0 0 1px rgba(26, 92, 90, 0.18), 0 18px 40px rgba(26, 36, 35, 0.06);
}

.door:hover.door-workout {
  box-shadow: inset 0 0 0 1px rgba(42, 157, 148, 0.22), 0 18px 40px rgba(0, 0, 0, 0.2);
}

.door-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 0.65rem;
}

.hero .door-kicker {
  margin-bottom: 0.75rem;
}

.door h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.door p {
  margin: 0;
  max-width: 28ch;
  opacity: 0.82;
  font-size: 0.98rem;
}

.door-cta {
  display: inline-block;
  margin-top: 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: inset 0 -1.5px 0 currentColor;
}

.door-glow {
  position: absolute;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  right: -3rem;
  bottom: -4rem;
  background: rgba(42, 157, 148, 0.12);
  filter: blur(32px);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.45;
}

.door:hover .door-glow {
  transform: scale(1.25);
  opacity: 1;
}

/* Belief / proof */
.belief {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(16, 36, 40, 0.06);
  border-bottom: 1px solid rgba(16, 36, 40, 0.06);
}

body.page-workout .belief {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .proof-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.proof-list li {
  max-width: 28ch;
}

.proof-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.proof-list span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

body.page-workout .proof-list span {
  color: rgba(238, 243, 244, 0.68);
}

/* Product story blocks */
.story-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.story-block h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.story-block p {
  margin: 0;
  color: var(--ink-soft);
}

body.page-workout .story-block p {
  color: rgba(238, 243, 244, 0.7);
}

/* FAQ — GEO friendly */
.faq details {
  border-bottom: 1px solid rgba(16, 36, 40, 0.1);
  padding: 1rem 0;
}

body.page-workout .faq details {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  opacity: 0.5;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

body.page-workout .faq details p {
  color: rgba(238, 243, 244, 0.7);
}

/* Closing CTA */
.close {
  text-align: center;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.close h2 {
  margin-left: auto;
  margin-right: auto;
}

.close .lede {
  margin-left: auto;
  margin-right: auto;
}

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

/* Join waitlist */
.join {
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.join-inner {
  max-width: 36rem;
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.join-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 36, 35, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.join-form input[type="email"]::placeholder {
  color: rgba(90, 104, 102, 0.7);
}

.join-form input[type="email"]:focus {
  border-color: rgba(42, 157, 148, 0.55);
  box-shadow: 0 0 0 3px rgba(42, 157, 148, 0.15);
  background: #fff;
}

.join-form .btn {
  flex: 0 0 auto;
}

.join-note {
  margin: 0 0 1.5rem;
  color: var(--cyan-deep);
  font-size: 0.95rem;
  font-weight: 500;
}

.join-note.is-error {
  color: #8a3a2a;
}

.join-doors {
  margin-top: 0.5rem;
}

.join-form.is-done {
  display: none;
}

body.page-workout .join-form input[type="email"] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 243, 244, 0.95);
}

body.page-workout .join-form input[type="email"]::placeholder {
  color: rgba(238, 243, 244, 0.4);
}

body.page-workout .join-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.1);
}

body.page-workout .join-note {
  color: rgba(238, 243, 244, 0.75);
}

body.page-workout .join-note.is-error {
  color: #f0a090;
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid rgba(16, 36, 40, 0.08);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

body.page-workout .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(238, 243, 244, 0.55);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Workout feature stages ——— */
.feature-stage {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-row {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .feature-row-flip .feature-copy {
    order: 2;
  }

  .feature-row-flip .spice-stage {
    order: 1;
  }
}

.feature-copy .door-kicker {
  margin-bottom: 0.55rem;
}

.feature-copy h2 {
  max-width: 16ch;
}

.feature-copy .lede {
  margin-bottom: 1.5rem;
}

.feature-points {
  list-style: none;
  margin: 0 0 1.65rem;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  max-width: 34ch;
}

.feature-points li {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  color: rgba(238, 243, 244, 0.78);
  font-size: 1.02rem;
  line-height: 1.45;
}

.feature-point-mark {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--workout-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 209, 0.16);
}

.spice-tabs {
  display: grid;
  gap: 0.55rem;
  max-width: 22rem;
}

.spice-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(238, 243, 244, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #eef3f4;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spice-tab span {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.62;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spice-tab:hover {
  border-color: rgba(56, 189, 209, 0.5);
  color: #eef3f4;
}

.spice-tab.is-active {
  background: var(--workout-accent);
  border-color: var(--workout-accent);
  color: rgba(12, 14, 16, 0.88);
  box-shadow: 0 10px 28px rgba(56, 189, 209, 0.22);
}

.spice-tab.is-active span {
  color: rgba(12, 14, 16, 0.72);
  opacity: 1;
}

/* Humor levels — one point per row, dash-linked label */
.spice-tabs--points {
  display: grid;
  gap: 0.95rem;
  max-width: 36ch;
}

.spice-tabs--points .spice-tab {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(238, 243, 244, 0.62);
}

.spice-tabs--points .spice-tab .feature-point-mark {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.5rem;
  background: rgba(238, 243, 244, 0.28);
  box-shadow: none;
  transition:
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.spice-tabs--points .spice-tab-copy {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
  color: inherit;
  text-align: left;
}

.spice-tabs--points .spice-tab:hover {
  background: transparent;
  border: 0;
  color: rgba(238, 243, 244, 0.92);
  transform: none;
}

.spice-tabs--points .spice-tab:hover .feature-point-mark {
  background: rgba(56, 189, 209, 0.55);
}

.spice-tabs--points .spice-tab.is-active {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #eef3f4;
}

.spice-tabs--points .spice-tab.is-active .feature-point-mark {
  background: var(--workout-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 209, 0.16);
}

.spice-tabs--points .spice-tab.is-active .spice-tab-copy {
  color: #eef3f4;
}

.spice-stage {
  margin: 0;
  justify-self: center;
  width: min(100%, 20.5rem);
}

/* iPhone Pro — Natural Titanium */
.iphone {
  --iphone-r: 3.5rem;
  position: relative;
  width: 100%;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.58));
}

.iphone-shell {
  position: relative;
  padding: 0.95rem;
  border-radius: var(--iphone-r);
  background: #aeaeb2;
  background-image:
    linear-gradient(
      115deg,
      #f4f4f6 0%,
      #b8b9be 12%,
      #7a7c82 28%,
      #c9cacf 46%,
      #5c5e64 62%,
      #d8d9dd 78%,
      #9a9ca2 90%,
      #ececef 100%
    );
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.35),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.35),
    inset -1.5px 0 0 rgba(0, 0, 0, 0.28);
}

.iphone-shell::before {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border-radius: calc(var(--iphone-r) - 0.38rem);
  background: #0b0b0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.iphone-screen {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--iphone-r) - 0.72rem);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.iphone-btn {
  position: absolute;
  z-index: 2;
  background: linear-gradient(180deg, #e4e5e9, #a0a2a8 40%, #6a6c72);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.iphone-btn--silent {
  left: -4px;
  top: 16.5%;
  width: 4px;
  height: 18px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-up {
  left: -4px;
  top: 23.5%;
  width: 4px;
  height: 38px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-down {
  left: -4px;
  top: 33%;
  width: 4px;
  height: 38px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--power {
  right: -4px;
  top: 27%;
  width: 4px;
  height: 62px;
  border-radius: 0 2px 2px 0;
}

.spice-stack {
  position: relative;
  aspect-ratio: 390 / 844;
  background: #000;
}

.spice-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
  backface-visibility: hidden;
}

.feature-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  background: #000;
}

.spice-shot.is-active {
  opacity: 1;
  z-index: 2;
}

.spice-shot.is-leaving {
  opacity: 0;
  z-index: 1;
}

.spice-caption {
  margin-top: 0.95rem;
  font-size: 0.88rem;
  color: rgba(238, 243, 244, 0.55);
  text-align: center;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.spice-caption [data-spice-label],
.spice-caption [data-widget-label] {
  color: var(--cyan);
  font-weight: 600;
}

/* ——— Coming soon (temporary full-site hold) ——— */
.page-coming .site-nav {
  display: none;
}

.hero--coming {
  min-height: 100vh;
}

.hero-inner--coming {
  min-height: 100vh;
  padding-bottom: clamp(3.5rem, 10vh, 5.5rem);
  justify-content: flex-end;
}

.hero-inner--coming .door-kicker {
  margin-bottom: 0.85rem;
}

.hero-inner--coming .hero-brand {
  max-width: 12ch;
}

.hero-inner--coming .hero-support {
  max-width: 34ch;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.join-form--coming {
  width: min(100%, 34rem);
  margin: 0;
}

.join-form--coming input[type="email"] {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

.join-form--coming .btn-primary {
  background: rgba(244, 246, 245, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.join-form--coming .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.join-note--coming {
  margin: 0.85rem 0 0;
  color: rgba(180, 220, 214, 0.95);
}

.site-footer--coming {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 0;
  background: transparent;
  color: rgba(244, 246, 245, 0.55);
  pointer-events: none;
}

.page-coming {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-stage img {
    transform: none !important;
  }
}
