/* Between the site's pages: a soft cross-fade where supported. */
@view-transition { navigation: auto; }
/* Lull: one calm screen. A soft grainy gradient, an iPhone in the middle telling the story, and only the links that matter. */
:root {
  --ink: #1f1a3d;
  --ink-2: #3d3760;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Quicksand", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.lp {
  min-height: 100svh;
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  background: #c4b8f0;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}
/* the sky: a fixed layer, so it never repeats or seams on long phone pages */
body.lp::before {
  content: ""; position: fixed; inset: -10%; z-index: -2; pointer-events: none;
  background-image:
    radial-gradient(55% 45% at 12% 28%, #c79ff0 0%, rgba(199, 159, 240, 0) 70%),
    radial-gradient(55% 45% at 88% 22%, #93bdf5 0%, rgba(147, 189, 245, 0) 70%),
    radial-gradient(60% 50% at 20% 85%, #f3a9c9 0%, rgba(243, 169, 201, 0) 70%),
    radial-gradient(60% 50% at 85% 80%, #a9b8f6 0%, rgba(169, 184, 246, 0) 70%),
    linear-gradient(180deg, #a8c3f3 0%, #c5b4f0 50%, #ebb3cf 100%);
  animation: lp-sky 30s ease-in-out infinite alternate;
}
@keyframes lp-sky { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(3%, 2%) scale(1.04); } }
/* Film grain over the sky: a small noise tile, blended so it shows on every colour, like a photo print. */
.lp-grain { display: none; }
body.lp::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("grain.png"); background-size: 256px 256px;
  mix-blend-mode: overlay; opacity: 0.55;
}

.lp-bar { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: calc(18px + env(safe-area-inset-top)) var(--pad) 0; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: 0.01em; }
.lp-logo svg { width: 26px; height: 26px; }
.lp-signin { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-size: 16px; font-weight: 500; transition: background 0.2s ease; }
.lp-signin:hover { background: rgba(255, 255, 255, 0.7); }
.lp-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; padding: 10px 4px; }

:root { --wrap: 1280px; --pad: clamp(16px, 4vw, 56px); }
/* Two even halves: the logo, the words and the footer share one left edge; the phone sits centred in the right half. */
.lp-stage {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto;
  min-height: calc(100svh - 72px);
  padding: 0 var(--pad) 24px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy phone";
  align-items: center; column-gap: clamp(56px, 8vw, 128px);
}
.phone { grid-area: phone; justify-self: center; text-align: left; }
.lp-title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.2; letter-spacing: -0.015em;
  color: var(--ink);
}
.lp-title span { display: block; white-space: nowrap; }
.lp-langs { margin: 22px 0 0; max-width: 30em; font-size: 15px; line-height: 1.6; letter-spacing: 0.01em; color: rgba(61, 55, 96, 0.62); animation: lp-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s backwards; }
.lp-langs { text-wrap: balance; }
.lp-langs span { white-space: nowrap; }
.lp-langs span:not(:last-child)::after { content: " ·"; }
.lp-btn { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 30px 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-size: 20px; font-weight: 500; cursor: pointer; box-shadow: 0 14px 34px rgba(31, 26, 61, 0.25); transition: transform 0.15s ease, box-shadow 0.2s ease; text-decoration: none; }
.lp-btn svg { width: 24px; height: 24px; }
.lp-btn:hover { box-shadow: 0 18px 40px rgba(31, 26, 61, 0.32); transform: translateY(-1px); }
.lp-btn:active { transform: scale(0.97); }
.lp-foot { position: fixed; z-index: 1; left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; gap: 22px; font-size: 14px; }
.lp-foot a { color: var(--ink-2); text-decoration: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 12px; }

/* Phones and narrow windows: one screen, no scrolling. The words and button on top, then the phone, cropped
   by a soft fade at the bottom, with the small links resting on it. */
@media (max-width: 900px) {
  body.lp:not(.how-page) { height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
  body.lp:not(.how-page) > .lp-bar { width: 100%; }
  .lp-stage {
    flex: 1; min-height: 0; width: 100%; overflow: hidden;
    display: flex; flex-direction: column; align-items: stretch; padding-top: 22px; padding-bottom: 0;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(#000 calc(100% - 140px), transparent 100%);
  }
  .lp-copy { flex: none; }
  .lp-stage > .phone { flex: none; align-self: center; margin-top: 30px; }
  .lp-title { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.18; }
  .lp-title span { display: inline; white-space: normal; }
  .lp-copy .lp-btn { margin-top: 20px; min-height: 46px; font-size: 17px; padding: 0 20px 0 16px; gap: 9px; box-shadow: 0 10px 24px rgba(31, 26, 61, 0.22); }
  .lp-copy .lp-btn svg { width: 19px; height: 19px; }
  .lp-langs { margin-top: 12px; font-size: 12.5px; line-height: 1.5; }
  .lp-signin { min-height: 34px; padding: 0 14px; font-size: 15px; }
  .lp-foot { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); justify-content: center; }
}

/* ---------- the iPhone (current Pro shape: thin even bezels, a titanium rim, a small Dynamic Island) ---------- */
.phone {
  --h: min(calc(100svh - 96px), 920px);
  position: relative; flex: none;
  height: var(--h); width: calc(var(--h) * 0.478);
  padding: calc(var(--h) * 0.0055);
  border-radius: calc(var(--h) * 0.1);
  background: linear-gradient(150deg, #8c94ad 0%, #4b546f 18%, #2c3249 50%, #4b546f 82%, #8c94ad 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 40px 90px rgba(47, 34, 110, 0.32), 0 10px 30px rgba(47, 34, 110, 0.18);
}
/* buttons: action + volume on the left, side button on the right, flush with the rim */
.phone::before, .phone::after { content: ""; position: absolute; width: calc(var(--h) * 0.005); border-radius: 2px; background: linear-gradient(90deg, #3a4159, #6b738d); }
.phone::before { left: calc(var(--h) * -0.004); top: 17%; height: 4.5%; box-shadow: 0 calc(var(--h) * 0.075) 0 0 #4b5370, 0 calc(var(--h) * 0.145) 0 0 #4b5370; }
.phone::after { right: calc(var(--h) * -0.004); top: 26%; height: 11%; }
.ph-screen {
  position: relative; height: 100%; overflow: hidden; background: #fff;
  border: calc(var(--h) * 0.0085) solid #05060a;
  border-radius: calc(var(--h) * 0.0945);
  font-size: calc(var(--h) * 0.0215);
  isolation: isolate; transform: translateZ(0); /* keep the animated screens inside the rounded corners */
}
.ph-island { position: absolute; z-index: 5; top: calc(var(--h) * 0.012); left: 50%; transform: translateX(-50%); width: 27%; height: calc(var(--h) * 0.029); border-radius: 999px; background: #000; }
.scr { position: absolute; inset: 0; }

/* Messages: Apple's regular text font, real header, bubble tails, the + / iMessage / mic bar, home indicator */
.sb { position: absolute; z-index: 6; top: 1.05em; left: 0; right: 0; height: 2.6em; display: flex; align-items: center; justify-content: space-between; padding: 0 1.75em 0 2.25em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-size: 1em; font-weight: 600; color: #000; pointer-events: none; transition: color .4s ease; }
.sb-icons { display: flex; align-items: center; gap: 0.32em; }
.sb-icons svg { height: 0.72em; width: auto; fill: currentColor; }
.sb-icons svg:last-child { height: 0.78em; }
.home-ind { position: absolute; z-index: 6; bottom: 0.55em; left: 50%; transform: translateX(-50%); width: 36%; height: 0.32em; border-radius: 999px; background: #000; }
.lp-chat { background: #fff; color: #000; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.chat-head { position: relative; padding: 4.1em 1em 0.55em; display: flex; flex-direction: column; align-items: center; gap: 0.2em; background: rgba(246, 246, 248, 0.94); border-bottom: 1px solid #e3e3e8; }
.chat-head .avatar { width: 2.75em; height: 2.75em; }
.chat-head .back { position: absolute; left: 0.9em; top: 5.15em; width: 0.65em; height: 1.1em; color: #0a7aff; }
.chat-head .who { display: inline-flex; align-items: center; gap: 0.2em; font-size: 0.75em; font-weight: 500; }
.chat-head .who svg { width: 0.5em; height: 0.8em; color: #9a9aa0; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 0.45em; padding: 0.9em 0.85em; }
.b { position: relative; isolation: isolate; max-width: 76%; padding: 0.42em 0.78em 0.48em; border-radius: 1.15em; line-height: 1.3; font-size: 1em; }
.b.in { align-self: flex-start; background: #e9e9eb; }
.b.out { align-self: flex-end; background: #0a7aff; color: #fff; margin-top: 0.9em; }
/* the little tails */
.b::before, .b::after { content: ""; position: absolute; bottom: 0; z-index: -1; height: 1.1em; }
.b.in::before { left: -0.42em; width: 1.2em; background: #e9e9eb; border-bottom-right-radius: 0.95em; }
.b.in::after { left: -0.62em; width: 0.62em; background: #fff; border-bottom-right-radius: 0.6em; }
.b.out::before { right: -0.42em; width: 1.2em; background: #0a7aff; border-bottom-left-radius: 0.95em; }
.b.out::after { right: -0.62em; width: 0.62em; background: #fff; border-bottom-left-radius: 0.6em; }
.tb { position: absolute; top: -1em; left: -1em; width: 1.9em; height: 1.9em; border-radius: 50%; background: #e9e9eb; border: 0.15em solid #fff; display: grid; place-items: center; }
.tb svg { width: 0.95em; height: 0.95em; }
.typing { align-self: flex-start; display: flex; gap: 0.25em; padding: 0.7em 0.85em; border-radius: 1.15em; background: #e9e9eb; grid-area: 1 / 1; justify-self: start; align-self: start; }
.stack { display: grid; }
.stack > .b { grid-area: 1 / 1; }
.typing i { width: 0.45em; height: 0.45em; border-radius: 50%; background: #9a9aa2; animation: lp-dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lp-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-0.2em); opacity: 1; } }
.chat-input { display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.8em 2.1em; }
.chat-input .plus { width: 2.05em; height: 2.05em; flex: none; border-radius: 50%; background: #e9e9eb; color: #7c7c82; display: grid; place-items: center; }
.chat-input .plus svg { width: 0.95em; height: 0.95em; }
.chat-input .field { flex: 1; height: 2.05em; border-radius: 999px; border: 1px solid #d4d4da; display: flex; align-items: center; justify-content: space-between; padding: 0 0.75em 0 0.85em; font-size: 0.95em; color: #a2a2a8; }
.chat-input .field svg { width: 0.62em; height: 0.92em; color: #9a9aa0; }
.stamp { align-self: center; font-size: 0.75em; color: #6c6c70; margin: 0.6em 0 0.1em; }
.card { position: relative; align-self: flex-start; width: 72%; border-radius: 1.15em; overflow: hidden; background: #e9e9eb; }
.card-art { height: 6.4em; display: grid; place-items: center; background: linear-gradient(160deg, #2b2a63, #6a55b0 55%, #c07ea9); }
.card-art svg { width: 2.6em; height: 2.6em; }
.card-t { padding: 0.5em 0.8em 0.65em; line-height: 1.25; }
.card-t b { display: block; font-size: 0.95em; }
.card-t span { font-size: 0.8em; color: #6c6c70; }
.lp-tap { position: absolute; left: 50%; top: 45%; width: 4em; height: 4em; border-radius: 50%; background: rgba(255, 255, 255, 0.9); pointer-events: none; }

/* Tonight's meditation */
.lp-play { color: #f1ecff; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4em 1.4em 2.4em; background: linear-gradient(180deg, #232257 0%, #3d3584 38%, #7a5aa6 72%, #c58aae 100%); }

.lp-play .grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; mix-blend-mode: soft-light; pointer-events: none; }
.pl-k { margin: 0; font-size: 0.75em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(241, 236, 255, 0.75); }
.pl-title { margin: 0.4em 0 0; font-size: 1.55em; font-weight: 700; line-height: 1.2; }
.pl-sub { margin: 0.3em 0 0; font-size: 0.95em; color: rgba(241, 236, 255, 0.8); }
.orb-wrap { position: relative; flex: 1; display: grid; place-items: center; width: 100%; }
.orb-ring { position: absolute; width: 12.5em; height: 12.5em; }
.orb { width: 9em; height: 9em; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 70%); animation: lp-breathe 8s ease-in-out infinite; }
@keyframes lp-breathe { 0%, 100% { transform: scale(0.92); } 45% { transform: scale(1.06); } }
.orb .cue { font-size: 0.85em; font-weight: 600; color: rgba(241, 236, 255, 0.85); }
.orb .time { font-size: 1.9em; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-ctrl { display: flex; align-items: center; gap: 1.4em; }
.pl-ctrl span { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.pl-ctrl span:nth-child(1), .pl-ctrl span:nth-child(3) { width: 2.7em; height: 2.7em; }
.pl-ctrl span:nth-child(2) { width: 3.8em; height: 3.8em; background: #f1ecff; color: #2b2a63; }
.pl-ctrl svg { width: 45%; height: 45%; }

/* ---------- joining: a small sheet over the page ---------- */
/* "Text Lull" sheet: frosted glass over the same pastel sky, the headline's type, the same dark pill. */
.lp-sheet {
  border: 1px solid rgba(255, 255, 255, 0.7); padding: 0; margin: auto auto 0; width: min(100%, 440px); max-width: 100%;
  border-radius: 32px 32px 0 0; color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(199, 159, 240, 0.35), rgba(199, 159, 240, 0) 70%),
    radial-gradient(80% 60% at 100% 100%, rgba(243, 169, 201, 0.3), rgba(243, 169, 201, 0) 70%),
    rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(30px) saturate(1.5); -webkit-backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: 0 30px 80px rgba(47, 34, 110, 0.28), 0 8px 24px rgba(47, 34, 110, 0.12);
}
@media (min-width: 600px) { .lp-sheet { margin: auto; border-radius: 32px; } .grabber { display: none; } }
.lp-sheet[open] { animation: lp-sheet-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes lp-sheet-in { from { transform: translateY(32px) scale(0.98); opacity: 0; } }
.lp-sheet::backdrop { background: rgba(31, 26, 61, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sheet-in { padding: 34px 32px calc(22px + env(safe-area-inset-bottom)); }
.grabber { width: 38px; height: 5px; border-radius: 3px; background: rgba(31, 26, 61, 0.15); margin: -20px auto 22px; }
.sheet-in h2 { margin: 0 0 8px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 32px; font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; }
.sheet-in p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.lp-field { margin-top: 26px; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(31, 26, 61, 0.08); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.lp-field:focus-within { border-color: rgba(31, 26, 61, 0.35); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6); }
.lp-field .cc { position: relative; display: inline-flex; align-items: center; gap: 5px; padding-right: 12px; border-right: 1px solid rgba(31, 26, 61, 0.12); white-space: nowrap; }
.lp-field .cc b { font-size: 19px; font-weight: 500; color: var(--ink-2); }
.lp-field .cc svg { width: 12px; height: 12px; color: var(--ink-2); opacity: 0.6; }
.lp-field .cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lp-field span { font-size: 19px; font-weight: 500; color: var(--ink-2); }
.lp-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 19px; color: var(--ink); outline: none; }
.lp-field input::placeholder { color: rgba(61, 55, 96, 0.45); }
.lp-fine { margin-top: 14px !important; font-size: 13px !important; line-height: 1.5 !important; color: rgba(61, 55, 96, 0.8) !important; }
.lp-fine a { color: var(--ink-2); text-underline-offset: 2px; }
.lp-err { min-height: 22px; margin-top: 6px !important; color: #b3261e !important; font-size: 15px !important; }
.sheet-in .lp-btn { width: 100%; justify-content: center; margin-top: 10px; }
.qr { position: relative; width: 232px; height: 232px; margin: 26px auto 0; padding: 18px; border-radius: 30px; background: #fff; box-shadow: 0 14px 34px rgba(47, 34, 110, 0.16); animation: lp-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.qr[hidden], .lp-or[hidden], #joined-link[hidden] { display: none; }
.qr-code, .qr-code svg { display: block; width: 100%; height: 100%; }
.qr-moon { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 6px #fff; }
.qr-moon svg { width: 30px; height: 30px; }
#joined .lp-btn { margin-top: 8px; }
.lp-close[hidden] { display: none; }
.lp-or { margin-top: 18px !important; text-align: center; font-size: 15px !important; color: var(--ink-2); }
.lp-copybtn { margin-left: 6px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(31, 26, 61, 0.08); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease; }
.lp-copybtn:hover { background: rgba(31, 26, 61, 0.14); }
.lp-copybtn:active { transform: scale(0.95); }
.lp-or span { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; user-select: all; }
.lp-close { display: block; width: 100%; margin-top: 8px; min-height: 44px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink-2); cursor: pointer; border-radius: 999px; }
.lp-close:hover { color: var(--ink); }

@media (max-width: 900px) {
  .phone { --h: min(78svh, 620px); }
}

/* ---------- How it works ---------- */
.how { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 48px var(--pad) 40px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.how-title { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.15; letter-spacing: -0.015em; animation: lp-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards; }
.how-steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.how-steps li, .how-good { counter-increment: step; position: relative; padding: 22px 24px 22px 76px; border-radius: 26px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 10px 30px rgba(47, 34, 110, 0.08); animation: lp-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.how-steps li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #f1ecff; font-size: 17px; font-weight: 600; }
.how-steps li:nth-child(1) { animation-delay: 0.35s; }
.how-steps li:nth-child(2) { animation-delay: 0.45s; }
.how-steps li:nth-child(3) { animation-delay: 0.55s; }
.how-steps li:nth-child(4) { animation-delay: 0.65s; }
.how-steps li:nth-child(5) { animation-delay: 0.75s; }
.how h2 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.how-steps p { margin: 4px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.how-good { margin-top: 28px; padding: 24px; animation-delay: 0.85s; }
.how-good ul { margin: 10px 0 0; padding: 0 0 0 20px; display: grid; gap: 8px; }
.how-good li { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.how-good strong { color: var(--ink); font-weight: 600; }
.how-cta { margin-top: 32px; }
.how-foot { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 8px var(--pad) calc(28px + env(safe-area-inset-bottom)); display: flex; gap: 22px; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.how-foot a { color: var(--ink-2); text-decoration: none; }
@media (max-width: 600px) {
  .how { padding-top: 28px; }
  .how-cta { min-height: 46px; font-size: 17px; padding: 0 20px 0 16px; gap: 9px; }
  .how-cta svg { width: 19px; height: 19px; }
  .how-steps li { padding: 18px 18px 18px 64px; }
  .how-steps li::before { left: 16px; top: 17px; width: 32px; height: 32px; font-size: 15px; }
}
/* On arrival, once: the two lines settle in one after the other, then the button, then the phone fades up.
   No looping on the words, so the phone stays the only thing moving. */
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lp-fade { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: none; } }
.lp-title span { animation: lp-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards; }
.lp-title span + span { animation-delay: 0.5s; }
.lp-stage > .phone { animation: lp-fade 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lp-play, .lp-tap, .lp-typing { opacity: 0; }
}
@keyframes lp-m1{0%,6%{opacity:0;transform:translateY(.5em) scale(.98)}9%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-m1{animation:lp-m1 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-m2{0%,17%{opacity:0;transform:translateY(.5em) scale(.98)}20%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-m2{animation:lp-m2 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-tb{0%,23%{opacity:0;transform:translateY(.5em) scale(.98)}26%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-tb{animation:lp-tb 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-m3{0%,35%{opacity:0;transform:translateY(.5em) scale(.98)}38%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-m3{animation:lp-m3 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-m4{0%,43%{opacity:0;transform:translateY(.5em) scale(.98)}46%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-m4{animation:lp-m4 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-m5{0%,47%{opacity:0;transform:translateY(.5em) scale(.98)}50%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-m5{animation:lp-m5 16s cubic-bezier(.2,.7,.2,1) infinite}
@keyframes lp-typing{0%,27%{opacity:0}29%,33.5%{opacity:1}35%,100%{opacity:0}}
.lp-typing{animation:lp-typing 16s ease infinite}
@keyframes lp-tap{0%,54%{opacity:0;transform:translate(-50%,-50%) scale(.3)}55.5%{opacity:.55;transform:translate(-50%,-50%) scale(.6)}58.5%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.6)}}
.lp-tap{animation:lp-tap 16s ease-out infinite}
@keyframes lp-chat{0%,57%{opacity:1;transform:none}61%,96%{opacity:0;transform:scale(.97)}99%,100%{opacity:1;transform:none}}
.lp-chat{animation:lp-chat 16s ease infinite}
@keyframes lp-play{0%,57%{opacity:0;transform:scale(1.03)}61%,93%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
.lp-play{animation:lp-play 16s ease infinite}
@keyframes lp-ring{0%,60%{stroke-dashoffset:276}95%,100%{stroke-dashoffset:205}}
.lp-ring{animation:lp-ring 16s linear infinite}
/* status bar and home indicator turn light while the dark meditation screen shows */
@keyframes lp-sbc { 0%, 57% { color: #000; } 61%, 95% { color: #fff; } 99%, 100% { color: #000; } }
@keyframes lp-hic { 0%, 57% { background: #000; } 61%, 95% { background: rgba(255, 255, 255, 0.85); } 99%, 100% { background: #000; } }
.sb { animation: lp-sbc 16s ease infinite; }
.home-ind { animation: lp-hic 16s ease infinite; }

/* ---------- Terms and Privacy: the same sky, the text on a calm card ---------- */
.legal-card { margin-top: 8px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.8); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 14px 40px rgba(47, 34, 110, 0.1); color: var(--ink); }
.legal-card h1 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.15; letter-spacing: -0.015em; }
.legal-card h1 + p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.legal-card h2 { margin: 30px 0 0; font-size: 18px; font-weight: 600; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-card p { margin: 8px 0 0; }
.legal-card ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-card strong { color: var(--ink); font-weight: 600; }
.legal-card a { color: var(--ink); text-underline-offset: 2px; }

/* "Back to Lull" on the inner pages: a quiet pill above the content. */
.lp-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 9px 16px 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(31, 26, 61, 0.08); color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color 0.2s ease, transform 0.16s ease; }
.lp-back:hover { background: rgba(255, 255, 255, 0.8); }
.lp-back:active { transform: scale(0.97); }
.lp-back svg { width: 8px; height: 13px; }
