/* ==========================================================================
   BlessSoul — homepage v11
   The coded phones (phones.css) are imported into a low-priority layer, so
   everything in this file wins over them without !important. Page classes are
   prefixed s- so they never collide with the phone styles.
   ========================================================================== */
@import url("phones.css?v=12") layer(phones);

:root {
  --serif: ui-serif, "New York", "Newsreader", Georgia, serif; /* the app's own serif on Apple devices, Newsreader elsewhere */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;

  --bg: #FBF6EE;
  --bg-2: #F6EEE2;
  --ink: #1F160E;
  --ink-2: #5A4939;
  --ink-3: #8D7B6A;
  --hair: rgba(31, 22, 14, .09);
  --surface: rgba(255, 255, 255, .62);
  --surface-2: rgba(255, 255, 255, .86);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .9);
  --lift: 0 1px 2px rgba(60, 35, 10, .05), 0 24px 60px -32px rgba(90, 55, 20, .32);
  --gold: #D9820A;
  --gold-2: #B86A00;
  --fire: linear-gradient(100deg, #FF6A1A 0%, #E8890E 45%, #FFB84D 100%);
  --lav: #8E63D2;
  --b1: #FFD3A8; --b2: #E6D8FF; --b3: #FFE2EC;
}
:root[data-theme="dark"] {
  --bg: #0C0910;
  --bg-2: #120D18;
  --ink: #F6EFE7;
  --ink-2: #C9BCAF;
  --ink-3: #8F8276;
  --hair: rgba(255, 255, 255, .08);
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(28, 21, 34, .92);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .07);
  --lift: 0 1px 2px rgba(0, 0, 0, .3), 0 30px 70px -34px rgba(0, 0, 0, .9);
  --gold: #FFA45C;
  --gold-2: #FFB877;
  --lav: #B996FF;
  --b1: #4A2410; --b2: #261848; --b3: #3A1430;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: rgba(217, 130, 10, .28); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.s-wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ---------- Atmosphere: three slow blobs, dust/stars, film grain ---------- */
.s-bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.s-bg i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .75; will-change: transform; }
.s-bg .b1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: var(--b1); animation: drift 34s ease-in-out infinite alternate; }
.s-bg .b2 { width: 46vw; height: 46vw; right: -12vw; top: 8vh; background: var(--b2); animation: drift 41s ease-in-out -14s infinite alternate-reverse; }
.s-bg .b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -22vw; background: var(--b3); opacity: .5; animation: drift 47s ease-in-out -6s infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }
.s-dust { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.s-grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .s-grain { mix-blend-mode: screen; opacity: .035; }

/* ---------- Type ---------- */
.s-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.s-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.s-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.012em; margin: 18px 0 18px; text-wrap: balance; }
.s-sub { margin: 0; color: var(--ink-2); font-size: 1.12rem; line-height: 1.6; max-width: 560px; text-wrap: pretty; }
.s-head { text-align: center; max-width: 760px; margin-bottom: 72px; }
.s-head .s-sub { margin: 0 auto; }
.s-sub a { color: var(--gold); border-bottom: 1px solid currentColor; }

/* ---------- Buttons ---------- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #fff; background: var(--fire); box-shadow: 0 10px 26px -12px rgba(217, 110, 10, .7), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.s-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(217, 110, 10, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.s-btn-sm { padding: 10px 18px; font-size: .88rem; }
.s-store img { height: 54px; width: auto; transition: transform .3s var(--ease); }
.s-store:hover img { transform: translateY(-2px); }

/* ---------- Nav: a floating glass bar ---------- */
.s-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.s-nav-in {
  pointer-events: auto; width: min(1120px, calc(100% - 28px)); margin: 0 auto; height: 62px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 999px;
  border: 1px solid transparent; transition: background .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.s-nav.scrolled .s-nav-in { background: color-mix(in srgb, var(--bg) 72%, transparent); border-color: var(--hair); box-shadow: var(--lift), var(--rim); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); }
.s-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.s-brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(217, 110, 10, .7); }
.s-links { display: flex; gap: 6px; }
.s-links a { padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: color .25s, background .25s; }
.s-links a:hover, .s-links a.on { color: var(--ink); background: var(--surface); }
.s-nav-r { display: flex; align-items: center; gap: 8px; }
.s-theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.s-theme:hover { transform: rotate(25deg); }
.s-theme svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.s-theme .moon, :root[data-theme="dark"] .s-theme .sun { display: none; }
:root[data-theme="dark"] .s-theme .moon { display: block; }
.s-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); cursor: pointer; }
.s-burger span { display: block; width: 16px; height: 1.6px; margin: 4px auto; background: var(--ink); transition: transform .3s var(--ease); }
.s-burger[aria-expanded="true"] span:first-child { transform: translateY(2.8px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:last-child { transform: translateY(-2.8px) rotate(-45deg); }
.s-menu { pointer-events: auto; display: none; width: min(1120px, calc(100% - 28px)); margin: 8px auto 0; padding: 10px; border-radius: 26px; background: var(--surface-2); border: 1px solid var(--hair); box-shadow: var(--lift); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.s-menu a:not(.s-btn) { display: block; padding: 14px 16px; font-weight: 500; border-bottom: 1px solid var(--hair); }
.s-menu .s-btn { width: 100%; margin-top: 10px; }
.s-menu.open { display: block; animation: menuIn .35s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv[data-d="1"] { transition-delay: .08s; } .rv[data-d="2"] { transition-delay: .16s; } .rv[data-d="3"] { transition-delay: .24s; } .rv[data-d="4"] { transition-delay: .32s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.s-hero { position: relative; padding: 150px 0 70px; min-height: min(100svh, 980px); display: flex; align-items: center; }
.s-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 30px; align-items: center; }
.s-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--rim); }
.s-pill .live { width: 8px; height: 8px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); animation: live 2.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.s-pill .sep { opacity: .4; } .s-pill .muted { color: var(--ink-3); }
.s-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 26px 0 26px; }
.s-h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.s-h1 .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease-out) forwards; }
.s-h1 .ln:nth-child(2) > span { animation-delay: .1s; } .s-h1 .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.s-h1 em { font-style: italic; font-weight: 500; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.s-lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 520px; margin: 0; text-wrap: pretty; }
.s-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.s-qr-mini { display: flex; align-items: center; gap: 12px; font-size: .8rem; line-height: 1.35; color: var(--ink-3); }
.qr { display: block; color: #1F160E; background: #fff; border-radius: 12px; padding: 7px; box-shadow: var(--lift); }
.qr svg { display: block; width: 100%; height: 100%; }
.s-qr-mini .qr { width: 54px; height: 54px; padding: 5px; border-radius: 10px; }
.s-tonight { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--rim); font-size: .88rem; }
.s-tonight .m { width: 34px; height: 34px; border-radius: 50%; background: #120C1C; display: grid; place-items: center; overflow: hidden; }
.s-tonight .m img { width: 30px; height: 30px; }
.s-tonight b { display: block; font-weight: 600; }
.s-tonight small { display: block; color: var(--ink-3); font-size: .78rem; }

.s-hero-vis { position: relative; height: 720px; }
.s-halo { position: absolute; left: 58%; top: 46%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 90, .55), rgba(255, 190, 120, .18) 55%, transparent 75%); filter: blur(10px); }
:root[data-theme="dark"] .s-halo { background: radial-gradient(closest-side, rgba(255, 140, 66, .32), rgba(142, 99, 210, .16) 55%, transparent 75%); }
.s-orbit { position: absolute; left: 58%; top: 46%; width: 620px; height: 620px; transform: translate(-50%, -50%); }
.s-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--hair); }
.s-orbit i:last-child { inset: 70px; border-style: dashed; opacity: .7; animation: spin 120s linear infinite; }
.s-phone-hold { position: absolute; left: 58%; top: 0; transform: translateX(-50%); }
.s-phone-hold .device { width: 312px; }
.s-hero-vis .device.float { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* hero phone opens like the app: SplashScreenView (logo springs in, name, tagline; white in light, black in dark), then Home */
#heroDevice .splash { position: absolute; inset: 0; z-index: 8; display: none; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 40px; background: #fff; color: #000; border-radius: inherit; }
:root[data-theme="dark"] #heroDevice .splash { background: #000; color: #fff; }
#heroDevice .splash img { width: 118px; height: 118px; filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .1)); opacity: 0; transform: scale(.6); }
:root[data-theme="dark"] #heroDevice .splash img { filter: none; }
#heroDevice .splash b { margin-top: 10px; font-family: ui-rounded, "SF Pro Rounded", var(--sans); font-weight: 700; font-size: 31px; letter-spacing: -.01em; opacity: 0; }
#heroDevice .splash span { margin-top: 4px; font-family: ui-rounded, "SF Pro Rounded", var(--sans); font-size: 12px; opacity: 0; color: rgba(0, 0, 0, .6); }
:root[data-theme="dark"] #heroDevice .splash span { color: rgba(255, 255, 255, .7); }
.booting #heroDevice .splash, .boot-wait #heroDevice .splash { display: flex; }
.booting #heroDevice .splash img { animation: splLogo .8s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.booting #heroDevice .splash b { animation: splFade .6s ease-out .4s forwards; }
.booting #heroDevice .splash span { animation: splFade .6s ease-out .6s forwards; }
.booting.splash-out #heroDevice .splash { animation: splOut .35s ease-in-out forwards; }
@keyframes splLogo { to { opacity: 1; transform: none; } }
@keyframes splFade { to { opacity: 1; } }
@keyframes splOut { to { opacity: 0; visibility: hidden; } }
/* Home arrives: greeting, then each card slides up in turn */
.booting #heroDevice .scroller > *, .booting #heroDevice .tabbar, .boot-wait #heroDevice .scroller > *, .boot-wait #heroDevice .tabbar { opacity: 0; transform: translateY(18px); }
.home-in #heroDevice .scroller > *, .home-in #heroDevice .tabbar { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.home-in #heroDevice .scroller > :nth-child(2) { transition-delay: .04s; } .home-in #heroDevice .scroller > :nth-child(3) { transition-delay: .08s; }
.home-in #heroDevice .scroller > :nth-child(4) { transition-delay: .18s; } .home-in #heroDevice .scroller > :nth-child(5) { transition-delay: .28s; }
.home-in #heroDevice .scroller > :nth-child(6) { transition-delay: .38s; } .home-in #heroDevice .scroller > :nth-child(7) { transition-delay: .48s; }
.home-in #heroDevice .scroller > :nth-child(n+8) { transition-delay: .56s; } .home-in #heroDevice .tabbar { transition-delay: .3s; }

/* hero notifications: app moments pop in beside the phone, stay a moment, and give way to the next */
.s-pop { position: absolute; z-index: 7; width: 270px; pointer-events: none; }
.s-pop.p1 { right: -6%; top: 70px; }
.s-pop.p2 { right: -10%; top: 300px; }
.s-pop.p3 { right: -4%; top: 540px; }
.s-pop.p4 { left: -2%; top: 150px; }
.s-pop.p5 { left: -6%; top: 390px; }
.s-pop.p6 { left: 0; top: 610px; }
.note-pop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--hair); box-shadow: var(--lift), var(--rim); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-size: .84rem; line-height: 1.3; opacity: 0; transform: translateY(14px) scale(.9); filter: blur(4px); transition: opacity .5s var(--ease-out), transform .6s cubic-bezier(.34, 1.56, .64, 1), filter .5s var(--ease-out); }
.note-pop.in { opacity: 1; transform: none; filter: none; }
.note-pop.out { opacity: 0; transform: translateY(-12px) scale(.96); filter: blur(4px); transition-timing-function: var(--ease), var(--ease), var(--ease); }
.note-pop .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: var(--tint, rgba(217, 130, 10, .14)); overflow: hidden; }
.note-pop .ic img { width: 100%; height: 100%; object-fit: cover; }
.note-pop .ic.moon { background: #120C1C; border-radius: 50%; } .note-pop .ic.moon img { width: 32px; height: 32px; object-fit: contain; }
.note-pop .ic.dove { background: radial-gradient(circle, #6B3F14, #2A170B); } .note-pop .ic.dove img { width: 30px; height: 30px; object-fit: contain; }
.note-pop .ic .ring { width: 26px; height: 26px; }
.note-pop .tx { flex: 1; min-width: 0; }
.note-pop .tx b { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.note-pop .tx b small { flex: none; font-weight: 500; font-size: .7rem; color: var(--ink-3); }
.note-pop .tx span { display: block; color: var(--ink-3); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* QR: hover or tap the small code and it opens large, with the page dimmed behind it */
.js-qr { cursor: zoom-in; }
.s-qr-mini .qr { transition: transform .35s var(--ease-out), box-shadow .35s; }
.s-qr-mini:hover .qr, .s-qr-mini:focus-visible .qr { transform: scale(1.08); }
.s-qr-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.s-qr-modal[hidden] { display: none; }
.s-qr-backdrop { position: absolute; inset: 0; background: rgba(12, 9, 16, .45); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); opacity: 0; transition: opacity .35s var(--ease); }
.s-qr-box { position: relative; width: min(380px, 100%); padding: 34px 30px 30px; border-radius: 32px; text-align: center; background: var(--surface-2); border: 1px solid var(--hair); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6), var(--rim); opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .35s var(--ease-out), transform .5s cubic-bezier(.34, 1.4, .64, 1); }
:root[data-theme="dark"] .s-qr-box { background: #1A1322; }
.s-qr-modal.open .s-qr-backdrop { opacity: 1; }
.s-qr-modal.open .s-qr-box { opacity: 1; transform: none; }
.s-qr-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair); background: var(--surface); cursor: pointer; font-size: .85rem; color: var(--ink-2); }
.s-qr-logo { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px; box-shadow: 0 8px 18px -10px rgba(217, 110, 10, .8); }
.s-qr-box h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.s-qr-box p { margin: 6px 0 22px; color: var(--ink-3); font-size: .95rem; }
.qr.big { width: 240px; height: 240px; margin: 0 auto 22px; padding: 16px; border-radius: 24px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 12%, transparent), 0 20px 40px -20px rgba(0, 0, 0, .4); }
.s-qr-box .s-store img { margin: 0 auto; height: 48px; }
body.qr-open { overflow: hidden; }
/* while peeking, the dialog lets the pointer through so it stays on the small code underneath */
.s-qr-modal.peek, .s-qr-modal.peek * { pointer-events: none; }

/* ---------- Methods strip ---------- */
.s-strip { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--hair); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.s-strip-track { display: flex; width: max-content; gap: 56px; animation: bsMarquee 48s linear infinite; }
.s-strip span { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink-3); white-space: nowrap; letter-spacing: -.01em; }
.s-strip b { font-weight: 500; color: var(--ink); font-style: italic; }
.s-strip span::after { content: "✦"; margin-left: 56px; font-size: .8rem; color: var(--gold); vertical-align: middle; font-style: normal; }
@keyframes bsMarquee { to { transform: translateX(calc(-50% - 28px)); } }
.s-strip:hover .s-strip-track { animation-play-state: paused; }

/* ==========================================================================
   HOW IT WORKS — copy scrolls, one phone stays and changes screens
   ========================================================================== */
.s-how { padding: 150px 0 60px; position: relative; }
.s-how-grid { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 0 40px; position: relative; }
.s-rail { position: sticky; top: calc(50vh - 130px); align-self: start; list-style: none; margin: 0; padding: 0 0 0 18px; height: 260px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--hair); }
.s-rail::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: var(--rp, 0%); background: linear-gradient(var(--gold), var(--lav)); transition: height .6s var(--ease); }
.s-rail li { position: relative; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-3); transition: color .4s; cursor: pointer; }
.s-rail li i { position: absolute; left: -23px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink-3); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.s-rail li.on { color: var(--ink); }
.s-rail li.on i { background: var(--gold); border-color: var(--gold); transform: scale(1.3); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent); }
.s-steps { margin: 0; }
.s-step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.s-step.on { opacity: 1; }
.s-num { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.s-num em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink-3); margin-left: 6px; }
.s-subtabs { display: flex; gap: 6px; margin-top: 22px; }
.s-subtabs span { position: relative; overflow: hidden; font-size: .84rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: var(--ink-3); border: 1px solid var(--hair); transition: color .4s, background .4s, border-color .4s; }
.s-subtabs span.on { color: var(--ink); background: var(--surface-2); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.s-subtabs span.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; animation: subFill var(--hold, 11s) linear forwards; }
@keyframes subFill { from { transform: scaleX(0); } }
.s-step > h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; margin: 16px 0 18px; text-wrap: balance; }
.s-step > p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 470px; text-wrap: pretty; }
.s-tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-tags li { font-size: .82rem; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--ink-2); box-shadow: var(--rim); }
.s-slot { display: none; }

.s-stage-col { position: relative; }
.s-stage { position: sticky; top: max(84px, calc(50vh - 330px)); height: 720px; }
.s-stage-glow { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--sg, rgba(255, 170, 90, .45)), transparent 72%); filter: blur(20px); transition: background 1s var(--ease); }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(40px) scale(.96); filter: blur(8px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out), visibility 0s .9s; }
.scene.on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .7s var(--ease-out) .1s, transform .9s var(--ease-out) .1s, filter .7s var(--ease-out) .1s, visibility 0s; }
.scene.past { transform: translateY(-40px) scale(.96); }
.scene .device { width: 318px; transform: none; }
.scene .device.float { animation: bob 8s ease-in-out infinite; }
/* the widgets that sit beside a phone */
.scene .sched-widget, .scene .portal-widget, .scene .spark-widget { left: auto; right: auto; bottom: 70px; z-index: 6; animation: bob 9s ease-in-out -4s infinite; }
.scene .sched-widget, .scene .portal-widget { left: -40px; }
.scene .spark-widget { right: -40px; }

/* small fixes for generated phone content */
.pm-ic img, .pw-ic img { width: 100%; height: 100%; object-fit: contain; }
.pm-ic.has-img { background: #120C1C; overflow: hidden; }
img.is-new { opacity: .22; filter: grayscale(1); }

/* ==========================================================================
   TONIGHT'S SKY — always night
   ========================================================================== */
.s-sky { position: relative; margin: 0; padding: 170px 0 130px; color: #F4ECFF; isolation: isolate; }
/* the night is a layer that feathers into the page at both ends, so there is no seam in either theme */
.s-sky::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(70% 45% at 30% 50%, #2A1650 0, transparent 70%), radial-gradient(60% 40% at 90% 70%, #3A1630 0, transparent 70%), #0A0712;
  -webkit-mask-image: linear-gradient(transparent 0, #000 200px, #000 calc(100% - 160px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 200px, #000 calc(100% - 160px), transparent 100%); }
.s-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.s-sky .s-stars { -webkit-mask-image: linear-gradient(transparent 0, #000 220px, #000 calc(100% - 180px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 220px, #000 calc(100% - 180px), transparent 100%); }
/* a soft dark pool behind the words, so stars never sit under text */
.s-sky-copy, .s-final-copy { position: relative; }
.s-sky-copy::before, .s-final-copy::before { content: ""; position: absolute; inset: -70px -90px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(10, 7, 18, .82), rgba(10, 7, 18, .5) 60%, transparent); }
.s-sky-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.s-sky .s-kicker { color: #FFB877; }
.s-sky .s-sub { color: rgba(244, 236, 255, .72); }
.s-moon-big { position: relative; width: min(420px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.s-moon-big .glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 205, 255, .28), transparent 70%); animation: glowBreathe 8s ease-in-out infinite; }
.s-moon-big img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(210, 195, 255, .25)); animation: moonturn 60s ease-in-out infinite alternate; }
.s-moon-big.new img { opacity: .18; }
@keyframes glowBreathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes moonturn { to { transform: rotate(6deg) scale(1.02); } }
.s-moon-cap { text-align: center; margin-top: 26px; }
.s-moon-cap b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; letter-spacing: -.01em; }
.s-moon-cap small { color: rgba(244, 236, 255, .6); font-size: .9rem; }
.s-events { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.s-events li { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.s-events .d { text-align: center; line-height: 1.1; }
.s-events .d b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.s-events .d small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 236, 255, .55); }
.s-events .t { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.s-events .t .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c, #8B5CF6) 26%, transparent); color: #fff; font-size: 14px; overflow: hidden; }
.s-events .t .ic img { width: 30px; height: 30px; }
.s-events .t small { display: block; font-size: .78rem; color: #FFC98F; letter-spacing: .1em; }
.s-events .c { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(244, 236, 255, .85); white-space: nowrap; }

/* ==========================================================================
   FEATURES — bento
   ========================================================================== */
.s-feat { padding: 70px 0 120px; }
.s-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.b { position: relative; overflow: hidden; border-radius: 30px; padding: 30px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift), var(--rim); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.b:hover { transform: translateY(-4px); }
.b-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); border: 1px solid var(--hair); }
.b h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -.005em; line-height: 1.2; }
.b p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.b-widgets { grid-column: span 2; grid-row: span 2; background: radial-gradient(90% 70% at 70% 100%, var(--b2), transparent 70%), radial-gradient(70% 60% at 0% 100%, var(--b1), transparent 70%), var(--surface); }
.b-island { grid-column: span 2; }
.b-theme { grid-column: span 2; flex-direction: row; align-items: center; }
.b-guest, .b-private { justify-content: flex-start; }

/* home-screen fragment: the app's three widgets (Portal small, Schedule small, Spark medium) */
.hs { flex: 1; display: grid; place-items: center; }
.hs-grid { display: grid; grid-template-columns: 158px 158px; grid-template-rows: 158px 158px; gap: 18px; }
.w-portal, .w-sched, .w-md { border-radius: 26px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .55); overflow: hidden; }
.w-portal { color: #fff; padding: 13px 13px 11px; display: flex; flex-direction: column; background: radial-gradient(80% 60% at 50% 0%, rgba(234, 88, 12, .28), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(180, 83, 9, .18), transparent 70%), #12091A; }
.w-portal small { font-size: .58rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.w-portal b { margin-top: 3px; font-size: .78rem; font-weight: 600; line-height: 1.2; }
.w-portal em { font-style: normal; font-size: .52rem; color: rgba(255, 255, 255, .4); margin-top: 3px; }
.w-next { margin-top: auto; display: flex; align-items: center; gap: 6px; }
.w-next .nm { flex: 1; font-size: .62rem; font-weight: 700; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.w-next .st { flex: none; font-size: .52rem; font-weight: 700; padding: 3px 6px; border-radius: 999px; background: linear-gradient(135deg, #EA580C, #D97706); }
.w-foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: .5rem; color: rgba(255, 255, 255, .5); }
.w-foot .stars { color: #FACC15; letter-spacing: 1px; } .w-foot .stars i { font-style: normal; color: rgba(255, 255, 255, .18); }
.w-sched { padding: 14px; display: flex; flex-direction: column; color: #1C1C1E; background: linear-gradient(135deg, rgba(102, 126, 234, .12), rgba(118, 75, 162, .05)), #fff; }
:root[data-theme="dark"] .w-sched { color: #F5F5F7; background: linear-gradient(135deg, rgba(102, 126, 234, .14), rgba(118, 75, 162, .06)), #111114; }
.w-top { display: flex; align-items: center; gap: 5px; font-size: .58rem; }
.w-top .ic { color: #DB3DDB; font-size: .85rem; } .w-top .cat { flex: 1; opacity: .55; font-weight: 500; } .w-top .now { color: #34C759; font-weight: 700; }
.w-sched b { margin-top: 10px; font-size: .9rem; font-weight: 700; line-height: 1.2; }
.w-rem { margin-top: auto; display: flex; flex-direction: column; }
.w-rem small { font-size: .56rem; opacity: .55; }
.w-rem span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: .85rem; color: #F97316; font-variant-numeric: tabular-nums; }
.w-bar { height: 4px; border-radius: 4px; margin-top: 7px; background: rgba(127, 127, 127, .18); overflow: hidden; }
.w-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #DB3DDB, #9B72D6); border-radius: 4px; transition: width 1s linear; }
.w-md { grid-column: span 2; background: #1A1033; color: #fff; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.w-md .tp { align-self: flex-start; font-size: .66rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #9B72D6; }
.w-md p { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: #fff; }
.w-md .ft { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.w-md .ft i { font-style: normal; color: #FF5C8A; }

/* dynamic island */
.island { align-self: center; display: flex; align-items: center; gap: 14px; width: min(100%, 380px); padding: 14px 20px 14px 14px; border-radius: 999px; background: #000; color: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); animation: island 6s var(--ease) infinite; }
.island .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #DB3DDB, #9B72D6); font-size: 16px; }
.island .t { flex: 1; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.island .t small { display: block; font-weight: 500; font-size: .76rem; color: rgba(255, 255, 255, .55); }
.island .tm { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.25rem; color: #FFB877; }
@keyframes island { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }

/* angel — the app's AngelDove over a gold time, as in AngelMomentView */
.angel-art { position: relative; height: 150px; display: grid; place-items: center; }
.angel-art .burst { position: absolute; top: 4px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, var(--halo-a), var(--halo-b) 60%, transparent); filter: blur(6px); }
.angel-art img { position: absolute; top: 0; width: 120px; filter: var(--dove-shadow); }
/* the app's StardustTrail: a sparkle ribbon draws up from the bottom of the card to the dove, a burst of light blooms, the dove appears */
.b-angel { isolation: isolate; }
:root[data-theme="dark"] .angel { background-image: linear-gradient(180deg, #FFF7E6, #F2C780); }
.angel-trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.angel-art .flash { position: absolute; top: -26px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 220, 163, .85) 45%, transparent); opacity: 0; transform: scale(.3); pointer-events: none; }
.angel-art.play .flash { animation: flashBloom .6s ease-out forwards; }
.angel-art.play img { animation: doveIn .55s cubic-bezier(.34, 1.56, .64, 1) both; }
.angel-art.wait img, .angel-art.wait .burst { opacity: 0; }
@keyframes flashBloom { 0% { opacity: 0; transform: scale(.3); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(2); } }
@keyframes doveIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
/* light: a warm cream card like the app's light Angel Moment; the white dove sits in a deeper gold glow so it reads */
.b-angel { --spark: 199,112,32; --spark-glow: 230,153,69; --spark-k: .5; --halo-a: rgba(242,179,77,.55); --halo-b: rgba(230,153,69,.2); --dove-shadow: drop-shadow(0 8px 14px rgba(184,106,0,.45)) drop-shadow(0 0 2px rgba(150,90,20,.55));
  background: radial-gradient(90% 70% at 50% 18%, #FFE3BC 0, #FFF2DF 55%, #FFF8EE 100%); border-color: rgba(217,130,10,.18); }
:root[data-theme="dark"] .b-angel { --spark: 255,236,200; --spark-glow: 255,220,160; --spark-k: .55; --halo-a: rgba(255,220,163,.6); --halo-b: rgba(230,153,69,.18); --dove-shadow: drop-shadow(0 10px 18px rgba(230,153,69,.45));
  color: #FFF4E2; background: radial-gradient(90% 70% at 50% 18%, #6B3F14 0, #2A170B 62%, #160C06 100%); border-color: rgba(255,210,150,.14); }
:root[data-theme="dark"] .b-angel p { color: rgba(255,236,210,.72); }
.angel { position: absolute; bottom: 0; font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #F2B34D, #C77020); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* notifications */
.notes { display: grid; gap: 8px; }
.note { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--hair); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .5); font-size: .78rem; line-height: 1.3; }
.note img { width: 30px; height: 30px; border-radius: 8px; }
.note b { display: flex; justify-content: space-between; font-size: .76rem; }
.note b small { font-weight: 500; color: var(--ink-3); }
.note span { color: var(--ink-2); }
.note.n2 { transform: scale(.95); opacity: .7; margin-top: -4px; }

.b-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.b-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; }
.b-theme { background: linear-gradient(110deg, #FFF6EA 0 50%, #120C1C 50% 100%); }
.b-theme .b-copy { max-width: 46%; }
:root[data-theme="dark"] .b-theme h3, :root[data-theme="dark"] .b-theme p { color: #2B1F16; }
.b-toggle { margin-left: auto; margin-right: 6%; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .08); color: #F4ECFF; cursor: pointer; font-weight: 600; font-size: .9rem; }
.b-toggle .k { width: 46px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; }
.b-toggle .k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFB84D; transition: transform .4s var(--ease); }
:root[data-theme="dark"] .b-toggle .k { background: #8E63D2; }
:root[data-theme="dark"] .b-toggle .k::after { transform: translateX(18px); background: #fff; }

/* ==========================================================================
   FOUNDER, FAQ, FINAL, FOOTER
   ========================================================================== */
.s-founder { padding: 60px 0 140px; }
.s-story { position: relative; overflow: hidden; border-radius: 40px; padding: 80px 80px 70px; background: radial-gradient(70% 60% at 0% 0%, color-mix(in srgb, var(--b1) 70%, transparent), transparent 70%), radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--b2) 70%, transparent), transparent 70%), var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift), var(--rim); }
.s-story-head { max-width: 900px; }
.s-story-quote { margin: 22px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.s-story-sub { display: block; margin-top: 14px; font-size: .52em; line-height: 1.45; color: var(--ink-2); max-width: 640px; }
.s-story-quote em { font-style: italic; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.s-story-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; margin-top: 56px; padding-top: 50px; border-top: 1px solid var(--hair); }
.s-story-note p { margin: 0 0 18px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.75; max-width: 560px; text-wrap: pretty; }
.s-lead-in { display: block; margin-bottom: 6px; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
.s-sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.s-sign img { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 8px 18px -10px rgba(217, 110, 10, .8); }
.s-sign b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.s-sign small { color: var(--ink-3); font-size: .85rem; }

/* the cycle: dream → manifest → act → stay on track → back to a new dream */
.s-cycle { position: relative; width: min(320px, calc(100% - 60px)); aspect-ratio: 1; margin: 0 auto; }
.s-cycle-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; }
.s-cycle .cy { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 9px; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap; background: var(--surface-2); border: 1px solid var(--hair); box-shadow: var(--lift), var(--rim); transform: translate(-50%, -50%); }
.s-cycle .cy i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85rem; color: #fff; background: var(--fire); }
/* the side labels stack icon over text, so they stay narrow and never reach the words in the middle */
.s-cycle .c1 { left: 50%; top: 12%; } .s-cycle .c3 { left: 50%; top: 88%; } .s-cycle .c2 { left: 90%; top: 50%; } .s-cycle .c4 { left: 10%; top: 50%; }
.s-cycle .c2, .s-cycle .c4 { flex-direction: column; gap: 5px; padding: 9px 12px 10px; border-radius: 20px; font-size: .82rem; }
.s-cycle .c2 i { background: linear-gradient(135deg, #DB3DDB, #9B72D6); } .s-cycle .c3 i { background: linear-gradient(135deg, #34C759, #2FB38A); } .s-cycle .c4 i { background: linear-gradient(135deg, #4F7CFF, #8E63D2); }
.s-cycle .cy { animation: cyGlow 8s ease-in-out infinite; } .s-cycle .c2 { animation-delay: 2s; } .s-cycle .c3 { animation-delay: 4s; } .s-cycle .c4 { animation-delay: 6s; }
@keyframes cyGlow { 0%, 20%, 100% { box-shadow: var(--lift), var(--rim); } 8% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 22%, transparent), var(--lift); } }
.cy-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: 34%; text-align: center; font-family: var(--serif); font-size: .95rem; line-height: 1.35; color: var(--ink-3); }
.cy-mid b { color: var(--ink); font-weight: 500; }

.s-faq { padding: 60px 0 140px; }
.s-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.s-faq-head { position: sticky; top: 120px; }
.s-qa details { border-bottom: 1px solid var(--hair); }
.s-qa details:first-child { border-top: 1px solid var(--hair); }
.s-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.12rem; font-weight: 500; }
.s-qa summary::-webkit-details-marker { display: none; }
.s-qa summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair); background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23D9820A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .4s var(--ease); }
.s-qa details[open] summary::after { transform: rotate(45deg); }
.s-qa p { margin: -6px 0 24px; color: var(--ink-2); max-width: 620px; }
.s-qa a { color: var(--gold); border-bottom: 1px solid currentColor; }

.s-final { padding: 0 0 120px; }
.s-final-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: 90px 70px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; color: #F4ECFF; background: radial-gradient(60% 80% at 15% 0%, #5A2A10 0, transparent 70%), radial-gradient(60% 80% at 100% 100%, #3B2370 0, transparent 70%), #0E0A16; box-shadow: 0 50px 100px -50px rgba(40, 20, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .08); }
.s-final-moon { position: absolute; right: 24%; top: -90px; width: 240px; opacity: .16; z-index: -1; filter: blur(.5px); }
.s-final .s-kicker { color: #FFB877; }
.s-final .s-h2 { margin-bottom: 14px; }
.s-final-copy p { margin: 0; max-width: 470px; color: rgba(244, 236, 255, .72); font-size: 1.1rem; }
.s-final-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.s-android { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(244, 236, 255, .6); }
.s-android img { width: 18px; height: 18px; }
.s-final-qr { text-align: center; }
.s-final-qr .qr { transition: transform .35s var(--ease-out); } .s-final-qr:hover .qr { transform: scale(1.04); }
.s-final-qr .qr { width: 168px; height: 168px; padding: 14px; border-radius: 26px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.s-final-qr small { display: block; margin-top: 16px; font-size: .8rem; color: rgba(244, 236, 255, .55); }

.s-foot { padding: 70px 0 40px; border-top: 1px solid var(--hair); }
.s-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.s-foot p { margin: 12px 0 18px; color: var(--ink-3); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.s-foot h4 { margin: 4px 0 14px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.s-foot-grid > div:not(:first-child) a { display: block; padding: 5px 0; color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.s-foot-grid a:hover { color: var(--gold); }
.s-foot .socials { display: flex; gap: 8px; }
.s-foot .socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); transition: background .25s, border-color .25s; }
.s-foot .socials a:hover { background: var(--surface); border-color: var(--gold); }
.s-foot .socials svg { width: 16px; height: 16px; fill: var(--ink-2); }
.s-foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: .82rem; color: var(--ink-3); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .s-how-grid { grid-template-columns: 1fr 1fr; }
  .s-rail { display: none; }
}
@media (max-width: 980px) {
  body { font-size: 16px; }
  .s-links, .s-nav-r > .s-btn { display: none; }
  .s-burger { display: block; }
  .s-hero { padding: 120px 0 40px; min-height: 0; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .s-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .s-cta { justify-content: center; }
  .s-qr-mini { display: none; }
  .s-hero-vis { height: auto; margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
  .s-halo, .s-orbit { left: 50%; top: 340px; }
  .s-phone-hold { position: relative; left: auto; transform: none; }
  .s-pop.p1 { right: 0; top: 60px; } .s-pop.p2 { right: -2%; top: 300px; } .s-pop.p3 { right: 2%; top: 530px; } .s-pop.p4 { left: 0; top: 180px; } .s-pop.p5 { left: -2%; top: 420px; } .s-pop.p6 { display: none; }

  .s-how { padding-top: 110px; }
  .s-how-grid { grid-template-columns: 1fr; }
  .s-stage-col { display: none; }
  .s-step { min-height: 0; opacity: 1; padding: 50px 0 30px; text-align: center; align-items: center; border-top: 1px solid var(--hair); }
  .s-step > p { margin: 0 auto; }
  .s-slot { text-align: left; }
  .s-tags { justify-content: center; }
  .s-subtabs { display: none; }
  .s-slot { display: block; position: relative; width: 100%; height: 700px; margin-top: 30px; }
  .s-slot .scene { opacity: 1; visibility: visible; transform: none; filter: none; }
  .s-slot .scene::before { content: ""; position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--sg, rgba(255, 170, 90, .4)), transparent 72%); z-index: -1; }
  .scene .sched-widget, .scene .portal-widget { left: 0; bottom: 30px; }
  .scene .spark-widget { right: 0; bottom: 30px; }

  .s-sky { padding: 140px 0 100px; }
  .s-sky-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .s-sky .s-sub { margin: 0 auto; }
  .s-events { text-align: left; }
  .s-bento { grid-template-columns: 1fr 1fr; }
  .b-widgets, .b-island, .b-theme { grid-column: span 2; }
  .b-widgets { grid-row: auto; }
  .s-faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .s-story { padding: 60px 36px 50px; }
  .s-story-body { grid-template-columns: 1fr; gap: 50px; }
  .s-faq-head { position: static; text-align: center; }
  .s-faq-head .s-sub { margin: 0 auto; }
  .s-final-card { grid-template-columns: 1fr; padding: 70px 30px; text-align: center; }
  .s-final-copy p { margin: 0 auto; }
  .s-final-cta { justify-content: center; }
  .s-final-qr { display: none; }
  .s-final-moon { right: -40px; }
  .s-foot-grid { grid-template-columns: 1fr 1fr; }
  .s-foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .s-wrap { width: calc(100% - 32px); }
  .s-nav { top: 10px; }
  .s-h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .s-lead { font-size: 1.06rem; }
  .s-head { margin-bottom: 40px; }
  .s-phone-hold .device { width: 290px; }
  .s-orbit, .s-halo { width: 440px; height: 440px; }
  .s-pop { width: 230px; } .note-pop { font-size: .76rem; padding: 10px 11px; } .note-pop .ic { width: 32px; height: 32px; }
  .s-pop.p1 { right: -6px; top: 40px; } .s-pop.p2 { right: -10px; top: 250px; } .s-pop.p3 { right: -4px; top: 470px; } .s-pop.p4 { left: -8px; top: 150px; } .s-pop.p5 { left: -10px; top: 360px; }
  .s-strip span { font-size: 1.2rem; }
  .s-slot { height: 580px; margin-top: 20px; }
  .s-slot .scene { transform: scale(.86); transform-origin: 50% 40%; }
  .scene .device { width: 300px; }
  .s-step { padding: 44px 0 0; }
  .s-step .s-tags { display: none; }
  .s-step .s-slot + .s-slot { margin-top: 0; }
  .scene .sched-widget, .scene .portal-widget, .scene .spark-widget { width: 230px; bottom: 10px; }
  .s-bento { grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-rows: auto; }
  .b-widgets, .b-island, .b-theme, .b-remind { grid-column: span 2; }
  .b-angel { grid-column: span 2; flex-direction: row; align-items: center; }
  .b-angel .angel-art { flex: none; width: 130px; }
  .b-guest, .b-private { padding: 20px; gap: 16px; }
  .b-guest h3, .b-private h3 { font-size: 1.1rem; }
  .b-guest p, .b-private p { font-size: .86rem; }
  .b { padding: 24px; border-radius: 26px; }
  .hs-grid { grid-template-columns: 136px 136px; grid-template-rows: 136px 136px; gap: 12px; }
  .w-md p { font-size: 1rem; }
  .b-theme { flex-direction: column; align-items: stretch; background: linear-gradient(180deg, #FFF6EA 0 55%, #120C1C 55% 100%); }
  .b-theme .b-copy { max-width: none; }
  .b-toggle { margin: 0 auto; }
    .s-qa summary { font-size: 1.02rem; padding: 20px 0; }
  .s-final-card { border-radius: 30px; }
  .s-story { padding: 44px 22px 40px; border-radius: 28px; }
  .s-cycle .cy { font-size: .78rem; padding: 7px 12px 7px 7px; } .s-cycle .cy i { width: 24px; height: 24px; }
  .cy-mid { font-size: .8rem; width: 36%; }
  .s-cycle { width: calc(100% - 40px); }
  .s-cycle .c2, .s-cycle .c4 { font-size: .72rem; padding: 7px 9px 8px; }
  .s-foot-grid { grid-template-columns: 1fr; }
  .s-foot-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; filter: none; }
  .s-h1 .ln > span { transform: none; }
}

/* Soul Spark like: the app's HeartBurstView — the heart fills red and a fan of red hearts flies up from it */
.sacts .like i { transition: color .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.sacts .like.on i { color: #FF3B30; transform: scale(1.18); }
.heart-fly { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 10; }
.heart-fly svg { position: absolute; left: 0; top: 0; fill: #FF3B30; filter: drop-shadow(0 0 3px rgba(255, 59, 48, .5)); transform: translate(-50%, -50%); }

/* the 369 card is on Day 4: three days kept, today open (filled once today's session is done) */
.pc-369 .pc-rail i.k { background: #DB3DDB; }
.pc-369 .pc-rail i.t { background: transparent; box-shadow: inset 0 0 0 1.5px #DB3DDB; }
.pc-369.done .pc-rail i.t { background: #DB3DDB; }

/* second goal ring on the Goals screen (static) */
.ring.g2 { width: 34px; height: 34px; background: conic-gradient(#4F7CFF var(--p, 0%), rgba(127,127,127,.18) 0); } .ring.g2::after { inset: 6px; }

/* habit calendar: a done day is green, today too, with its orange ring kept */
.cal i.today.on { background: #34C759; color: #fff; outline: 2px solid #FF8C42; outline-offset: 1px; }

/* final card: the belief line, in the serif, above the practical one */
.s-final-copy .s-final-line { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: #FFD7A8; max-width: 520px; text-wrap: balance; }
@media (max-width: 980px) { .s-final-copy .s-final-line { margin-left: auto; margin-right: auto; font-size: 1.25rem; } }
