@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url("/assets/fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #203b34;
  --muted: #56695f;
  --paper: #f8f8f2;
  --line: #dce3d8;
  --sage: #e9eee3;
  color-scheme: light;
  font-family: Plex, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #466e59;
  outline-offset: 6px;
}
::selection {
  background: #d2e2c9;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: Source, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.08;
}
h1 em,
h2 em {
  font-style: normal;
  color: #678067;
}
h1 {
  font-size: clamp(3.2rem, 6vw, 6.6rem);
}
h2 {
  font-size: clamp(2.35rem, 4vw, 4.3rem);
}
.small-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1.5;
}
.skip-link {
  position: fixed;
  z-index: 99;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  padding: 12px;
  background: white;
}
.skip-link:focus {
  transform: none;
}
.site-header,
.hero,
.feature,
.small-things,
.questions,
.site-footer {
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header {
  height: 108px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.wordmark .mark {
  width: 20px;
  height: 26px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 13px;
}
.site-header nav a {
  padding: 12px 0;
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: #799070;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: center;
  min-height: 750px;
  padding: 35px 0 85px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 25px;
}
.hero .small-label {
  margin-bottom: 27px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b9e78;
  margin-right: 9px;
  vertical-align: 1px;
}
.hero-description {
  font-size: 17px;
  max-width: 385px;
  color: var(--muted);
  margin-top: 28px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 32px 0 24px;
}
.hero .signup-intro {
  margin-top: 24px;
  font-size: 13px;
  max-width: 400px;
}
.signup {
  max-width: 445px;
  margin: 22px 0;
  scroll-margin-top: 30px;
  text-align: left;
}
.signup label {
  font-size: 12px;
}
.signup .email-row {
  gap: 10px;
  border: 0;
}
.signup .email-row input {
  border: 1px solid #a3b39b;
  border-radius: 12px;
  background: #ffffff80;
  padding: 14px 16px;
  font-size: 16px;
}
.signup .email-row button {
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 14px 18px;
  gap: 14px;
  justify-content: center;
  min-height: 50px;
}
.signup #email-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.signup-error {
  color: #864133;
  font-size: 13px;
  margin-bottom: 10px;
}
.signup #recorded {
  background: var(--sage);
  border-radius: 16px;
  padding: 22px;
  scroll-margin-top: 30px;
}
.signup #recorded h3 {
  font-family: Source, Georgia, serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.signup #recorded p {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .signup .email-row {
    flex-direction: column;
  }
  .signup {
    margin-inline: auto;
  }
}
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 18px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
  min-height: 52px;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 6px 20px #2447360a;
}
.button-dark:hover {
  background: #365846;
}
.quiet-link {
  font-size: 12px;
  padding: 12px 0;
  display: inline-flex;
  gap: 18px;
  align-items: center;
}
.hero-caption {
  font-size: 11px;
  line-height: 1.8;
  color: #657466;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
  background: radial-gradient(ellipse at 40% 65%, #dce8ce96, transparent 69%);
  isolation: isolate;
}
.phone {
  width: 268px;
  padding: 7px;
  position: relative;
  border: 1px solid #b8c2b099;
  border-radius: 40px;
  background: linear-gradient(120deg, #fafcf8, #d5ddce);
  box-shadow:
    0 25px 55px -20px #334b362b,
    0 0 0 2px #fff8,
    inset 0 0 0 2px #fff9;
  flex-shrink: 0;
}
.phone img {
  border-radius: 33px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 390/844;
  background: #f5f7f0;
}
.phone-camera {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 17px;
  background: #213128;
  border-radius: 14px;
  box-shadow: inset -10px 0 0 #344438;
}
.hero-phone {
  width: 277px;
  transform: rotate(5deg);
  animation: arrive 1s ease-out both;
}
.orbit {
  position: absolute;
  z-index: -1;
  transform: rotate(-28deg);
  border-radius: 50%;
  width: 535px;
  height: 245px;
  pointer-events: none;
}
.orbit-one {
  top: 165px;
}
.orbit-two {
  top: 290px;
  transform: rotate(23deg);
  width: 540px;
  height: 255px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
  padding: 36px 30px 85px;
}
.small-things {
  padding: 80px 0 95px;
  border-top: 1px solid var(--line);
}
.small-things > h2 {
  margin-top: 22px;
}
.roadmap-intro {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 24px;
}
.small-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  margin-top: 60px;
}
.small-grid h3 {
  font-family: Source, Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 15px 0;
}
.small-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}
.questions {
  padding: 75px 0 95px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px;
}
.questions h2 {
  margin-top: 24px;
}
.question-list details {
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.question-list details:first-child {
  padding-top: 3px;
}
.question-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 28px;
}
.question-list summary::-webkit-details-marker {
  display: none;
}
.question-list summary span {
  font-size: 22px;
  color: #809477;
  transition: transform 0.2s;
}
.question-list details[open] summary span {
  transform: rotate(45deg);
}
.question-list p {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 25px 0 0;
  line-height: 1.8;
}
.closing {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 90px 20px 105px;
  background: radial-gradient(ellipse at 50% 95%, #dce7d198, transparent 68%);
  border-bottom: 1px solid var(--line);
}
.closing h2 {
  font-size: clamp(3rem, 5.3vw, 5.5rem);
  margin: 24px 0 32px;
}
.closing > p:last-child {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.closing > .button + p {
  margin-top: 20px;
}
.email-row {
  display: flex;
  border-bottom: 1px solid #a3b39b;
  gap: 20px;
  margin: 8px 0 10px;
}
.email-row input {
  background: none;
  border: 0;
  border-radius: 0;
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink);
}
.email-row button {
  background: none;
  border: 0;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  padding: 12px 0 12px 12px;
}
.decoy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 30px 0 38px;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a {
  white-space: nowrap;
}
.site-footer .wordmark {
  font-size: 18px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer small {
  font-size: 9px;
  color: var(--muted);
}
.reveal {
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}
.flash {
  padding: 20px;
}
.auth,
body > h1,
body > .lede {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 25px;
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (min-width: 1440px) {
  .hero {
    min-height: 820px;
  }
}
@media (max-width: 1050px) {
  .site-header,
  .hero,
  .feature,
  .small-things,
  .questions,
  .site-footer {
    width: calc(100% - 64px);
  }
  .hero {
    min-height: 690px;
  }
  .hero-phone {
    width: 245px;
  }
  .hero-visual {
    min-height: 600px;
  }
  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-description {
    font-size: 15px;
  }
  .feature {
    gap: 55px;
    padding-inline: 0;
  }
  .small-grid {
    gap: 35px;
  }
  .questions {
    gap: 40px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .site-header,
  .hero,
  .feature,
  .small-things,
  .questions,
  .site-footer {
    width: calc(100% - 44px);
  }
  .site-header {
    height: 84px;
  }
  .wordmark {
    font-size: 20px;
  }
  .site-header nav {
    font-size: 12px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 40px;
    gap: 30px;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(47px, 12.5vw, 72px);
  }
  .hero .small-label {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 330px;
    margin: 24px auto 0;
  }
  .hero-actions {
    justify-content: center;
    margin: 27px 0 18px;
    gap: 20px;
  }
  .button {
    padding: 17px 24px;
    font-size: 12px;
    gap: 25px;
  }
  .hero-caption {
    font-size: 10px;
  }
  .hero-visual {
    min-height: 615px;
    margin-inline: -10px;
  }
  .hero-phone {
    width: 254px;
    transform: rotate(3deg);
  }
  .orbit {
    width: 400px;
    height: 210px;
  }
  .orbit-two {
    width: 430px;
    top: 290px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 15px 0 65px;
  }
  .small-things {
    padding: 55px 0 60px;
  }
  .small-things h2 {
    font-size: 36px;
  }
  .small-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }
  .small-grid article {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 18px;
  }
  .small-grid h3 {
    margin: 2px 0 12px;
    font-size: 23px;
  }
  .small-grid p {
    grid-column: 2;
    font-size: 13px;
  }
  .questions {
    grid-template-columns: 1fr;
    padding: 55px 0 50px;
    gap: 35px;
  }
  .questions h2 {
    font-size: 38px;
  }
  .question-list summary {
    font-size: 14px;
  }
  .closing {
    padding: 60px 20px 65px;
  }
  .closing h2 {
    font-size: min(49px, 11.5vw);
  }
  .site-footer {
    padding: 25px 0;
    gap: 16px;
    align-items: center;
  }
  .site-footer p {
    font-size: 10px;
  }
  .site-footer small {
    flex-basis: 100%;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Contain decorative rings without changing the mobile layout width. */
.hero-visual {
  overflow: clip;
}

/* Apple web sign-in: equal prominence, high-contrast branded control. */

/* ---- 27 September landing: real app clips, synced captions and the step story ---- */
.story,
.pricing {
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header nav .nav-cta {
  padding: 11px 18px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
}
.site-header nav .nav-cta:hover {
  color: #fff;
  background: #365846;
  transform: translateY(-1px);
}
.trial-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
  max-width: 440px;
}
.trial-terms li:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8da68c;
  margin-right: 8px;
  vertical-align: 2px;
}
figure.hero-visual {
  margin: 0;
}
.phone video.clip {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1298;
  border-radius: 33px;
  background: #f5f7f0;
  object-fit: cover;
}
/* Rings answer the speaking part of the hero clip. */
.voice-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: -1;
  pointer-events: none;
}
.voice-rings span {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid #9ab79033;
  opacity: 0;
  transform: scale(0.8);
}
.hero-visual[data-speaking] .voice-rings span {
  animation: voice-ring 2.4s ease-out infinite;
}
.hero-visual[data-speaking] .voice-rings span:nth-child(2) {
  animation-delay: 0.8s;
}
.hero-visual[data-speaking] .voice-rings span:nth-child(3) {
  animation-delay: 1.6s;
}
@keyframes voice-ring {
  0% {
    opacity: 0.9;
    transform: scale(0.85);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}
.clip-captions {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 30%;
  width: 190px;
  height: 60px;
}
.clip-captions li {
  position: absolute;
  inset: 0 auto auto 0;
  padding: 11px 15px;
  border-radius: 16px;
  background: #fffffff0;
  border: 1px solid #dfe7d9;
  box-shadow: 0 14px 30px -16px #2a45332e;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s, transform 0.45s;
}
.clip-captions li.is-active {
  opacity: 1;
  transform: none;
}
/* Without JavaScript the first caption stays visible as a plain label. */
.clip-captions:not([data-live]) li:first-child {
  opacity: 1;
  transform: none;
}
.motion-toggle {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid #cfd9c9;
  border-radius: 30px;
  background: #fbfcf9e6;
  color: var(--ink);
  font-size: 11.5px;
}
.motion-icon {
  width: 9px;
  height: 10px;
  border-inline: 3px solid currentColor;
}
.motion-toggle[aria-pressed="true"] .motion-icon {
  border: 0;
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.clip-note {
  position: absolute;
  left: 6%;
  bottom: 12px;
  font-size: 10.5px;
  color: #6b7a6b;
}
/* The step story: one phone, four steps, the active clip plays and advances. */
.story {
  border-top: 1px solid var(--line);
  padding: 100px 0 70px;
  scroll-margin-top: 20px;
  position: relative;
}
.story-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.story-heading h2 {
  margin: 20px 0;
}
.story-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.story-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 80px;
  align-items: center;
}
.story-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}
.story-glow {
  position: absolute;
  inset: 8% 0;
  border-radius: 200px 200px 40px 40px;
  background: radial-gradient(ellipse at 50% 55%, #dce8cebb, #e9eee300 70%);
  z-index: -1;
  transition: background 0.6s;
}
.story[data-active="review"] .story-glow {
  background: radial-gradient(ellipse at 50% 55%, #e8e3cfbb, #e9eee300 70%);
}
.story[data-active="plan"] .story-glow {
  background: radial-gradient(ellipse at 50% 55%, #d4e5d8bb, #e9eee300 70%);
}
.story[data-active="track"] .story-glow {
  background: radial-gradient(ellipse at 50% 55%, #dde7e2bb, #e9eee300 70%);
}
.story-phone {
  width: 290px;
  transition: transform 0.6s var(--ease, ease);
}
.story-phone video.clip {
  transition: opacity 0.25s;
}
.story-phone video.clip.is-switching {
  opacity: 0;
}
.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.story-step {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  text-align: left;
  padding: 22px 24px 18px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  color: var(--muted);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.story-step:hover {
  background: #ffffff80;
}
.story-step[aria-pressed="true"] {
  background: #fff;
  border-color: #e0e7da;
  color: var(--ink);
  box-shadow: 0 22px 40px -28px #2a453340;
}
.step-number {
  font-size: 11px;
  letter-spacing: 0.15em;
  padding-top: 6px;
  color: #7f917d;
}
.step-copy {
  display: grid;
  gap: 6px;
}
.step-copy strong {
  font-family: Source, Georgia, serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.step-copy span {
  font-size: 14px;
  line-height: 1.65;
}
.story-step:not([aria-pressed="true"]) .step-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.step-progress {
  grid-column: 2;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: #e5ebe0;
  overflow: hidden;
  visibility: hidden;
}
.story-step[aria-pressed="true"] .step-progress {
  visibility: visible;
}
.step-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  background: #6f8d6a;
}
/* Seven small vessels fill as the week of recorded days comes into view. */
.vessel-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 70px;
}
.vessel-row span {
  width: 26px;
  height: 32px;
  border: 1.4px solid #b9c7b2;
  border-top: 0;
  border-radius: 0 0 11px 11px;
  position: relative;
  overflow: hidden;
}
.vessel-row span:after {
  content: "";
  position: absolute;
  inset: auto 3px 3px;
  border-radius: 0 0 8px 8px;
  background: #9fb898;
}
.story[data-active="track"] .vessel-row span:nth-child(odd):after,
.story[data-active="track"] .vessel-row span:nth-child(4):after {
  height: 45%;
}
.vessel-row span:nth-child(2):after { transition-delay: 0.08s; }
.vessel-row span:nth-child(3):after { transition-delay: 0.16s; }
.vessel-row span:nth-child(4):after { transition-delay: 0.24s; }
.vessel-row span:nth-child(5):after { transition-delay: 0.32s; }
.vessel-row span:nth-child(6):after { transition-delay: 0.4s; }
.vessel-row span:nth-child(7):after { transition-delay: 0.48s; }
.small-things .small-grid:has(> article:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Pricing */
.pricing {
  border-top: 1px solid var(--line);
  padding: 95px 0 90px;
  display: grid;
  justify-items: center;
  text-align: center;
  scroll-margin-top: 20px;
}
.pricing-heading h2 {
  margin: 20px 0 16px;
}
.pricing-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 290px));
  gap: 20px;
  margin: 46px 0 28px;
}
.price-card {
  text-align: left;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fffffff2;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 40px -30px #2a453355;
}
.price-card-featured {
  background: var(--sage);
}
.price-card h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card .price {
  font-family: Source, Georgia, serif;
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}
.price-card .price small {
  font-family: Plex, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.pricing-terms {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.pricing-terms a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closing .signup {
  margin: 18px auto 0;
}
.story-caption {
  display: none;
}
.question-list p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1050px) {
  .story,
  .pricing {
    width: calc(100% - 64px);
  }
  .story-body {
    gap: 40px;
  }
  .clip-captions {
    left: 0;
  }
}
@media (max-width: 700px) {
  .story,
  .pricing {
    width: calc(100% - 44px);
  }
  .site-header nav .nav-quiet {
    display: none;
  }
  .site-header nav .nav-cta {
    padding: 10px 14px;
  }
  .trial-terms {
    justify-content: center;
    margin-inline: auto;
    font-size: 11px;
  }
  .clip-captions {
    top: auto;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    width: min(230px, 80%);
    height: 50px;
  }
  .clip-captions li {
    left: 50%;
    transform: translate(-50%, 8px);
    white-space: nowrap;
  }
  .clip-captions li.is-active,
  .clip-captions:not([data-live]) li:first-child {
    transform: translate(-50%, 0);
  }
  .motion-toggle {
    right: 12px;
    bottom: 22px;
  }
  .clip-note {
    left: 12px;
    bottom: 0;
  }
  .story {
    padding: 60px 0 45px;
  }
  .story-heading {
    margin-bottom: 30px;
  }
  .story-heading h2 {
    font-size: 38px;
  }
  .story-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  /* Phones: steps become chips above the phone, with the chosen step described below. */
  .story-steps {
    order: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    justify-content: center;
  }
  .story-steps li {
    flex: 0 0 auto;
  }
  .story .story-steps .story-step {
    width: auto;
    grid-template-columns: auto;
    padding: 10px 15px 8px;
    border-radius: 30px;
    border-color: #dfe6d9;
  }
  .story .story-steps .story-step .step-number,
  .story .story-steps .story-step .step-copy > span {
    display: none;
  }
  .story-steps .step-copy strong {
    font-family: Plex, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0;
  }
  .story-steps .step-progress {
    grid-column: 1;
    margin-top: 6px;
  }
  .story-caption {
    display: block !important;
    order: 2;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    min-height: 4.8em;
    margin: 0 4px;
  }
  .story-stage {
    order: 3;
    min-height: 520px;
  }
  .story-phone {
    width: 238px;
  }
  .story-step {
    padding: 16px 16px 14px;
    grid-template-columns: 30px 1fr;
  }
  .step-copy strong {
    font-size: 21px;
  }
  .step-copy span {
    font-size: 13px;
  }
  .vessel-row {
    margin-top: 40px;
  }
  .small-things .small-grid:has(> article:nth-child(4)) {
    grid-template-columns: 1fr;
  }
  .pricing {
    padding: 60px 0;
  }
  .price-cards {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 30px 0 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-rings,
  .step-progress {
    display: none;
  }
}

/* ---- Story animations: SVG marks that follow a note through the app (60 fps) ----
   The static picture is the finished state: without JavaScript, with motion paused or reduced,
   everything is already drawn. Animations only use opacity, transforms and SVG stroke offsets,
   start when their section scrolls into view, and play once. */
@keyframes draw {
  from {
    stroke-dashoffset: 1.001;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes grow-y {
  from {
    transform: scaleY(0);
  }
}
@keyframes press {
  50% {
    transform: scale(0.92);
  }
}
@keyframes wave {
  from {
    transform: scaleY(0.2);
  }
}
@keyframes wave-settle {
  to {
    opacity: 0.35;
    transform: scaleY(0.25);
  }
}
@keyframes glyph-pulse {
  from {
    opacity: 0.2;
  }
}
body[data-motion="playing"] [data-animate]:not(.is-playing),
body[data-motion="playing"] [data-animate]:not(.is-playing)::before,
body[data-motion="playing"] [data-animate]:not(.is-playing) *,
body[data-motion="playing"] [data-animate]:not(.is-playing) *::before,
body[data-motion="playing"] [data-animate]:not(.is-playing) *::after {
  animation-play-state: paused !important;
}
[data-animate].is-resetting::before,
[data-animate].is-resetting *,
[data-animate].is-resetting *::before,
[data-animate].is-resetting *::after {
  animation: none !important;
}

/* Hero: the orbits draw in once; a small waveform while the clip is speaking. */
.orbit {
  border: 0;
}
.orbit svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit path {
  fill: none;
  stroke: #adc2a266;
  stroke-width: 1.2;
  stroke-dasharray: 1 2;
  animation: draw 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.3s both;
}
.orbit-two path {
  animation-delay: 0.7s;
}
.mini-wave {
  display: none;
  gap: 2px;
  align-items: center;
  height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
}
.clip-captions[data-live] .mini-wave {
  display: inline-flex;
}
.mini-wave i {
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: #7f9c79;
  transform: scaleY(0.35);
}
body[data-motion="playing"] .hero-visual[data-speaking] .mini-wave i {
  animation: wave 0.42s ease-in-out infinite alternate;
  transform: none;
}
.mini-wave i:nth-child(2) {
  animation-delay: 0.14s !important;
}
.mini-wave i:nth-child(3) {
  animation-delay: 0.28s !important;
}
.mini-wave i:nth-child(4) {
  animation-delay: 0.07s !important;
}

/* Where a note goes: one note, then My Diary, the plan and My Life. */
.flow {
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: 100px 0 96px;
}
.flow-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
.flow-heading h2 {
  margin: 20px 0;
}
.flow-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.flow-figure {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1.08fr);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.flow-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #6f8a6c;
}
.flow-note {
  padding: 26px 30px 30px;
  border: 1px solid #e0e7da;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 34px 50px -38px #2a453359;
}
.flow-wave {
  display: block;
  width: 132px;
  height: 36px;
  margin: 16px 0 14px;
  fill: #9fb898;
  transform-origin: left center;
}
.flow-wave rect {
  transform-box: fill-box;
  transform-origin: center;
}
.flow-words {
  font-family: Source, Georgia, serif;
  font-weight: 600;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.32;
  letter-spacing: -0.03em;
}
.flow-words span {
  display: inline-block;
}
.flow-words mark {
  position: relative;
  z-index: 0;
  background: none;
  color: inherit;
  white-space: nowrap;
}
.flow-words mark:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3px;
  right: -3px;
  bottom: 0.1em;
  height: 0.4em;
  border-radius: 4px;
  background: #dde9cc;
  transform-origin: left;
}
.flow-links {
  width: 140px;
  height: 396px;
  overflow: visible;
}
.flow-links .link {
  fill: none;
  stroke: #a9bca3;
  stroke-width: 1.4;
  stroke-dasharray: 1 2;
}
.flow-links .node {
  fill: #fff;
  stroke: #7f9c79;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
}
.flow-places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 21px;
}
.place {
  position: relative;
  height: 118px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid #e0e7da;
  border-radius: 22px;
  background: #fffffff2;
}
.place p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.place p.flow-label {
  font-size: 10px;
  margin-bottom: 4px;
  color: #6f8a6c;
}
.place strong {
  font-weight: 500;
  color: var(--ink);
}
.place-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #6f8d6a;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.place-diary .place-icon path {
  fill: #6f8d6a;
  stroke: none;
}
.place-plan .place-icon circle {
  fill: #6f8d6a;
  stroke: none;
}
.place-plan {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}
.place-choice {
  display: grid;
  font-size: 11.5px;
  font-weight: 500;
}
.place-choice > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
.choice-ask {
  border: 1px solid #c9d6c3;
  color: var(--ink);
  opacity: 0;
}
.choice-done {
  background: var(--ink);
  color: #fff;
}
.choice-done svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
}
.place-life {
  grid-template-columns: 150px minmax(0, 1fr);
}
.place-week {
  width: 150px;
  height: 40px;
  overflow: visible;
}
.place-week .day-line {
  fill: none;
  stroke: #b3c3ad;
  stroke-width: 1.4;
}
.place-week .day-fill {
  fill: #9fb898;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: bottom;
}
.place-week .recorded .day-fill,
.place-week .today .day-fill {
  opacity: 1;
}
.place-week .today .day-line {
  stroke: #5d7d59;
  stroke-width: 1.7;
}
.place-week text {
  font-family: Plex, sans-serif;
  font-size: 9px;
  fill: #7d8e7c;
  text-anchor: middle;
}
.place-week .today text {
  fill: var(--ink);
  font-weight: 500;
}
.flow-note-caption {
  grid-column: 1 / -1;
  margin-top: 30px;
  text-align: center;
  font-size: 11px;
  color: #6b7a6b;
}
.flow-replay {
  position: absolute;
  right: 0;
  bottom: -8px;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid #cfd9c9;
  border-radius: 30px;
  background: #fbfcf9;
  color: var(--ink);
  font-size: 11.5px;
  cursor: pointer;
}
body[data-motion="playing"] .flow-replay {
  display: inline-flex;
}
.flow-replay svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* About seven seconds: speaking, the words, the note saved, the suggestion chosen, the day marked. */
body[data-motion="playing"] [data-flow] {
  .flow-note {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .flow-wave rect {
    animation: wave 0.44s ease-in-out 0.25s 3 alternate both;
  }
  .flow-wave rect:nth-child(3n + 2) {
    animation-delay: 0.36s;
  }
  .flow-wave rect:nth-child(3n) {
    animation-delay: 0.47s;
  }
  .flow-wave {
    animation: wave-settle 0.35s ease 1.75s both;
  }
  .flow-words span {
    animation: rise 0.36s cubic-bezier(0.2, 0.7, 0.2, 1) calc(1.25s + var(--i) * 0.13s) both;
  }
  .flow-words mark:after {
    animation: grow-x 0.35s ease-out 3.1s both;
  }
  .link-diary {
    animation: draw 0.5s ease-in-out 2.3s both;
  }
  .node-diary,
  .node-plan,
  .node-life {
    animation: pop 0.28s cubic-bezier(0.3, 1.4, 0.5, 1) 2.75s both;
  }
  .place-diary,
  .place-plan,
  .place-life {
    animation: rise 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) 2.75s both;
  }
  .link-plan {
    animation: draw 0.5s ease-in-out 3.4s both;
  }
  .node-plan,
  .place-plan {
    animation-delay: 3.85s;
  }
  .choice-ask {
    animation: choice-ask 5.1s linear both;
  }
  .place-choice {
    animation: press 0.3s ease 4.8s both;
  }
  .choice-done {
    animation: fade-in 0.25s ease 4.95s both;
  }
  .choice-done path {
    animation: draw 0.3s ease-out 5.05s both;
  }
  .link-life {
    animation: draw 0.5s ease-in-out 5.4s both;
  }
  .node-life,
  .place-life {
    animation-delay: 5.85s;
  }
  .place-week .today .day-fill {
    animation: grow-y 0.6s cubic-bezier(0.22, 0.72, 0.16, 1) 6.3s both;
  }
  .flow-replay {
    animation: fade-in 0.4s ease 7s both;
  }
}
@keyframes choice-ask {
  0%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .flow-figure {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .flow-links {
    display: none;
  }
  /* A rail replaces the connectors: the note first, then each place in turn. */
  .flow-places {
    position: relative;
    margin-top: 22px;
    padding-left: 26px;
  }
  .flow-places:before {
    content: "";
    position: absolute;
    left: 8px;
    top: -22px;
    bottom: 58px;
    width: 1.4px;
    background: #b3c5ac;
    transform-origin: top;
  }
  .place:before {
    content: "";
    position: absolute;
    left: -23px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border: 1.5px solid #7f9c79;
    border-radius: 50%;
    background: #fff;
  }
  .place {
    height: auto;
    min-height: 104px;
    padding: 18px;
  }
  body[data-motion="playing"] [data-flow] .flow-places:before {
    animation: grow-y 3.6s linear 2.3s both;
  }
  .flow-replay {
    position: static;
    justify-self: center;
    margin-top: 14px;
  }
}
@media (max-width: 700px) {
  .flow {
    width: calc(100% - 44px);
    padding: 60px 0 56px;
  }
  .flow-heading {
    margin-bottom: 34px;
  }
  .flow-heading h2 {
    font-size: 38px;
  }
  .flow-note {
    padding: 22px 22px 24px;
  }
  .flow-words {
    font-size: 23px;
  }
  .place,
  .place-plan {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }
  .place-icon {
    width: 34px;
    height: 34px;
  }
  .place-choice {
    grid-column: 2;
    justify-self: start;
  }
  .place-life {
    grid-template-columns: minmax(0, 1fr);
  }
  .place-week {
    order: 2;
  }
}

/* Story steps: a glyph for each step, animated while that step's clip plays. */
.story-step {
  position: relative;
  padding-right: 72px;
}
.step-glyph {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #a6b5a1;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.story-step[aria-pressed="true"] .step-glyph {
  stroke: #5d7d59;
}
.step-glyph .g-fill,
.step-glyph .g-dot {
  fill: #9fb898;
  stroke: none;
  transform-box: fill-box;
  transform-origin: bottom;
}
.step-glyph .g-dot {
  fill: #5d7d59;
  transform-origin: center;
}
.step-glyph .g-draw {
  stroke-dasharray: 1 2;
}
body[data-motion="playing"] .story-step[aria-pressed="true"] {
  .g-arc {
    animation: glyph-pulse 0.5s ease-in-out 0.2s 5 alternate both;
  }
  .g-draw {
    animation: draw 0.7s cubic-bezier(0.45, 0, 0.2, 1) 0.2s both;
  }
  .g-dot {
    animation: pop 0.28s cubic-bezier(0.3, 1.4, 0.5, 1) 0.85s both;
  }
  .g-fill {
    animation: grow-y 0.55s cubic-bezier(0.22, 0.72, 0.16, 1) 0.25s both;
  }
  .g-fill + .g-fill {
    animation-delay: 0.55s;
  }
}
@media (max-width: 700px) {
  .step-glyph {
    display: none;
  }
  .story .story-steps .story-step {
    padding-right: 15px;
  }
}

/* The story glow changes tint smoothly instead of switching. */
@property --glow {
  syntax: "<color>";
  inherits: false;
  initial-value: #dce8cebb;
}
.story .story-glow {
  --glow: #dce8cebb;
  background: radial-gradient(ellipse at 50% 55%, var(--glow), #e9eee300 70%);
  transition: --glow 0.6s;
}
.story[data-active="review"] .story-glow {
  --glow: #e8e3cfbb;
}
.story[data-active="plan"] .story-glow {
  --glow: #d4e5d8bb;
}
.story[data-active="track"] .story-glow {
  --glow: #dde7e2bb;
}
/* Vessels fill with a transform rather than animating height. */
.vessel-row span:after {
  height: 45%;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.22, 0.72, 0.16, 1);
}
.story[data-active="track"] .vessel-row span:nth-child(odd):after,
.story[data-active="track"] .vessel-row span:nth-child(4):after {
  transform: scaleY(1);
}

/* Everyday details: each icon is drawn when the grid comes into view; planned ones are dashed. */
.detail-icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #789573;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.detail-icon:not(.planned) > * {
  stroke-dasharray: 1 2;
}
.detail-icon.planned {
  stroke: #9aae95;
  stroke-dasharray: 2.4 3;
}
.detail-icon.planned circle {
  stroke-dasharray: none;
}
.small-grid article:nth-child(2) {
  --d: 0.15s;
}
.small-grid article:nth-child(3) {
  --d: 0.3s;
}
.small-grid article:nth-child(4) {
  --d: 0.45s;
}
.detail-icon > :nth-child(2) {
  --k: 0.18s;
}
.detail-icon > :nth-child(3) {
  --k: 0.36s;
}
.detail-icon > :nth-child(4) {
  --k: 0.54s;
}
.detail-icon > :nth-child(5) {
  --k: 0.72s;
}
body[data-motion="playing"] .small-grid[data-animate] {
  .detail-icon:not(.planned) > * {
    animation: draw 0.75s cubic-bezier(0.45, 0, 0.2, 1) calc(var(--d, 0s) + var(--k, 0s)) both;
  }
  .detail-icon.planned > * {
    animation: fade-in 0.6s ease calc(var(--d, 0s) + var(--k, 0s)) both;
  }
}
@media (max-width: 700px) {
  .detail-icon {
    width: 32px;
    height: 32px;
  }
}

/* The free trial as a timeline: today, the reminder, the first payment. */
.trial-timeline {
  position: relative;
  list-style: none;
  width: min(880px, 100%);
  margin: 46px 0 6px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trial-timeline:before {
  content: "";
  position: absolute;
  top: 23px;
  left: 16.6%;
  right: 16.6%;
  height: 1.4px;
  background: #aebfa8;
  transform-origin: left;
}
.trial-timeline li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
}
.trial-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.4px solid #b9c9b3;
  border-radius: 50%;
  background: #fff;
}
.trial-timeline li:nth-child(2) .trial-node {
  border-color: #7f9c79;
}
.trial-timeline li:nth-child(3) .trial-node {
  background: var(--sage);
}
.trial-node svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #5d7d59;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trial-when {
  margin-top: 8px;
  font-family: Source, Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.trial-timeline li p:last-child {
  max-width: 230px;
  font-size: 13px;
  color: var(--muted);
}
body[data-motion="playing"] .trial-timeline[data-animate] {
  &:before {
    animation: grow-x 1.3s cubic-bezier(0.45, 0, 0.3, 1) 0.15s both;
  }
  .trial-node {
    animation: pop 0.32s cubic-bezier(0.3, 1.4, 0.5, 1) 0.1s both;
  }
  li p {
    animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
  }
  li:nth-child(2) .trial-node {
    animation-delay: 0.7s;
  }
  li:nth-child(2) p {
    animation-delay: 0.85s;
  }
  li:nth-child(3) .trial-node {
    animation-delay: 1.3s;
  }
  li:nth-child(3) p {
    animation-delay: 1.45s;
  }
}
@media (max-width: 700px) {
  .trial-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    text-align: left;
    margin-top: 32px;
  }
  .trial-timeline:before {
    top: 23px;
    bottom: 40px;
    left: 23px;
    right: auto;
    width: 1.4px;
    height: auto;
    transform-origin: top;
  }
  .trial-timeline li {
    grid-template-columns: 46px minmax(0, 1fr);
    justify-items: start;
    column-gap: 16px;
    row-gap: 2px;
  }
  .trial-node {
    grid-row: span 2;
  }
  .trial-when {
    margin-top: 2px;
  }
  body[data-motion="playing"] .trial-timeline[data-animate]:before {
    animation-name: grow-y;
  }
}

/* Closing: the mark is drawn, then fills, then its water drifts. */
.closing-vessel {
  display: block;
  width: 44px;
  height: 57px;
  margin: 0 auto 30px;
}
.closing-vessel .mark {
  width: 100%;
  height: 100%;
}
.closing-vessel .mark-line {
  stroke-dasharray: 1 2;
}
.closing-vessel .mark-fill {
  transform-box: fill-box;
  transform-origin: bottom;
}
body[data-motion="playing"] .closing-vessel[data-animate] {
  .mark-line {
    animation: draw 1.1s cubic-bezier(0.45, 0, 0.2, 1) 0.1s both;
  }
  .mark-fill {
    animation: grow-y 0.9s cubic-bezier(0.22, 0.72, 0.16, 1) 1.05s both;
  }
}

/* Working buttons: a sheen sweeps across while the next page loads (transform only). */
.button[aria-busy="true"],
.nav-cta[aria-busy="true"] {
  position: relative;
  overflow: hidden;
  cursor: progress;
}
.button[aria-busy="true"]:after,
.nav-cta[aria-busy="true"]:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #fff0 25%, #ffffff47 50%, #fff0 75%);
  transform: translateX(-100%);
  animation: busy-sheen 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes busy-sheen {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.button, .nav-cta)[aria-busy="true"]:after {
    background: #ffffff26;
    transform: none;
  }
}
/* Sign in stays reachable at every width, beside the trial button. */
.site-header nav .nav-sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .site-header nav {
    gap: 16px;
  }
  .site-header nav .nav-sign-in {
    font-size: 13px;
    padding: 0 2px;
  }
}
@media (max-width: 360px) {
  .site-header nav .nav-cta {
    padding: 10px 12px;
    gap: 6px;
  }
}

/* The mark: the app icon's vessel, its water drifting slowly (still with reduced motion). */
.mark {
  display: block;
  flex: none;
  overflow: visible;
}
.mark-line {
  fill: none;
  stroke: #386551;
  stroke-width: 40;
  stroke-linecap: round;
}
.mark-water {
  fill: #93ae85;
  animation: mark-drift 7s linear infinite;
}
@keyframes mark-drift {
  to {
    transform: translateX(-424px);
  }
}
body[data-motion="paused"] .mark-water {
  animation-play-state: paused;
}
/* The other language, at every width (1 October). */
.site-header nav .nav-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.75;
  text-decoration: none;
}
.site-header nav .nav-lang:hover {
  opacity: 1;
}
/* More than one other language: the current code opens the others by their own names
   (templates/landing_languages_nav.html). */
.nav-lang-menu {
  position: relative;
}
.nav-lang-menu summary {
  list-style: none;
  cursor: pointer;
}
.nav-lang-menu summary::-webkit-details-marker {
  display: none;
}
.nav-lang-list {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 30;
  display: grid;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.nav-lang-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
@media (max-width: 360px) {
  .site-header nav .nav-lang {
    min-width: 32px;
  }
}
/* Arriving through a friend's invitation (1 October). */
.invited-note {
  margin: 0 auto 18px;
  max-width: 34rem;
  padding: 12px 18px;
  border-radius: 16px;
  background: #eef3ea;
  color: #2b4a3d;
  font-size: 15px;
  line-height: 1.5;
}

/* ---- Landing motion (prototype, 3 October 2026; landing-motion.js): a field of light on water
   behind the page, and the mark that leaves the header and travels down beside it. Both are
   decoration: aria-hidden, no pointer events, behind the content. With reduced motion only the
   still backdrop shows, and the stations below take no space. */
.field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.field canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.field.is-on {
  opacity: 1;
}
/* Without WebGL, with reduced motion or after a lost context: the water, still. */
.field.is-still {
  opacity: 1;
  background:
    radial-gradient(120% 55% at 18% 104%, #e6eddcd9, #e6edde00 70%),
    radial-gradient(80% 45% at 96% 92%, #e2ede7cc, #e2ede700 70%);
}
.motion-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.motion-layer svg {
  display: block;
  width: 100%;
  height: 100%;
}
.motion-live main,
.motion-live .site-header,
.motion-live .site-footer {
  position: relative;
  z-index: 1;
}
.motion-live .site-header .wordmark .mark,
.motion-live .closing-vessel .mark {
  visibility: hidden;
}
.t-line {
  fill: none;
  stroke: #386551;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-water {
  fill: #93ae85;
}
.t-dash {
  fill: none;
  stroke: #5d7d59;
  stroke-linecap: round;
  stroke-dasharray: 28 30;
}
.t-ring {
  fill: none;
  stroke: #93ae85;
}
.t-ring-dash {
  stroke: #5d7d59;
  stroke-dasharray: 18 20;
}
/* Stations: empty bands above four headings where the travelling mark rests. They take space only
   where scripting runs and motion is welcome; otherwise the sections are unchanged. */
.station {
  display: none;
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .station {
    display: block;
    height: 132px;
    margin-bottom: 14px;
    pointer-events: none;
  }
  .flow,
  .story {
    padding-top: 44px;
  }
  .small-things {
    padding-top: 36px;
  }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  .station {
    height: 112px;
    margin-bottom: 6px;
  }
  .flow,
  .story {
    padding-top: 24px;
  }
  .small-things {
    padding-top: 22px;
  }
}
/* Over the moving water, a gradient clipped to its box would show the box's edge. */
.motion-live .hero-visual,
.motion-live .closing {
  background: none;
}
/* The step chips on a phone: centred when they fit, scrollable from the first chip when they
   don't (centring alone cut off the first chip, "Habla", in Spanish), and a little narrower so
   all four fit at 390px in both languages (3 October). */
@media (max-width: 700px) {
  .story-steps {
    justify-content: flex-start;
  }
  .story-steps li:first-child {
    margin-left: auto;
  }
  .story-steps li:last-child {
    margin-right: auto;
  }
  .story .story-steps .story-step {
    padding-inline: 12px;
  }
}
