/* Instille site styles, v2 "first light"
   Palette: morning haze, blush and apricot, with lake teal and sun gold as accents.
   Type: Fraunces (soft) for headlines, Figtree for reading. */

:root {
  --page: #fffbf7;
  --sand: #fbf1e8;
  --ink: #1f2b33;
  --ink-soft: #33424b;
  --slate: #56626b;
  --line: #ecdfd4;
  --lake: #1d6570;
  --lake-deep: #154f58;
  --sun: #ffc66e;
  --apricot: #ffd6b3;
  --blush: #f7ddd7;
  --haze: #d7e7f1;
  --focus: var(--lake);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --measure: 36rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --scene-h: clamp(15rem, min(40vw, 46vh), 33rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--lake); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 999px;
}
.skip:focus { top: 1rem; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
h2 { font-size: clamp(2rem, 3.8vw, 2.85rem); letter-spacing: -0.015em; text-wrap: balance; font-weight: 380; }
h3 { font-size: 1.32rem; line-height: 1.25; font-weight: 450; }
p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 var(--gutter); }

/* Top bar */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0;
}
.wordmark {
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.65rem; font-weight: 450; line-height: 1; color: var(--ink); text-decoration: none;
  letter-spacing: -0.005em;
}
.bar-link {
  color: var(--ink); font-weight: 600; font-size: 0.98rem; text-decoration: none;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(31, 43, 51, 0.22);
  background: rgba(255, 255, 255, 0.45);
}
.bar-link { transition: background-color 0.2s ease, transform 0.12s ease; }
.bar-link:hover { background: rgba(255, 255, 255, 0.85); }
.bar-link:active { transform: scale(0.97); }

/* Hero: a bright morning over a breathing lake */
.hero {
  position: relative;
  color: var(--ink);
  background: linear-gradient(180deg,
    #d7e7f1 0,
    #e6e6f1 calc(100% - var(--scene-h) * 0.95),
    #f6dfdc calc(100% - var(--scene-h) * 0.7),
    #ffdcbd calc(100% - var(--scene-h) * 0.48),
    #ffe9cf 100%);
  overflow: hidden;
}
.hero-copy {
  position: relative; z-index: 2;
  /* The first screen holds the whole hero on a short laptop window (Ani's MacBook Air, about 1278 x 655, Dec 1):
     the space above the headline, the headline's size and the room kept for the scene all give way with the window's height. */
  padding-top: clamp(1rem, min(5vw, 4.2vh), 3.5rem);
  padding-bottom: max(10.25rem, calc(var(--scene-h) * 0.56));
  max-width: 44rem;
}
.hero h1 {
  font-size: clamp(2.7rem, min(5.4vw, 9.4vh), 4.6rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 13ch; text-wrap: balance;   /* phones: the ads' line in three even lines */
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
}
.hero h1 .h1-br { display: none; }
@media (min-width: 48rem) {
  /* Two lines, broken after "app" (Ani, Dec 1: three lines read as heavy at the top of the page) */
  .hero h1 { max-width: none; width: max-content; white-space: nowrap; }
  .hero { min-height: min(100svh, 46rem); }   /* on a laptop the hero fills the first screen, so the next section doesn't peek in under the lake */
  .hero h1 .h1-br { display: inline; }
}
.lede {
  margin-top: 1.5rem;
  font-size: clamp(1.12rem, 1.9vw, 1.3rem);
  line-height: 1.55;
  max-width: 34rem;
  color: var(--ink-soft);
}
@media (min-width: 48rem) { .hero .lede { max-width: 42rem; margin-top: clamp(1rem, 3vh, 1.5rem); } .hero .signup { margin-top: clamp(1.25rem, 3.6vh, 2rem); } }
/* The ads' last line, set above the headline so a visitor from an ad lands on the words they just saw */
.tagline {
  margin: 0 0 1.1rem; font-size: clamp(1rem, 1.45vw, 1.1rem); font-weight: 500; line-height: 1.4;
  color: var(--lake); max-width: 34rem;
}

.scene {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: var(--scene-h);
  margin: 0;
}
.scene svg { width: 100%; height: 100%; overflow: visible; }

/* Waitlist form */
.signup { margin-top: 2rem; max-width: 34rem; }
.field-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.field-row input[type="email"] {
  flex: 1 1 15rem; min-width: 0;
  font: inherit; font-size: 1.05rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(31, 43, 51, 0.18); border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(31, 43, 51, 0.06);
}
.field-row input[type="email"]::placeholder { color: #6f7880; }
.btn {
  flex: 0 0 auto;
  font: inherit; font-weight: 600; font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  border: 0; border-radius: 999px;
  background: var(--lake); color: #fff;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 0.2s ease, box-shadow 0.3s ease, transform 0.12s ease;
}
.btn:hover { background: var(--lake-deep); box-shadow: 0 10px 26px -12px rgba(21, 79, 88, 0.75), 0 0 0 4px rgba(255, 198, 110, 0.38); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
@media (max-width: 29.99rem) { .field-row > * { flex-basis: 100%; } }
.btn-quiet {
  font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(31, 43, 51, 0.3); background: #fff; color: var(--ink);
}
.btn-quiet { transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.12s ease; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-quiet:active { transform: scale(0.97); }
.btn-quiet.copied { background: #e3f0f0; border-color: var(--lake); color: var(--lake-deep); }
.btn-quiet.copied .copy-label::before {
  content: ""; display: inline-block; width: 0.32rem; height: 0.62rem; margin: 0 0.5rem 0.1rem 0.05rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  animation: tick 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
@keyframes tick { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }
.fine { margin-top: 0.8rem; font-size: 0.92rem; color: var(--slate); }
.form-msg { margin-top: 0.7rem; font-weight: 600; color: var(--ink); }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* After joining */
.joined {
  max-width: 34rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 10px 40px -18px rgba(31, 43, 51, 0.35);
}
.joined[hidden] { display: none; }
.joined-title { font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 400; }
.joined-mark { width: 2.6rem; height: 2.6rem; margin-bottom: 0.9rem; fill: none; stroke: var(--lake); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.joined h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.joined p { margin-top: 0.55rem; }
.invite-link { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.invite-link input {
  flex: 1 1 15rem; min-width: 0; font: inherit; font-size: 0.98rem;
  padding: 0.7rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--sand); color: var(--ink);
}
.progress { display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem; }
.lights { display: inline-flex; gap: 0.4rem; flex: 0 0 auto; }
.lights i { width: 0.85rem; height: 0.85rem; border-radius: 50%; border: 2px solid #c9b9ab; background: transparent; }
.lights i.on { background: var(--sun); border-color: #e9a93f; animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.lights i.on:nth-child(2) { animation-delay: 0.12s; }
.lights i.on:nth-child(3) { animation-delay: 0.24s; }
.count { font-size: 0.98rem; color: var(--slate); }

.questions { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.questions > p:first-child { margin-bottom: 1.2rem; }
.questions fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.questions legend { font-weight: 600; margin-bottom: 0.55rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.choices label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 0.95rem;
}
.choices input { accent-color: var(--lake); margin: 0; }
.choices label:has(input:checked) { background: #e3f0f0; border-color: var(--lake); }

/* Sections */
.section { padding: var(--space) 0; }
.section + .section { padding-top: 0; }
.tint { background: var(--sand); padding: var(--space) 0; }
.tint + .section { padding-top: var(--space); }
.split { display: grid; gap: 2rem 4rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr); align-items: start; }
}
.split > div > p { max-width: var(--measure); }
.big { font-size: clamp(1.15rem, 1.9vw, 1.32rem); line-height: 1.6; color: var(--ink); }
.split p:not(.big):not(.source) { color: var(--ink-soft); }
/* Footnote: set well apart from the copy, small, under a short rule */
.split p.source { margin-top: clamp(3rem, 6vw, 4.75rem); font-size: 0.8rem; line-height: 1.5; color: var(--slate); max-width: 30rem; }
.source::before { content: ""; display: block; width: 2.5rem; height: 1px; background: #d9cabd; margin-bottom: 0.75rem; }
.source a { color: var(--slate); }
.source:target { color: var(--ink); }
.source:focus { outline: none; }
.source.flash { animation: noteflash 1.8s ease-out; border-radius: 8px; }
@keyframes noteflash { 0%, 30% { background: rgba(255, 214, 179, 0.6); box-shadow: 0 0 0 8px rgba(255, 214, 179, 0.6); } 100% { background: rgba(255, 214, 179, 0); box-shadow: 0 0 0 8px rgba(255, 214, 179, 0); } }
@media (prefers-reduced-motion: reduce) { .source.flash { animation: none; } }
/* Anchored sections clear the sliding top bar */
[id] { scroll-margin-top: 5rem; }

/* The ritual, drawn as a trail with six stops */
.ritual { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.ritual li { position: relative; padding: 0 0 1.7rem 2.3rem; }
.ritual li::before {
  content: ""; position: absolute; left: 0.4rem; top: 0.45rem; width: 0.85rem; height: 0.85rem;
  border-radius: 50%; background: var(--page); border: 2px solid var(--lake);
}
.tint .ritual li::before { background: var(--sand); }
.ritual li:first-child::before { background: var(--sun); border-color: #e9a93f; }
.ritual li::after {
  content: ""; position: absolute; left: 0.82rem; top: 1.5rem; bottom: 0.1rem;
  border-left: 2px dotted #c9b9ab;
}
.ritual li:last-child::after { display: none; }
.ritual h3 { font-size: 1.22rem; }
.ritual p { margin-top: 0.25rem; color: var(--slate); text-wrap: pretty; }
@media (min-width: 60rem) {
  .ritual { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
  .ritual li { padding: 2.3rem 0 0; }
  .ritual li::before { left: 0; top: 0; }
  .ritual li::after { left: 1.3rem; right: -1.2rem; top: 0.38rem; bottom: auto; border-left: 0; border-top: 2px dotted #c9b9ab; }
}

/* Pricing from Dec 2: the price ladder, drawn as the ritual's trail. The sun waits at the far end. */
.ladder { margin-top: 2.75rem; }
.ladder li:first-child::before { background: var(--page); border-color: var(--lake); }
.ladder li:last-child::before { background: var(--sun); border-color: #e9a93f; box-shadow: 0 0 0 6px rgba(255, 198, 110, 0.22); }
.ladder .rung {
  display: block; font-size: 0.78rem; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--lake);
}
.ladder .price {
  display: block; margin-top: 0.35rem; font-family: var(--serif); font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(1.5rem, 2.3vw, 1.8rem);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--ink);
}
.ladder .price small { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0; color: var(--slate); }
.ladder .cond { margin-top: 0.5rem; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); max-width: 17rem; }
@media (min-width: 60rem) { .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.promise { margin-top: 1.9rem; max-width: var(--measure); color: var(--ink-soft); }   /* no coloured left rule: a templated tell (Dec 1) */
#pricing .fine { max-width: var(--measure); }
.nw { white-space: nowrap; }
/* A date-gated answer follows its hidden twin: no extra gap */
.faq-body > p[hidden] + p { margin-top: 0; }

/* Four highlights under the ritual: small illustrated cards */
.facts { margin: 3.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.fact {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #fffaf4 100%);
  border: 1px solid rgba(236, 223, 212, 0.95); border-radius: 22px;
  padding: 1.35rem 1.5rem 1.45rem;
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(31, 43, 51, 0.04), 0 14px 34px -26px rgba(31, 43, 51, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.fact::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5.6rem; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 214, 179, 0.38), rgba(255, 214, 179, 0) 70%);
}
.fact-sound::before { background: radial-gradient(120% 100% at 0% 0%, rgba(215, 231, 241, 0.75), rgba(215, 231, 241, 0) 70%); }
.fact-programs::before { background: radial-gradient(120% 100% at 0% 0%, rgba(247, 221, 215, 0.6), rgba(247, 221, 215, 0) 70%); }
.fact-sol::before { background: radial-gradient(120% 100% at 0% 0%, rgba(255, 198, 110, 0.32), rgba(255, 198, 110, 0) 70%); }
.fact:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(31, 43, 51, 0.05), 0 22px 40px -24px rgba(31, 43, 51, 0.4); }
.fact > * { position: relative; }
.fact-art { height: 5.4rem; display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.fact-label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--lake);
}
.fact p { margin: 0; line-height: 1.6; max-width: var(--measure); text-wrap: pretty; }
.lede, .big { text-wrap: pretty; }   /* no one-word last lines (Ani, Nov 30) */

/* Length: five choices, three lit */
.mins { display: inline-flex; align-items: center; gap: 0.4rem; }
.mins b {
  display: inline-grid; place-items: center; min-width: 2.35rem; height: 2.35rem; padding: 0 0.5rem;
  border-radius: 999px; border: 1.5px solid #e2d3c5; background: #fff;
  font-weight: 600; font-size: 0.95rem; color: var(--slate);
}
.mins b.on {
  min-width: 2.9rem; height: 2.9rem; font-size: 1.15rem; color: var(--ink);
  background: radial-gradient(circle at 40% 35%, #fff6dd 0, #ffd98a 60%, #ffc66e 100%);
  border-color: #e9a93f; box-shadow: 0 0 0 6px rgba(255, 198, 110, 0.22);
}
.mins em { font-style: normal; font-size: 0.85rem; color: var(--slate); margin-left: 0.15rem; }
/* Your length (Ani, Nov 30: the unlabeled rings read as blank): today's three minutes lit, and the track running on past it,
   fading out, for the longer practices (lengths aren't listed while they're in test, HQ Nov 30). On reveal the lit part
   fills, then the track draws out to the right. */
.len { display: flex; align-items: center; width: 100%; max-width: 21rem; }
.len-on {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: baseline; gap: 0.3rem;
  padding: 0.55rem 1.05rem 0.6rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  background: radial-gradient(circle at 35% 30%, #fff6dd 0, #ffd98a 65%, #ffc66e 100%);
  border: 1.5px solid #e9a93f; box-shadow: 0 0 0 6px rgba(255, 198, 110, 0.22);
}
.len-on b { font-size: 1.3rem; line-height: 1; color: var(--ink); }
.len-more {
  flex: 1; height: 0.55rem; margin-left: -0.5rem; border-radius: 0 999px 999px 0;
  background:
    radial-gradient(circle, #cdb197 0 0.17rem, transparent 0.18rem) 0.9rem 50% / 1.25rem 100% repeat-x,
    linear-gradient(90deg, rgba(255, 217, 138, 0.75), rgba(244, 228, 212, 0.55) 30%, rgba(244, 228, 212, 0));
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent);
}

/* Moving sound: a light circling a pair of headphones */
.orbit { width: 9.75rem; height: 4.7rem; overflow: visible; }
.orbit .ring { fill: none; stroke: #b9d2df; stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; }
.orbit .r2 { stroke: #9cc0cf; }
.orbit .phones * { fill: none; stroke: var(--lake); stroke-width: 2.2; stroke-linecap: round; }
.orbit .phones rect { fill: var(--haze); }
.orbit .note { fill: var(--sun); stroke: #e9a93f; stroke-width: 1.2; }
.orbit .spin { transform: rotate(-50deg); }
.orbit .counter { transform: rotate(50deg); }

/* Programs: a step for every day */
.tracks { display: grid; gap: 0.55rem; width: 100%; max-width: 22rem; }
.track { display: grid; gap: 0.3rem; }
.track-name { font-size: 0.8rem; font-weight: 600; color: var(--ink); line-height: 1; }
.track-row { display: flex; align-items: center; gap: 0.55rem; }
.track-row small { flex: 0 0 auto; font-size: 0.78rem; font-weight: 500; color: var(--slate); line-height: 1; white-space: nowrap; }
.dots { display: grid; gap: 3px; }
.dots.d10 { grid-template-columns: repeat(10, minmax(0, 1fr)); flex: 0 1 11rem; gap: 5px; }
.dots.d30 { grid-template-columns: repeat(30, minmax(0, 1fr)); flex: 1 1 auto; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--lake); max-width: 0.75rem; }
.dots.d30 i { background: #e9a06a; }
.dots.d20 { grid-template-columns: repeat(20, minmax(0, 1fr)); flex: 1 1 auto; gap: 4px; }
.dots.d20 i { background: #e9a06a; }

/* Your guide: Sol's light and a voice */
.sol-orb {
  flex: 0 0 auto; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #fffdf3 0, #ffe2a2 34%, #ffc66e 58%, rgba(255, 198, 110, 0) 72%);
}
.voice { display: inline-flex; align-items: center; gap: 4px; height: 2.4rem; }
.voice i { display: block; width: 4px; height: 100%; border-radius: 4px; background: var(--lake); opacity: 0.85; transform-origin: center; }
.voice i:nth-child(1) { transform: scaleY(0.3); }
.voice i:nth-child(2) { transform: scaleY(0.6); }
.voice i:nth-child(3) { transform: scaleY(0.9); }
.voice i:nth-child(4) { transform: scaleY(0.55); }
.voice i:nth-child(5) { transform: scaleY(0.8); }
.voice i:nth-child(6) { transform: scaleY(0.4); }
.voice i:nth-child(7) { transform: scaleY(0.25); }

@media (prefers-reduced-motion: no-preference) {
  /* Cards rise in after the ritual has drawn itself */
  html.motion .facts .fact { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease; }
  html.motion .facts.in .fact { opacity: 1; transform: none; }
  html.motion .facts.in .fact:hover { transform: translateY(-3px); }
  html.motion .facts .fact:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s; }
  html.motion .facts .fact:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s; }
  html.motion .facts .fact:nth-child(4) { transition-delay: 0.3s, 0.3s, 0s; }

  /* Length: the choices pop in, then three glows */
  html.motion .facts .mins b { transform: scale(0.6); opacity: 0; transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s ease; }
  html.motion .facts.in .mins b { transform: none; opacity: 1; }
  html.motion .facts.in .mins b:nth-child(2) { transition-delay: 0.45s; }
  html.motion .facts.in .mins b:nth-child(3) { transition-delay: 0.52s; }
  html.motion .facts.in .mins b:nth-child(4) { transition-delay: 0.59s; }
  html.motion .facts.in .mins b:nth-child(5) { transition-delay: 0.66s; }
  html.motion .facts .len-on { transform: scale(0.6); opacity: 0; transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.35s, opacity 0.3s ease 0.35s; }
  html.motion .facts.in .len-on { transform: none; opacity: 1; animation: glowring 2.4s ease-in-out 1.6s infinite; }
  html.motion .facts .len-more { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s; }
  html.motion .facts.in .len-more { clip-path: inset(0 0 0 0); }
  html.motion .facts.in .mins b.on { transition-delay: 0.35s; animation: glowring 2.4s ease-in-out 1.2s infinite; }

  /* Sound: the light keeps circling */
  html.motion .facts.in .orbit .spin { animation: spin 7s linear infinite; }
  html.motion .facts.in .orbit .counter { animation: spin 7s linear infinite reverse; }
  html.motion .facts.in .orbit .r1 { animation: ringdrift 12s linear infinite; }

  /* Programs: the days fill in, one step at a time */
  html.motion .facts .dots i { transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); transition-delay: calc(0.5s + var(--i) * 45ms); }
  html.motion .facts .dots.d30 i { transition-delay: calc(0.7s + var(--i) * 30ms); }
  html.motion .facts .dots.d20 i { transition-delay: calc(0.7s + var(--i) * 38ms); }
  html.motion .facts.in .dots i { transform: none; }

  /* Sol: the light breathes at Instille's pace and the voice moves */
  html.motion .facts.in .sol-orb { animation: orbbreath 12.3s ease-in-out infinite; }
  html.motion .facts.in .voice i { animation: talk 1.1s ease-in-out infinite alternate; }
  .voice i:nth-child(2) { animation-delay: -0.3s !important; }
  .voice i:nth-child(3) { animation-delay: -0.7s !important; }
  .voice i:nth-child(4) { animation-delay: -0.15s !important; }
  .voice i:nth-child(5) { animation-delay: -0.5s !important; }
  .voice i:nth-child(6) { animation-delay: -0.85s !important; }
  .voice i:nth-child(7) { animation-delay: -0.4s !important; }
}
@keyframes glowring { 50% { box-shadow: 0 0 0 10px rgba(255, 198, 110, 0.12); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringdrift { to { stroke-dashoffset: -70; } }
@keyframes talk { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes orbbreath {
  0%, 100% { transform: scale(0.86); }
  36.6%, 41.5% { transform: scale(1.1); }
  90.2% { transform: scale(0.86); }
}

.levers { margin: 2.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 2.25rem 3rem; }
@media (min-width: 48rem) { .levers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4.5rem; } }
.levers li { padding-top: 1.1rem; border-top: 2px solid var(--apricot); }
.levers p { margin-top: 0.5rem; color: var(--slate); }

/* Join band: a sunrise wash */
.band {
  background: linear-gradient(115deg, #ffe4c8 0%, #fbdcd6 52%, #e5e3f0 100%);
  padding: var(--space) 0;
}
.band h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 350; }
.band p.big { max-width: var(--measure); margin-top: 1.1rem; color: var(--ink-soft); }
.band .signup { margin-top: 0; align-self: center; }
@media (min-width: 60rem) { .band .split { align-items: center; } }

/* FAQ */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.24rem; line-height: 1.3; font-weight: 420;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.35rem; top: 1.5rem; width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--lake); border-bottom: 2px solid var(--lake); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq-body { overflow: hidden; }
.faq-body > p { padding: 0 0 1.35rem; max-width: var(--measure); color: var(--ink-soft); }
.faq summary { transition: color 0.2s ease; }
.faq summary:hover { color: var(--lake); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 2.75rem 0 3rem; font-size: 0.95rem; color: var(--slate); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.foot-legal { margin-top: 1.6rem; font-size: 0.85rem; }

/* Plain pages: privacy, terms, invites, 404 */
.page-top { background: linear-gradient(180deg, #d7e7f1 0%, #f3e4e6 70%, #fbe6d6 100%); color: var(--ink); }
.page-head { padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); font-weight: 350; letter-spacing: -0.02em; }
.page-head > p { margin-top: 0.8rem; color: var(--ink-soft); }
.page-head .joined { margin-top: 1.5rem; }
.doc { padding: clamp(2rem, 6vw, 4rem) 0 var(--space); }
.doc .prose { max-width: 42rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; font-weight: 420; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: 0.9rem; }
.prose li + li { margin-top: 0.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }

/* Founder note: a letter, set a little larger and warmer than the legal pages */
.page-head .kicker {
  margin: 0 0 0.9rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate);
}
.letter { max-width: 38rem; font-size: clamp(1.08rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--ink-soft); }
.letter p + p { margin-top: 1.15em; }
.letter > p:first-child { font-size: 1.1em; line-height: 1.65; color: var(--ink); }
.letter .letter-beat {
  margin: 1.9em 0; padding-left: 1.1rem; border-left: 2px solid var(--sun);
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.32em; line-height: 1.45; font-weight: 380; color: var(--ink); text-wrap: pretty;
}
.letter .letter-beat + p { margin-top: 0; }
.letter .letter-sign {
  margin-top: 2.1em; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 2rem; line-height: 1; font-weight: 400; color: var(--ink);
}
.letter .letter-sign span {
  display: block; margin-top: 0.55rem; font-family: var(--sans); font-size: 0.9rem;
  line-height: 1.4; font-weight: 500; color: var(--slate);
}
.letter-next {
  max-width: 38rem; margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
}
.letter-next p { flex: 1 1 16rem; min-width: 0; color: var(--ink); }
.letter-next .btn { text-decoration: none; display: inline-block; }

/* Home page: the link to the founder note */
.split p.story-link { margin-top: 1.6rem; }
.story-link a {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-bottom: 2px;
}
.story-link a::after { content: "→"; display: inline-block; margin-left: 0.35em; transition: transform 0.2s ease; }
.story-link a:hover { background-size: 100% 1px; }
.story-link a:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .story-link a, .story-link a::after { transition: none; } }
[data-invites-page] { min-height: 65vh; }

/* ------------------------------------------------------------------
   Motion. Everything here is decoration: the page reads the same
   without it, and it switches off for people who ask for less motion.
   ------------------------------------------------------------------ */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } }
/* The hero copy starts partly visible so it can be read from the very first frame
   (and so phone speed tests can find the main content). */
@keyframes rise-soft { from { opacity: 0.35; transform: translateY(16px); } }

/* Opening moment: the copy rises in while the scene settles (motion.js) */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero .bar { animation: fade 0.8s ease both; }
  html.js .hero h1 { animation: rise-soft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both; }
  html.js .hero .tagline { animation: rise-soft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0s both; }
  html.js .hero .lede { animation: rise-soft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.17s both; }
  html.js .hero .signup { animation: rise-soft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.29s both; }
  html.js .breath { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.6s both; }
}
html.intro [data-intro], html.intro .scene .sol { opacity: 0; }
html.intro .scene .trail { visibility: hidden; }

/* Bar that slides in once the hero has scrolled away */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(255, 251, 247, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(236, 223, 212, 0.9);
  transform: translateY(-105%);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.topbar.is-on { transform: none; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.topbar .wordmark { font-size: 1.4rem; }
.btn-small { font-size: 0.95rem; padding: 0.6rem 1.15rem; text-decoration: none; display: inline-block; }
html:not(.js) .topbar { display: none; }
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }

/* Take one breath: a speech bubble pointing at one pill (breath + sound) */
.breath {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(1rem, 2.4vw, 1.75rem);
  width: max-content;
  display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem;
}
html:not(.js) .breath { display: none; }
.breath-cue {
  position: relative; width: 0; min-width: 100%;
  margin: 0; font-size: 0.95rem; line-height: 1.4; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 0.65rem 1rem; border-radius: 16px;
  box-shadow: 0 10px 28px -16px rgba(31, 43, 51, 0.45);
}
.breath-cue::after {
  content: ""; position: absolute; bottom: -6px; left: calc((100% - 3.4rem) / 2 - 6px);
  width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.breath-cue:empty { display: none; }
.breath-cue a { font-weight: 600; white-space: nowrap; }
.breath.is-breathing .breath-cue { visibility: hidden; }
.breath.is-done .breath-cue { animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.breath-pill {
  display: flex; align-items: center; gap: 0.15rem; padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px -14px rgba(31, 43, 51, 0.5);
}
.breath-btn, .sound-btn {
  font: inherit; color: var(--ink); cursor: pointer; border: 0; background: transparent;
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.3s ease, transform 0.12s ease;
}
.breath-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-width: 12.25rem; padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  font-weight: 600; font-size: 1rem; text-align: left;
}
.breath-btn:hover { background: #fff; box-shadow: 0 0 0 3px rgba(255, 198, 110, 0.4); }
.breath-btn:active, .sound-btn:active { transform: scale(0.97); }
.breath-btn[aria-disabled="true"] { cursor: default; }
.breath-btn[aria-disabled="true"]:hover { background: transparent; box-shadow: none; }
.breath-btn[aria-disabled="true"]:active { transform: none; }
.breath-orb {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #fffdf3 0, #ffe2a2 38%, #ffc66e 62%, rgba(255, 198, 110, 0) 72%);
  transform: scale(var(--orb, 0.85));
}
.breath-divider { flex: 0 0 auto; width: 1px; height: 1.6rem; background: rgba(31, 43, 51, 0.14); }
.sound-btn { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; }
.sound-btn:hover { background: #fff; }
.sound-btn svg { width: 1.25rem; height: 1.25rem; }
.sound-btn[aria-pressed="true"] .mute-x { display: none; }
.sound-btn[aria-pressed="false"] .wave-1, .sound-btn[aria-pressed="false"] .wave-2 { display: none; }
.sound-btn[aria-pressed="false"] { color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  html.motion .breath:not(.is-breathing) .breath-orb { animation: invite 3.2s ease-in-out infinite; }
  html.motion .breath:not(.is-breathing):not(.is-done) .breath-cue { animation: bob 3.2s ease-in-out infinite; }
}
@keyframes invite {
  0%, 100% { transform: scale(0.82); box-shadow: 0 0 0 0 rgba(255, 198, 110, 0); }
  50% { transform: scale(0.97); box-shadow: 0 0 0 7px rgba(255, 198, 110, 0.18); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 47.99rem) {
  /* On phones the card sits over the hills, so the water and the wave stay in view */
  .breath { right: auto; left: var(--gutter); bottom: calc(var(--scene-h) * 0.26); }
  .hero-copy { padding-bottom: calc(var(--scene-h) * 0.26 + 10.25rem); }
  .breath-btn { min-width: 11rem; font-size: 0.95rem; }
  .breath-cue { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .breath.is-done .breath-cue { animation: none; } }

/* Sol's disclosure under the guide fact */
.disclosure { display: block; margin-top: 0.4rem; font-size: 0.88rem; color: var(--slate); }

/* Source marker */
#why .big a[href^="#source"] { text-decoration: none; font-size: 0.75em; vertical-align: super; line-height: 0; margin-left: 0.1em; }

/* Footer links: an underline that sweeps in */
.foot-links a, .foot .wordmark {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-bottom: 2px;
}
.foot-links a:hover { background-size: 100% 1px; }
.foot .wordmark { background: none; }
.foot-grid p { margin-top: 0.5rem; }

/* Follow links (Nov 16): icons in every footer, named buttons after joining */
.social { display: flex; gap: 0.35rem; list-style: none; margin: 0.9rem 0 0 -0.55rem; padding: 0; }
.foot-links + .social { margin-top: 1.1rem; }
.social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  color: var(--slate); transition: color 0.2s ease, background-color 0.2s ease;
}
.social a:hover { color: var(--ink); background: var(--sand); }
.social svg { width: 1.35rem; height: 1.35rem; fill: currentColor; overflow: visible; }
.follow p { color: var(--ink-soft); }
.social-named { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.9rem 0 0; padding: 0; }
.social-named a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.social-named svg { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: 0 0 auto; overflow: visible; }

/* After joining: a check that draws itself, then three invite lights */
.joined-mark circle, .joined-mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .joined { animation: rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .joined-mark circle { animation: draw 0.7s cubic-bezier(0.6, 0, 0.3, 1) 0.1s both; }
  .joined-mark path { animation: draw 0.4s cubic-bezier(0.6, 0, 0.3, 1) 0.6s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
.progress .count { margin-top: 0; }

/* The ritual draws itself as it scrolls into view */
html.motion .ritual li::before { transform: scale(0); transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
html.motion .ritual li > * { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.motion .ritual li::after { clip-path: inset(0 0 100% 0); transition: clip-path 0.5s ease; }
@media (min-width: 60rem) { html.motion .ritual li::after { clip-path: inset(0 100% 0 0); } }
html.motion .ritual.in li::before { transform: scale(1); }
html.motion .ritual.in li > * { opacity: 1; transform: none; }
html.motion .ritual.in li::after { clip-path: inset(0 0 0 0); }
html.motion .ritual li:nth-child(2)::before, html.motion .ritual li:nth-child(2) > * { transition-delay: 0.32s; }
html.motion .ritual li:nth-child(3)::before, html.motion .ritual li:nth-child(3) > * { transition-delay: 0.64s; }
html.motion .ritual li:nth-child(4)::before, html.motion .ritual li:nth-child(4) > * { transition-delay: 0.96s; }
html.motion .ritual li:nth-child(5)::before, html.motion .ritual li:nth-child(5) > * { transition-delay: 1.28s; }
html.motion .ritual li:nth-child(6)::before, html.motion .ritual li:nth-child(6) > * { transition-delay: 1.6s; }
html.motion .ritual li:nth-child(1)::after { transition-delay: 0.16s; }
html.motion .ritual li:nth-child(2)::after { transition-delay: 0.48s; }
html.motion .ritual li:nth-child(3)::after { transition-delay: 0.8s; }
html.motion .ritual li:nth-child(4)::after { transition-delay: 1.12s; }
html.motion .ritual li:nth-child(5)::after { transition-delay: 1.44s; }

/* Four small animated icons */
.levers li { position: relative; }
.icon { width: 3.6rem; height: 3.6rem; margin-bottom: 1rem; overflow: visible; }
.icon * { fill: none; stroke: var(--lake); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon * , .icon { transform-box: fill-box; }

/* No decision fatigue: a fanned stack collapses into one card, then play */
.icon-choose .card { fill: var(--page); transform-origin: 50% 100%; transition: transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1); }
.icon-choose .play { fill: var(--sun); stroke: #e9a93f; stroke-width: 1.5; transform-origin: 50% 50%; transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.45s; }
html.motion .levers:not(.in) .c1 { transform: translateX(-7px) rotate(-16deg); }
html.motion .levers:not(.in) .c2 { transform: rotate(-4deg); }
html.motion .levers:not(.in) .c3 { transform: translateX(7px) rotate(12deg); }
html.motion .levers:not(.in) .play { transform: scale(0); }
.levers li:hover .icon-choose .play { animation: nudge 0.5s ease; }
@keyframes nudge { 50% { transform: scale(1.18); } }

/* Tie it to your day: steam over a cup */
.icon-cup .cup { stroke: var(--lake); }
.icon-cup .steam { stroke: #e3a46a; opacity: 0; }
html.motion .levers.in .icon-cup .steam { animation: steam 3.2s ease-in-out infinite; }
html:not(.motion) .icon-cup .steam { opacity: 0.8; }
.icon-cup .s2 { animation-delay: 0.9s !important; }
.icon-cup .s3 { animation-delay: 1.8s !important; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(5px); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Every day counts: steps appear along a trail */
.icon-steps .path-dots { stroke: #c9b9ab; stroke-dasharray: 0.1 5.5; }
.icon-steps .step { fill: var(--lake); stroke: none; transform-origin: 50% 50%; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.icon-steps .st4 { fill: var(--sun); stroke: #e9a93f; stroke-width: 1.5; }
html.motion .levers:not(.in) .step { transform: scale(0); }
.icon-steps .st2 { transition-delay: 0.22s; }
.icon-steps .st3 { transition-delay: 0.44s; }
.icon-steps .st4 { transition-delay: 0.66s; }
.levers li:hover .icon-steps .st4 { animation: hop 0.6s ease; }
@keyframes hop { 40% { transform: translateY(-4px) scale(1.12); } }

/* Sit before you scroll: apps dim, a lock drops in; hover opens it */
.icon-lock .phone { fill: var(--page); }
.icon-lock .tile { fill: var(--apricot); stroke: none; transition: opacity 0.5s ease 0.2s; }
.icon-lock .padlock rect { fill: var(--sun); stroke: #c98a2c; stroke-width: 1.6; }
.icon-lock .padlock path { stroke: #c98a2c; stroke-width: 1.8; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.icon-lock .padlock { transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) 0.35s, opacity 0.3s ease 0.35s; }
.levers.in .icon-lock .tile, html:not(.motion) .icon-lock .tile { opacity: 0.4; }
html.motion .levers:not(.in) .icon-lock .padlock { transform: translateY(-10px); opacity: 0; }
.levers li:hover .icon-lock .padlock path { transform: translateY(-2.5px); }
.levers li:hover .icon-lock .tile { opacity: 1; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .icon *, .ritual li::before, .ritual li > *, .ritual li::after { transition: none !important; animation: none !important; }
  .icon-cup .steam { opacity: 0.8; }
}

/* Here Again (two words): keep the wordmark and header buttons on one line each, and fit them on small phones. */
.wordmark, .bar-link, .topbar .btn-small { white-space: nowrap; }
@media (max-width: 24.5rem) {
  .bar .wordmark { font-size: 1.4rem; }
  .bar-link { font-size: 0.88rem; padding: 0.5rem 0.8rem; }
  .topbar .btn-small { font-size: 0.88rem; padding: 0.55rem 0.9rem; }
}
@media (max-width: 21rem) {
  .bar .wordmark, .topbar .wordmark { font-size: 1.2rem; }
  .bar-link, .topbar .btn-small { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
}

/* The price ladder as the shore path (Ani, Nov 30): a landmark tile for each price, joined by a soft shoreline.
   Phone: a column, the shoreline running down beside the tiles. Desktop: five across. */
.shore { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.shore li { position: relative; display: grid; grid-template-columns: 3.6rem 1fr; column-gap: 1rem; align-content: start; }
.shore .mark {
  grid-row: 1 / span 3; position: relative; z-index: 1; display: block; width: 3.6rem; height: 3.6rem; border-radius: 18px;
  background: #fff; border: 1px solid rgba(236, 223, 212, 0.95); box-shadow: 0 10px 24px -16px rgba(31, 43, 51, 0.35);
}
.shore .mark svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--lake); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shore .mark .beam { stroke: #e2a04a; }
.shore .free .mark {
  background: radial-gradient(circle at 50% 30%, #fff6dd 0, #ffe3a6 70%, #ffd98a 100%); border-color: #efc27a;
  box-shadow: 0 0 0 8px rgba(255, 198, 110, 0.2), 0 10px 24px -14px rgba(160, 110, 40, 0.5);
}
.shore .rung, .shore .price, .shore .cond { grid-column: 2; }
.shore .price { margin-top: 0.3rem; }
.shore .free .price { font-size: clamp(1.75rem, 2.6vw, 2.1rem); }
.shore .cond { margin-top: 0.45rem; text-wrap: pretty; }
.shore li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.66rem; top: 4rem; bottom: -1.2rem; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #eadbcc, #e3cfbb);
}
@media (min-width: 60rem) {
  .shore { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .shore li { display: block; }
  .shore .mark { margin-bottom: 1rem; }
  .shore li:not(:last-child)::after {
    left: 4.3rem; right: -0.9rem; top: 1.45rem; bottom: auto; width: auto; height: 0.7rem; border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12'%3E%3Cpath d='M0 6 C12 1 12 1 24 6 S36 11 48 6' fill='none' stroke='%23e1cbb5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 48px 100% repeat-x;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .shore .mark { transform: scale(0.7); opacity: 0; transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.35s ease; }
  html.motion .shore.in .mark { transform: none; opacity: 1; }
  html.motion .shore li:not(:last-child)::after { clip-path: inset(0 100% 0 0); transition: clip-path 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  html.motion .shore.in li:not(:last-child)::after { clip-path: inset(0 0 0 0); }
  html.motion .shore.in li:nth-child(1) .mark { transition-delay: 0.05s; } html.motion .shore.in li:nth-child(1)::after { transition-delay: 0.25s; }
  html.motion .shore.in li:nth-child(2) .mark { transition-delay: 0.45s; } html.motion .shore.in li:nth-child(2)::after { transition-delay: 0.65s; }
  html.motion .shore.in li:nth-child(3) .mark { transition-delay: 0.85s; } html.motion .shore.in li:nth-child(3)::after { transition-delay: 1.05s; }
  html.motion .shore.in li:nth-child(4) .mark { transition-delay: 1.25s; } html.motion .shore.in li:nth-child(4)::after { transition-delay: 1.45s; }
  html.motion .shore.in li:nth-child(5) .mark { transition-delay: 1.65s; animation: glowring 2.4s ease-in-out 2.4s infinite; }
}
@media (max-width: 59.99rem) {
  html.motion .shore li:not(:last-child)::after { clip-path: inset(0 0 100% 0); }
}

/* Pricing (Ani, Dec 1): the free start stands out as type, in the site's serif, not as a badge (the pill read as
   templated); the monthly price sits under the starting price at the same size */
.trial {
  margin-top: 1.3rem; font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink-soft);
}
.trial em { font-style: normal; color: var(--lake); }
.shore .price.alt { margin-top: 0.1rem; }
.shore .price.alt > small:first-child { margin-right: 0.15rem; }
