:root {
  --bg: #06060b;
  --bg-soft: #0f111a;
  --card: rgba(20, 22, 33, 0.8);
  --card-2: rgba(14, 15, 24, 0.92);
  --text: #f5f2fa;
  --muted: #b6b0c7;
  --border: rgba(255, 255, 255, 0.08);
  --pink: #ff4da6;
  --pink-2: #ff5faa;
  --purple: #8f5dff;
  --green: #54e28b;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
}

html[data-theme="light"] {
  --bg: #f5f1fb;
  --bg-soft: #ffffff;
  --card: rgba(255,255,255,0.76);
  --card-2: rgba(255,255,255,0.92);
  --text: #171225;
  --muted: #6f6883;
  --border: rgba(49, 35, 82, 0.10);
  --shadow: 0 24px 60px rgba(63, 31, 100, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top right, rgba(143, 93, 255, 0.16), transparent 30%),
              radial-gradient(circle at top left, rgba(255, 77, 166, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.noise, .aurora {
  position: fixed; inset: 0; pointer-events: none;
}
.noise {
  opacity: .06;
  background-image: radial-gradient(rgba(255,255,255,.3) 0.5px, transparent 0.5px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}
.aurora { filter: blur(90px); opacity: .4; }
.aurora-left { width: 30rem; height: 30rem; left: -10rem; top: 8rem; background: rgba(255,77,166,.28); }
.aurora-right { width: 30rem; height: 30rem; right: -8rem; top: 1rem; background: rgba(143,93,255,.22); }

.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, calc(100% - 2rem)); margin: 0 auto;
  padding: 1.2rem 0 0.6rem;
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.9rem; font-weight: 800; font-size: 1.1rem;
}
.brand-mark, .mini-mark {
  display: inline-grid; place-items: center; border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white; font-weight: 900; box-shadow: 0 14px 35px rgba(255, 77, 166, .25);
}
.brand-mark {
  width: 48px; height: 48px; font-size: 1.4rem;
  animation: logoPulse 1.8s ease-in-out infinite;
}
.brand-name { font-size: 1.15rem; }
@keyframes logoPulse {
  0%, 100% { filter: saturate(1); opacity: 1; }
  50% { filter: saturate(0.2); opacity: .72; }
}

.theme-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.4rem 0.7rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(16, 17, 27, 0.8); box-shadow: var(--shadow);
}
html[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.75); }
.theme-toggle__rail {
  position: absolute; left: .35rem; top: .3rem; bottom: .3rem; width: calc(50% - .35rem);
  background: rgba(255,255,255,.12); border-radius: 999px; transition: transform .25s ease;
}
html[data-theme="light"] .theme-toggle__rail { transform: translateX(100%); background: rgba(143,93,255,.18); }
.theme-toggle__label { position: relative; z-index: 1; font-weight: 700; color: var(--muted); }
html:not([data-theme="light"]) .is-dark, html[data-theme="light"] .is-light { color: var(--text); }

main { padding: 1rem 0 4rem; }
.page { display: none; }
.page.is-active { display: block; }

.home-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
  min-height: calc(100vh - 100px);
  padding-top: 2rem;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0 0;
  max-width: 940px;
  margin: 0 auto;
}
.coach-pill, .section-kicker, .mode-pill, .usage-pill {
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 44px; padding: .75rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
html[data-theme="light"] .coach-pill,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .mode-pill,
html[data-theme="light"] .usage-pill { background: rgba(255,255,255,0.55); }
.coach-pill__dot {
  width: 10px; height: 10px; border-radius: 999px; background: var(--green); box-shadow: 0 0 16px var(--green);
  animation: blinkDot 1.2s infinite;
}
@keyframes blinkDot { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.hero-title {
  margin: 1rem 0 .8rem;
  max-width: 760px;
  line-height: .95;
  letter-spacing: -0.06em;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 4.45rem);
  font-weight: 800;
}
.hero-title span, .hero-title strong {
  display: block;
  max-width: 8.8ch;
  margin-inline: auto;
}
.hero-title strong {
  color: var(--pink);
  max-width: 7.2ch;
}
.hero-copy .primary-cta { margin-inline: auto; }
.hero-text {
  margin: 0 0 1.7rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.48;
}
.primary-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 70px; min-width: min(100%, 480px); padding: 0 1.6rem; border-radius: 999px;
  color: white; font-weight: 800; font-size: 1.25rem; letter-spacing: .03em;
  background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 12px 40px rgba(255, 77, 166, .28), inset 0 0 0 2px rgba(255,255,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,255,255,.16) 0%, transparent 60%);
  opacity: .45;
}
.primary-cta {
  animation: ctaPop 2.4s ease-in-out infinite;
}
.primary-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 50px rgba(255,77,166,.34), inset 0 0 0 2px rgba(255,255,255,.2); }
.primary-cta--small { min-width: 0; min-height: 54px; font-size: 1rem; padding: 0 1.3rem; animation: none; }
@keyframes ctaPop {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 40px rgba(255, 77, 166, .28), inset 0 0 0 2px rgba(255,255,255,.18); }
  50% { transform: scale(1.035); box-shadow: 0 18px 56px rgba(255,77,166,.38), inset 0 0 0 2px rgba(255,255,255,.24); }
}

.stat-card {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 165px 1fr;
  align-items: center;
  gap: 1.3rem;
  width: min(100%, 860px);
  padding: 1.15rem 1.4rem;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .stat-card { background: rgba(255,255,255,.58); }
.heart-stat {
  position: relative;
  width: 152px;
  height: 132px;
}
.heart-stat svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 24px rgba(255,77,166,.4));
}
.heart-stat b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  transform: translate(-50%, -46%);
  z-index: 1;
  font-size: 2.75rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.stat-copy h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.1vw, 2.65rem);
  line-height: .93;
  letter-spacing: -0.04em;
  max-width: 14ch;
  text-transform: uppercase;
}
.stat-copy p { margin: 0; color: var(--muted); line-height: 1.45; }
.stat-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.stat-copy p:empty { display: none; }

.hero-visual {
  position: absolute;
  right: .4rem;
  top: 3.2rem;
  width: min(32vw, 420px);
  height: min(54vh, 500px);
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
  opacity: .94;
}
.hero-photo-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6,6,11,0.28) 18%, transparent 48%),
              linear-gradient(180deg, transparent 62%, var(--bg) 100%);
}
html[data-theme="light"] .hero-photo-frame::after {
  background: linear-gradient(90deg, var(--bg) 0%, rgba(245,241,251,0.3) 18%, transparent 50%),
              linear-gradient(180deg, transparent 62%, var(--bg) 100%);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: radial-gradient(88% 88% at 76% 42%, #000 44%, rgba(0,0,0,.88) 58%, rgba(0,0,0,.35) 72%, transparent 84%);
  mask-image: radial-gradient(88% 88% at 76% 42%, #000 44%, rgba(0,0,0,.88) 58%, rgba(0,0,0,.35) 72%, transparent 84%);
  opacity: .98;
}

.choice-shell, .phone-card, .options-card {
  border-radius: 34px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); box-shadow: var(--shadow);
}
html[data-theme="light"] .choice-shell,
html[data-theme="light"] .phone-card,
html[data-theme="light"] .options-card { background: rgba(255,255,255,.55); }
.choice-shell { padding: 2rem; }
.choice-shell h2 {
  margin: 1rem 0 .8rem; font-family: Sora, Inter, sans-serif; font-size: clamp(2.3rem, 5vw, 4rem); line-height: .98; letter-spacing: -0.05em;
}
.choice-shell p { margin: 0 0 1.8rem; color: var(--muted); max-width: 42rem; font-size: 1.1rem; }
.back-link, .ghost-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 46px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.02); font-weight: 700; color: var(--text);
}
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem; }
.choice-card {
  text-align: left; min-height: 240px; padding: 1.8rem; border-radius: 28px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.choice-card:hover { transform: translateY(-2px); border-color: rgba(255, 95, 170, .35); }
.choice-icon {
  display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.4rem; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,77,166,.8), rgba(143,93,255,.9)); color: white; font-size: 1.55rem;
}
.choice-card b { display: block; font-size: 2.3rem; font-family: Sora, Inter, sans-serif; line-height: .95; margin-bottom: .8rem; }
.choice-card small { display: block; color: var(--muted); font-size: 1.15rem; line-height: 1.4; }

.app-shell { display: grid; gap: 1rem; }
.app-topline { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.usage-pill { margin-left: auto; color: var(--muted); }
.workspace { display: grid; grid-template-columns: minmax(320px, 430px) minmax(320px, 1fr); gap: 1.4rem; align-items: start; }
.phone-card { padding: 1rem; }
.iphone-shell {
  position: relative; width: 100%; min-height: 760px; padding: 1rem; border-radius: 42px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08)); box-shadow: inset 0 0 0 9px rgba(255,255,255,.02);
}
html[data-theme="light"] .iphone-shell { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.88)); }
.iphone-notch {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); width: 136px; height: 26px; border-radius: 999px; background: #010103;
}
.device-header {
  display: flex; justify-content: space-between; align-items: center; padding: 1.55rem 1rem 1rem; margin-top: .6rem;
}
.device-brand { display: flex; align-items: center; gap: .85rem; }
.mini-mark { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 14px; }
.device-brand small { display: block; margin-top: .18rem; color: var(--green); font-weight: 700; }
.dots { letter-spacing: .28em; color: var(--muted); font-size: 1.4rem; }
.chat-feed {
  display: flex; flex-direction: column; gap: .9rem; height: 560px; padding: 1rem .7rem 1rem; overflow: auto;
}
.chat-feed::-webkit-scrollbar { width: 8px; }
.chat-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 999px; }
.bubble {
  max-width: 82%; padding: 1rem 1rem .85rem; border-radius: 22px; border: 1px solid var(--border);
  background: rgba(255,255,255,.05); box-shadow: 0 15px 35px rgba(0,0,0,.18);
}
.bubble--user { margin-left: auto; background: linear-gradient(135deg, rgba(255,77,166,.82), rgba(143,93,255,.85)); color: white; }
.bubble--spark { background: rgba(16,18,28,.92); }
html[data-theme="light"] .bubble--spark { background: rgba(255,255,255,.88); }
.bubble-label { display: block; margin-bottom: .45rem; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.bubble--user .bubble-label { color: rgba(255,255,255,.72); }
.bubble-time { display: block; margin-top: .45rem; color: var(--muted); font-size: .72rem; text-align: right; }
.placeholder-card {
  margin: auto 0; text-align: center; padding: 1.5rem 1rem; color: var(--muted);
}
.placeholder-card h3 { margin: 0 0 .5rem; color: var(--text); font-size: 1.2rem; }

.composer {
  display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: end; padding: .8rem .2rem .2rem;
}
.composer textarea {
  width: 100%; min-height: 58px; max-height: 130px; resize: none; padding: 1rem 1rem; border-radius: 18px;
  border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); outline: none;
}
html[data-theme="light"] .composer textarea { background: rgba(255,255,255,.75); }
.composer button {
  min-width: 124px; min-height: 58px; border-radius: 18px; font-weight: 800; color: white;
  background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 12px 28px rgba(143,93,255,.28);
}
.options-card { padding: 1.5rem; min-height: 760px; }
.options-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.options-head h2 { margin: 0 0 .4rem; font-family: Sora, Inter, sans-serif; font-size: clamp(2rem, 3.4vw, 3rem); line-height: .98; }
.options-head p { margin: 0; color: var(--muted); }
.options-list { display: grid; gap: 1rem; }
.option-item {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 1rem; text-align: left; align-items: start;
  padding: 1rem; border-radius: 24px; border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.option-item.is-recommended { border-color: rgba(255,95,170,.45); box-shadow: inset 0 0 0 1px rgba(255,95,170,.18), 0 0 30px rgba(255,95,170,.08); }
.option-icon {
  width: 68px; height: 68px; display: inline-grid; place-items: center; border-radius: 20px; font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(255,77,166,.16), rgba(143,93,255,.14)); color: #ff7bbd;
}
.option-body b { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .5rem; font-size: 1.45rem; }
.option-body p { margin: 0 0 .5rem; color: var(--text); font-size: 1.05rem; line-height: 1.45; }
.option-body p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
.option-copy { align-self: center; color: #ff65af; font-weight: 800; white-space: nowrap; }
.recommended-pill {
  display: inline-flex; padding: .3rem .6rem; border-radius: 999px; background: rgba(255,95,170,.14); color: #ff84c1; font-size: .8rem; font-weight: 800;
}
.empty-options, .privacy-note { color: var(--muted); }
.empty-options { padding: 2rem 1rem; text-align: center; border-radius: 24px; border: 1px dashed var(--border); }
.privacy-note { margin-top: 1rem; }

.options-card.is-blurred .options-list,
.options-card.is-blurred .options-head,
.options-card.is-blurred .privacy-note { filter: blur(4px); opacity: .7; pointer-events: none; user-select: none; }
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(6,6,11,.68); backdrop-filter: blur(8px);
}
.subscribe-modal {
  position: relative; width: min(520px, calc(100% - 1.5rem)); padding: 1.8rem; border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(12,14,22,.94); box-shadow: var(--shadow);
}
html[data-theme="light"] .subscribe-modal { background: rgba(255,255,255,.96); }
.modal-close {
  position: absolute; right: 1rem; top: 1rem; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.modal-badge {
  display: inline-flex; padding: .45rem .8rem; border-radius: 999px; background: rgba(255,95,170,.12); color: #ff84c1; font-weight: 800; margin-bottom: .9rem;
}
.subscribe-modal h3 { margin: 0 0 .7rem; font-family: Sora, Inter, sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.subscribe-modal p { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.55; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.toast {
  position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(20px); z-index: 140;
  padding: .9rem 1.15rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(12,14,22,.95);
  color: white; opacity: 0; pointer-events: none; transition: .18s ease;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal .7s ease forwards; }
.delay-1 { animation-delay: .16s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .workspace { grid-template-columns: 1fr; }
  .hero-visual {
    position: absolute;
    right: .25rem;
    top: 5rem;
    width: min(38vw, 320px);
    height: min(42vh, 420px);
    margin: 0;
    justify-content: flex-end;
    pointer-events: none;
  }
  .hero-photo-frame {
    aspect-ratio: auto;
  }
  .hero-photo-frame::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(6,6,11,0.55) 20%, transparent 56%),
                linear-gradient(180deg, rgba(6,6,11,0.08) 0%, transparent 30%, transparent 75%, var(--bg) 100%);
  }
  html[data-theme="light"] .hero-photo-frame::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(245,241,251,0.52) 24%, transparent 58%),
                linear-gradient(180deg, rgba(245,241,251,0.06) 0%, transparent 30%, transparent 75%, var(--bg) 100%);
  }
  .hero-photo-frame img {
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.42) 22%, #000 54%, #000 100%), linear-gradient(180deg, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.42) 22%, #000 54%, #000 100%), linear-gradient(180deg, #000 88%, transparent 100%);
  }
  .usage-pill { margin-left: 0; }
  .options-card { min-height: auto; }
}

@media (max-width: 760px) {
  .site-header { padding-top: .8rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1rem; }
  .theme-toggle { gap: .6rem; padding: .34rem .55rem; }
  .theme-toggle__label { font-size: .9rem; }
  .home-grid { min-height: auto; gap: 1rem; padding-top: .4rem; }
  .hero-copy { padding-top: .5rem; }
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.15rem);
    max-width: 92%;
    margin-top: .8rem;
  }
  .hero-title span, .hero-title strong {
    max-width: 7.6ch;
  }
  .hero-title strong {
    max-width: 6.4ch;
  }
  .hero-text {
    font-size: .98rem;
    max-width: 92%;
  }
  .hero-visual {
    right: .15rem;
    top: 4.4rem;
    width: min(35vw, 128px);
    height: 156px;
    opacity: .9;
  }
  .hero-photo-frame::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(245,241,251,0.06) 28%, transparent 68%),
                linear-gradient(180deg, transparent 56%, var(--bg) 100%);
  }
  html[data-theme="dark"] .hero-photo-frame::after, html:not([data-theme="light"]) .hero-photo-frame::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(6,6,11,0.12) 28%, transparent 68%),
                linear-gradient(180deg, transparent 56%, var(--bg) 100%);
  }
  .primary-cta {
    min-width: 100%;
    min-height: 62px;
    font-size: 1rem;
    max-width: 92%;
  }
  .stat-card {
    grid-template-columns: 92px 1fr;
    width: 100%;
    padding: .95rem;
    gap: .7rem;
  }
  .heart-stat {
    width: 92px;
    height: 82px;
  }
  .heart-stat b {
    font-size: 1.82rem;
    transform: translate(-50%, -46%);
  }
  .stat-copy h2 {
    font-size: 1.16rem;
    line-height: 1;
    max-width: none;
  }
  .choice-shell { padding: 1.25rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 200px; }
  .app-topline { align-items: stretch; }
  .mode-pill, .usage-pill { width: 100%; justify-content: center; }
  .phone-card, .options-card { padding: .8rem; }
  .iphone-shell { min-height: 640px; border-radius: 34px; }
  .iphone-notch { width: 122px; height: 24px; }
  .chat-feed { height: 430px; }
  .composer { grid-template-columns: 1fr; }
  .composer button { width: 100%; }
  .options-head { flex-direction: column; }
  .ghost-button { width: 100%; }
  .option-item { grid-template-columns: 1fr; }
  .option-copy { justify-self: start; }
}



/* ===== FINAL HERO FIX — clean desktop/mobile composition ===== */
.page-home {
  position: relative;
  overflow: hidden;
}

.page-home .home-grid {
  position: relative !important;
  display: block !important;
  min-height: calc(100vh - 100px) !important;
  padding-top: clamp(2.2rem, 4vh, 4.2rem) !important;
}

.page-home .hero-copy {
  position: relative !important;
  z-index: 3 !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.page-home .hero-title {
  max-width: 980px !important;
  margin: 1rem auto .9rem !important;
  font-size: clamp(3.35rem, 5.35vw, 5.15rem) !important;
  line-height: .92 !important;
  letter-spacing: -0.065em !important;
  text-align: center !important;
}

.page-home .hero-title span,
.page-home .hero-title strong {
  display: block !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.page-home .hero-title strong {
  color: var(--pink) !important;
  max-width: 11.2ch !important;
}

.page-home .hero-text {
  max-width: 680px !important;
  margin: 0 auto 1.7rem !important;
  font-size: clamp(1.03rem, 1.35vw, 1.24rem) !important;
  line-height: 1.5 !important;
}

.page-home .primary-cta {
  margin: 0 auto !important;
  min-width: min(100%, 430px) !important;
  min-height: 66px !important;
  animation: ctaPopClean 2.15s ease-in-out infinite !important;
}

.page-home .primary-cta::before {
  content: "" !important;
  position: absolute !important;
  inset: -12px !important;
  border-radius: inherit !important;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%) !important;
  opacity: .45 !important;
}

@keyframes ctaPopClean {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 40px rgba(255, 77, 166, .26), inset 0 0 0 2px rgba(255,255,255,.18);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 20px 58px rgba(255, 77, 166, .38), inset 0 0 0 2px rgba(255,255,255,.26);
  }
}

.page-home .hero-visual {
  position: absolute !important;
  z-index: 1 !important;
  right: max(-10px, calc((100vw - 1180px) / 2)) !important;
  top: 3.4rem !important;
  width: min(31vw, 430px) !important;
  height: min(48vh, 480px) !important;
  opacity: .72 !important;
  pointer-events: none !important;
}

.page-home .hero-photo-frame {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.page-home .hero-photo-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: .96 !important;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 14%, #000 36%, #000 72%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 66%, transparent 100%) !important;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 14%, #000 36%, #000 72%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 66%, transparent 100%) !important;
  -webkit-mask-composite: source-in !important;
  mask-composite: intersect !important;
}

.page-home .hero-photo-frame::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse at 55% 45%, transparent 18%, rgba(6,6,11,.14) 46%, var(--bg) 86%),
    linear-gradient(90deg, var(--bg) 0%, rgba(6,6,11,.50) 18%, transparent 45%, rgba(6,6,11,.20) 72%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 58%, var(--bg) 100%) !important;
  pointer-events: none !important;
}

html[data-theme="light"] .page-home .hero-photo-frame::after {
  background:
    radial-gradient(ellipse at 55% 45%, transparent 18%, rgba(245,241,251,.18) 46%, var(--bg) 86%),
    linear-gradient(90deg, var(--bg) 0%, rgba(245,241,251,.55) 18%, transparent 45%, rgba(245,241,251,.26) 72%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 58%, var(--bg) 100%) !important;
}

.page-home .stat-card {
  position: relative !important;
  z-index: 3 !important;
  width: min(100%, 760px) !important;
  margin: 2rem auto 0 !important;
  display: grid !important;
  grid-template-columns: 132px 1fr !important;
  gap: 1.35rem !important;
  align-items: center !important;
  padding: 1rem 1.35rem !important;
  min-height: 146px !important;
  border-radius: 26px !important;
}

.page-home .heart-stat {
  width: 126px !important;
  height: 116px !important;
  display: block !important;
}

.page-home .heart-stat svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  filter: drop-shadow(0 0 22px rgba(255, 77, 166, .35)) !important;
}

.page-home .heart-stat text {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  fill: #fff !important;
  letter-spacing: -2px !important;
}

.page-home .heart-stat b {
  display: none !important;
}

.page-home .stat-copy {
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

.page-home .stat-copy h2 {
  margin: 0 !important;
  max-width: 19ch !important;
  font-size: clamp(1.55rem, 2.25vw, 2.1rem) !important;
  line-height: .96 !important;
  letter-spacing: -0.045em !important;
  text-transform: uppercase !important;
}

@media (max-width: 1024px) {
  .page-home .hero-title {
    font-size: clamp(3rem, 7vw, 4.45rem) !important;
    max-width: 780px !important;
  }

  .page-home .hero-visual {
    right: 1.1rem !important;
    top: 4.8rem !important;
    width: min(28vw, 260px) !important;
    height: 290px !important;
    opacity: .58 !important;
  }
}

@media (max-width: 760px) {
  .page-home .home-grid {
    padding-top: 1.1rem !important;
    min-height: auto !important;
  }

  .page-home .hero-copy {
    max-width: 100% !important;
    padding-top: .4rem !important;
  }

  .page-home .coach-pill {
    max-width: 92% !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }

  .page-home .hero-title {
    font-size: clamp(2.55rem, 10.6vw, 3.55rem) !important;
    line-height: .94 !important;
    max-width: 92% !important;
    margin-top: .9rem !important;
  }

  .page-home .hero-title span {
    max-width: 8.2ch !important;
  }

  .page-home .hero-title strong {
    max-width: 7.1ch !important;
  }

  .page-home .hero-text {
    max-width: 92% !important;
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .page-home .hero-visual {
    right: .35rem !important;
    top: 5.2rem !important;
    width: 128px !important;
    height: 150px !important;
    opacity: .42 !important;
  }

  .page-home .hero-photo-frame img {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 18%, #000 45%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%) !important;
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 18%, #000 45%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%) !important;
  }

  .page-home .primary-cta {
    width: min(100%, 360px) !important;
    min-width: 0 !important;
    min-height: 62px !important;
    font-size: .98rem !important;
  }

  .page-home .stat-card {
    width: min(100%, 360px) !important;
    grid-template-columns: 96px 1fr !important;
    gap: .75rem !important;
    padding: .9rem !important;
    min-height: 126px !important;
  }

  .page-home .heart-stat {
    width: 92px !important;
    height: 84px !important;
  }

  .page-home .heart-stat text {
    font-size: 28px !important;
  }

  .page-home .stat-copy h2 {
    max-width: 13ch !important;
    font-size: 1.14rem !important;
    line-height: .98 !important;
    letter-spacing: -0.04em !important;
  }
}


/* =========================
   SECONDSPARK HOME V6 CLEAN REBUILD
   ========================= */
.page-home {
  padding: 0 0 2.2rem;
}

.ss-home {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: calc(100vh - 140px);
  width: min(1280px, calc(100% - 2rem));
}

.ss-home__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 760px;
}

.ss-home__pill {
  margin-bottom: 1rem;
}

.ss-home__title {
  margin: 0;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.ss-home__title-top,
.ss-home__title-bottom {
  display: block;
}

.ss-home__title-top {
  font-size: clamp(3.1rem, 5vw, 5rem);
  color: var(--text);
}

.ss-home__title-bottom {
  margin-top: .24rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  color: var(--pink);
  white-space: nowrap;
}

.ss-home__text {
  margin: 1.2rem 0 1.6rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.5;
}

.ss-home__cta {
  min-width: min(100%, 440px) !important;
  min-height: 68px !important;
  animation: ssCtaPop 2.2s ease-in-out infinite !important;
}

.ss-home__cta::before {
  display: none !important;
}

@keyframes ssCtaPop {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 38px rgba(255, 77, 166, .26), inset 0 0 0 2px rgba(255,255,255,.18);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 20px 58px rgba(255, 77, 166, .40), inset 0 0 0 2px rgba(255,255,255,.24);
  }
}

.ss-home__stat {
  margin-top: 1.9rem;
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .ss-home__stat {
  background: rgba(255,255,255,.72);
}

.ss-home__heart {
  width: 108px;
  height: 98px;
}
.ss-home__heart svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255, 77, 166, .26));
}

.ss-home__stat-text {
  display: grid;
  gap: .15rem;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: .95;
  font-size: clamp(1.55rem, 2.35vw, 2.55rem);
}

.ss-home__visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ss-home__image {
  width: min(100%, 520px);
  height: min(70vh, 680px);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.04) contrast(1.02);
  opacity: .96;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.58) 16%, #000 36%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.58) 16%, #000 36%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.ss-home__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 45%, transparent 28%, rgba(0,0,0,.03) 50%, var(--bg) 100%),
    linear-gradient(90deg, transparent 0%, transparent 60%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 82%, var(--bg) 100%);
  pointer-events: none;
}
html[data-theme="light"] .ss-home__visual::after {
  background:
    radial-gradient(circle at 70% 45%, transparent 28%, rgba(255,255,255,.06) 50%, var(--bg) 100%),
    linear-gradient(90deg, transparent 0%, transparent 60%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 82%, var(--bg) 100%);
}

@media (max-width: 1180px) {
  .ss-home {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 1.6rem;
  }
  .ss-home__visual {
    min-height: 540px;
  }
  .ss-home__image {
    width: min(100%, 440px);
    height: min(60vh, 580px);
  }
}

@media (max-width: 980px) {
  .ss-home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
    gap: 1.4rem;
  }
  .ss-home__copy {
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
  }
  .ss-home__visual {
    position: absolute;
    top: 4.6rem;
    right: .5rem;
    min-height: 0;
    width: 240px;
    height: 300px;
    z-index: 1;
    opacity: .6;
  }
  .ss-home__image {
    width: 100%;
    height: 100%;
  }
  .ss-home__title-top {
    font-size: clamp(3rem, 8vw, 4.5rem);
  }
  .ss-home__title-bottom {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .ss-home__text,
  .ss-home__pill {
    max-width: 86%;
  }
  .ss-home__stat {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .page-home {
    padding-bottom: 1.8rem;
  }
  .ss-home {
    padding-top: .7rem;
    width: min(100%, calc(100% - 1rem));
  }
  .ss-home__copy {
    align-items: center;
    text-align: center;
  }
  .ss-home__pill {
    justify-content: center;
    min-height: 42px;
    max-width: 94%;
  }
  .ss-home__title-top {
    font-size: clamp(2.35rem, 10vw, 3.15rem);
  }
  .ss-home__title-bottom {
    font-size: clamp(1.48rem, 5.8vw, 1.82rem);
    white-space: nowrap;
  }
  .ss-home__text {
    max-width: 94%;
    margin-top: 1rem;
    margin-bottom: 1.35rem;
    font-size: 1rem;
  }
  .ss-home__cta {
    width: min(100%, 360px) !important;
    min-width: 0 !important;
    min-height: 62px !important;
    font-size: .98rem !important;
  }
  .ss-home__visual {
    top: 4.2rem;
    right: -.1rem;
    width: 130px;
    height: 168px;
    opacity: .44;
  }
  .ss-home__stat {
    width: min(100%, 360px);
    grid-template-columns: 88px 1fr;
    gap: .75rem;
    padding: .95rem;
    min-height: 122px;
  }
  .ss-home__heart {
    width: 82px;
    height: 74px;
  }
  .ss-home__stat-text {
    font-size: 1.2rem;
    line-height: .98;
  }
}
