/* My Mental Wellness — landing page
   Dark, premium, calm. Editorial serif for display, Inter for UI. */
:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --card: rgba(255,255,255,.035);
  --card-border: rgba(255,255,255,.08);
  --text: #eef0f5;
  --text-2: #b4bac9;
  --muted: #7d8498;
  --mint: #6ee7b7;
  --sky: #93c5fd;
  --lilac: #c4b5fd;
  --ink: #06110c;
  --danger: #f87171;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --max: 1120px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: var(--mint); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 99; }

/* ambient glows */
.glow { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; z-index: 0; }
.glow-a { width: 60vw; height: 60vw; top: -20vw; right: -20vw; background: radial-gradient(circle, var(--mint), transparent 60%); }
.glow-b { width: 50vw; height: 50vw; bottom: -20vw; left: -15vw; background: radial-gradient(circle, var(--sky), transparent 60%); }
main, footer { position: relative; z-index: 1; } header.nav { z-index: 20; }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; font-variation-settings: 'opsz' 144; }
h1 em { font-style: italic; color: var(--mint); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.25; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--text-2); margin: 18px 0 28px; max-width: 34em; }
.muted { color: var(--muted); }
.fine { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.fine.error { color: var(--danger); }
.fine.ok { color: var(--mint); }
.center { text-align: center; }

/* nav */
.nav { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: rgba(11,13,18,.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-border); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; object-fit: cover; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--text-2); font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* buttons + inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; cursor: pointer; min-height: 50px; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--mint); color: var(--ink); box-shadow: 0 8px 30px rgba(110,231,183,.25); }
.btn-primary:hover { background: #86efc4; }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-small { padding: 10px 16px; min-height: 40px; font-size: .92rem; box-shadow: none; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--mint); cursor: pointer; font-weight: 500; }
.input-row { display: flex; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--card-border); border-radius: 999px; padding: 6px; transition: border-color .2s; }
.input-row:focus-within { border-color: rgba(110,231,183,.6); }
.input-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font-size: 1.05rem; padding: 10px 16px; outline: none; }
.input-row input::placeholder { color: var(--muted); }
.code-form label { display: block; font-size: .95rem; color: var(--text-2); margin-bottom: 10px; }
@media (max-width: 520px) { .input-row { flex-direction: column; border-radius: var(--r); } .input-row .btn { width: 100%; } }

/* layout */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 72px) clamp(16px, 4vw, 40px); }
.section-head { max-width: 40em; margin-bottom: clamp(24px, 3vw, 36px); }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 4vw, 56px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 40px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; min-height: min(calc(100vh - 70px), 760px); } }
.hero-copy .phone-form, .hero-copy .code-form { max-width: 520px; }
.hero-proof { display: flex; gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.hero-proof li::before { content: '✓'; color: var(--mint); margin-right: 6px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.phone { width: 300px; height: 620px; border-radius: 44px; background: #14171f; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 6px #0b0d12; padding: 18px; position: relative; transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.phone-notch { width: 110px; height: 28px; background: #0b0d12; border-radius: 0 0 18px 18px; margin: -18px auto 14px; }
.phone-screen { display: flex; flex-direction: column; gap: 10px; height: calc(100% - 24px); }
.ps-top { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.streak { color: #fbbf24; }
.ps-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
.ps-title { font-family: var(--serif); font-size: 1.7rem; margin: 0; }
.ps-body { font-size: .92rem; color: var(--text-2); margin: 0; line-height: 1.5; }
.ps-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); padding-top: 6px; }
.ps-cta { background: var(--mint); color: var(--ink); text-align: center; border-radius: 12px; padding: 12px; font-weight: 600; font-size: .95rem; }
.ps-why { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }
.ps-why strong { color: var(--text-2); font-weight: 500; }
.ps-mood { margin-top: auto; font-size: .75rem; color: var(--muted); }
.dots { display: flex; gap: 5px; margin-top: 6px; }
.dots i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.dots i.on { background: var(--sky); }
.float-card { position: absolute; background: rgba(16,19,26,.9); border: 1px solid var(--card-border); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: .82rem; backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,.4); animation: float 9s ease-in-out infinite; }
.fc-1 { left: -6%; top: 63%; animation-delay: -3s; }
.fc-2 { right: -4%; bottom: 4%; animation-delay: -5s; }
.fc-tag { color: var(--lilac); font-weight: 500; }
.fc-trend.down { color: var(--mint); }
.fc-title { font-weight: 600; }
.fc-sub { color: var(--muted); }
@media (max-width: 520px) { .phone { width: 260px; height: 540px; } .fc-1 { display: none; } .fc-2 { right: 0; bottom: 10%; } .eyebrow { letter-spacing: .1em; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(-3deg); } }
.float-card { transform: none; }
@keyframes floatcard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-card { animation-name: floatcard; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 26px 24px 28px; }
.step-n { font-family: var(--serif); font-size: 2rem; color: var(--mint); display: block; margin-bottom: 14px; line-height: 1; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: .98rem; }

/* map */
.section-map { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02) 20%, rgba(255,255,255,.02) 80%, transparent); }
.map-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .map-grid { grid-template-columns: .9fr 1.1fr; } }
.map-copy p { color: var(--text-2); }
.map-copy em { color: var(--text); font-style: italic; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0; }
.tag-list li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: rgba(196,181,253,.1); color: var(--lilac); border: 1px solid rgba(196,181,253,.2); }
.map-card { background: #12151d; border: 1px solid var(--card-border); border-radius: var(--r); padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.map-head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.dims { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.dim { display: grid; grid-template-columns: 130px 1fr 44px; gap: 14px; align-items: center; font-size: .95rem; }
.dim-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.dim-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sky), var(--mint)); transition: width 1.2s var(--ease); }
.dim-band { font-size: .78rem; color: var(--muted); text-align: right; }
.map-visual.in .dim-bar i { width: var(--w); }
.map-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--card-border); font-size: .95rem; }
.map-foot p { margin: 0 0 6px; color: var(--text-2); }
.map-foot strong { color: var(--text); font-weight: 500; }
.map-plan { color: var(--muted) !important; font-size: .9rem; }
@media (max-width: 520px) { .dim { grid-template-columns: 110px 1fr 38px; font-size: .88rem; } }

/* features */
.features { display: grid; gap: 18px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 30px 28px; position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(110,231,183,.5), transparent); }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--text-2); }

/* split */
.section-split { display: grid; gap: 18px; padding-top: 18px; }
#get { padding-bottom: 0; }
@media (min-width: 820px) { .section-split { grid-template-columns: 1fr 1fr; } }
.split-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 34px 30px; }
.split-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.split-card p { margin: 0; color: var(--text-2); }
.split-safety { border-color: rgba(147,197,253,.3); background: rgba(147,197,253,.05); }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto 0; background: linear-gradient(180deg, rgba(110,231,183,.10), rgba(255,255,255,.03)); border: 1px solid rgba(110,231,183,.3); border-radius: 28px; padding: 6px; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.price-main { background: #0f1218; border-radius: 24px; padding: 34px 30px; }
.price-plan { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.price { font-family: var(--serif); font-size: 3.6rem; line-height: 1; margin: 0; }
.price .cur { font-size: 1.6rem; vertical-align: top; margin-right: 2px; color: var(--text-2); }
.price .per { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 6px; }
.price-trial { color: var(--mint); font-size: .92rem; margin: 10px 0 24px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; color: var(--text-2); font-size: .97rem; }
.price-list li::before { content: '—'; color: var(--mint); margin-right: 10px; }

/* faq */
.section-faq .section-head { margin-bottom: 16px; }
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--card-border); }
.faq details:last-child { border-bottom: 1px solid var(--card-border); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-size: 1.08rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--mint); font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--text-2); max-width: 60em; }

/* final cta */
.section-cta { padding-top: 0; padding-bottom: clamp(40px, 5vw, 64px); }
.cta-card { background: linear-gradient(135deg, rgba(110,231,183,.12), rgba(147,197,253,.10)); border: 1px solid var(--card-border); border-radius: 32px; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px); text-align: center; }
.cta-card .lead { margin-left: auto; margin-right: auto; }
.cta-card .phone-form, .cta-card .code-form { max-width: 520px; margin: 0 auto; text-align: left; }
.cta-card .fine { text-align: center; }

/* footer */
.footer { position: relative; padding: 0 clamp(16px, 4vw, 40px) calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .9rem; line-height: 1.6; background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
.footer .hairline { margin-bottom: clamp(36px, 5vw, 56px); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
@media (min-width: 720px) and (max-width: 959px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.f-brand .brand { margin-bottom: 14px; }
.f-tag { font-family: var(--serif); font-size: 1.35rem; color: var(--text); margin: 0 0 8px; letter-spacing: -.01em; }
.f-desc { margin: 0 0 16px; max-width: 34em; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.f-chips li { font-size: .76rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-2); background: rgba(255,255,255,.03); }
.f-head { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0 0 14px; font-weight: 600; }
.f-links { display: flex; flex-direction: column; gap: 10px; }
.f-links a { color: var(--muted); }
.f-links a:hover { color: var(--mint); text-decoration: none; }
.f-safety p { margin: 0 0 12px; }
.f-safety strong { color: var(--text-2); font-weight: 500; }
.f-988 { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(147,197,253,.08); border: 1px solid rgba(147,197,253,.28); color: var(--text); text-decoration: none; transition: background .2s, border-color .2s; }
.f-988:hover { background: rgba(147,197,253,.14); border-color: rgba(147,197,253,.5); text-decoration: none; }
.f-988-n { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--sky); }
.f-988-t { font-size: .84rem; color: var(--text-2); line-height: 1.35; }
.f-small { font-size: .8rem; margin-top: 10px !important; }
.footer-bar { max-width: var(--max); margin: clamp(32px, 4vw, 48px) auto 0; padding-top: 18px; border-top: 1px solid var(--card-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8rem; }
.f-made { color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .24s; } .delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-card { animation: none; }
  .dim-bar i { transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   TEXTURE PASS — grain, aurora mesh, glass, hairlines, motion
   ========================================================= */

/* film grain (SVG turbulence; swapped for /assets/img/grain.png by JS if present) */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 50; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 300px 300px; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-2%,1%); } 40% { transform: translate(1%,-2%); } 60% { transform: translate(-1%,2%); } 80% { transform: translate(2%,-1%); } }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--sky), var(--mint)); z-index: 60; box-shadow: 0 0 12px rgba(110,231,183,.6); }

/* hero background: studio art + drifting mesh */
.hero { position: relative; overflow: visible; }
.hero-bg { position: absolute; top: -80px; bottom: -120px; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 35%, #000 65%), linear-gradient(180deg, #000 60%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 35%, #000 65%); }
.mesh { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .28; mix-blend-mode: screen; will-change: transform; }
.mesh-1 { width: 55vw; height: 55vw; right: -10%; top: -20%; background: radial-gradient(circle at 40% 40%, var(--mint), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.mesh-2 { width: 45vw; height: 45vw; right: 15%; bottom: -25%; background: radial-gradient(circle at 60% 50%, var(--sky), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.mesh-3 { width: 35vw; height: 35vw; left: -12%; top: 30%; background: radial-gradient(circle, var(--lilac), transparent 62%); opacity: .16; animation: drift3 38s ease-in-out infinite alternate; }
.mesh-4 { width: 70vw; height: 40vw; left: 15%; top: 10%; background: radial-gradient(ellipse at 50% 50%, var(--mint), transparent 60%); opacity: .12; filter: blur(100px); animation: drift2 30s ease-in-out infinite alternate; }
.section-pricing { position: relative; overflow: hidden; }
.section-pricing .mesh { z-index: -1; }
.section-pricing { z-index: 0; }
@keyframes drift1 { to { transform: translate(-12%, 14%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(14%, -10%) scale(1.08); } }
@keyframes drift3 { to { transform: translate(10%, -16%) scale(1.15); } }

/* breathing rings behind the phone */
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(110,231,183,.22); transform: translate(-50%,-50%); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.ring-1 { width: 420px; height: 420px; }
.ring-2 { width: 560px; height: 560px; animation-delay: -2s; border-color: rgba(147,197,253,.16); }
.ring-3 { width: 700px; height: 700px; animation-delay: -4s; border-color: rgba(196,181,253,.10); }
@keyframes breathe { 0%,100% { transform: translate(-50%,-50%) scale(.96); opacity: .5; } 50% { transform: translate(-50%,-50%) scale(1.04); opacity: 1; } }
@media (max-width: 900px) { .ring-3 { display: none; } .ring-2 { width: 460px; height: 460px; } .ring-1 { width: 340px; height: 340px; } }

/* stats strip */
.stats { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-left: 1px solid var(--card-border); }
.stat-n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--text); font-variation-settings: 'opsz' 144; }
.stat-l { font-size: .85rem; color: var(--muted); }

/* glowing hairlines */
.hairline { border: 0; height: 1px; margin: 0 auto; max-width: var(--max); background: linear-gradient(90deg, transparent, rgba(110,231,183,.35) 30%, rgba(147,197,253,.35) 70%, transparent); position: relative; }
.hairline::after { content: ''; position: absolute; left: 50%; top: -20px; width: 240px; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(110,231,183,.18), transparent 70%); filter: blur(6px); }

/* glass cards */
.glass { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid transparent; background-clip: padding-box; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 40%, rgba(110,231,183,0) 60%, rgba(147,197,253,.12)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; transition: opacity .35s; }
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(110,231,183,.10), transparent 40%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.glass:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.glass:hover::after { opacity: 1; }
.feature::before { display: none; } /* replaced by glass border */
.step, .feature, .split-card { overflow: hidden; }

/* icon slots */
.step-icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 0 12px rgba(110,231,183,.35)); }
.step-icon + .step-n { display: none; }          /* when a studio icon is present, hide the numeral */
.feat-icon { width: 52px; height: 52px; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 0 12px rgba(110,231,183,.35)); }

/* map glow + marquee */
.map-visual { position: relative; }
.map-glow { position: absolute; inset: -30% -20%; width: 140%; height: 160%; object-fit: cover; opacity: .55; pointer-events: none; z-index: -1; }
.marquee { margin-top: clamp(28px, 4vw, 44px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-size: .84rem; padding: 8px 14px; border-radius: 999px; background: rgba(196,181,253,.08); color: var(--lilac); border: 1px solid rgba(196,181,253,.16); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* first-week timeline */
.section-timeline { padding-top: clamp(40px, 5vw, 64px); }
.timeline { position: relative; padding: 8px 0 0; }
.tl-svg { width: 100%; height: 120px; display: block; overflow: visible; }
.tl-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 2; }
.tl-path { fill: none; stroke: url(#tlg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; filter: drop-shadow(0 0 8px rgba(110,231,183,.5)); transition: stroke-dashoffset 2.4s var(--ease); }
.timeline.in .tl-path { stroke-dashoffset: 0; }
.tl-nodes { list-style: none; margin: 0; padding: 0; position: static; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl-node { position: static; padding-top: 6px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.timeline.in .tl-node { opacity: 1; transform: none; }
.timeline.in .tl-node:nth-child(1) { transition-delay: .4s; } .timeline.in .tl-node:nth-child(2) { transition-delay: 1s; } .timeline.in .tl-node:nth-child(3) { transition-delay: 1.6s; } .timeline.in .tl-node:nth-child(4) { transition-delay: 2.2s; }
.tl-dot { position: absolute; left: var(--x); top: calc(8px + var(--y) * 0.75px); width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--mint); box-shadow: 0 0 0 6px rgba(110,231,183,.12), 0 0 18px rgba(110,231,183,.6); transform: translate(-50%, -50%); }
.tl-day { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.tl-t { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; }
.tl-d { display: block; font-size: .92rem; color: var(--text-2); }
@media (max-width: 820px) {
  .tl-svg { display: none; }
  .tl-nodes { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--card-border); margin-left: 8px; }
  .tl-node { position: relative; padding: 4px 0 26px 26px; }
  .tl-dot { position: absolute; left: 0; top: 10px; transform: translate(-50%, 0); }
}

/* magnetic buttons */
.magnetic { transition: transform .25s var(--ease), box-shadow .2s var(--ease), background .2s; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .grain, .mesh, .ring, .marquee-track { animation: none; }
  .tl-path { transition: none; stroke-dashoffset: 0; }
  .tl-node { opacity: 1; transform: none; transition: none; }
  .glass:hover { transform: none; }
}

/* pricing + FAQ on one row */
.duo { display: grid; gap: 40px; align-items: stretch; justify-items: center; }
.duo > .section { padding: 0; max-width: 520px; width: 100%; margin: 0; display: flex; flex-direction: column; }
.duo .section-head { max-width: none; margin-bottom: 22px; text-align: center; }
.duo .section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.duo .price-card { margin: 0; max-width: none; flex: 1; display: flex; }
.duo .price-main { padding: 26px 26px 24px; display: flex; flex-direction: column; width: 100%; }
.duo .price { font-size: 2.9rem; }
.duo .price .cur { font-size: 1.3rem; }
.duo .price-trial { margin: 8px 0 18px; font-size: .88rem; }
.duo .price-list { gap: 8px; font-size: .92rem; margin-bottom: 20px; }
.duo .price-main .btn { margin-top: auto; padding: 12px 20px; min-height: 46px; }
.duo .faq { max-width: none; flex: 1; background: var(--card); border: 1px solid var(--card-border); border-radius: 28px; padding: 6px 26px; }
.duo .faq details:first-child { border-top: 0; }
.duo .faq details:last-child { border-bottom: 0; }
.duo .faq summary { padding: 15px 36px 15px 0; font-size: 1rem; }
.duo .faq summary::after { top: 11px; }
.duo .faq p { font-size: .95rem; margin-bottom: 16px; }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* hero phone: in-screen notification + trend pill (replaces floating cards) */
.ps-notif { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-2); background: rgba(147,197,253,.10); border: 1px solid rgba(147,197,253,.22); border-radius: 10px; padding: 8px 10px; margin-bottom: 4px; }
.ps-notif strong { color: var(--text); font-weight: 600; }
.ps-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); flex: none; }
.ps-trend { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .78rem; padding: 8px 10px; border-radius: 10px; background: rgba(196,181,253,.08); border: 1px solid rgba(196,181,253,.18); }
.ps-tag { color: var(--lilac); font-weight: 500; }
.ps-delta { color: var(--mint); font-weight: 600; }
.phone { transform: rotate(-2deg); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.ps-label { margin-top: 10px; }

/* header sign-in link (Sep 22) */
.nav-signin { color: var(--text-2); font-size: .95rem; margin-right: 14px; white-space: nowrap; }
.nav-signin:hover { color: var(--text); text-decoration: none; }
@media (max-width: 600px) { .nav-signin { margin-right: 8px; } }

/* =========================================================
   REBUILD — Sep 23, 2026: programs, Empathy, paces, phone mock
   ========================================================= */
.section-head .lead { margin-bottom: 0; max-width: 40em; }

/* hero phone: the Today dashboard */
.phone-screen { gap: 9px; }
.ps-strong { font-size: .86rem; color: var(--text); margin: 2px 0 0; line-height: 1.35; font-weight: 500; }
.ps-fine { font-size: .7rem; color: var(--muted); margin: 3px 0 0; line-height: 1.35; }
.ps-budget { display: flex; gap: 12px; align-items: center; background: rgba(110,231,183,.07); border: 1px solid rgba(110,231,183,.22); border-radius: 14px; padding: 10px 12px; }
.ps-budget .ps-label { margin: 0; }
.ps-ring { flex: none; width: 58px; height: 58px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--mint) 0 40%, rgba(255,255,255,.08) 40% 100%); position: relative; }
.ps-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #14171f; }
.ps-ring-n { position: relative; font-family: var(--serif); font-size: 1.15rem; line-height: 1; color: var(--text); }
.ps-ring-l { position: relative; font-size: .55rem; color: var(--muted); margin-top: 2px; }
.ps-card { background: rgba(255,255,255,.04); border: 1px solid var(--card-border); border-radius: 14px; padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.ps-card .ps-label { margin: 0; }
.ps-card .ps-title { font-size: 1.3rem; }
.ps-card .ps-cta { margin-top: 4px; padding: 10px; font-size: .86rem; }
.ps-practice { background: rgba(147,197,253,.06); border-color: rgba(147,197,253,.2); }
.ps-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ps-pill { font-size: .66rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-2); }
.ps-empathy { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-2); background: rgba(196,181,253,.08); border: 1px solid rgba(196,181,253,.2); border-radius: 12px; padding: 9px 10px; line-height: 1.35; }
.ps-empathy strong { color: var(--text); font-weight: 600; }
.ps-emp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 10px var(--lilac); flex: none; }
@media (max-width: 520px) { .ps-card .ps-title { font-size: 1.15rem; } .ps-body { font-size: .84rem; } }

/* programs grid */
.programs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .programs { grid-template-columns: repeat(3, 1fr); } }
.program { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 24px 22px 22px; display: flex; flex-direction: column; overflow: hidden; }
.program-n { font-family: var(--serif); font-size: 1.6rem; color: var(--mint); line-height: 1; margin-bottom: 12px; }
.program h3 { font-size: 1.25rem; margin-bottom: 8px; }
.program p { margin: 0; color: var(--text-2); font-size: .96rem; }
.program-meta { margin-top: auto !important; padding-top: 14px; font-size: .78rem !important; color: var(--muted) !important; letter-spacing: .04em; }

/* Empathy section */
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 26px; color: var(--text-2); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--mint); }
.check-list em { color: var(--text); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { margin: 0; max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.45; }
.msg.me { align-self: flex-end; background: rgba(110,231,183,.14); border: 1px solid rgba(110,231,183,.28); color: var(--text); border-bottom-right-radius: 6px; }
.msg.emp { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--card-border); color: var(--text-2); border-bottom-left-radius: 6px; }
.rec-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rec { font-size: .82rem; padding: 7px 12px; border-radius: 999px; background: rgba(110,231,183,.1); color: var(--mint); border: 1px solid rgba(110,231,183,.3); }
.chat-card .map-foot p { margin-bottom: 0; }

/* three paces */
.paces { display: grid; gap: 18px; }
@media (min-width: 820px) { .paces { grid-template-columns: repeat(3, 1fr); } }
.pace { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); padding: 28px 26px; overflow: hidden; }
.pace-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0 0 12px; font-weight: 500; }
.pace h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pace p { margin: 0; color: var(--text-2); font-size: .97rem; }
.pace-mid { background: linear-gradient(180deg, rgba(110,231,183,.08), rgba(255,255,255,.03)); }

/* features: three across when wide, plus a strip of small facts */
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.features-strip span { font-size: .84rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-2); background: rgba(255,255,255,.03); }
.split-card em { color: var(--text); font-style: italic; }
/* phone mock sizes to its content (the Today screen is taller than the old single card) */
.phone { height: auto; min-height: 560px; }
.phone-screen { height: auto; }
.ps-empathy { margin-top: 6px; }
@media (max-width: 520px) { .phone { width: 290px; min-height: 0; } .hero-visual { padding: 12px 0 28px; } }
.brand { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: .9rem; } .nav { gap: 10px; } }
/* icon slots keep every card's heading on the same line whether or not a studio icon exists yet */
.icon-slot { height: 70px; display: flex; align-items: flex-end; margin-bottom: 4px; }
.icon-slot .step-icon, .icon-slot .feat-icon { margin-bottom: 10px; }
.icon-slot .step-n { margin-bottom: 10px; }
.map-glow { -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 68%); mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 68%); }
/* Shock, Sep 22: the glow behind the Empathy card washed out the text — toned down, kept */
.map-glow { opacity: .22; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 62%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 62%); }
.chat-card { background: rgba(14,17,24,.92); }
.chat-card .msg.emp { background: rgba(255,255,255,.07); }
