/* ══════════════════════════════════════════════════
   B CLUB WELLNESS — Premium CSS v2
   Font: Cormorant Garamond (serif) + Inter (sans)
   ══════════════════════════════════════════════════ */

:root {
  --ivory:   #FDF9F1;
  --cream:   #F4EBDC;
  --sand:    #E9DDCB;
  --sage:    #8A9A7C;
  --olive:   #56624B;
  --deep:    #3D4835;
  --blush:   #E7B6B1;
  --rose:    #C9827D;
  --ink:     #28251F;
  --taupe:   #70685D;
  --muted:   #A09890;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--ivory); color: var(--ink); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--sans); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── LABELS ── */
.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}
.label--light { color: rgba(253,249,241,0.5); }

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--olive); }

/* ── TEXT LINK ── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--olive);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), opacity 0.2s;
}
.text-link:hover { gap: 12px; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 32px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.solid {
  padding: 16px 0;
  background: rgba(253,249,241,0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(233,221,203,0.4);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; gap: 48px;
}
.logo { display: inline-block; color: #fff; transition: color 0.4s var(--ease), opacity 0.2s; }
.logo img { transition: filter 0.3s var(--ease); }
.logo:hover { opacity: 0.7; }
.nav.solid .logo { color: var(--ink); }
.nav.solid .logo img { filter: invert(1) brightness(0) !important; transition: filter 0.3s var(--ease); }
.nav-links {
  display: flex; gap: 36px; flex: 1;
}
.nav-links a {
  font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.2px;
  transition: color 0.4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav.solid .nav-links a { color: var(--taupe); }
.nav.solid .nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
  font-size: 12px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--ivory);
  background: var(--ink);
  padding: 11px 22px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--olive); transform: translateY(-1px); }

/* Nav Auth Buttons */
.nav-auth {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
}
.nav-auth-link {
  font-size: 13px; font-weight: 400; letter-spacing: 0.2px;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.nav-auth-link:hover { color: #fff; }
.nav.solid .nav-auth-link { color: var(--taupe); }
.nav.solid .nav-auth-link:hover { color: var(--ink); }
.nav-auth-cta {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--ivory);
  background: var(--ink);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.nav-auth-cta:hover { background: var(--olive); transform: translateY(-1px); }
.nav.solid .nav-auth-cta { background: var(--olive); color: var(--ivory); }
.nav.solid .nav-auth-cta:hover { background: var(--deep); }
.burger { display: none; flex-direction: column; gap: 6px; padding: 4px; position: relative; }
.burger::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: background 0.4s var(--ease), transform 0.3s; }
.nav.solid .burger span { background: var(--ink); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,25,19,0.6) 0%,
    rgba(28,25,19,0.15) 30%,
    rgba(28,25,19,0.6) 75%,
    rgba(28,25,19,0.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 10;
  padding: 0 80px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.hero-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(253,249,241,0.6);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 40px;
}
.hero-title em { font-style: italic; }
.hero-meta {
  display: flex; align-items: center; gap: 28px;
  margin-bottom: 44px;
}
.hero-stat .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-stat .lbl {
  font-size: 11px;
  color: rgba(253,249,241,0.5);
  letter-spacing: 0.5px;
}
.hero-divider { width: 1px; height: 36px; background: rgba(253,249,241,0.2); }
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--ink);
  background: var(--ivory);
  padding: 16px 28px;
  border-radius: 100px;
  transition: background 0.2s, gap 0.3s var(--ease), transform 0.2s;
}
.hero-btn:hover { background: var(--cream); gap: 14px; transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 40px; right: 80px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(253,249,241,0.4); writing-mode: vertical-rl; }
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(253,249,241,0.4), transparent);
  animation: linePulse 2s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; }
}

/* ══════════════════════════════════════
   STATEMENT BAND
══════════════════════════════════════ */
.statement {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.statement-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: rgba(244,235,220,0.6);
  letter-spacing: 0.02em;
}
.statement-sep { color: var(--sage); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   EDITORIAL
══════════════════════════════════════ */
.editorial {
  padding: 140px 0;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.editorial-img-wrap {
  overflow: hidden;
  height: 680px;
  will-change: transform;
}
.editorial-img {
  width: 100%; height: 110%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.1s linear;
}
.editorial-text {
  padding: 80px 80px 80px 100px;
}
.editorial-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.editorial-title em { font-style: italic; color: var(--olive); }
.editorial-body {
  font-size: 16px; font-weight: 300; color: var(--taupe); line-height: 1.8; margin-bottom: 32px;
}

/* ══════════════════════════════════════
   APP SECTION (STICKY SCROLL)
══════════════════════════════════════ */
.app-section {
  background: var(--cream);
  padding-top: 100px;
  padding-bottom: 80px;
}
.app-header {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
}
.app-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.app-sticky-screens {
  position: sticky;
  top: 120px;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
/* Phone frame */
.phone-frame {
  width: 260px;
  background: var(--ink);
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 32px 80px rgba(40,37,31,0.22), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.phone-notch {
  width: 80px; height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: var(--ivory);
  border-radius: 33px;
  overflow: hidden;
  height: 500px;
  position: relative;
}
.phone-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.phone-shot.active { opacity: 1; }

/* Features panel */
.app-sticky-features {
  padding: 0 0 0 80px;
}
.app-feature {
  padding: 40px 0;
  border-bottom: 1px solid rgba(40,37,31,0.08);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
  cursor: pointer;
}
.app-feature.active { opacity: 1; }
.app-feature:last-child { border-bottom: none; }
.feature-num {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--olive); margin-bottom: 12px;
}
.app-feature h3 {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 400; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 12px; line-height: 1.2;
}
.app-feature p { font-size: 14px; color: var(--taupe); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-pills span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--olive);
  background: rgba(86,98,75,0.1);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Screen nav dots */
.screen-nav {
  display: flex; justify-content: center; gap: 10px;
  padding: 48px 0 0;
}
.screen-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(40,37,31,0.15);
  transition: background 0.3s, width 0.3s;
}
.screen-dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
}
.screen-dot.active { background: var(--olive); width: 24px; border-radius: 3px; }

/* ══════════════════════════════════════
   WORKOUT SLIDER
══════════════════════════════════════ */
.workouts {
  padding: 120px 0 80px;
  overflow: hidden;
}
.workouts-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.slider-arrows { display: flex; gap: 12px; }
.arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.workout-rail {
  display: flex;
  gap: 20px;
  padding: 0 48px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.workout-rail:active { cursor: grabbing; }
.workout-rail::-webkit-scrollbar { display: none; }

.workout-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.workout-card:hover { transform: translateY(-6px); }

.workout-card-img {
  height: 360px;
  overflow: hidden;
  position: relative;
}
.workout-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.workout-card:hover .workout-card-img img { transform: scale(1.04); }

.workout-card-img--dark {
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-icon { opacity: 0.9; }

.workout-level {
  position: absolute;
  bottom: 16px; left: 16px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 100px;
}
.workout-level--live {
  background: rgba(201,130,125,0.2);
  color: var(--blush);
  border: 1px solid rgba(201,130,125,0.3);
}

.workout-card-body {
  padding: 20px 24px;
}
.workout-card-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 400;
  color: var(--ink); margin-bottom: 4px;
}
.workout-card-body span { font-size: 12px; color: var(--taupe); font-weight: 300; }

.workout-card--live .workout-card-body h3 { color: var(--ink); }

/* ══════════════════════════════════════
   STORY / DÖNÜŞÜM
══════════════════════════════════════ */
.story {
  padding: 120px 0;
  background: var(--ivory);
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.story-sticky { position: sticky; top: 140px; }
.story-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 24px;
}
.story-title em { font-style: italic; color: var(--olive); }
.story-body { font-size: 15px; color: var(--taupe); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }

.story-right {
  display: flex; flex-direction: column; gap: 32px;
}
.story-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 440px;
  will-change: transform;
}
.story-img-wrap--sm { height: 320px; }
.story-img-wrap img {
  width: 100%; height: 115%;
  object-fit: cover;
  object-position: center top;
}

.story-quote {
  padding: 0 8px;
}
.story-quote blockquote {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 300; font-style: italic;
  color: var(--ink); line-height: 1.6; margin-bottom: 8px;
  border-left: 2px solid var(--sage); padding-left: 20px;
}
.story-quote cite { font-size: 12px; color: var(--taupe); padding-left: 22px; }

/* ══════════════════════════════════════
   COMMUNITY
══════════════════════════════════════ */
.community {
  background: var(--deep);
  padding: 120px 0;
}
.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.community-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ivory); margin-bottom: 24px;
}
.community-title em { font-style: italic; color: var(--blush); }
.community-text p { font-size: 15px; color: rgba(244,235,220,0.6); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.community-list {
  display: flex; flex-direction: column; gap: 14px;
}
.community-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(244,235,220,0.75);
}
.community-list svg { flex-shrink: 0; color: var(--sage); }

/* Feed */
.community-feed {
  display: flex; flex-direction: column; gap: 12px;
}
.feed-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex; gap: 14px;
  transition: background 0.2s;
}
.feed-card:hover { background: rgba(255,255,255,0.08); }
.feed-card--featured { background: rgba(255,255,255,0.08); }
.feed-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
}
.feed-body strong { display: block; font-size: 13px; color: var(--ivory); font-weight: 500; margin-bottom: 5px; }
.feed-body p { font-size: 13px; color: rgba(244,235,220,0.65); line-height: 1.6; font-weight: 300; margin-bottom: 8px; }
.feed-meta { font-size: 12px; color: rgba(244,235,220,0.35); display: flex; align-items: center; gap: 6px; }
.feed-meta svg { opacity: 0.5; }
.feed-footer {
  text-align: center; font-size: 11px; letter-spacing: 0.5px;
  color: rgba(244,235,220,0.25); padding-top: 4px;
}

/* ══════════════════════════════════════
   OFFER
══════════════════════════════════════ */
.offer {
  padding: 140px 0;
  background: var(--cream);
}
.offer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.offer-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 24px;
}
.offer-title em { font-style: italic; color: var(--olive); }
.offer-text p { font-size: 15px; color: var(--taupe); line-height: 1.8; font-weight: 300; margin-bottom: 36px; }

.offer-includes { display: flex; flex-direction: column; gap: 13px; }
.offer-includes li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--taupe); font-weight: 300; line-height: 1.5;
}
.offer-includes svg { flex-shrink: 0; margin-top: 2px; }

/* Offer card */
.offer-card {
  background: var(--ivory);
  border-radius: 24px;
  border: 1px solid var(--sand);
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(40,37,31,0.07);
  position: sticky; top: 100px;
}
.offer-price-wrap {
  background: var(--ink);
  padding: 32px 36px;
}
.offer-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-num {
  font-family: var(--serif);
  font-size: 5rem; font-weight: 300; color: var(--ivory); line-height: 1; letter-spacing: -0.03em;
}
.price-cur { font-size: 1.4rem; color: rgba(244,235,220,0.6); font-weight: 300; }
.price-period { font-size: 12px; color: rgba(244,235,220,0.4); letter-spacing: 0.5px; }

.offer-form { padding: 32px 36px; }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.form-field input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: var(--ivory);
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(86,98,75,0.1);
}
.form-field input::placeholder { color: var(--muted); }
.form-hint { font-size: 11px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.offer-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--olive);
  color: var(--ivory);
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  padding: 17px 28px;
  border-radius: 12px;
  transition: background 0.2s, gap 0.3s var(--ease);
}
.offer-btn:hover { background: var(--deep); gap: 14px; }
.offer-note { font-size: 11px; color: var(--muted); text-align: center; padding: 16px 36px 24px; line-height: 1.6; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--ink); padding: 52px 0 36px; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 14px; color: rgba(244,235,220,0.65); margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; text-align: center; }
.footer-links a { font-size: 12px; color: rgba(244,235,220,0.65); letter-spacing: 0.3px; transition: color 0.2s; }
.footer-links a:hover { color: var(--ivory); }
.footer-copy { font-size: 11px; color: rgba(244,235,220,0.45); }

/* ══════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="0.1"] { transition-delay: 0.1s; }
[data-delay="0.15"] { transition-delay: 0.15s; }
[data-delay="0.2"] { transition-delay: 0.2s; }
[data-delay="0.3"] { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .container, .nav-inner { padding: 0 32px; }
  .hero-content { padding: 0 48px; }
  .hero-scroll { right: 48px; }

  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-img-wrap { height: 480px; }
  .editorial-text { padding: 60px 32px; }

  .app-sticky-wrap { grid-template-columns: 1fr; padding: 0 32px; }
  .app-sticky-screens { position: relative; top: 0; }
  .app-sticky-features { padding: 0; }

  .story-inner { grid-template-columns: 1fr; padding: 0 32px; }
  .story-sticky { position: relative; top: 0; }

  .community-inner { grid-template-columns: 1fr; gap: 60px; }
  .offer-inner { grid-template-columns: 1fr; gap: 60px; }
  .offer-card { position: relative; top: 0; }

  .workout-rail { padding: 0 32px; }
  .workouts-header { padding: 0 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links a { color: var(--taupe) !important; }
  .nav-links a:hover { color: var(--ink) !important; }
  .burger { display: flex; margin-left: auto; }

  .hero-title { font-size: clamp(3rem, 10vw, 5rem); }
  .hero-content { padding: 0 32px; }
  .hero-meta { flex-wrap: wrap; gap: 16px; }

  .section-title, .editorial-title, .story-title, .community-title, .offer-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .phone-frame { width: 220px; }
  .phone-screen { height: 420px; }

  .workout-card { width: 240px; }
  .workout-card-img { height: 300px; }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .footer-links a {
    flex: 1 1 30%;
    white-space: nowrap;
  }
}

/* ══════════════════════════════════════
   HERO CTAS & BADGES
══════════════════════════════════════ */
.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.app-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.badge-apple {
  height: 40px;
  width: auto;
}
.badge-google {
  height: 40px;
  width: auto;
}

/* ══════════════════════════════════════
   BENTO FEATURES
══════════════════════════════════════ */
.features-bento {
  padding: 120px 0;
  background: var(--ivory);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.bento-card {
  background: var(--cream);
  border: 1px solid rgba(138,154,124,0.15);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(86,98,75,0.08);
  border-color: rgba(138,154,124,0.3);
}
.bento-card.wide {
  grid-column: span 2;
}
.bento-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(138,154,124,0.12);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.bento-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.bento-card p {
  font-size: 13.5px;
  color: var(--taupe);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.faq {
  padding: 120px 0;
  background: var(--cream);
  border-top: 1px solid rgba(233,221,203,0.4);
}
.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-subtitle {
  font-size: 14px;
  color: var(--taupe);
  margin-top: 12px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid rgba(86,98,75,0.12);
  padding: 24px 0;
}
.faq-item:first-child {
  border-top: 1px solid rgba(86,98,75,0.12);
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  padding: 0;
  font-weight: 400;
}
.faq-icon {
  color: var(--olive);
  transition: transform 0.4s var(--ease);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.faq-item.active .faq-content {
  max-height: 300px;
  margin-top: 16px;
}
.faq-content p {
  font-size: 13.5px;
  color: var(--taupe);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-badges {
    justify-content: center;
  }
  .features-bento, .faq {
    padding: 80px 0;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }
  .bento-card.wide {
    grid-column: span 1;
  }
  .bento-card {
    padding: 28px;
  }
}

  @media (max-width: 600px) {
    .container,
    .nav-inner,
    .hero-content {
      padding-left: 16px;
      padding-right: 16px;
    }
  }

/* ══════════════════════════════════════
   ABOUT & LEGAL PAGE
══════════════════════════════════════ */
.legal-page {
  padding: 180px 0 120px;
  background: var(--cream);
  min-height: 100vh;
}
.legal-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}
.legal-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-nav a {
  font-size: 14px;
  color: var(--taupe);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.legal-nav li.active a, .legal-nav a:hover {
  color: var(--olive);
  padding-left: 8px;
  font-weight: 500;
}
.legal-nav li {
  border-left: 1px solid rgba(86,98,75,0.15);
  padding-left: 16px;
}
.legal-nav li.active {
  border-left-color: var(--olive);
  border-left-width: 2px;
  padding-left: 15px;
}
.legal-content {
  max-width: 720px;
}
.legal-section {
  margin-bottom: 80px;
  scroll-margin-top: 140px;
}
.legal-section h1 {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 24px;
}
.legal-section h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-section h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-section p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--taupe);
  margin-bottom: 16px;
  font-weight: 300;
}
.legal-section ul, .legal-section ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
.legal-section li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--taupe);
  margin-bottom: 8px;
  font-weight: 300;
}
.legal-contact-box {
  background: var(--ivory);
  border: 1px solid rgba(86,98,75,0.12);
  border-radius: 16px;
  padding: 24px 32px;
  margin-top: 32px;
}

@media (max-width: 992px) {
  .legal-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-nav {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(86,98,75,0.12);
    gap: 24px;
  }
  .legal-nav li {
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid transparent;
    padding-bottom: 8px;
  }
  .legal-nav li.active {
    border-left: none;
    border-bottom-color: var(--olive);
    padding-left: 0;
  }
  .legal-nav a {
    padding-left: 0 !important;
  }
  .legal-page {
    padding: 120px 0 80px;
  }
}

/* ══════════════════════════════════════
   FOOTER BOTTOM (PAYMENT & APP STORE)
══════════════════════════════════════ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(244,235,220,0.08);
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-badges {
  display: flex;
  gap: 12px;
}
.footer-badges img {
  opacity: 0.8;
  transition: opacity 0.2s var(--ease);
}
.footer-badges img:hover {
  opacity: 1;
}
.footer-payment {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.payment-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}
.payment-by {
  font-size: 11px;
  color: rgba(244,235,220,0.35);
  margin-right: 4px;
}
.troy-logo {
  font-size: 10px;
  font-weight: 700;
  color: rgba(244,235,220,0.4);
  text-transform: uppercase;
  border: 1px solid rgba(244,235,220,0.25);
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.secure-3d {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(244,235,220,0.45);
  background: rgba(244,235,220,0.04);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(244,235,220,0.08);
}
.secure-3d svg {
  color: var(--olive);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-payment {
    flex-direction: column;
    gap: 12px;
  }
}

/* ══════════════════════════════════════
   AUTH — Split Layout
══════════════════════════════════════ */
.auth-body {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
}
.auth-split {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Panel */
.auth-panel {
  width: 42%;
  background: var(--ink);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.auth-panel::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(138,154,124,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.auth-panel-logo { display: inline-block; }
.auth-panel-content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.auth-panel-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.4;
}
.auth-panel-stats {
  display: flex; gap: 32px;
}
.auth-stat { display: flex; flex-direction: column; gap: 4px; }
.auth-stat-num {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 300;
  color: var(--ivory); line-height: 1;
}
.auth-stat-lbl { font-size: 11px; color: rgba(244,235,220,0.45); letter-spacing: 0.5px; }

.auth-panel-benefits { display: flex; flex-direction: column; gap: 16px; }
.auth-panel-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 300; color: rgba(244,235,220,0.75);
}
.auth-panel-price {
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.auth-panel-price-num {
  font-family: var(--serif);
  font-size: 3rem; font-weight: 300;
  color: var(--ivory); line-height: 1;
}
.auth-panel-price-period { font-size: 1rem; color: rgba(244,235,220,0.5); }
.auth-panel-price-note { font-size: 12px; color: rgba(244,235,220,0.35); margin-top: 4px; width: 100%; }

/* Right Form */
.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  overflow-y: auto;
}
.auth-form-box {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.auth-form-header { margin-bottom: 32px; }
.auth-form-title {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 300;
  color: var(--ink); line-height: 1.1;
  margin-bottom: 8px;
}
.auth-form-sub { font-size: 14px; color: var(--taupe); font-weight: 300; line-height: 1.6; }

.auth-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-alert--error { background: rgba(201,130,125,0.12); color: var(--rose); border: 1px solid rgba(201,130,125,0.25); }
.auth-alert--success { background: rgba(86,98,75,0.1); color: var(--olive); border: 1px solid rgba(86,98,75,0.2); }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--taupe); }
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--sand);
  border-radius: 12px;
  background: #fff;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(86,98,75,0.1); }
.auth-input.is-error { border-color: var(--rose); }
.auth-input::placeholder { color: var(--muted); }
.auth-input-wrap .auth-input { padding-right: 48px; }
.auth-toggle-pw {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); opacity: 0.5;
  transition: opacity 0.2s;
}
.auth-toggle-pw:hover { opacity: 1; }
.auth-field-error { font-size: 12px; color: var(--rose); }

.auth-remember {
  display: flex; align-items: center; margin-top: -4px;
}
.auth-check-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--taupe); cursor: pointer;
}
.auth-check { width: 16px; height: 16px; accent-color: var(--olive); }

.auth-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  padding: 16px 28px;
  border-radius: 12px;
  margin-top: 8px;
  transition: background 0.2s, gap 0.3s var(--ease), transform 0.2s;
}
.auth-submit:hover { background: var(--olive); gap: 14px; transform: translateY(-1px); }

.auth-terms { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: -4px; }
.auth-terms a { color: var(--olive); border-bottom: 1px solid rgba(86,98,75,0.3); }
.auth-terms a:hover { border-bottom-color: var(--olive); }

.auth-switch { font-size: 13px; color: var(--taupe); text-align: center; margin-top: 24px; }
.auth-switch-link { color: var(--olive); font-weight: 500; border-bottom: 1px solid rgba(86,98,75,0.35); transition: border-color 0.2s; }
.auth-switch-link:hover { border-bottom-color: var(--olive); }

@media (max-width: 860px) {
  .auth-panel { display: none; }
  .auth-form-wrap { padding: 40px 20px; }
  .auth-split { background: var(--cream); }
}

/* ══════════════════════════════════════
   DASHBOARD
══════════════════════════════════════ */
.dashboard-body { background: var(--cream); display: block; }
.dash-nav {
  background: rgba(253,249,241,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand);
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
}
.dash-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.dash-nav-right { display: flex; align-items: center; gap: 20px; }
.dash-nav-name { font-size: 13px; color: var(--taupe); }
.dash-logout-btn {
  font-size: 12px; font-weight: 500; color: var(--taupe);
  border: 1px solid var(--sand);
  padding: 8px 16px; border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}
.dash-logout-btn:hover { color: var(--ink); border-color: var(--taupe); }

.dashboard-main { padding: 60px 0 120px; }
.dash-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(86,98,75,0.1);
  border: 1px solid rgba(86,98,75,0.2);
  color: var(--olive);
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 12px;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  padding-left: 40px;
}
.dash-hero { text-align: center; margin-bottom: 56px; }
.dash-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.dash-hero-title em { font-style: italic; color: var(--olive); }
.dash-hero-sub { font-size: 15px; color: var(--taupe); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.dash-download-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 700px; margin: 0 auto 48px;
}
.dash-download-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dash-download-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(40,37,31,0.08); }
.dash-download-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.dash-download-card h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--ink); }
.dash-download-card p { font-size: 13px; color: var(--taupe); }
.dash-download-btn { display: inline-block; margin-top: 4px; }

.dash-cta-card {
  max-width: 700px; margin: 0 auto 48px;
  background: var(--ink);
  border-radius: 24px;
  padding: 40px;
  position: relative; overflow: hidden;
}
.dash-cta-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(138,154,124,0.15) 0%, transparent 70%);
}
.dash-cta-badge {
  display: inline-block;
  font-size: 9px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sage); background: rgba(138,154,124,0.15);
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 20px;
}
.dash-cta-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.dash-cta-title {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300;
  color: var(--ivory); margin-bottom: 8px;
}
.dash-cta-text { font-size: 13.5px; color: rgba(244,235,220,0.6); line-height: 1.6; max-width: 300px; }
.dash-cta-price-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.dash-cta-price { display: flex; align-items: baseline; gap: 4px; }
.dash-price-num { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--ivory); line-height: 1; }
.dash-price-cur { font-size: 1rem; color: rgba(244,235,220,0.6); }
.dash-price-period { font-size: 12px; color: rgba(244,235,220,0.4); }
.dash-cta-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--olive); color: var(--ivory);
  font-size: 13px; font-weight: 500;
  padding: 14px 28px; border-radius: 100px;
  transition: background 0.2s, gap 0.3s;
  white-space: nowrap;
}
.dash-cta-btn:hover { background: var(--deep); gap: 12px; }

.dash-premium-badge {
  display: flex; align-items: center; gap: 8px;
  max-width: 700px; margin: 0 auto 48px;
  background: rgba(86,98,75,0.1);
  color: var(--olive);
  padding: 16px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
}

.dash-profile-card {
  max-width: 700px; margin: 0 auto;
  background: #fff; border: 1px solid var(--sand);
  border-radius: 24px; padding: 40px;
}
.dash-section-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300;
  color: var(--ink); margin-bottom: 24px;
}
.dash-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-profile-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--cream); border-radius: 12px; padding: 16px;
}
.dash-profile-label { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.dash-profile-val { font-size: 14px; color: var(--ink); }

@media (max-width: 600px) {
  .dash-download-grid { grid-template-columns: 1fr; }
  .dash-profile-grid { grid-template-columns: 1fr; }
  .dash-cta-content { flex-direction: column; }
  .dash-cta-price-wrap { align-items: flex-start; }
}

/* ══════════════════════════════════════
   ONBOARDING
══════════════════════════════════════ */
.onboarding-body { background: var(--ivory); display: block; }
.onb-layout { min-height: 100vh; display: flex; flex-direction: column; }

.onb-header {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 40px;
  border-bottom: 1px solid var(--sand);
  background: rgba(253,249,241,0.95);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.onb-logo { color: var(--ink); }
.onb-progress-wrap {
  flex: 1; display: flex; align-items: center; gap: 12px;
  max-width: 400px;
}
.onb-progress-track {
  flex: 1; height: 3px;
  background: var(--sand); border-radius: 100px; overflow: hidden;
}
.onb-progress-fill {
  height: 100%; background: var(--olive);
  border-radius: 100px;
  transition: width 0.5s var(--ease);
}
.onb-progress-label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.onb-exit {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--taupe);
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--sand);
  transition: color 0.2s, border-color 0.2s;
}
.onb-exit:hover { color: var(--ink); border-color: var(--taupe); }

.onb-content {
  flex: 1; display: flex; align-items: flex-start;
  justify-content: center; padding: 48px 24px 80px;
}
.onb-card {
  width: 100%; max-width: 680px;
}
.onb-step-badge {
  font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.onb-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300; color: var(--ink);
  margin-bottom: 36px; line-height: 1.15;
}

.onb-question { margin-bottom: 32px; }
.onb-q-label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.onb-optional { font-weight: 300; color: var(--muted); }

.onb-options {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.onb-option {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  background: #fff;
  cursor: pointer;
  font-size: 13.5px; color: var(--taupe);
  font-family: var(--sans);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  user-select: none;
}
.onb-option:hover {
  border-color: var(--sage); color: var(--ink);
  transform: translateY(-1px);
}
.onb-option.is-selected {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--ivory);
}
.onb-option-icon { font-size: 16px; }
.onb-option-text { }

.onb-fields-row {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.onb-field { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 120px; }
.onb-field-label { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--taupe); }
.onb-input {
  padding: 13px 16px;
  border: 1.5px solid var(--sand); border-radius: 12px;
  background: #fff;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.onb-input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(86,98,75,0.1); }

.onb-textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--sand); border-radius: 16px;
  background: #fff;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none; resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.onb-textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(86,98,75,0.1); }

.onb-step5-intro { font-size: 14px; color: var(--taupe); line-height: 1.7; margin-bottom: 28px; }
.onb-disclaimer {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--muted); line-height: 1.6;
  background: var(--cream); padding: 14px 16px; border-radius: 12px;
  margin-top: 16px;
}
.onb-disclaimer svg { flex-shrink: 0; margin-top: 1px; }

.onb-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--sand);
}
.onb-back-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--taupe);
  padding: 12px 20px; border-radius: 100px;
  border: 1px solid var(--sand);
  transition: color 0.2s, border-color 0.2s;
}
.onb-back-btn:hover { color: var(--ink); border-color: var(--taupe); }
.onb-next-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 15px 32px; border-radius: 100px;
  transition: background 0.2s, gap 0.3s var(--ease), transform 0.2s;
}
.onb-next-btn:hover { background: var(--olive); gap: 14px; transform: translateY(-1px); }

@media (max-width: 600px) {
  .onb-header { padding: 16px 20px; }
  .onb-content { padding: 32px 16px 60px; }
  .onb-options { gap: 8px; }
  .onb-option { padding: 10px 16px; font-size: 13px; }
  .onb-fields-row { flex-direction: column; }
}

/* ══════════════════════════════════════
   DASHBOARD 2 — Full-Feature
══════════════════════════════════════ */
.dash2-body { background: var(--cream); min-height: 100vh; }

/* Nav */
.dash2-nav {
  background: rgba(253,249,241,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand);
  position: sticky; top: 0; z-index: 100;
}
.dash2-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 20px;
  height: 60px;
}
.dash2-tab-pills {
  display: flex; align-items: center; gap: 4px; flex: 1;
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
}
.dash2-tab-pills::-webkit-scrollbar { display: none; }
.dash2-tab {
  flex-shrink: 0;
  font-size: 12.5px; font-weight: 500; font-family: var(--sans);
  color: var(--taupe);
  padding: 7px 14px; border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.dash2-tab:hover { color: var(--ink); background: var(--sand); }
.dash2-tab.active { background: var(--ink); color: var(--ivory); }
.dash2-logout {
  display: flex; align-items: center; gap: 7px;
  flex-shrink: 0;
  font-size: 12px; font-weight: 500; font-family: var(--sans);
  color: var(--taupe);
  border: 1px solid var(--sand);
  padding: 7px 14px; border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}
.dash2-logout:hover { color: var(--ink); border-color: var(--taupe); }

/* Mobile tab bar */
.dash2-mobile-tabs {
  display: none;
  position: sticky; top: 60px; z-index: 90;
  background: rgba(253,249,241,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
  padding: 0 12px;
  gap: 4px;
}
.dash2-mob-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 14px; flex: 1;
  font-size: 10px; font-weight: 500; font-family: var(--sans);
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.dash2-mob-tab.active { color: var(--olive); border-bottom-color: var(--olive); }

/* Banners */
.d2-banner {
  max-width: 1100px; margin: 16px auto 0;
  padding: 13px 20px; border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
}
.d2-banner--success { background: rgba(86,98,75,0.1); color: var(--olive); border: 1px solid rgba(86,98,75,0.2); }
.d2-banner--error   { background: rgba(201,130,125,0.1); color: var(--rose); border: 1px solid rgba(201,130,125,0.2); }

/* Main layout */
.dash2-main { max-width: 1100px; margin: 0 auto; padding: 28px 28px 80px; }
.dash2-tab-content { display: none; }
.dash2-tab-content.active { display: block; }

/* Grid */
.d2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.d2-grid--narrow { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

/* Cards */
.d2-card {
  background: #fff; border: 1px solid var(--sand);
  border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.d2-card--onb { border-color: rgba(201,130,125,0.3); background: rgba(201,130,125,0.04); }
.d2-card--danger { border-color: rgba(217,75,75,0.2); background: rgba(217,75,75,0.03); }
.d2-card-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.2px;
}
.d2-header--danger { color: #D94B4B; }
.d2-card-sub { font-size: 13px; color: var(--taupe); line-height: 1.6; }
.d2-card-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.d2-card-divider { border: none; border-top: 1px solid var(--sand); margin: 0; }

/* Hero */
.d2-hero-card { flex-direction: row; align-items: center; gap: 20px; grid-column: 1 / -1; }
.d2-hero-avatar {
  width: 72px; height: 72px; flex-shrink: 0;
  background: var(--olive);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--ivory);
}
.d2-hero-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.d2-hero-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--ink); line-height: 1; }
.d2-hero-email { font-size: 13px; color: var(--taupe); }
.d2-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.d2-badge { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 100px; }
.d2-badge--premium { background: rgba(207,175,75,0.15); color: #A0832D; border: 1px solid rgba(207,175,75,0.25); }
.d2-badge--free    { background: var(--cream); color: var(--taupe); border: 1px solid var(--sand); }
.d2-badge--done    { background: rgba(86,98,75,0.1); color: var(--olive); border: 1px solid rgba(86,98,75,0.2); }
.d2-badge--warn    { background: rgba(201,130,125,0.1); color: var(--rose); border: 1px solid rgba(201,130,125,0.2); }

/* Stat row */
.d2-stat-row { grid-column: 1 / -1; display: flex; gap: 12px; }
.d2-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--sand);
  border-radius: 16px; padding: 16px 8px;
  color: var(--taupe); transition: transform 0.2s;
}
.d2-stat--active { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.d2-stat svg { opacity: 0.7; }
.d2-stat-val { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; line-height: 1; }
.d2-stat-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

/* Goal card */
.d2-goal-main { display: flex; align-items: center; gap: 10px; }
.d2-goal-icon { font-size: 1.4rem; }
.d2-goal-text { font-size: 15px; font-weight: 500; color: var(--ink); }
.d2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.d2-chip {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--taupe);
  background: var(--cream); border: 1px solid var(--sand);
  padding: 5px 11px; border-radius: 100px;
}

/* Action list */
.d2-action-list { display: flex; flex-direction: column; gap: 2px; }
.d2-action-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 4px; border-radius: 12px;
  transition: background 0.15s;
  text-align: left; width: 100%;
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}
.d2-action-item:last-child { border-bottom: none; }
.d2-action-item:hover { background: var(--cream); }
.d2-action-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--cream); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.d2-action-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.d2-action-title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.d2-action-sub   { font-size: 11.5px; color: var(--muted); }

/* Metric grid */
.d2-metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d2-metric {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--cream); border-radius: 14px; padding: 14px;
  color: var(--olive);
}
.d2-metric-val { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: var(--ink); }
.d2-metric-lbl { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); }

/* BMI */
.d2-bmi-bar { display: flex; flex-direction: column; gap: 8px; }
.d2-bmi-info { display: flex; justify-content: space-between; font-size: 12px; color: var(--taupe); }
.d2-bmi-track { height: 5px; background: var(--sand); border-radius: 100px; overflow: hidden; }
.d2-bmi-fill { height: 100%; border-radius: 100px; transition: width 0.5s var(--ease); }

/* Trend */
.d2-trend-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--taupe);
  background: var(--cream); padding: 11px 14px; border-radius: 12px;
}
.d2-trend-line strong { color: var(--ink); }

/* Measurement list */
.d2-measurement-list { display: flex; flex-direction: column; }
.d2-msr-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--sand);
  font-size: 13px;
}
.d2-msr-row:last-child { border-bottom: none; }
.d2-msr-label { color: var(--ink); font-weight: 500; }
.d2-msr-val   { color: var(--taupe); }

/* Detail list */
.d2-detail-list { display: flex; flex-direction: column; }
.d2-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--sand);
  font-size: 13px;
}
.d2-detail-row:last-child { border-bottom: none; }
.d2-detail-key { color: var(--taupe); }
.d2-detail-val { color: var(--ink); font-weight: 500; text-align: right; }
.color-olive { color: var(--olive); }

/* Forms */
.d2-form { display: flex; flex-direction: column; gap: 14px; }
.d2-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.d2-field { display: flex; flex-direction: column; gap: 6px; }
.d2-label { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--taupe); }
.d2-input-wrap { position: relative; }
.d2-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--sand); border-radius: 12px;
  background: var(--cream); font-family: var(--sans);
  font-size: 13.5px; color: var(--ink); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.d2-input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(86,98,75,0.1); background: #fff; }
.d2-input::placeholder { color: var(--muted); }
.d2-input-wrap .d2-input { padding-right: 44px; }
.d2-pw-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); opacity: 0.5; transition: opacity 0.2s;
}
.d2-pw-eye:hover { opacity: 1; }

/* Buttons */
.d2-primary-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 13px 24px; border-radius: 12px;
  transition: background 0.2s, transform 0.15s;
}
.d2-primary-btn:hover { background: var(--olive); transform: translateY(-1px); }
.d2-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--olive);
  border-bottom: 1px solid rgba(86,98,75,0.35);
  transition: border-color 0.2s;
}
.d2-link-btn:hover { border-bottom-color: var(--olive); }

/* Info notes */
.d2-info-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--muted); line-height: 1.6;
  background: var(--cream); padding: 12px 14px; border-radius: 10px;
}
.d2-info-note--warn { background: rgba(217,75,75,0.05); color: #D94B4B; }

/* Danger */
.d2-danger-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.d2-danger-btn {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 11px 20px; border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.d2-danger-btn--soft { border: 1px solid var(--sand); color: var(--taupe); }
.d2-danger-btn--soft:hover { border-color: var(--taupe); color: var(--ink); }
.d2-danger-btn--hard { background: rgba(217,75,75,0.1); color: #D94B4B; border: 1px solid rgba(217,75,75,0.25); }
.d2-danger-btn--hard:hover { background: rgba(217,75,75,0.18); }

/* Download tab */
.d2-download-hero { text-align: center; padding: 16px 0 8px; }
.d2-download-title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300; color: var(--ink); line-height: 1.15; margin: 12px 0 16px;
}
.d2-download-title em { font-style: italic; color: var(--olive); }
.d2-download-sub { font-size: 14px; color: var(--taupe); line-height: 1.7; max-width: 480px; margin: 0 auto; }
.d2-store-cards { display: flex; flex-direction: column; gap: 14px; }
.d2-store-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--sand);
  border-radius: 18px; padding: 20px 24px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.d2-store-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(40,37,31,0.08); }
.d2-store-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--cream); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.d2-store-sub { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.d2-store-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.d2-store-badge { height: 36px; width: auto; object-fit: contain; margin-left: auto; flex-shrink: 0; }
.d2-login-info-card {}
.d2-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.d2-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--sand);
  border-radius: 14px; padding: 16px;
}
.d2-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.d2-feature-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.d2-feature-desc  { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* Responsive */
@media (max-width: 860px) {
  .dash2-tab-pills { display: none; }
  .dash2-mobile-tabs { display: flex; }
  .dash2-nav-inner { padding: 0 16px; }
  .dash2-main { padding: 16px 16px 100px; }
  .d2-grid { grid-template-columns: 1fr; }
  .d2-hero-card { flex-direction: column; align-items: flex-start; }
  .d2-stat-row { gap: 8px; }
  .d2-stat { padding: 12px 4px; }
  .d2-stat-val { font-size: 1rem; }
  .d2-feature-grid { grid-template-columns: 1fr; }
}
