/* ================================================================
   Girl Harmony — Screen-specific styles
   ================================================================ */

/* ---------- Splash ---------- */
.splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(232, 164, 184, 0.50), transparent 70%),
    radial-gradient(70% 50% at 50% 90%, rgba(107, 76, 154, 0.30), transparent 70%),
    linear-gradient(180deg, #FBF7F2 0%, #EDE6F5 100%);
}
.splash-mark {
  animation: splash-mark-in 700ms var(--ease-out) both;
  transform-origin: center;
}
@keyframes splash-mark-in {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0deg); }
}
.splash-logo {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--gh-plum-500);
  text-align: center;
  animation: fadeUp 800ms var(--ease-out) both;
}
.splash-logo .heart {
  display: inline-block;
  color: var(--gh-pink-500);
  animation: heartbeat 1.6s ease-in-out infinite;
  transform-origin: center;
}
.splash-tag {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gh-cocoa-500);
  margin-top: var(--s-4);
  animation: fadeUp 1000ms var(--ease-out) 200ms both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.18); }
  40%      { transform: scale(1); }
  60%      { transform: scale(1.10); }
  80%      { transform: scale(1); }
}

/* ---------- Welcome carousel ---------- */
.welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #F8F4EE 0%, #EDE6F5 100%);
  position: relative;
  overflow: hidden;
}
.welcome-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--s-8);
}
.welcome-illust {
  width: 280px;
  height: 280px;
  position: relative;
  display: grid;
  place-items: center;
}
.welcome-content {
  padding: var(--s-6) var(--s-6) calc(var(--safe-bottom) + var(--s-6));
  text-align: center;
}
.welcome-title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-plum-500);
  margin-bottom: var(--s-3);
}
.welcome-body {
  color: var(--text-muted);
  margin-bottom: var(--s-6);
  text-wrap: balance;
}
.welcome-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: var(--s-6);
}
.welcome-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gh-cream-300);
  transition: all var(--d-base);
}
.welcome-dot.is-active {
  width: 22px;
  background: var(--gh-plum-500);
  border-radius: var(--r-pill);
}

/* ---------- Onboarding step shell ---------- */
.onb {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.onb-head {
  padding: var(--s-3) var(--s-5) var(--s-2);
  padding-top: calc(var(--safe-top) + var(--s-2));
}
.onb-progress {
  height: 4px;
  background: var(--gh-cream-200);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.onb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gh-plum-300), var(--gh-plum-500));
  border-radius: var(--r-pill);
  transition: width var(--d-slow) var(--ease-out);
}
.onb-step {
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: var(--s-3);
}
.onb-body {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  padding: var(--s-3) var(--s-5) var(--s-6);
  -webkit-overflow-scrolling: touch;
}
.onb-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-cocoa-700);
  margin-top: var(--s-3);
  margin-bottom: var(--s-2);
  text-wrap: balance;
}
.onb-sub {
  color: var(--text-muted);
  margin-bottom: var(--s-6);
  text-wrap: balance;
}
.onb-foot {
  flex-shrink: 0;
  padding: var(--s-3) var(--s-5) calc(var(--safe-bottom) + var(--s-3));
  background: var(--bg);
  display: flex;
  gap: var(--s-3);
  z-index: 5;
  box-shadow: 0 -8px 16px var(--bg);
}
/* Brand badge for competitor app picker */
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ---------- Cycle phase ring (the hero on Today) ---------- */
.phase-ring {
  position: relative;
  margin: 0 auto var(--s-4);
  width: 280px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: phase-breathe 6s ease-in-out infinite;
}
.phase-ring svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 8px 28px rgba(107, 76, 154, 0.22));
}
.phase-ring svg circle:last-of-type {
  animation: phase-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes phase-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.015); }
}
@keyframes phase-pulse {
  0%, 100% { r: 9; }
  50%      { r: 11; }
}
.phase-ring-inner {
  text-align: center;
  z-index: 2;
}
.phase-ring-day {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: var(--tracking-tight);
  line-height: 0.9;
  color: var(--gh-cocoa-700);
}
.phase-ring-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: var(--s-2);
  color: var(--gh-plum-500);
}
.phase-ring-status {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--s-1);
}

/* ---------- Today screen ---------- */
.today-greet {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin-bottom: var(--s-1);
}
.today-greet-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.today-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  margin: var(--s-5) 0 var(--s-3);
}
.qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--d-fast), box-shadow var(--d-fast);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.qa:active { transform: scale(0.96); }
.qa-emoji { font-size: 22px; }

.bestie-card {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(232, 164, 184, 0.45), transparent 60%),
    linear-gradient(135deg, var(--gh-plum-500) 0%, var(--gh-plum-700) 100%);
  background-size: 200% 200%;
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-plum);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out);
  animation: bestie-shimmer 14s ease-in-out infinite;
}
.bestie-card:active { transform: scale(0.985); }
.bestie-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232, 164, 184, 0.45), transparent 70%);
  border-radius: 50%;
  animation: bestie-orbit 18s linear infinite;
}
@keyframes bestie-shimmer {
  0%, 100% { background-position: 0% 0%, center; }
  50%      { background-position: 100% 100%, center; }
}
@keyframes bestie-orbit {
  0%   { transform: translate(0, 0)    rotate(0deg); }
  50%  { transform: translate(-20px, 18px) rotate(180deg); }
  100% { transform: translate(0, 0)    rotate(360deg); }
}
.bestie-card-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: var(--s-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bestie-card-msg {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: var(--tracking-tight);
  position: relative;
  z-index: 2;
}
.bestie-card-cta {
  margin-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.tip-card {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bg-elevated);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
.tip-card-emoji {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--gh-plum-100);
  display: grid; place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.tip-card-title { font-weight: 600; font-size: 15px; }
.tip-card-body { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.predict-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.predict {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  position: relative;
}
.predict-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.predict-value {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}
.predict-foot {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--s-2);
}
.predict-bar {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--gh-cream-200);
  overflow: hidden;
  margin-top: var(--s-2);
}
.predict-bar-fill {
  height: 100%;
  border-radius: var(--r-pill);
}

/* Wearable summary */
.wear-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: var(--bg-elevated);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.wear-stat {
  padding: var(--s-4) var(--s-3);
  text-align: center;
}
.wear-stat + .wear-stat { border-left: 1px solid var(--border); }
.wear-stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}
.wear-stat-unit {
  font-size: 11px;
  color: var(--text-subtle);
}
.wear-stat-lbl {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: var(--s-2);
}

/* Girl Chocolate nudge card — plum gradient (was cocoa) */
.choc-card {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(232, 164, 184, 0.35), transparent 60%),
    linear-gradient(135deg, var(--gh-plum-500) 0%, var(--gh-plum-900) 100%);
  color: var(--gh-cream-50);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-plum);
}
.choc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='%23ffffff' fill-opacity='0.04'><circle cx='12' cy='12' r='1'/><circle cx='42' cy='30' r='1'/><circle cx='24' cy='52' r='1'/></g></svg>");
  pointer-events: none;
}
.choc-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gh-pink-100);
  margin-bottom: var(--s-2);
}
.choc-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}
.choc-cta-row {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
  align-items: center;
}
.choc-pill {
  background: var(--gh-plum-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(107, 76, 154, 0.40);
}
.choc-link {
  font-size: 13px;
  color: var(--gh-pink-300);
  font-weight: 600;
}

/* ---------- Calendar ---------- */
.cal-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-3);
}
.cal-month-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: var(--s-3);
}
.cal-dow {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: background var(--d-fast);
}
.cal-day:hover { background: var(--gh-cream-100); }
.cal-day.is-other-month { color: var(--text-subtle); opacity: 0.4; }
.cal-day.is-period {
  background: var(--gh-menstrual);
  color: #fff;
}
.cal-day.is-predicted-period {
  background: transparent;
  border: 1.5px dashed var(--gh-menstrual);
  color: var(--gh-menstrual);
}
.cal-day.is-fertile {
  background: var(--gh-follicular-soft);
  color: var(--gh-cocoa-700);
}
.cal-day.is-ovulation {
  background: var(--gh-ovulation);
  color: var(--gh-cocoa-900);
  font-weight: 700;
}
/* is-today must win regardless of order */
.cal-day.is-today.is-today {
  background: var(--gh-plum-500);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(107, 76, 154, 0.35);
}
.cal-day.is-selected {
  outline: 2px solid var(--gh-cocoa-700);
  outline-offset: -2px;
}
.cal-day-dot {
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gh-plum-500);
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.cal-legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- Insights ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.stat-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-4);
}
.stat-tile-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}
.stat-tile-value {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-cocoa-700);
}
.stat-tile-unit { font-size: 14px; color: var(--text-muted); }
.stat-tile-foot {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--s-2);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-top: var(--s-3);
}
.bar-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.bar-chart-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--gh-plum-500), var(--gh-pink-500));
  border-radius: var(--r-sm);
  min-height: 4px;
  transition: opacity var(--d-fast);
}
.bar-chart-col:hover .bar-chart-bar { opacity: 0.85; }
.bar-chart-lbl {
  font-size: 10px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

/* ---------- Bestie chat ---------- */
.bestie-screen {
  background: linear-gradient(180deg, #F8F4EE 0%, #EDE6F5 100%);
}
.bestie-header {
  padding: var(--s-2) var(--s-5);
  padding-top: calc(var(--safe-top) + var(--s-2));
  display: flex;
  align-items: center;
  gap: var(--s-3);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.bestie-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-pink-500));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  position: relative;
}
.bestie-avatar::after {
  content: "";
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: var(--gh-success);
  border-radius: 50%;
  border: 2px solid #fff;
}
/* Cute floral Bestie avatar — soft gradient ring with an emoji face */
.bestie-avatar-cute {
  background: radial-gradient(circle at 30% 30%, #FFD9E5 0%, var(--gh-pink-300) 55%, var(--gh-plum-500) 100%);
  box-shadow: 0 4px 12px rgba(232, 164, 184, 0.35), inset 0 0 0 2px rgba(255,255,255,0.55);
}
.bestie-avatar-cute .bestie-avatar-face {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.08));
}
.bestie-name { font-weight: 600; font-size: 16px; }
.bestie-status { font-size: 12px; color: var(--gh-success); font-weight: 500; }

.chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-4) var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: var(--r-xl);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: bubbleIn var(--d-base) var(--ease-out);
}
.bubble-them {
  background: #fff;
  color: var(--gh-cocoa-700);
  align-self: flex-start;
  border-bottom-left-radius: var(--s-2);
  box-shadow: var(--shadow-sm);
}
.bubble-me {
  background: var(--gh-plum-500);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: var(--s-2);
}
.bubble-time {
  font-size: 10px;
  color: var(--text-subtle);
  margin: 2px 6px;
  align-self: inherit;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-input {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4) calc(var(--safe-bottom) + var(--s-3));
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  min-width: 0;
  background: var(--gh-cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}
.chat-mic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--d-fast), transform var(--d-fast);
}
.chat-mic:hover { background: var(--gh-cream-100); }
.chat-mic:active { transform: scale(0.94); }
.chat-mic.is-listening {
  background: var(--gh-plum-500);
  color: #fff;
  border-color: var(--gh-plum-500);
  animation: mic-pulse 1.4s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 76, 154, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(107, 76, 154, 0); }
}
.chat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gh-plum-500);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  border: none;
}

/* ---------- Insights Wave 8 ---------- */
.yoy-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.yoy-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
}
.yoy-year {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gh-cocoa-500);
}
.yoy-bars {
  display: flex; align-items: flex-end; gap: 2px;
  height: 50px;
  background: var(--gh-cream-100);
  border-radius: var(--r-sm);
  padding: 4px;
}
.yoy-bar {
  flex: 1;
  border-radius: 2px;
  min-height: 4px;
  cursor: pointer;
  transition: opacity var(--d-fast);
}
.yoy-bar:hover { opacity: 0.7; }

.conf-heatmap {
  display: flex; flex-wrap: wrap; gap: 3px;
}
.heat-cell {
  width: calc((100% - 24px) / 7);
  aspect-ratio: 1;
  border-radius: 4px;
}

/* ---------- Bestie Wave 5 additions ---------- */
.bestie-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: var(--s-2) var(--s-4);
  scrollbar-width: none;
}
.bestie-quick::-webkit-scrollbar { display: none; }
.bestie-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(107, 76, 154, 0.18);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gh-plum-700);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--d-fast), border-color var(--d-fast);
}
.bestie-quick-chip:hover { background: #fff; border-color: var(--gh-plum-500); }
.bestie-quick-chip:active { transform: scale(0.97); }
.bestie-quick-chip span { font-size: 14px; }
.bestie-quick-chip span img.twemoji { width: 1em; height: 1em; vertical-align: -0.1em; }

.bubble-them .cite {
  display: inline;
  color: var(--gh-plum-500);
  font-size: 11px;
  font-weight: 600;
  background: var(--gh-plum-100);
  padding: 1px 6px;
  border-radius: 999px;
  margin: 0 2px;
}

.bubble-them a {
  color: var(--gh-plum-500);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--gh-plum-500);
}

.bubble-them .chip,
.bubble-them button.chip {
  display: inline-flex;
  margin: 6px 4px 0 0;
  font-size: 12px;
  padding: 6px 12px;
}

/* Voice listening indicator (Bestie mic) */
.top-bar-action.is-listening {
  background: var(--gh-plum-500) !important;
  color: #fff !important;
  animation: voice-listen 1.4s ease-in-out infinite;
}
@keyframes voice-listen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 76, 154, 0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(107, 76, 154, 0); }
}

/* Voice journal — recording state */
#voice-record.is-recording {
  background: var(--gh-plum-50);
  border-color: var(--gh-plum-500);
}
#voice-record.is-recording > div:first-child {
  background: linear-gradient(135deg, var(--gh-error), var(--gh-menstrual)) !important;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(194, 74, 92, 0.18); }
}

/* Breathwork orb */
.breath-orb {
  width: 200px;
  height: 200px;
  margin: 24px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gh-pink-300), var(--gh-plum-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 36px rgba(107,76,154,0.45);
  transition: transform 4s var(--ease-soft), box-shadow 4s var(--ease-soft);
}
.breath-orb[data-phase="0"] { transform: scale(1.18); }   /* in */
.breath-orb[data-phase="1"] { transform: scale(1.18); }   /* hold */
.breath-orb[data-phase="2"] { transform: scale(0.82); }   /* out */
.breath-orb[data-phase="3"] { transform: scale(0.82); }   /* hold */

/* ---------- Profile / You ---------- */
.you-hero {
  background:
    radial-gradient(80% 50% at 50% 0%, var(--gh-plum-100), transparent 70%),
    linear-gradient(180deg, var(--gh-plum-50) 0%, transparent 100%);
  padding: var(--s-6) var(--s-5) var(--s-4);
  text-align: center;
  padding-top: calc(var(--safe-top) + var(--s-6));
  position: relative;
}
.you-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='%236B4C9A' fill-opacity='0.04'><circle cx='12' cy='12' r='1'/><circle cx='42' cy='30' r='1'/><circle cx='24' cy='52' r='1'/></g></svg>");
  pointer-events: none;
}
.you-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: var(--tracking-tight);
  margin-top: var(--s-3);
}
.you-sub { color: var(--text-muted); font-size: 13px; margin-top: 2px; }

.you-section {
  margin-top: var(--s-5);
}
.you-section-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: var(--s-2);
  padding: 0 var(--s-2);
}
.you-list {
  background: var(--bg-elevated);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: 0 var(--s-4);
  overflow: hidden;
}
.you-list .row { padding: 14px 0; }

/* ---------- Log sheet ---------- */
/* Sheet itself is a stable height so the tabs row never jumps when content shrinks */
.sheet.is-log-sheet {
  height: 78%;
  max-height: 78%;
}
.log-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.log-head {
  flex-shrink: 0;
  padding-bottom: var(--s-2);
}
.log-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: var(--s-2) 0 var(--s-3);
  scrollbar-width: none;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}
.log-tabs::-webkit-scrollbar { display: none; }
.log-tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  background: var(--gh-cream-100);
  white-space: nowrap;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--d-fast), color var(--d-fast), transform var(--d-fast);
}
.log-tab:active { transform: scale(0.96); }
.log-tab.is-active {
  background: var(--gh-plum-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 76, 154, 0.32);
}
/* The body is the only thing that scrolls — header (date row + tabs) stays fixed */
.log-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}
.log-foot {
  flex-shrink: 0;
  padding-top: var(--s-3);
  background: linear-gradient(180deg, transparent, var(--bg-elevated) 30%);
}

.log-section { margin-bottom: var(--s-5); }
.log-section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s-3);
  letter-spacing: 0.01em;
}

/* Flow drops — bigger, more tappable */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
}
.flow-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--d-fast);
}
.flow-opt.is-selected {
  background: var(--gh-menstrual-soft);
  border-color: var(--gh-menstrual);
  color: var(--gh-menstrual);
  transform: translateY(-2px);
}
.flow-drop {
  width: 30px; height: 38px;
  position: relative;
}
.flow-drop svg { width: 100%; height: 100%; }

/* Mood grid — larger, breathier */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.mood-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 4px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  transition: all var(--d-fast);
}
.mood-opt.is-selected {
  background: var(--gh-plum-100);
  border-color: var(--gh-plum-500);
  color: var(--gh-plum-700);
  font-weight: 600;
  transform: translateY(-2px);
}
.mood-emoji { font-size: 32px; line-height: 1; }
.mood-emoji img.twemoji { height: 32px; width: 32px; vertical-align: middle; margin: 0; }

/* Symptom / category chips — larger, easier to tap */
.symptom-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-lg {
  padding: 12px 16px !important;
  font-size: 14px !important;
  border-radius: var(--r-pill) !important;
  line-height: 1.1 !important;
}
.chip-lg .chip-emoji {
  font-size: 18px;
  line-height: 1;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
}
.chip-lg .chip-emoji img.twemoji {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  margin: 0;
}

/* ---------- Shop ---------- */
.shop-hero {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(232, 164, 184, 0.55), transparent 60%),
    linear-gradient(135deg, var(--gh-plum-500) 0%, var(--gh-plum-900) 100%);
  color: var(--gh-cream-50);
  padding: var(--s-5);
  padding-top: calc(var(--safe-top) + var(--s-2));
  border-bottom-left-radius: var(--r-2xl);
  border-bottom-right-radius: var(--r-2xl);
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-plum);
}
.shop-hero .top-bar { padding: 0; height: auto; padding-top: 0; padding-bottom: var(--s-4); }
.shop-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gh-pink-300);
}
.shop-tag {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-top: var(--s-3);
  margin-bottom: var(--s-3);
}

.product-card {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: transform var(--d-fast);
}
.product-card:active { transform: scale(0.98); }
.product-img {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-plum-900));
  display: grid; place-items: center;
  font-size: 28px;
  flex-shrink: 0;
  color: var(--gh-pink-300);
  position: relative;
  overflow: hidden;
}
.product-name { font-weight: 600; font-size: 15px; }
.product-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.product-price { font-weight: 700; font-size: 16px; margin-top: 6px; }
.product-price small { font-weight: 500; color: var(--text-muted); font-size: 11px; }

/* ---------- Article reader ---------- */
.article-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-pink-500));
  display: grid; place-items: center;
  color: #fff;
  font-size: 48px;
  position: relative;
}
.article-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gh-plum-500);
  font-weight: 700;
}
.article-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin: var(--s-2) 0 var(--s-3);
}
.article-meta { font-size: 12px; color: var(--text-muted); }
.article-body p { margin: var(--s-3) 0; line-height: 1.7; color: var(--text); }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: var(--s-6) 0 var(--s-2);
  letter-spacing: var(--tracking-tight);
}

/* ---------- Premium upsell ---------- */
.premium-hero {
  background: radial-gradient(circle at 50% 0%, var(--gh-plum-100), transparent 70%),
              linear-gradient(180deg, var(--gh-cream-50) 0%, var(--gh-cream-100) 100%);
  padding: calc(var(--safe-top) + var(--s-8)) var(--s-5) var(--s-6);
  text-align: center;
}
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-pink-500));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-plum);
}
.premium-h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  margin: var(--s-4) 0 var(--s-2);
  text-wrap: balance;
}
.premium-sub { color: var(--text-muted); text-wrap: balance; }

.premium-feature {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.premium-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--gh-plum-100);
  display: grid; place-items: center;
  color: var(--gh-plum-500);
  font-size: 20px;
  flex-shrink: 0;
}
.premium-feature-title { font-weight: 600; font-size: 15px; }
.premium-feature-body { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.plan-card {
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}
.plan-card.is-selected {
  border-color: var(--gh-plum-500);
  background: var(--gh-plum-50);
}
.plan-card-tag {
  position: absolute;
  top: -10px; right: 16px;
  padding: 4px 10px;
  background: var(--gh-plum-500);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Today screen — Wave 3 additions ---------- */
.bestie-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--gh-plum-50);
  border: 1px solid var(--gh-plum-100);
  border-radius: var(--r-pill);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-plum-700);
  transition: background var(--d-fast), transform var(--d-fast);
  text-align: left;
}
.bestie-inline:hover { background: var(--gh-plum-100); }
.bestie-inline:active { transform: scale(0.98); }
.bestie-inline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gh-plum-500);
  box-shadow: 0 0 0 4px var(--gh-plum-100);
  flex-shrink: 0;
  animation: bestie-pulse 2.4s ease-in-out infinite;
}
@keyframes bestie-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.3);  opacity: 0.7; }
}
.bestie-inline-text { flex: 1; }
.bestie-inline-arrow { color: var(--gh-plum-500); }

.confidence-bar {
  height: 6px;
  background: var(--gh-cream-200);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.confidence-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gh-plum-300), var(--gh-plum-500));
  border-radius: var(--r-pill);
  transition: width var(--d-base) var(--ease-out);
}

.health-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 14px 8px;
}
.health-stat {
  text-align: center;
  padding: 0 4px;
}
.health-stat + .health-stat { border-left: 1px solid var(--border); }
.health-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-cocoa-700);
  line-height: 1.05;
}
.health-stat-unit { font-size: 12px; color: var(--text-muted); font-family: inherit; }
.health-stat-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Log sheet: timers, supplements, pinned ---------- */
.timer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.timer-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--d-fast), background var(--d-fast);
  font: inherit;
}
.timer-tile.is-running {
  border-color: var(--gh-plum-500);
  background: var(--gh-plum-50);
}
.timer-emoji { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.timer-body { flex: 1; min-width: 0; }
.timer-title { font-weight: 600; font-size: 14px; }
.timer-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.timer-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--gh-plum-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pinned-section {
  background: var(--gh-plum-50);
  border: 1px solid var(--gh-plum-100);
  border-radius: var(--r-xl);
  padding: 12px 14px;
  margin-bottom: var(--s-4);
}
.pinned-section .log-section-title { color: var(--gh-plum-700); }

/* ---------- Onboarding archetype quiz ---------- */
.quiz-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-4) var(--s-4) var(--s-4);
}
.quiz-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--gh-cocoa-700);
  line-height: 1.4;
}

/* ---------- Birthday celebration ---------- */
.bday-overlay {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(60, 36, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bday-overlay-in var(--d-base) var(--ease-out) both;
}
.bday-overlay.is-leaving { animation: bday-overlay-out var(--d-base) var(--ease-in) both; }
@keyframes bday-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bday-overlay-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.bday-card {
  width: 100%;
  max-width: 340px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 164, 184, 0.55), transparent 60%),
    linear-gradient(160deg, var(--gh-cream-50) 0%, var(--gh-plum-100) 100%);
  border-radius: var(--r-2xl);
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow:
    0 32px 80px rgba(60, 36, 23, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  animation: bday-card-in 600ms var(--ease-out) both;
}
@keyframes bday-card-in {
  from { opacity: 0; transform: scale(0.86) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.bday-emoji {
  font-size: 56px;
  line-height: 1;
  display: inline-block;
  animation: bday-emoji-bob 1.6s ease-in-out infinite;
}
.bday-emoji img.twemoji {
  width: 56px;
  height: 56px;
}
@keyframes bday-emoji-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-8px) rotate(4deg); }
}
.bday-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gh-plum-500);
  margin-top: 12px;
}
.bday-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-cocoa-700);
  margin-top: 6px;
}
.bday-age {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.bday-line {
  font-size: 14px;
  color: var(--gh-cocoa-700);
  line-height: 1.5;
  margin-top: 16px;
  padding: 0 4px;
  text-wrap: balance;
}
.bday-gift {
  margin-top: 20px;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(232, 164, 184, 0.45), transparent 70%),
    linear-gradient(135deg, var(--gh-plum-500), var(--gh-plum-900));
  color: var(--gh-cream-50);
  border-radius: var(--r-xl);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-plum);
}
.bday-gift-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.bday-gift-icon img.twemoji { width: 28px; height: 28px; }
.bday-gift-title { font-weight: 700; font-size: 13px; }
.bday-gift-sub {
  font-size: 12px;
  color: var(--gh-pink-300);
  margin-top: 2px;
}
.bday-gift-sub strong {
  background: var(--gh-pink-500);
  color: var(--gh-cocoa-900);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.bday-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.bday-actions .btn { flex: 1; padding: 12px 14px; font-size: 13px; }

/* ---------- Wearables ---------- */
.wear-tile {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.wear-tile-icon {
  min-width: 80px; height: 56px;
  padding: 0 12px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.wear-tile-icon svg { display: block; max-width: 100%; }

/* ---------- Auth screen (Clerk SignIn host) ---------- */
.auth-screen {
  background: linear-gradient(180deg, #FBF7F2 0%, #F0E6F5 100%);
}
.auth-hero {
  padding: calc(var(--safe-top) + 24px) var(--s-5) 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.auth-hero svg { width: 56px; height: 56px; }
.auth-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: var(--tracking-tight);
  color: var(--gh-cocoa-700);
  margin-top: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
}
.auth-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px var(--s-4) calc(var(--safe-bottom) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.clerk-mount {
  display: flex;
  justify-content: center;
}
.clerk-mount > div {
  width: 100% !important;
  max-width: 360px;
}
.auth-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.auth-foot a {
  font-size: 13px;
  color: var(--gh-plum-500);
  font-weight: 600;
  text-decoration: none;
}
.auth-promise {
  font-size: 11px;
  color: var(--text-subtle);
  line-height: 1.5;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
}

/* Clerk dark mode contrast */
:root.theme-dark .auth-screen {
  background: linear-gradient(180deg, #16101F 0%, #1F1830 100%);
}
:root.theme-dark .auth-title { color: var(--text); }


/* ================================================================
   Desktop landing page (>= 900px viewport)
   ----------------------------------------------------------------
   Wraps the live phone preview with marketing copy + CTAs so desktop
   visitors see a real product website instead of a floating phone.
   On phones (< 900px) the entire .desktop-shell is display:none via
   layout.css — the .app-stage falls back to fullscreen, exactly as
   it did before this landing existed.
   ================================================================ */
.desktop-shell {
  background:
    radial-gradient(ellipse 1200px 600px at 80% -10%, rgba(167, 138, 196, 0.32), transparent 60%),
    radial-gradient(ellipse 1000px 500px at -10% 30%, rgba(255, 184, 195, 0.22), transparent 60%),
    linear-gradient(180deg, #FBF7F2 0%, #F4ECE2 100%);
  min-height: 100vh;
  color: #3C2417;
  font-family: var(--font-body);
  display: block;
}

/* ---------- Header ---------- */
.desktop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.desktop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desktop-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-plum-700));
  box-shadow: 0 6px 16px rgba(107, 76, 154, 0.35);
  position: relative;
  flex-shrink: 0;
}
.desktop-brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.5), transparent 60%);
}
.desktop-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3C2417;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gh-cocoa-500);
  text-decoration: none;
  transition: color 180ms ease;
}
.desktop-nav a:hover { color: var(--gh-plum-500); }
.desktop-cta {
  background: linear-gradient(135deg, var(--gh-plum-500), var(--gh-plum-700)) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(107, 76, 154, 0.32);
}
.desktop-cta:hover { color: #fff !important; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.desktop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 56px 96px;
}
.desktop-hero-copy { max-width: 560px; }
.desktop-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #2A1A12;
  background: linear-gradient(135deg, #2A1A12 30%, var(--gh-plum-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.desktop-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gh-cocoa-500);
  margin: 0 0 28px;
}
.desktop-sub strong { color: var(--gh-plum-700); font-weight: 600; }
.desktop-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 14px;
}
.desktop-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--gh-cocoa-700);
}
.desktop-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gh-plum-300), var(--gh-plum-500));
  box-shadow: 0 2px 6px rgba(107, 76, 154, 0.3);
}
.desktop-bullets li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 10px;
  height: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.desktop-bullets strong {
  color: #2A1A12;
  font-weight: 600;
}

/* ---------- CTA row (store badges) ---------- */
.desktop-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--font-body);
  background: #1a0d07;
  color: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 22px rgba(26, 13, 7, 0.32);
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 13, 7, 0.40);
}
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.store-badge small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.store-badge strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.store-badge-google { background: #1a0d07; }
.store-badge-web {
  background: #fff;
  color: var(--gh-plum-700);
  border: 1.5px solid var(--gh-plum-300);
  box-shadow: 0 8px 22px rgba(107, 76, 154, 0.18);
}
.store-badge-web:hover { box-shadow: 0 12px 28px rgba(107, 76, 154, 0.28); }
.store-badge-web strong { color: var(--gh-plum-700); }

.desktop-fineprint {
  font-size: 13px;
  color: var(--gh-cocoa-300);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Device pane (right side of hero) ---------- */
.desktop-device-pane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 760px;
}
.desktop-device-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 50% 50%, rgba(167, 138, 196, 0.45), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(255, 184, 195, 0.35), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Features section ---------- */
.desktop-features {
  background: #fff;
  border-top: 1px solid rgba(107, 76, 154, 0.08);
  border-bottom: 1px solid rgba(107, 76, 154, 0.08);
}
.desktop-features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.desktop-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.desktop-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gh-cream-100), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 6px 18px rgba(107, 76, 154, 0.12);
  margin-bottom: 6px;
}
.desktop-feature h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: #2A1A12;
}
.desktop-feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gh-cocoa-500);
  margin: 0;
}

/* ---------- Privacy promise band ---------- */
.desktop-promise {
  background: linear-gradient(135deg, var(--gh-plum-700) 0%, #4a2a6e 100%);
  color: #fff;
}
.desktop-promise-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 56px;
  text-align: center;
}
.desktop-promise h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: #fff;
}
.desktop-promise p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 28px;
  opacity: 0.92;
}
.desktop-promise-link {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--gh-plum-700);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.desktop-promise-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ---------- Footer ---------- */
.desktop-footer {
  background: #2A1A12;
  color: rgba(255,255,255,0.7);
}
.desktop-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.desktop-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desktop-footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.desktop-footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.desktop-footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.desktop-footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 180ms ease;
}
.desktop-footer-nav a:hover { color: #fff; }
.desktop-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

/* ---------- Tablet adjustments (900-1099) ---------- */
@media (max-width: 1099px) and (min-width: 900px) {
  .desktop-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
    padding: 24px 40px 80px;
  }
  .desktop-hero-copy { max-width: 640px; margin: 0 auto; }
  .desktop-bullets li { text-align: left; }
  .desktop-cta-row { justify-content: center; }
  .desktop-features-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 72px 40px;
  }
  .desktop-header { padding: 24px 40px; }
  .desktop-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 40px;
  }
  .desktop-footer-brand { justify-content: center; }
  .desktop-footer-copy { text-align: center; }
}
