/* capy.lifebar.app. Colours follow the app's tokens (app/packages/tokens): white paper and ink like Muse,
   the 等你 orange for the one warm accent, 卡皮's yuzu and leaf for the background glow. */
:root {
  --paper: #ffffff;
  --paper-raised: #f6f6f3;
  --paper-sunk: #ededea;
  --rule: #e6e6e1;
  --ink: #14161b;
  --ink-muted: #5d626d;
  --ink-faint: #8a8d95;
  --brand: #c2410c;
  --brand-soft: #fdebdd;
  --done: #1d6b45;
  --done-soft: #e3f1e8;
  --action: #14161b;
  --on-action: #ffffff;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-rule: rgba(20, 22, 27, 0.08);
  --bezel: #16171b;
  --float-shadow: 0 30px 60px -20px rgba(40, 30, 20, 0.22), 0 12px 24px -12px rgba(40, 30, 20, 0.14);
  --serif: ui-serif, 'New York', 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', Georgia, serif;
  --sans:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1013;
    --paper-raised: #1a1b1f;
    --paper-sunk: #24262b;
    --rule: #2a2c31;
    --ink: #ecedef;
    --ink-muted: #a8acb5;
    --ink-faint: #6e727b;
    --brand: #f28b4e;
    --brand-soft: #2d1d13;
    --done: #5cc48a;
    --done-soft: #15281d;
    --action: #ecedef;
    --on-action: #0f1013;
    --glass: rgba(30, 31, 36, 0.72);
    --glass-rule: rgba(236, 237, 239, 0.09);
    --bezel: #2a2b30;
    --float-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.wide {
  max-width: 1240px;
}
.serif {
  font-family: var(--serif);
}
:lang(en) .h2,
:lang(en) .step h3 {
  letter-spacing: -0.03em;
}

/* Navigation */
.hnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.hnav.scrolled {
  border-bottom-color: var(--rule);
}
.hnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.hnav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.hnav nav a {
  color: var(--ink-muted);
}
.hnav nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.hnav nav a.lang {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-size: 12.5px;
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--action);
  color: var(--on-action) !important;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    opacity 0.2s;
}
.pill:hover {
  text-decoration: none;
  transform: scale(1.03);
}
.pill:active {
  transform: scale(0.97);
}
.pill:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.pill.sm {
  padding: 7px 14px;
  font-size: 13px;
}
.pill.lg {
  padding: 15px 26px;
  font-size: 17px;
}

/* Phone and desktop mocks */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 780 / 1688;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.17);
  background: var(--bezel);
  box-shadow:
    var(--float-shadow),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.phone::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  border: 1.5px solid rgba(150, 152, 160, 0.35);
  pointer-events: none;
}
.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--w) * 0.14);
  overflow: hidden;
  background: var(--paper);
}
.screen img,
.screen picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.screen picture {
  transition: opacity 0.6s ease;
}
.screen picture.off {
  opacity: 0;
}
.window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow:
    var(--float-shadow),
    0 0 0 1px var(--glass-rule);
}
.window .bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
}
.window .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.window .bar i:nth-child(2) {
  background: #febc2e;
}
.window .bar i:nth-child(3) {
  background: #28c840;
}
.window img {
  width: 100%;
  height: auto;
}

/* Reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s !important;
}
.d2 {
  transition-delay: 0.16s !important;
}
.d3 {
  transition-delay: 0.24s !important;
}
.d4 {
  transition-delay: 0.32s !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 40px;
  text-align: center;
  overflow: clip;
}
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
:lang(en) .hero h1 {
  font-weight: 600;
  font-size: clamp(48px, 7.8vw, 100px);
  letter-spacing: -0.025em;
}
.hero .lede {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-muted);
  line-height: 1.5;
}
.hero .lede b {
  color: var(--ink);
  font-weight: 600;
}
.hero .join {
  margin-top: 34px;
}
.hero .join small {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}

.stage {
  position: relative;
  height: 740px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.stage .phone {
  --w: 330px;
  z-index: 2;
  transform: translateY(calc(var(--hp, 0) * -40px)) scale(calc(1 - var(--hp, 0) * 0.04));
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb.yuzu {
  width: 430px;
  height: 430px;
  left: calc(50% - 420px);
  top: 80px;
  background: radial-gradient(circle at 40% 35%, #fff3d6, #ffd68a 50%, #ffb23e 66%, rgba(255, 178, 62, 0) 72%);
  opacity: 0.6;
}
.orb.leaf {
  width: 380px;
  height: 380px;
  left: calc(50% + 10px);
  top: 310px;
  background: radial-gradient(circle at 38% 30%, #e6f6ea, #b6e4c3 48%, #7fcf98 66%, rgba(127, 207, 152, 0) 72%);
  opacity: 0.55;
  animation-duration: 17s;
  animation-delay: -6s;
}
@media (prefers-color-scheme: dark) {
  .orb {
    filter: blur(40px);
  }
  .orb.yuzu {
    background: radial-gradient(circle, rgba(242, 160, 60, 0.5), rgba(242, 160, 60, 0) 68%);
    opacity: 1;
  }
  .orb.leaf {
    background: radial-gradient(circle, rgba(76, 193, 116, 0.38), rgba(76, 193, 116, 0) 68%);
    opacity: 1;
  }
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, -30px) scale(1.06);
  }
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-rule);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--float-shadow);
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  animation: chipIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  translate: calc(var(--dx, 0) * var(--hp, 0) * 60px) calc(var(--hp, 0) * -30px);
}
.chip .dot {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chip .dot svg {
  width: 18px;
  height: 18px;
}
.chip span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.25;
}
.chip strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.chip .live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--done);
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
.chip.c1 {
  left: calc(50% - 430px);
  top: 130px;
  animation-delay: 0.7s;
  --dx: -1;
}
.chip.c2 {
  left: calc(50% + 196px);
  top: 214px;
  animation-delay: 0.85s;
  --dx: 1;
}
.chip.c3 {
  left: calc(50% - 410px);
  top: 430px;
  animation-delay: 1s;
  --dx: -1;
}
.chip.c4 {
  left: calc(50% + 214px);
  top: 512px;
  animation-delay: 1.15s;
  --dx: 1;
}
@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.tint-wait {
  background: var(--brand-soft);
  color: var(--brand);
}
.tint-done {
  background: var(--done-soft);
  color: var(--done);
}
.tint-ink {
  background: var(--paper-sunk);
  color: var(--ink);
}

.hero-in > * {
  opacity: 0;
  animation: up 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-in > :nth-child(2) {
  animation-delay: 0.1s;
}
.hero-in > :nth-child(3) {
  animation-delay: 0.2s;
}
.hero-in > :nth-child(4) {
  animation-delay: 0.3s;
}
.stage .phone {
  opacity: 0;
  animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s forwards;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 80px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Waitlist form */
.join form {
  display: flex;
  gap: 8px;
  max-width: 470px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px var(--rule),
    0 14px 34px -18px rgba(40, 30, 20, 0.35);
  transition: box-shadow 0.25s;
}
.join form:focus-within {
  box-shadow:
    0 0 0 2px var(--ink),
    0 14px 34px -18px rgba(40, 30, 20, 0.35);
}
.join input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 0 16px;
}
.join input::placeholder {
  color: var(--ink-faint);
}
.join .pill {
  padding: 12px 22px;
  font-size: 15px;
}
.join .extra {
  max-width: 470px;
  margin: 10px auto 0;
  display: none;
}
.join .extra input {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
}
.join .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.join .msg {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.join .msg:empty {
  display: none;
}
.join .msg.err {
  color: #b42318;
}
.join.done form,
.join.done .extra {
  display: none;
}
.join .ok {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 470px;
  margin: 0 auto;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--done-soft);
  color: var(--done);
  font-weight: 600;
  animation: up 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.join.done .ok {
  display: flex;
}
.join .ok svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section scaffolding */
section {
  position: relative;
}
.sec {
  padding: 140px 0;
}
.kicker {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.h2 .muted {
  color: var(--ink-faint);
}
.body {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 580px;
}
.body b {
  color: var(--ink);
  font-weight: 600;
}
.center {
  text-align: center;
}
.center .body {
  margin-left: auto;
  margin-right: auto;
}

/* The statement: characters (zh) or words (en) light up as you scroll */
.question {
  padding: 160px 0 120px;
}
.question p {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.32;
  max-width: 1000px;
}
:lang(en) .question p {
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.question .w {
  color: var(--ink);
  opacity: 0.16;
  transition: opacity 0.25s linear;
}
.question .w.on {
  opacity: 1;
}
.question .w.em {
  color: var(--brand);
}

/* The demo: one to-do, four steps */
.demo {
  margin-top: 64px;
}
.track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.track::before,
.track .fill {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 15px;
  height: 2px;
  background: var(--rule);
}
.track .fill {
  right: auto;
  width: calc(75% * var(--p, 0));
  background: var(--ink);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.track div {
  position: relative;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-faint);
  transition: color 0.4s;
}
.track div b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--rule);
  font-size: 13px;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    color 0.4s;
}
.track div.on {
  color: var(--ink);
}
.track div.on b {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.card {
  position: relative;
  min-height: 300px;
  padding: 22px;
  border-radius: 24px;
  background: var(--paper-raised);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.4;
  transform: scale(0.98);
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.5s;
}
.card.on {
  opacity: 1;
  transform: none;
}
.card.now {
  box-shadow:
    0 0 0 1.5px var(--ink),
    var(--float-shadow);
}
.card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.mail {
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}
.mail .from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.mail .from i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-sunk);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.src {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 13.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.src small {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
}
.src.on {
  opacity: 1;
  transform: none;
}
.src .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--done-soft);
  color: var(--done);
}
.tick svg,
.btn-ok svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.draft {
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  min-height: 110px;
}
.draft .to {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.draft .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--ink);
  vertical-align: -2px;
  margin-left: 1px;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.choice {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.choice .opt {
  padding: 12px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition:
    transform 0.15s,
    background 0.3s,
    color 0.3s;
}
.choice .opt.primary {
  background: var(--action);
  color: var(--on-action);
  box-shadow: none;
}
.choice .opt.press {
  transform: scale(0.95);
}
.sent {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 14px;
  animation: up 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sent.on {
  display: flex;
}
.sent .ring {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.sent .ring svg {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}
.sent .ring circle {
  fill: none;
  stroke-width: 3;
}
.sent .ring .bg {
  stroke: var(--rule);
}
.sent .ring .fg {
  stroke: var(--ink);
  stroke-dasharray: 94.25;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}
.sent .ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.sent small {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
}
.sent .undo {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}
.sent.final .ring {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--done-soft);
  color: var(--done);
}
.sent.final .ring svg {
  display: none;
}
.demo-foot {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}
.replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 0;
  background: var(--paper-sunk);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.replay:hover {
  transform: scale(1.04);
}
.replay svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sticky story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.story .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story .pin .phone {
  --w: min(330px, 36vh);
}
.story-head {
  padding-top: 40px;
}
.story-head .h2 {
  font-size: clamp(32px, 3.9vw, 50px);
}
.steps {
  padding: 14vh 0 18vh;
}
.step {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.5s;
}
.step.on {
  opacity: 1;
}
.step .num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.step h3 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin-bottom: 18px;
}
.step .phone.inline {
  display: none;
}
.note {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  font-size: 15px;
  background: var(--brand-soft);
  color: var(--ink);
}
.note i {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--brand);
  display: grid;
  place-items: center;
  font-style: normal;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Desktop showcase with floating notes */
.showcase {
  position: relative;
  margin-top: 64px;
}
.showcase .window {
  transform: perspective(2000px) rotateX(calc((1 - var(--sp, 1)) * 14deg)) scale(calc(0.92 + var(--sp, 1) * 0.08));
  transform-origin: 50% 0;
}
.float {
  position: absolute;
  z-index: 3;
  width: 250px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-rule);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--float-shadow);
  text-align: left;
}
.float b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 4px;
}
.float b i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
}
.float p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}
.showcase {
  margin-bottom: 70px;
}
.floats {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -70px;
  width: min(960px, 90%);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.float {
  position: relative;
  width: auto;
}

/* Two-up feature */
.duo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.visual {
  position: relative;
}
.facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 28px 40px;
}
.fact strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.fact span {
  font-size: 14px;
  color: var(--ink-muted);
}
.task-card {
  position: absolute;
  z-index: 3;
  left: -48px;
  bottom: -40px;
  width: 330px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-rule);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--float-shadow);
}
.task-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
}
.task-card .row em {
  font-style: normal;
  font-size: 12px;
  color: var(--done);
  font-weight: 600;
}
.task-card .now {
  margin: 8px 0 12px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.task-card .now b {
  color: var(--ink);
}
.segs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.segs i {
  height: 6px;
  border-radius: 3px;
  background: var(--paper-sunk);
  position: relative;
  overflow: hidden;
}
.segs i::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--ink);
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.segs i.done::after {
  width: 100%;
}
.segs i.half::after {
  width: 60%;
  background: var(--done);
}
.seglabels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-faint);
}
.seglabels span.on {
  color: var(--ink);
  font-weight: 600;
}

/* Bento */
.bento {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.tile {
  grid-column: span 2;
  background: var(--paper-raised);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.tile.wide,
.tile.half {
  min-height: 340px;
}
.tile.wide {
  grid-column: span 4;
}
.tile.half {
  grid-column: span 3;
}
.tile h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.tile p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.tile .art {
  margin-top: auto;
  padding-top: 28px;
}
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.icon-badge svg {
  width: 24px;
  height: 24px;
}
.rows {
  display: grid;
  gap: 8px;
}
.rows div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.in .rows div {
  opacity: 1;
  transform: none;
}
.in .rows div:nth-child(2) {
  transition-delay: 0.15s;
}
.in .rows div:nth-child(3) {
  transition-delay: 0.3s;
}
.in .rows div:nth-child(4) {
  transition-delay: 0.45s;
}
.rows .n {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper-sunk);
  color: var(--ink-muted);
}
.rows .tag {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.rows .tag.mark {
  color: var(--brand);
  font-weight: 600;
}
.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 14px;
}
.flow span {
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--paper);
}
.flow em {
  font-style: normal;
  color: var(--ink-faint);
}
.notif {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 10px 30px -14px rgba(40, 30, 20, 0.3);
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  transition:
    opacity 0.7s,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.tile.in .notif {
  opacity: 1;
  transform: none;
}
.notif img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}
.notif p {
  display: flex;
  justify-content: space-between;
  font-size: 12px !important;
  color: var(--ink-muted);
}
.notif p b {
  font-weight: 600;
  font-size: 12px;
}
.notif strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 1px 0;
}
.notif span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.slots span {
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-muted);
  transition:
    background 0.4s 0.6s,
    color 0.4s 0.6s;
}
.slots span small {
  display: block;
  font-size: 11px;
}
.in .slots span.pick {
  background: var(--action);
  color: var(--on-action);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}
.devices {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}
.dev {
  background: var(--paper);
  border: 5px solid var(--bezel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}
.dev b {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
}
.dev strong {
  font-weight: 600;
  line-height: 1.2;
}
.dev.lap {
  width: 170px;
  height: 108px;
  border-radius: 12px;
}
.dev.lap strong {
  font-size: 15px;
}
.dev.phn {
  width: 62px;
  height: 112px;
  border-radius: 14px;
  padding: 6px;
}
.dev.phn strong {
  font-size: 11px;
}
.dev.phn b {
  font-size: 8px;
}

/* Trust */
.trust {
  text-align: center;
}
.lock {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.lock svg {
  width: 44px;
  height: 44px;
}
.promises {
  margin: 56px auto 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.promises div {
  padding: 26px;
  border-radius: 22px;
  background: var(--paper-raised);
}
.promises b {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.promises p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Rollout */
.rollout {
  margin-top: 64px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rollout::before,
.rollout .line {
  content: '';
  position: absolute;
  top: 19px;
  left: 20px;
  width: calc(3 * ((100% - 72px) / 4 + 24px));
  height: 2px;
  background: var(--rule);
}
.rollout .line {
  right: auto;
  width: 0;
  background: var(--brand);
  transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.rollout.in .line {
  width: calc(3 * ((100% - 72px) / 4 + 24px));
}
.rollout article {
  position: relative;
}
.rollout .n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--rule);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 22px;
  transition:
    background 0.4s,
    color 0.4s,
    box-shadow 0.4s;
}
.rollout.in .n {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}
.rollout.in article:nth-of-type(2) .n {
  transition-delay: 0.5s;
}
.rollout.in article:nth-of-type(3) .n {
  transition-delay: 0.9s;
}
.rollout.in article:nth-of-type(4) .n {
  transition-delay: 1.3s;
}
.rollout h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.rollout p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.plans {
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  border-radius: 28px;
  padding: 30px;
  background: var(--paper-raised);
  text-align: left;
}
.plan strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.plan h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Finale */
.finale {
  padding: 150px 0 140px;
  text-align: center;
  overflow: clip;
}
.finale .orb.yuzu {
  left: calc(50% - 460px);
  top: 40px;
  opacity: 0.35;
}
.finale .orb.leaf {
  left: calc(50% + 120px);
  top: 260px;
  opacity: 0.35;
}
.finale .wrap {
  position: relative;
  z-index: 2;
}
.mascot {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;
}
.mascot .breathe {
  transform-origin: 100px 176px;
  animation: breathe 3.6s ease-in-out infinite;
}
.mascot .yuzu {
  transform-origin: 100px 51px;
  animation: bob 3.6s ease-in-out infinite;
}
.mascot .eyes {
  transform-origin: 100px 106px;
  animation: blink 5.2s infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.02, 0.975);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-3px) rotate(-6deg);
  }
}
@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
.finale .h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.12;
}
:lang(en) .finale .h2 {
  font-weight: 600;
}
.finale .body {
  margin: 22px auto 0;
}
.finale .join {
  margin-top: 36px;
}
.finale .join small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 48px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--ink-muted);
}

/* Tablet and phone */
@media (max-width: 960px) {
  .sec {
    padding: 100px 0;
  }
  .stage {
    height: 660px;
  }
  .stage .phone {
    --w: 290px;
  }
  .chip.c1 {
    left: calc(50% - 330px);
  }
  .chip.c2 {
    left: calc(50% + 130px);
  }
  .chip.c3 {
    left: calc(50% - 320px);
  }
  .chip.c4 {
    left: calc(50% + 140px);
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story .pin {
    display: none;
  }
  .steps {
    padding: 0;
  }
  .step {
    min-height: 0;
    opacity: 1;
    padding: 56px 0;
    align-items: center;
    text-align: center;
  }
  .step .body {
    margin: 0 auto;
  }
  .step .note {
    align-self: center;
  }
  .step .phone.inline {
    display: block;
    --w: 280px;
    margin-top: 40px;
  }
  .story-head {
    text-align: center;
  }
  .track,
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .track {
    display: none;
  }
  .card {
    min-height: 0;
  }
  .showcase {
    margin-bottom: 0;
  }
  .floats {
    position: static;
    width: auto;
    transform: none;
    margin-top: 24px;
  }
  .showcase .window {
    transform: none;
  }
  .duo {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .duo .visual {
    order: 2;
  }
  .task-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -60px;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile,
  .tile.wide,
  .tile.half {
    grid-column: span 2;
    min-height: 0;
  }
  .promises,
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .rollout {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .rollout::before,
  .rollout .line {
    display: none;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hnav nav a.opt {
    display: none;
  }
  .hnav nav {
    gap: 12px;
  }
  .hero {
    padding-top: 44px;
  }
  .stage {
    height: 560px;
    margin-top: 40px;
  }
  .stage .phone {
    --w: 250px;
  }
  .orb.yuzu {
    width: 300px;
    height: 300px;
    left: calc(50% - 230px);
    top: 30px;
  }
  .orb.leaf {
    width: 260px;
    height: 260px;
    left: calc(50% - 20px);
    top: 260px;
  }
  .chip {
    padding: 9px 12px 9px 9px;
    gap: 9px;
    border-radius: 15px;
    translate: 0 calc(var(--hp, 0) * -24px);
  }
  .chip .dot {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .chip strong {
    font-size: 14px;
  }
  .chip span {
    font-size: 11px;
  }
  .chip.c1,
  .chip.c3 {
    display: none;
  }
  .chip.c2 {
    left: auto;
    right: 6px;
    top: 150px;
  }
  .chip.c4 {
    left: 6px;
    top: 420px;
  }
  .join form {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
  }
  .join input {
    height: 46px;
  }
  .question {
    padding: 110px 0 80px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .floats {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .fact strong {
    font-size: 24px;
  }
  .task-card {
    width: calc(100% - 20px);
    bottom: -90px;
  }
  .duo {
    gap: 40px;
  }
  .duo .visual {
    margin-bottom: 90px;
  }
  .tile {
    padding: 26px;
    border-radius: 24px;
  }
  .promises,
  .plans,
  .rollout {
    grid-template-columns: 1fr;
  }
  .footer .wrap {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv,
  .hero-in > *,
  .stage .phone,
  .chip,
  .notif {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }
  .question .w {
    opacity: 1;
  }
  .rows div,
  .src {
    opacity: 1;
    transform: none;
  }
  .card {
    opacity: 1;
    transform: none;
  }
  .showcase .window {
    transform: none;
  }
}
