@import url("/site/home.css");
/* Vela website. Brand 2026-10: paper, ink, amber, teal; Literata for voice, Inter for controls. */
@font-face {
  font-family: "Inter";
  src: url("/site/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/site/fonts/Literata-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #fbf7f0;
  --soft: #f3ede4;
  --rule: #e8e1d6;
  --ink: #1e1a16;
  --muted: #5a534b;
  --caption: #756d62;
  --amber: #e9a23b;
  --amber-deep: #c9821f;
  --glow: #fbebcf;
  --teal: #1f5c66;
  --teal-ink: #174750;
  --night: #1b1714;
  --serif: "Literata", Georgia, "Noto Serif TC", "Songti TC", serif;
  --sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans TC", "PingFang TC",
    sans-serif;
  --radius: 20px;
  --wrap: 72rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px / 1.6 var(--sans);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}
:lang(zh-TW) h1,
:lang(zh-TW) h2,
:lang(zh-TW) h3 {
  letter-spacing: 0.02em;
  line-height: 1.3;
}
:lang(zh-TW) h1,
:lang(zh-TW) h2 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
p {
  margin: 0 0 1rem;
}
.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}
.eyebrow {
  font: 600 0.8rem / 1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--amber);
}
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 36rem;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font: 600 1rem / 1 var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 92, 102, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--teal-ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn .play {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
}
.btn .play::after {
  content: "";
  border-left: 7px solid var(--ink);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  margin-left: 2px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.scrolled {
  border-color: var(--rule);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.4rem / 1 var(--serif);
  margin-right: auto;
}
.brand svg {
  width: 1.45rem;
  height: auto;
}
.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.8;
}
.nav a:hover {
  opacity: 1;
}
.langs {
  display: flex;
  gap: 0.25rem;
  font-size: 0.85rem;
  background: var(--soft);
  border-radius: 999px;
  padding: 0.2rem;
}
.langs a,
.langs span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.langs span {
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.top .btn {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}
@media (max-width: 60rem) {
  .nav {
    display: none;
  }
}
@media (max-width: 30rem) {
  .top .btn {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.06em;
  height: 0.22em;
  background: var(--amber);
  opacity: 0.55;
  z-index: -1;
  border-radius: 3px;
  transform-origin: left;
  animation: underline 1.1s 0.6s var(--ease) both;
}
@keyframes underline {
  from {
    transform: scaleX(0);
  }
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.4rem;
}
.stage {
  position: relative;
  min-height: 34rem;
}
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--soft);
  box-shadow: 0 40px 80px -40px rgba(30, 26, 22, 0.45);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The photo on the right, where she sits; the phone overlaps only the window side on the left. */
.stage .arch {
  position: absolute;
  inset: 0 0 2rem 6rem;
}
.stage .arch img {
  object-position: 80% center;
  animation: slowzoom 18s ease-in-out infinite alternate;
}
@keyframes slowzoom {
  to {
    transform: scale(1.06);
  }
}
.stage .phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14rem;
}
.badge-light {
  position: absolute;
  right: -1rem;
  top: 2.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.7rem 0.95rem 0.7rem 0.75rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  box-shadow: 0 18px 40px -18px rgba(30, 26, 22, 0.4);
  font-size: 0.88rem;
  line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.badge-light strong {
  display: block;
}
.badge-light small {
  color: var(--caption);
}
@keyframes floaty {
  50% {
    transform: translateY(-8px);
  }
}
.lamp {
  width: 2.1rem;
  height: 2.6rem;
  flex: none;
}
.lamp .pane {
  fill: #d9d1c5;
  transition: fill 0.6s var(--ease);
}
.lit .lamp .pane {
  fill: var(--amber);
}
.lit .lamp {
  filter: drop-shadow(0 0 10px rgba(233, 162, 59, 0.7));
}
@media (max-width: 56rem) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 30rem;
    max-width: 30rem;
    width: 100%;
    margin-inline: auto;
  }
  .stage .arch {
    inset: 0 0 3rem 4rem;
  }
  .stage .phone {
    width: min(12rem, 44%);
  }
  .badge-light {
    right: 0.5rem;
    top: 1rem;
  }
}

/* Phone mockup */
.phone {
  aspect-ratio: 9 / 18.5;
  background: var(--night);
  border-radius: 2.4rem;
  padding: 0.55rem;
  box-shadow:
    0 50px 70px -30px rgba(30, 26, 22, 0.55),
    inset 0 0 0 2px #3a332d;
}
.screen {
  color: var(--ink);
  position: relative;
  height: 100%;
  border-radius: 1.95rem;
  overflow: hidden;
  background: #8fb1b8;
  display: flex;
  flex-direction: column;
}
.screen .bar {
  background: #fff;
  padding: 1.4rem 0.9rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  border-bottom: 1px solid #e6e6e6;
}
.screen .bar .ava {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.screen .bar .ava svg {
  width: 0.9rem;
}
.screen .bar b {
  display: block;
  font-size: 0.85rem;
}
.screen .bar small {
  color: #888;
}
.chat {
  flex: 1;
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(#9dbcc2, #8aaeb5);
}
.msg {
  max-width: 86%;
  padding: 0.5rem 0.7rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  line-height: 1.35;
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border-top-left-radius: 0.3rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.msg .who {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.15rem;
}
.msg.me {
  align-self: flex-end;
  background: #8de36e;
  border-radius: 1rem;
  border-top-right-radius: 0.3rem;
}
.msg.vela {
  background: var(--glow);
}
.msg.photo {
  padding: 0.3rem;
}
.msg.photo img {
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 11rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.chip {
  font: 600 0.74rem / 1 var(--sans);
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.chip.tapped {
  background: var(--teal);
  color: #fff;
  transform: scale(0.94);
  transition: all 0.25s;
}
.voice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.voice .wave {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 1rem;
}
.voice .wave i {
  width: 3px;
  background: var(--ink);
  border-radius: 2px;
  height: 30%;
  animation: wave 1.1s ease-in-out infinite;
}
.voice .wave i:nth-child(2n) {
  animation-delay: 0.15s;
}
.voice .wave i:nth-child(3n) {
  animation-delay: 0.3s;
}
@keyframes wave {
  50% {
    height: 100%;
  }
}
.typing {
  display: inline-flex;
  gap: 3px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  animation: blink 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
.pop {
  animation: pop 0.45s var(--ease) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}
.screen .time {
  text-align: center;
  font-size: 0.66rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  align-self: center;
  padding: 0.15rem 0.6rem;
}

/* Sections */
section {
  position: relative;
}
.band {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.band h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}

/* One morning: sticky phone + steps */
.morning .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.morning .sticky {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  display: grid;
  justify-items: center;
  padding-top: 1rem;
}
.morning .sticky .phone {
  width: min(19rem, calc((100vh - 8rem) * 9 / 18.5));
}
.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  counter-reset: step;
}
.step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.step.on {
  opacity: 1;
}
.step .clock {
  font: 600 0.85rem / 1 var(--sans);
  color: var(--amber-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--muted);
  max-width: 30rem;
  font-size: 1.08rem;
}
.step .mini {
  display: none;
}
@media (max-width: 56rem) {
  .morning .wrap {
    grid-template-columns: 1fr;
  }
  .morning .sticky {
    display: none;
  }
  .step {
    min-height: 0;
    opacity: 1;
  }
  .step .mini {
    display: block;
    width: 13.5rem;
    margin: 1.25rem 0 0;
  }
}

/* Try it */
.try {
  background: var(--teal);
  color: #f6f0e6;
  overflow: hidden;
}
.try h2,
.try .eyebrow {
  color: #fff;
}
.try .eyebrow::before {
  background: var(--amber);
}
.try .lede {
  color: #cfe0e2;
}
.try .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.try-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
.try .phone {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: min(19rem, 100%);
  margin-inline: auto;
}
.try-controls {
  grid-column: 1;
  grid-row: 2;
}
.try-step {
  font: 600 0.8rem / 1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 1.5rem 0 0.75rem;
}
.try-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.try-options button {
  font: 500 0.98rem / 1.25 var(--sans);
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease);
}
.try-options button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.try-options button[aria-pressed="true"] {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.try-options button:disabled {
  opacity: 0.35;
  cursor: default;
}
.try-result {
  min-height: 3.2rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.try-result .lamp .pane {
  fill: rgba(255, 255, 255, 0.25);
}
.try-result.lit .lamp .pane {
  fill: var(--amber);
}
.try-again {
  background: none;
  border: 0;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
  margin-top: 0.5rem;
}
.nojs-note {
  color: #cfe0e2;
}
.js .nojs-note {
  display: none;
}
@media (max-width: 56rem) {
  .try .wrap {
    grid-template-columns: 1fr;
  }
  .try-copy,
  .try .phone,
  .try-controls {
    grid-column: auto;
    grid-row: auto;
  }
  .try .phone {
    width: min(14.5rem, 75%);
    margin: 1.5rem auto 0.5rem;
  }
}

/* The light (night) */
.night {
  background: var(--night);
  color: #e9e1d5;
  overflow: hidden;
}
.night h2 {
  color: #fff;
}
.night .eyebrow {
  color: var(--amber);
}
.night .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.night .lede {
  color: #c9bfb2;
}
.night .art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  max-height: 40rem;
}
.night .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.night .art::after {
  content: "";
  position: absolute;
  left: 57%;
  top: 23%;
  width: 36%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(rgba(251, 235, 207, 0.55), transparent 65%);
  mix-blend-mode: screen;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    opacity: 0.25;
  }
}
.ladder {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  position: relative;
}
.ladder::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--amber), rgba(233, 162, 59, 0.15));
}
.ladder li {
  position: relative;
  padding: 0 0 1.6rem 2.8rem;
}
.ladder li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.3rem;
  border-radius: 999px 999px 3px 3px;
  background: var(--night);
  box-shadow: inset 0 0 0 2px var(--amber);
}
.ladder li:first-child::before {
  background: var(--amber);
}
.ladder b {
  color: #fff;
  display: block;
  font-size: 1.08rem;
}
.ladder small {
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.promise-line {
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.night .phone-shot {
  max-width: 15rem;
  border-radius: 1.4rem;
  margin-top: 1.5rem;
  box-shadow: 0 30px 60px -30px #000;
}
@media (max-width: 56rem) {
  .night .wrap {
    grid-template-columns: 1fr;
  }
  .night .art {
    max-height: 26rem;
    aspect-ratio: auto;
  }
}

/* Full-bleed photo */
.bleed {
  position: relative;
  min-height: clamp(26rem, 70vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}
.bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(27, 23, 20, 0.78));
  z-index: 1;
}
.bleed .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.bleed h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  max-width: 18ch;
  color: #fff;
}
.bleed p {
  max-width: 34rem;
  color: #ede6da;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.plan {
  border-radius: var(--radius);
  padding: 2rem;
  background: #fff;
  box-shadow: 0 1px 0 var(--rule);
}
.plan.light {
  background: var(--glow);
  position: relative;
  overflow: hidden;
}
.plan.light::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  bottom: -4rem;
  width: 7rem;
  height: 9rem;
  border-radius: 999px 999px 14px 14px;
  background: var(--amber);
  opacity: 0.18;
  pointer-events: none;
}
.plan > * {
  position: relative;
  z-index: 1;
}
.plan h3 {
  font-size: 1.7rem;
}
.plan .tag {
  display: inline-block;
  font: 600 0.78rem / 1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: var(--soft);
  margin: 0.75rem 0 1.25rem;
}
.plan.light .tag {
  background: #fff;
}
.plan ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.plan li {
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  border-top: 1px solid rgba(30, 26, 22, 0.08);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.note {
  color: var(--muted);
  margin-top: 1.25rem;
}
@media (max-width: 50rem) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* Promises */
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.promise {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--soft);
}
.promise svg {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
}
.promise h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.promise p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}
@media (max-width: 60rem) {
  .promises {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 34rem) {
  .promises {
    grid-template-columns: 1fr;
  }
}

/* Numbers teaser */
.numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 var(--rule);
}
.numbers .big {
  font: 600 clamp(3rem, 8vw, 5rem) / 1 var(--serif);
  color: var(--teal);
}
@media (max-width: 50rem) {
  .numbers {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem;
  }
}

/* Waitlist */
.join {
  background: var(--glow);
}
.join .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.join .art {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}
.join .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
form.waitlist {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 30px 60px -40px rgba(30, 26, 22, 0.5);
  margin-top: 2rem;
}
.field {
  margin-bottom: 1.25rem;
}
.field > label,
fieldset legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #cfc5b7;
  background: var(--paper);
  color: var(--ink);
}
input[type="email"]:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 92, 102, 0.15);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.roles {
  display: grid;
  gap: 0.5rem;
}
.roles label {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--rule);
  cursor: pointer;
}
.roles label:has(input:checked) {
  border-color: var(--teal);
  background: rgba(31, 92, 102, 0.05);
}
.roles input {
  accent-color: var(--teal);
  width: 1.1rem;
  height: 1.1rem;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
form.waitlist .btn {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
}
.fine {
  font-size: 0.85rem;
  color: var(--caption);
  margin: 1rem 0 0;
}
.flash {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  margin-top: 1.5rem;
  font-weight: 500;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.flash.ok {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--teal);
}
.flash.err {
  background: #fce8e4;
  color: #7a2414;
}
@media (max-width: 56rem) {
  .join .wrap {
    grid-template-columns: 1fr;
  }
  .join .art {
    display: none;
  }
}

/* FAQ */
.faq {
  max-width: 48rem;
  margin-top: 2rem;
}
.faq details {
  border-top: 1px solid var(--rule);
  padding: 1.15rem 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  font: 600 1.15rem / 1.4 var(--serif);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font: 400 1.5rem / 1 var(--sans);
  color: var(--teal);
  transition: transform 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Footer */
footer.site {
  background: var(--night);
  color: #c9bfb2;
  padding: 3.5rem 0 2.5rem;
  font-size: 0.95rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
footer.site .brand {
  color: #fff;
}
footer.site a {
  color: #fff;
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
footer.site .made {
  width: 100%;
  border-top: 1px solid #3a322b;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* Precision page */
.page-head {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}
.page-head h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1rem;
}
.empty {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 46rem;
}
.scroll {
  overflow-x: auto;
  margin: 1.5rem 0 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--rule);
}
table {
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  width: 100%;
}
th,
td {
  text-align: right;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
th:first-child {
  text-align: left;
}
thead th {
  font-weight: 600;
  vertical-align: bottom;
  white-space: normal;
  min-width: 6rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.small {
  font-size: 0.9rem;
  color: var(--muted);
}
.prose {
  max-width: 46rem;
}
.prose p {
  font-size: 1.05rem;
}

/* Reveal on scroll, only once script is running; everything is visible without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal.d1 {
  transition-delay: 0.1s;
}
.js .reveal.d2 {
  transition-delay: 0.2s;
}
.js .reveal.d3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Section variants (no inline styles: the page's CSP allows only this stylesheet). */
.band.soft {
  background: var(--soft);
}
.band.flush {
  padding-top: 0;
}
.numbers h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-top: 0.25rem;
}
footer.site .run-by {
  margin: 1rem 0 0;
}
.back {
  margin: 2rem 0 4rem;
}

/* The website privacy notice. */
.notice h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}
.notice ul {
  padding-left: 1.3rem;
}
.notice li {
  margin: 0.45rem 0;
}

/* Refinement of the original Vela site: keep its warmth, photographs, window and product story. */
:root {
  --radius: 16px;
}
html {
  scroll-padding-top: 5.5rem;
}
.top {
  border-bottom: 1px solid var(--rule);
}
.top .wrap {
  height: 4.75rem;
  gap: 1.25rem;
}
.nav {
  gap: 1.15rem;
  font-size: 0.85rem;
}
.brand {
  font-size: 1.6rem;
}
.btn {
  border-radius: 9px;
}
.btn-primary {
  box-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.hero {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
}
.hero h1 {
  max-width: 100%;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.hero h1 em {
  display: inline;
}
.hero h1 em::after {
  height: 0.13em;
  opacity: 0.4;
  animation: none;
}
.hero .lede {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 29rem;
}
.hero .trust {
  font-size: 0.75rem;
  gap: 0.65rem 1rem;
}
.hero .stage {
  min-height: 32rem;
}
.stage .arch {
  inset: 0 0 2rem 5rem;
  box-shadow: 0 20px 45px -30px #1e1a1655;
}
.stage .arch img {
  object-position: 85% center;
  animation: none;
}
.stage .phone {
  width: 13rem;
  bottom: 1.5rem;
}
.badge-light {
  right: 0.6rem;
  top: 1.5rem;
  border-radius: 10px;
  animation: none;
  box-shadow: 0 8px 25px -15px #1e1a1655;
}
.lit .lamp {
  filter: none;
}
.hero-control {
  display: none;
  position: absolute;
  bottom: -0.8rem;
  left: 0.35rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font: 500 0.72rem / 1.5 var(--sans);
  padding: 0.4rem 0;
  min-height: 32px;
  cursor: pointer;
}
.js .hero-control {
  display: block;
}
.band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.band h2 {
  letter-spacing: -0.025em;
}
.morning .step {
  min-height: 34vh;
  opacity: 0.72;
  padding-block: 1.6rem;
}
.morning .step.on {
  opacity: 1;
}
.step h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}
.step p {
  font-size: 1rem;
  line-height: 1.75;
}
.morning .sticky {
  top: 6.5rem;
  padding-top: 7rem;
}
.morning .sticky .phone {
  width: min(17rem, calc((100vh - 8rem) * 9 / 18.5));
}
.phone {
  box-shadow:
    0 20px 40px -25px #1e1a1666,
    inset 0 0 0 2px #3a332d;
}
.msg.me {
  background: #dce9d4;
}
.screen .chat {
  background: #a2bbc0;
}
.demo-caption {
  font-size: 0.78rem;
  color: #d9e5e5;
  max-width: 32rem;
}
.try-options button {
  border-radius: 8px;
  min-height: 44px;
}
.try-options button:disabled[aria-pressed="true"] {
  opacity: 1;
}
.try-again {
  min-height: 40px;
  padding-block: 0.5rem;
}
.try-again[hidden] {
  display: none;
}
.plan {
  border: 1px solid var(--rule);
  box-shadow: none;
}
.promise {
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 0;
}
.promise svg {
  width: 1.75rem;
  height: 1.75rem;
}
.numbers {
  box-shadow: none;
  border: 1px solid var(--rule);
}
.night .art::after {
  animation: none;
}
.bleed img {
  height: 100%;
}
form.waitlist {
  box-shadow: none;
  border: 1px solid #e2d2b8;
}
.roles label,
input[type="email"] {
  border-radius: 8px;
}
.faq {
  max-width: 54rem;
}
.faq summary {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .hero h1 {
    max-width: 12ch;
  }
  .hero .stage {
    min-height: 29rem;
    max-width: 30rem;
  }
  .stage .arch {
    inset: 0 0 2.5rem 4rem;
  }
  .stage .phone {
    width: min(12rem, 42%);
  }
  .morning .step {
    min-height: 0;
    opacity: 1;
  }
  .morning .sticky {
    padding-top: 0;
  }
  .step .mini {
    width: 13rem;
  }
}
@media (max-width: 480px) {
  .top .wrap {
    height: 4rem;
    gap: 0.65rem;
  }
  .top .brand {
    font-size: 1.3rem;
    gap: 0.4rem;
  }
  .top .brand svg {
    width: 1.2rem;
  }
  .top .langs {
    font-size: 0.64rem;
    background: none;
    padding: 0;
  }
  .top .btn {
    display: inline-flex;
    font-size: 0.66rem;
    padding: 0.65rem 0.7rem;
    min-height: 36px;
  }
  .hero {
    padding-top: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 3.65rem);
    max-width: 12ch;
  }
  .hero .lede {
    font-size: 1rem;
  }
  .hero .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
  .hero .actions {
    gap: 0.65rem;
  }
  .hero .actions .btn {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .hero .trust {
    font-size: 0.68rem;
    gap: 0.5rem 0.8rem;
  }
  .hero .stage {
    min-height: 27rem;
  }
  .stage .arch {
    inset: 0 0 2.5rem 3.2rem;
  }
  .stage .phone {
    width: 43%;
  }
  .badge-light {
    font-size: 0.73rem;
    padding: 0.65rem;
    right: 0.3rem;
    top: 1rem;
  }
  .badge-light .lamp {
    width: 1.65rem;
    height: 2rem;
  }
  .band h2 {
    font-size: 2rem;
  }
  :lang(zh-TW) .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .step {
    opacity: 1;
  }
}

/* Show the first screen immediately; keep later entrances brief. */
.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.js .reveal {
  transition-duration: 0.45s;
}

/* The story before Vela: her "I'm fine" seen from far away, the week between calls, and why. */
.hero h1 {
  font-size: clamp(2.3rem, 5.1vw, 4.1rem);
}
.hero .actions .down {
  font-size: 1.1em;
  line-height: 1;
}
.say {
  position: absolute;
  margin: 0;
  max-width: 17rem;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: 0 8px 25px -15px #1e1a1666;
}
.say small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--caption);
}

.worry .week {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.moment {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fffdf9;
}
.moment .clock {
  font: 600 0.78rem / 1.2 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.8rem;
}
.moment h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 0.6rem;
}
.snip {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: #a2bbc0;
}
.snip p {
  margin: 0;
}
.snip .b {
  align-self: flex-start;
  max-width: 85%;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border-top-left-radius: 4px;
  background: #fff;
  font-size: 0.86rem;
  line-height: 1.35;
}
.snip .b.you {
  align-self: flex-end;
  background: #dce9d4;
  border-top-left-radius: 12px;
  border-top-right-radius: 4px;
}
.snip .meta {
  font-size: 0.72rem;
  color: #22393d;
}
.snip .b.you + .meta {
  align-self: flex-end;
}
.fig {
  margin: 0;
}
.fig .big {
  margin: 0 0 0.5rem;
  font: 600 clamp(2.2rem, 4vw, 3rem) / 1 var(--serif);
  color: var(--teal);
}
.fig figcaption {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.fig cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-size: 0.74rem;
  color: var(--caption);
}
.moment .fig {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.why {
  background: var(--soft);
}
.why .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why-head h2 {
  margin-bottom: 0;
}
.figures {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.figures .fig {
  padding-top: 1.25rem;
  border-top: 2px solid var(--amber);
}

/* Meet Vela: the morning demo that used to open the page. */
.meet .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.meet h2 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.meet h2 em::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.06em;
  height: 0.13em;
  background: var(--amber);
  opacity: 0.4;
  z-index: -1;
  border-radius: 3px;
}
.meet .lede {
  line-height: 1.7;
  max-width: 31rem;
}
.meet .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}
.meet .trust {
  font-size: 0.8rem;
}
.meet .stage {
  min-height: 32rem;
}
.meet .arch img {
  object-position: center 60%;
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: none;
  }
  .meet .wrap,
  .why .wrap {
    grid-template-columns: 1fr;
  }
  .meet .stage {
    min-height: 29rem;
    max-width: 30rem;
    width: 100%;
    margin-inline: auto;
  }
  .figures {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 48rem) {
  .worry .week {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.1rem, 9.6vw, 3.2rem);
    max-width: none;
  }
  .say {
    max-width: 11.5rem;
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }
  .moment {
    padding: 1.3rem 1.2rem 1.2rem;
  }
  .meet .stage {
    min-height: 27rem;
  }
}

/* Two screens, one exchange: the family's app and her LINE chat, as real devices. */
.ends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
}
.end {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.end::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  width: min(23rem, 94%);
  height: 29rem;
  border-radius: 999px 999px 20px 20px;
  background: var(--soft);
}
.end:nth-child(2)::before {
  background: var(--glow);
}
.end .phone {
  position: relative;
  width: 16.5rem;
}
.end-copy {
  position: relative;
  width: 100%;
  max-width: 25rem;
  margin-top: 2rem;
}
.end-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 0.6rem;
}
.end-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.end-copy li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.end-copy li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.98rem;
  width: 0.7rem;
  height: 0.88rem;
  border-radius: 999px 999px 2px 2px;
  background: var(--amber);
}
.nobody {
  max-width: 44rem;
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font: 600 1.15rem / 1.55 var(--serif);
  color: var(--teal-ink);
}

/* A device: thin bezel, side buttons, status bar and camera island. */
.phone.device {
  position: relative;
  padding: 0.45rem;
  border-radius: 2.7rem;
  background: linear-gradient(145deg, #3a332d, #15120f 40%);
  box-shadow:
    0 45px 70px -40px #1e1a1699,
    0 18px 30px -22px #1e1a1666,
    inset 0 0 0 1.5px #5a5148;
}
.phone.device::before,
.phone.device::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2b2520;
}
.phone.device::before {
  left: -3px;
  top: 6.5rem;
  height: 3.2rem;
}
.phone.device::after {
  right: -3px;
  top: 8rem;
  height: 4.5rem;
}
.phone.device .screen {
  border-radius: 2.3rem;
}
.status {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 1.35rem 0;
  font: 600 0.62rem / 1 var(--sans);
  color: var(--ink);
}
.status .island {
  position: absolute;
  left: 50%;
  top: 0.42rem;
  width: 4.4rem;
  height: 1.15rem;
  margin-left: -2.2rem;
  border-radius: 999px;
  background: #0d0b09;
}
.status .signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 0.55rem;
}
.status .signal i {
  width: 2.5px;
  border-radius: 1px;
  background: currentColor;
}
.status .signal i:nth-child(1) {
  height: 40%;
}
.status .signal i:nth-child(2) {
  height: 70%;
}
.status .signal i:nth-child(3) {
  height: 100%;
}
.status .signal b {
  width: 1.05rem;
  height: 0.5rem;
  margin-left: 0.3rem;
  border-radius: 2.5px;
  border: 1px solid currentColor;
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0.6rem 0 0 1px currentColor;
}
.phone.device .screen .bar {
  padding-top: 2rem;
}

/* The family's Today screen, after the app on main: her window, her words, the replies. */
.screen.app {
  background: var(--paper);
}
.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2.15rem 1rem 0.5rem;
  overflow: hidden;
}
.app-body p {
  margin: 0;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font: 600 0.92rem / 1 var(--serif);
}
.app-brand svg {
  width: 0.75rem;
}
.app-body .app-title {
  margin: 0.55rem 0 0.75rem;
  font: 600 1.45rem / 1.05 var(--serif);
}
.app-window {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
.app-window .lamp {
  width: 1.45rem;
  height: 1.8rem;
}
.app-window b {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
}
.app-window small {
  font-size: 0.64rem;
  color: var(--caption);
}
.app-asked {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}
.app-body .app-q {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
}
.app-answer {
  font: 600 1.15rem / 1.25 var(--serif);
}
.app-voice {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 0.45rem;
  padding: 0.28rem 0.55rem 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--glow);
  font: 600 0.58rem / 1 var(--sans);
  color: var(--amber-deep);
}
.app-voice i {
  width: 2px;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--amber-deep);
}
.app-voice i:nth-child(2n) {
  height: 0.3rem;
}
.app-voice i:nth-child(3n) {
  height: 0.62rem;
}
.app-voice i:last-of-type {
  margin-right: 0.3rem;
}
.app-body .app-at {
  margin: 0.45rem 0 0.6rem;
  font-size: 0.6rem;
  color: var(--caption);
}
.app-actions {
  display: flex;
  gap: 0.4rem;
}
.app-reply {
  flex: 1;
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  font: 600 0.7rem / 1 var(--sans);
}
.app-heart {
  width: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid #a69b8d;
  border-radius: 9px;
  color: var(--ink);
}
.app-heart svg {
  width: 0.95rem;
}
.app-replies {
  display: grid;
  gap: 0.35rem;
  margin: 0.7rem 0 0;
  padding: 0.6rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--muted);
}
.app-replies b {
  color: var(--ink);
}
.app-body .app-next {
  margin-top: 0.6rem;
  font-size: 0.6rem;
  color: var(--caption);
}
.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.55rem 0 1rem;
  border-top: 1px solid var(--rule);
  background: #f6f0e7;
  text-align: center;
  font: 500 0.56rem / 1 var(--sans);
  color: var(--muted);
}
.app-tabs .on {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 48rem) {
  .ends {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}
@media (max-width: 480px) {
  .end .phone {
    width: 15rem;
  }
  .end::before {
    height: 26rem;
  }
  .nobody {
    font-size: 1.02rem;
  }
}

/* A voice note in a static phone (before or without script): a small pill under the words. */
.msg .voice-label {
  display: flex;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #1e1a1610;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-ink);
}

/* Fewer words: each worry is a picture with a one-line caption, in a row of four. */
.worry .week {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.moment {
  padding: 1rem 1rem 1.25rem;
}
.moment .snip,
.moment .fig.boxed {
  margin: 0 0 1.1rem;
  min-height: 9rem;
  justify-content: center;
}
.moment .fig.boxed {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem;
  border-top: 0;
  border-radius: 12px;
  background: var(--soft);
}
.fig.boxed .big {
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}
.fig.boxed figcaption {
  font-size: 0.82rem;
  line-height: 1.45;
}
.fig.boxed cite {
  margin-top: 0.4rem;
  font-size: 0.64rem;
}
.moment .clock {
  margin-bottom: 0.4rem;
}
.moment h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
@media (max-width: 64rem) {
  .worry .week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .worry .week {
    grid-template-columns: 1fr;
  }
  .moment .snip,
  .moment .fig.boxed {
    min-height: 0;
  }
}

/* What's different: a yes/no chart, Vela's column lit. */
.compare {
  margin-top: 2.5rem;
  overflow-x: auto;
}
.compare table {
  max-width: 56rem;
}
.compare th,
.compare td {
  padding: 1rem 0.75rem;
  text-align: center;
  white-space: normal;
}
.compare thead th {
  min-width: 0;
  font: 600 0.85rem / 1.25 var(--sans);
  color: var(--muted);
}
.compare thead th.vela {
  border-radius: 14px 14px 0 0;
  font: 600 1.15rem / 1 var(--serif);
  color: var(--teal-ink);
}
.compare thead th.vela .lamp {
  display: block;
  width: 1.6rem;
  height: 2rem;
  margin: 0 auto 0.4rem;
}
.compare tbody th {
  padding-left: 0;
  text-align: left;
  font: 500 1.02rem / 1.4 var(--sans);
  color: var(--ink);
}
.compare .vela {
  background: #fbebcf99;
}
.compare tbody tr:last-child td.vela {
  border-radius: 0 0 14px 14px;
}
.compare .mark {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  vertical-align: middle;
}
.compare .yes .mark circle {
  fill: var(--teal);
}
.compare .vela.yes .mark circle {
  fill: var(--amber-deep);
}
.compare .no .mark {
  color: #b9afa2;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ladder li.lit::before {
  background: var(--amber);
}

/* Motion that tells the story without words: bubbles arrive, circles meet, ticks land. */
@media (prefers-reduced-motion: no-preference) {
  .js .moment .snip p {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
  }
  .js .moment.in .snip p {
    opacity: 1;
    transform: none;
  }
  .js .moment.in .snip p:nth-child(2) {
    transition-delay: 0.7s;
  }
  .js .compare .mark {
    opacity: 0;
    transform: scale(0.4);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
  }
  .js .compare.in .mark {
    opacity: 1;
    transform: none;
  }
  .js .compare.in tr:nth-child(2) .mark {
    transition-delay: 0.1s;
  }
  .js .compare.in tr:nth-child(3) .mark {
    transition-delay: 0.2s;
  }
  .js .compare.in tr:nth-child(4) .mark {
    transition-delay: 0.3s;
  }
  .js .compare.in tr:nth-child(5) .mark {
    transition-delay: 0.4s;
  }
}

@media (max-width: 480px) {
  .compare th,
  .compare td {
    padding: 0.8rem 0.3rem;
  }
  .compare tbody th {
    font-size: 0.88rem;
  }
  .compare thead th {
    font-size: 0.7rem;
  }
  .compare thead th.vela {
    font-size: 0.95rem;
  }
  .compare .mark {
    width: 1.3rem;
    height: 1.3rem;
  }
}

/* Second pass, after studying Aura, Storyworth, Headspace and Papa: colour blocks, an edge-to-edge
   photograph, a band of facts, one large statement, real messenger chrome, and fewer template cues. */
.eyebrow::before {
  content: none;
}
.btn-amber {
  background: var(--amber);
  color: var(--ink);
}
.btn-amber:hover {
  transform: translateY(-1px);
  background: #f0b358;
}
.btn-light {
  background: transparent;
  color: #fbf7f0;
  box-shadow: inset 0 0 0 1.5px #fbf7f088;
}
.btn-light:hover {
  background: #fbf7f0;
  color: var(--teal-ink);
}

/* Hero: a deep teal block beside her photograph, edge to edge, the exchange on top of it. */
.hero.split {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: min(46rem, calc(100vh - 4.75rem));
  padding: 0;
  background: var(--teal-ink);
}
.hero-copy {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4.5vw, 4.5rem) clamp(3rem, 6vw, 5rem)
    max(1.25rem, calc((100vw - var(--wrap)) / 2));
  color: #f6f0e6;
}
.hero-inner {
  width: 100%;
  max-width: 34rem;
}
.hero.split .eyebrow {
  color: var(--amber);
}
.hero.split h1 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 3.9vw, 3.7rem);
  color: #fbf7f0;
}
.hero.split h1 > span {
  display: block;
}
.hero.split h1 em {
  color: var(--amber);
}
.hero.split h1 em::after {
  content: none;
}
.hero.split .lede {
  max-width: 27rem;
  color: #d7e3e2;
}
.hero-photo {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
}
.hero-photo .her-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.from-you {
  position: absolute;
  left: clamp(1rem, 3vw, 2.5rem);
  top: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}
.from-you img {
  width: clamp(4rem, 6.5vw, 6rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px -14px #1e1a16aa;
}
.from-you .say {
  position: static;
  margin-bottom: 0.4rem;
  background: #dce9d4;
  border-bottom-left-radius: 4px;
}
.hero-photo .say.her {
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  border-bottom-right-radius: 4px;
}

/* The facts band, where the best sites put their press logos and ratings. */
.proof {
  background: #123a41;
  color: #f3ede4;
}
.proof ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  margin: 0 auto;
  padding: 1.15rem 0;
  list-style: none;
}
.proof li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.92rem / 1.3 var(--sans);
}
.proof svg {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--amber);
}

/* Worries: white chat cards on a cream band, each with its chat's name like a real messenger. */
.worry {
  background: var(--soft);
}
.worry h2 {
  max-width: 20ch;
  margin-inline: auto;
  text-align: center;
}
.worry .week {
  margin-top: 3rem;
}
.moment {
  border: 0;
  background: #fff;
  box-shadow:
    0 1px 2px #1e1a160d,
    0 18px 36px -26px #1e1a1660;
}
.moment .snip {
  justify-content: flex-start;
  padding: 0 0 0.9rem;
  overflow: hidden;
}
.snip .snip-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  padding: 0.5rem 0.7rem;
  background: #ffffffe0;
  font: 600 0.74rem / 1 var(--sans);
  color: var(--ink);
}
.snip-head .ava {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--glow);
  color: var(--amber-deep);
  font-size: 0.66rem;
}
.snip .b,
.snip .meta {
  margin-inline: 0.8rem;
}

/* Why: one statement in large type on the night band, then the figures. */
.why {
  background: var(--night);
  color: #f3ede4;
}
.why .wrap {
  display: block;
  text-align: center;
}
.why .statement {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  line-height: 1.22;
  color: #a99e90;
}
.statement .line {
  display: block;
  text-wrap: balance;
}
.statement .line b {
  font-weight: 600;
  color: #fbf7f0;
}
.statement .vela {
  margin-top: 0.4em;
  color: var(--amber);
}
.statement .vela b {
  color: var(--amber);
}
.statement .lamp {
  width: 0.62em;
  height: 0.77em;
  margin-right: 0.22em;
  vertical-align: -0.04em;
  filter: drop-shadow(0 0 14px #e9a23baa);
}
.why .why-note {
  max-width: none;
  margin: 1.5rem auto 0;
  font: 500 1.05rem / 1.5 var(--sans);
  color: #d6cbbd;
}
.why .figures {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: left;
}
.why .figures .fig {
  border-top-color: #e9a23b66;
}
.why .fig .big {
  color: var(--amber);
}
.why .fig figcaption {
  color: #d6cbbd;
}
.why .fig cite {
  color: #9b9083;
}

/* Questions: big cards in a row that runs off the edge, as the best family products show them. */
.questions {
  overflow: hidden;
  background: var(--glow);
}
.questions .wrap {
  text-align: center;
}
.questions h2,
.questions .lede {
  margin-inline: auto;
}
.qrow {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0.5rem max(1rem, calc((100vw - var(--wrap)) / 2)) 1.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1rem, calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.qrow::-webkit-scrollbar {
  display: none;
}
.qcard {
  flex: 0 0 clamp(14rem, 22vw, 18rem);
  min-height: clamp(12rem, 17vw, 15rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  scroll-snap-align: start;
  box-shadow: 0 16px 32px -26px #1e1a1680;
}
.qcard svg {
  width: 1.2rem;
}
.qcard p {
  margin: 0;
  font: 600 clamp(1.25rem, 1.8vw, 1.5rem) / 1.3 var(--serif);
}
.qcard.amber {
  background: var(--amber);
}
.qcard.teal {
  background: var(--teal);
  color: #fbf7f0;
}

/* Screens on the cream band; the chart fills the width with an icon over each column. */
.screens {
  background: var(--soft);
}
.screens .end::before {
  background: var(--paper);
}
.compare table {
  max-width: none;
}
.compare thead th svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.45rem;
  color: var(--caption);
}
.compare thead th.vela .lamp {
  width: 1.6rem;
  height: 2rem;
}

@media (max-width: 900px) {
  .hero.split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    justify-content: flex-start;
    padding: 2.75rem 1.25rem 2.5rem;
  }
  .hero-photo {
    min-height: 0;
    aspect-ratio: 4 / 3.3;
  }
  .proof ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .hero.split h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }
  .proof li {
    font-size: 0.8rem;
  }
  .proof svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  .from-you img {
    width: 3.4rem;
  }
  .qcard {
    flex-basis: 72vw;
  }
}

/* One morning: with one line per step, shorter steps keep the sticky phone close to its words. */
@media (min-width: 901px) {
  .morning .step {
    min-height: 24vh;
  }
}

/* Family band: keep their faces in the upper half and set the words on the darkened table below. */
.bleed img {
  object-position: 50% 62%;
}
.bleed::before {
  background: linear-gradient(
    180deg,
    transparent 38%,
    rgba(27, 23, 20, 0.55) 62%,
    rgba(27, 23, 20, 0.88)
  );
}
.bleed h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Chinese hero: full-width brackets and the full stop each take a whole character's width, with the
   mark drawn in one half. That left a gap before 「 at the start of the line and pushed 。 away
   from 」. Fonts rarely support the trimming features, so pull both halves in directly. */
:lang(zh-TW) .hero.split h1 {
  letter-spacing: 0;
}
:lang(zh-TW) .hero.split h1 em {
  margin-left: -0.5em;
  margin-right: -0.45em;
}
