/* Pear landing pages (EN + ZH). One brand with the iOS app, the login and the web app.
 * Colour follows the app: forest #173c32, teal #4fa59a, warm #e08a62 (only for "worth a look"),
 * neutrals pearl / sage / white / ink, text roles --text-primary / -secondary / -muted. Large fields
 * share the app's restrained pearl diffusion. Forest anchors actions and text rather than entire sections.
 * Type: Inter (Chiron Hei HK in zh) at 400, 500 for labels and buttons; IBM Plex Mono 400 for every
 * number that is data; TeX Gyre Adventor Bold only for the display headlines. Cream is kept for the
 * display headlines and wordmark only on intentionally dark surfaces. Buttons use the shared thin
 * translucent material; primary actions use forest. Scale and spacing follow tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root { --page-max: 1680px; --page-pad: clamp(24px, 4.2vw, 88px); --gutter: clamp(20px, 6.67vw, 96px); }
/* Landing typography: shared rhythm, with language-specific optical spacing.
 * Size and family remain the established roles in tokens.css; these variables
 * belong only to this stylesheet, which the App does not load. */
:root {
  --landing-lh-display: 1.1;
  --landing-lh-heading: 1.25;
  --landing-lh-prose: 1.7;
  --landing-track-display: -0.025em;
  --landing-track-heading: -0.015em;
  --landing-track-prose: 0;
}
html:lang(zh) {
  --landing-lh-display: 1.3;
  --landing-lh-heading: 1.3;
  --landing-lh-prose: 1.8;
  --landing-track-display: 0;
  --landing-track-heading: 0;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--page); }
/* Rendering matches the original site: the platform's default smoothing
 * (no antialiased thinning) and no synthesized weights. */
body {
  margin: 0; color: var(--text-primary);
  font: 400 var(--fs-body)/var(--landing-lh-prose) var(--font-sans);
  letter-spacing: var(--landing-track-prose);
  font-synthesis: none; font-kerning: normal;
  /* the fine grain over the page light (below) */
  background: url("../assets/texture/grain-soft.png") 0 0 / 128px 128px;
}
/* The page light, as in the web app (app/css/app.css body::before): pearl (html) with four soft blooms (sage top left, a
 * forest haze to the right, teal lower left, a forest haze along the bottom), fixed to the viewport so the sections glide over
 * it; the grain (body) sits on top. Light sections have no fill of their own, so every light page is lit by this one light. */
:root { --page-light: var(--brand-field); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--page-light); }
body.has-menu { overflow: hidden; }
/* One vertical rhythm for the light sections after the story (care → features → close → pricing), and the height of the
 * fog where the page light and the forest meet (the foot of the statement on phones, the top of the footer) */
:root {
  --sec-y: clamp(72px, 8.4vw, 120px); --fog: clamp(110px, 14vw, 200px);
  /* the two group photos keep their sky, nudged from blue toward the brand teal and calmed, so every photo on the page sits in the forest palette */
  --photo-tint: hue-rotate(-20deg) saturate(0.74);
}
::selection { background: rgba(79, 165, 154, 0.25); }
[data-surface="dark"] ::selection { background: rgba(242, 244, 246, 0.26); }
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus-on-light); outline-offset: 3px; }
[data-surface="dark"] :focus-visible, .hdr[data-on="dark"] :focus-visible { outline-color: var(--focus-on-dark); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 8px; top: -64px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--forest); color: var(--page); text-decoration: none; font: 500 14px/1 var(--font-sans); }
.skip:focus { top: 12px; }

/* Chinese never breaks inside a word; short lines break at punctuation first */
.wseg, html:lang(zh) [data-words] .w { white-space: nowrap; }
html:lang(zh) [data-wrap="clause"] { word-break: keep-all; overflow-wrap: anywhere; }

/* Type roles (small text): label 12px/16px 500 uppercase +0.08em (zh 13px/18px, no caps), secondary text, numbers in Plex Mono */
.eyebrow { font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); }
html:lang(zh) .eyebrow { font-size: 13px; line-height: 18px; letter-spacing: 0.02em; text-transform: none; }
.sample-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.7); color: var(--text-secondary); font: 500 11px/16px var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; }
html:lang(zh) .sample-tag { letter-spacing: 0.04em; font-size: 12px; }
.num { font-family: var(--font-num, var(--font-mono)); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.text-link { display: inline-block; margin-top: var(--s-4); color: var(--forest); font-weight: 400; line-height: 1.5; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Materials: shared pearl field ---------- */
:root {
  --fd-base: var(--brand-canvas);
  --forest-field: var(--brand-field);
  --forest-flow: var(--brand-field);
  --forest-size: auto;
  --forest-flow-size: auto;
}
.hero, .insight, .statement { background-color: var(--fd-base); background-image: var(--forest-flow); background-size: var(--forest-flow-size); }
.footer { background-color: var(--fd-base); background-image: var(--forest-field); background-size: var(--forest-size); }

/* ---------- Buttons: thin translucent material, clear primary action ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 34px; padding: 6px 19px; border: 1px solid var(--material-stroke); border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 500 14px/20px var(--font-sans); letter-spacing: 0.01em;
  /* the body is a background-color, so hovers fade through the transition below */
  background-color: var(--jelly-bg); background-image: var(--jelly-gloss); color: var(--text-primary);
  -webkit-backdrop-filter: var(--jelly-blur); backdrop-filter: var(--jelly-blur);
  box-shadow: var(--jelly-shadow);
  transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.btn:hover { background-color: var(--jelly-bg-hover); }
.btn:active { transform: scale(0.98); }
.btn--primary, .btn--light { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; box-shadow: var(--material-shadow); }
.btn--primary:hover, .btn--light:hover { background-color: var(--forest-2); }
.btn--outline-light, .dock[data-on="dark"] .btn {
  background-color: var(--jelly-dark-bg); background-image: var(--jelly-dark-gloss), linear-gradient(var(--jelly-dark-tint), var(--jelly-dark-tint)); box-shadow: var(--jelly-dark-shadow); color: var(--page);
}
.btn--outline-light:hover, .dock[data-on="dark"] .btn:hover { background-color: var(--jelly-dark-bg-hover); }
.btn--block { width: 100%; }
/* Touch: the pill stays 34px; its hit area grows to 44px through an invisible ::before
 * (positioned from the padding box, so -5px reaches 5px past the pill) */
@media (pointer: coarse) {
  .btn::before, .hdr__login::before { content: ""; position: absolute; inset: -5px 0; }
}

/* ---------- Header: wordmark · chapter label + five progress
 * dots · links · language · login. Cream wordmark and pearl links over the dark story,
 * forest wordmark and ink links over light pages. The bar stays transparent;
 * below 1200px the links move into a separate full-screen menu. ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  display: flex; align-items: center; gap: 24px;
  min-height: calc(var(--brand-header-height) + env(safe-area-inset-top, 0px));
  padding: calc(var(--brand-header-top) + env(safe-area-inset-top, 0px)) var(--brand-gutter) 16px;
  background: transparent; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--page); transition: color 0.2s ease;
}
.hdr[data-on="light"] { color: var(--text-primary); }
/* No shade, glass, hairline or scroll-state background behind the navigation. */
.hdr::before, .hdr::after { content: none; }
/* The wordmark keeps cream while the header is on dark (or the menu is open); the colour fades with the header as before */
.hdr__mark { display: inline-flex; align-items: center; min-height: 44px; font: var(--wordmark-weight) var(--wordmark-size)/var(--wordmark-leading) var(--wordmark-family); letter-spacing: var(--wordmark-tracking); color: var(--wordmark-on-dark); text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.hdr[data-on="light"] .hdr__mark { color: var(--wordmark-on-light); }
.hdr__nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 20px; }
.hdr__link {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  font: 500 14px/20px var(--font-sans); color: inherit; text-decoration: none; transition: opacity 0.18s ease;
}
.hdr__link--muted { opacity: 0.66; }
.hdr__link--muted:hover { opacity: 1; }
/* over the forest and the photo the quieter items are more opaque, so they stay AA */
.hdr:not([data-on="light"]) .hdr__link--muted, .hdr.menu-open .hdr__link--muted { opacity: 0.86; }
.hdr:not([data-on="light"]) .hdr__link--muted:hover, .hdr.menu-open .hdr__link--muted:hover { opacity: 1; }
.hdr__link--belief { display: none; }
.hdr__dots { display: inline-flex; align-items: center; gap: 10px; }
.hdr__dot { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; }
.hdr__dot i {
  display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.hdr__dot.is-active i { transform: scaleX(2.5); opacity: 1; } /* the original 20 × 8 pill */
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; height: 44px; font: 500 14px/20px var(--font-sans); }
.lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 4px;
  color: inherit; text-decoration: none; opacity: 0.66; transition: opacity 0.18s ease;
}
.lang a:hover { opacity: 1; }
.hdr:not([data-on="light"]) .lang a:not([aria-current]), .hdr.menu-open .lang a:not([aria-current]) { opacity: 0.9; }
.hdr:not([data-on="light"]) .lang a:not([aria-current]):hover, .hdr.menu-open .lang a:not([aria-current]):hover { opacity: 1; }
.lang a[aria-current="page"] { opacity: 1; }
.lang span { opacity: 0.55; }
/* Login is a link (a.hdr__login): the same compact jelly pill as .btn, white jelly
 * with a pearl label over the dark story (also before the script has measured the
 * header), sage jelly with a forest label over light pages. */
.hdr__login {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 19px;
  border: 0; border-radius: var(--r-pill); cursor: pointer; text-align: center; text-decoration: none; white-space: nowrap;
  font: 500 14px/20px var(--font-sans);
  background-color: var(--jelly-dark-bg); background-image: var(--jelly-dark-gloss), linear-gradient(var(--jelly-dark-tint), var(--jelly-dark-tint)); color: var(--page);
  -webkit-backdrop-filter: var(--jelly-blur); backdrop-filter: var(--jelly-blur);
  box-shadow: var(--jelly-dark-shadow);
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.hdr__login:hover { background-color: var(--jelly-dark-bg-hover); }
.hdr[data-on="light"] .hdr__login { background-color: var(--jelly-bg); background-image: var(--jelly-gloss); color: var(--forest); box-shadow: var(--jelly-shadow); }
.hdr[data-on="light"] .hdr__login:hover { background-color: var(--jelly-bg-hover); }
.hdr__toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer;
}
.hdr__toggle span { width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.18s ease; }
.hdr.menu-open .hdr__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr.menu-open .hdr__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1200px) {
  .hdr__toggle { display: flex; }
  .hdr__nav {
    position: fixed; inset: 0; z-index: -1; transform: none;
    flex-direction: column; justify-content: center; gap: 4px; padding: 96px 24px 48px;
    /* the open menu: translucent forest glass over the page, with the diffuse light and grain; a little deep shade keeps the links AA over a light page too */
    background-color: rgba(23, 60, 50, 0.94); background-image: radial-gradient(ellipse at 85% 10%, var(--forest-bloom-teal), transparent 65%); background-size: auto;
    -webkit-backdrop-filter: blur(24px) saturate(1.7); backdrop-filter: blur(24px) saturate(1.7);
    color: var(--page);
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .hdr.menu-open .hdr__nav { opacity: 1; visibility: visible; }
  .hdr.menu-open { color: var(--page); }
  .hdr.menu-open .hdr__mark { color: var(--wordmark-on-dark); }
  .hdr.menu-open .hdr__login { background-color: var(--jelly-dark-bg); background-image: var(--jelly-dark-gloss), linear-gradient(var(--jelly-dark-tint), var(--jelly-dark-tint)); color: var(--page); box-shadow: var(--jelly-dark-shadow); }
  .hdr.menu-open .hdr__login:hover { background-color: var(--jelly-dark-bg-hover); }
  .hdr__link { font-size: 16px; line-height: 24px; min-height: 52px; }
  .hdr__link--current, .hdr__dots { display: none; }
  .hdr__link--belief { display: inline-flex; }
  .hdr .hdr__nav :focus-visible { outline-color: var(--focus-on-dark); }
}
@media (max-width: 600px) {
  .hdr { gap: 10px; }
  .hdr__actions { gap: 8px; }
  .hdr__login { padding-inline: 17px; }
}
@media (max-width: 360px) {
  .hdr { gap: 6px; }
  .hdr__actions { gap: 2px; }
  .hdr__login { padding-inline: 11px; }
  .lang a { min-width: 40px; }
}

/* ---------- Hero (original composition): the display sits centred, the
 * intro and the scroll cue settle at the foot. The forest-graded walking photo is the
 * page itself: full bleed (it always covers the page, so at rest it has no edge of its own),
 * sharp, never blurred. It sits inside the page's own frame (.hero__inner), so on desktop
 * it recedes with the copy in the depth transition. Three things keep the copy legible and
 * the page one picture: a soft pearl veil behind the centred copy; the photo's foot
 * dissolving, on an eased curve, into the pearl field behind it (and, while the page
 * recedes, its sides and top: --ef, set by js/site.js, grows the dissolve from 0 to 1 so the
 * shrinking page never shows a hard frame); and the grain over the photo, the same grain as
 * the field. ---------- */
.hero { position: relative; color: var(--brand-ink); }
.hero__inner {
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100svh; padding: clamp(96px, 14vh, 168px) var(--gutter) clamp(48px, 8vh, 88px); text-align: center;
}
.hero__photo {
  position: absolute; inset: 0; z-index: -2; max-width: none; pointer-events: none;
  --ef: 0;                          /* 0 at rest → 1 when the page has receded */
  --ex: calc(0.01% + var(--ef) * 10%);   /* side dissolve */
  --ey: calc(0.01% + var(--ef) * 8%);    /* top dissolve */
  --bs: 60%;                        /* where the foot starts to dissolve */
  --fade-x: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) calc(var(--ex) * 0.25), rgba(0, 0, 0, 0.5) calc(var(--ex) * 0.5), rgba(0, 0, 0, 0.84) calc(var(--ex) * 0.75), #000 var(--ex), #000 calc(100% - var(--ex)), rgba(0, 0, 0, 0.84) calc(100% - var(--ex) * 0.75), rgba(0, 0, 0, 0.5) calc(100% - var(--ex) * 0.5), rgba(0, 0, 0, 0.16) calc(100% - var(--ex) * 0.25), transparent 100%);
  --fade-y: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) calc(var(--ey) * 0.25), rgba(0, 0, 0, 0.5) calc(var(--ey) * 0.5), rgba(0, 0, 0, 0.84) calc(var(--ey) * 0.75), #000 var(--ey), #000 var(--bs), rgba(0, 0, 0, 0.95) calc(var(--bs) + (100% - var(--bs)) * 0.125), rgba(0, 0, 0, 0.84) calc(var(--bs) + (100% - var(--bs)) * 0.25), rgba(0, 0, 0, 0.68) calc(var(--bs) + (100% - var(--bs)) * 0.375), rgba(0, 0, 0, 0.5) calc(var(--bs) + (100% - var(--bs)) * 0.5), rgba(0, 0, 0, 0.32) calc(var(--bs) + (100% - var(--bs)) * 0.625), rgba(0, 0, 0, 0.16) calc(var(--bs) + (100% - var(--bs)) * 0.75), rgba(0, 0, 0, 0.04) calc(var(--bs) + (100% - var(--bs)) * 0.875), transparent 100%);
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: url("../assets/texture/grain.png") 0 0 / 128px 128px; }
.hero__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 42% at 50% 51%, rgba(242, 244, 246, .82) 0%, rgba(242, 244, 246, .72) 38%, rgba(242, 244, 246, .32) 72%, transparent 100%),
    radial-gradient(ellipse 52% 17% at 50% 84%, rgba(242, 244, 246, .88) 0%, rgba(242, 244, 246, .58) 55%, transparent 100%);
}
@media (max-width: 899.98px) {
  /* phones: the copy spans the width, so the veil is broader and the photo lets go of its foot sooner; both veils end inside the page, so it meets the next one with no step */
  .hero__photo { --bs: 52%; }
  .hero__photo img { object-position: 54% 40%; }
  .hero__inner::before {
    background:
      radial-gradient(ellipse 90% 30% at 50% 44%, rgba(242, 244, 246, .86) 0%, rgba(242, 244, 246, .76) 40%, rgba(242, 244, 246, .34) 72%, transparent 100%),
      radial-gradient(ellipse 100% 20% at 50% 81%, rgba(242, 244, 246, .9) 0%, rgba(242, 244, 246, .64) 55%, transparent 100%);
  }
}
.hero__title { display: flex; flex-direction: column; align-items: center; margin-block: auto; color: var(--brand-ink); }
.hero__row { font: var(--w-display) var(--fs-hero)/var(--landing-lh-display) var(--font-display); letter-spacing: var(--landing-track-display); white-space: nowrap; }
.ne { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; overflow: visible; }
.ne--hero { width: clamp(26px, 4vw, 60px); height: auto; margin: clamp(10px, 2.2vh, 22px) auto; overflow: hidden; }
html:lang(zh) .ne--hero { width: clamp(22px, 2.6vw, 38px); margin: clamp(6px, 1.3vh, 13px) auto; }
.ne--warm { stroke: var(--warm); }
.hero__lede { max-width: 36ch; margin: clamp(28px, 5vh, 56px) auto 16px; font: 400 16px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
@media (min-width: 1000px) { .hero__lede { max-width: none; white-space: nowrap; } }
@media (min-width: 1440px) { .hero__lede { font-size: 18px; } }
html:lang(zh) .hero__lede { max-width: min(30em, 100%); font-size: clamp(16px, 0.6vw, 17px); white-space: normal; text-wrap: balance; }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 8px;
  font: 500 14px/20px var(--font-sans); letter-spacing: 0.02em; color: var(--brand-ink); text-decoration: none;
  transition: color 0.18s ease;
}
.hero__scroll:hover { color: var(--brand-text); }
.hero__arrow { width: 14px; height: auto; transform: rotate(90deg); filter: brightness(0); }
/* Entrance, as the original: the rows fade in (700ms, 90ms apart), the
 * intro rises 14px and fades in, the ≠ is wiped in from the left. */
html.js .hero__row { opacity: 0; }
html.js .hero__lede { opacity: 0; transform: translateY(14px); }
html.js .ne--hero { clip-path: inset(0 100% 0 0); }
.hero.is-ready .hero__row { opacity: 1; transition: opacity 700ms cubic-bezier(0.215, 0.61, 0.355, 1); }
.hero.is-ready .hero__row:last-of-type { transition-delay: 90ms; }
.hero.is-ready .hero__lede { opacity: 1; transform: none; transition: opacity 600ms cubic-bezier(0.215, 0.61, 0.355, 1) 180ms, transform 600ms cubic-bezier(0.215, 0.61, 0.355, 1) 180ms; }
.hero.is-ready .ne--hero { clip-path: inset(0 0 0 0); transition: clip-path 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955) 320ms; }

/* Original centre-origin hand-off, enhanced only after geometry is ready.
 * Scale and opacity are scroll-linked; there is no text blur or delayed follower. */
.depth, .depth__stage, .scene__inner { position: relative; }
@media (min-width: 900px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  html.depth-on .depth { height: 585svh; }
  html.depth-on .depth__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  html.depth-on .depth__stage::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-color: var(--fd-base); background-image: var(--forest-field); background-size: var(--forest-size); opacity: var(--field-o, 1); }
  html.depth-on .depth .scene { position: absolute; inset: 0; height: 100%; }
  html.depth-on .depth .scene:not(.promise) { background: transparent; }
  html.depth-on .depth .scene ~ .scene { opacity: 0; pointer-events: none; }
  html.depth-on .depth .statement::after { content: none; }
  html.depth-on .depth .scene__inner { height: 100%; min-height: 0; }
}

/* ---------- Evidence: Normal ≠ Good Health ---------- */
.insight { position: relative; color: var(--brand-ink); }
.insight__inner { display: grid; align-content: center; justify-items: center; height: 100%; min-height: 100svh; padding: 104px var(--gutter) 64px; }
.insight__title {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; column-gap: clamp(14px, 2vw, 28px); white-space: nowrap;
  font: var(--w-display) var(--fs-evidence)/var(--landing-lh-display) var(--font-display); letter-spacing: var(--landing-track-display); color: var(--brand-ink);
}
html:lang(zh) .insight__title { column-gap: clamp(12px, 1.6vw, 22px); }
.insight__title .ne { width: clamp(20px, 3vw, 44px); height: auto; flex: none; }
html:lang(zh) .insight__title .ne { width: clamp(18px, 2.2vw, 32px); }
.insight__grid {
  display: grid; grid-template-columns: auto minmax(0, 420px); align-items: center; justify-content: center;
  gap: 40px clamp(48px, 6vw, 96px); width: 100%; max-width: 1100px; margin-top: clamp(32px, 6vh, 64px);
}
.dots { width: min(360px, 40vh); }
.dots__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1vh, 10px); }
.dots__grid .d { display: block; aspect-ratio: 1; border-radius: 50%; background: rgba(23, 60, 50, .12); }
html.js .dots__grid .d { transform: scale(0.4); opacity: 0.3; }
.dots.is-in .dots__grid .d { transform: none; opacity: 1; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out); transition-delay: calc(var(--i, 0) * 11ms); }
.d--ok { background: rgba(23, 60, 50, .30) !important; }
.d--x { background: rgba(224, 138, 98, 0.9) !important; }
.d--dm { background: var(--warm) !important; }
.d--dmu { background: transparent !important; box-shadow: inset 0 0 0 2.5px var(--warm); }
.d--pre { background: rgba(224, 138, 98, 0.72) !important; }
.dots__caption { margin-top: 20px; font: 400 16px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
.dots__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font: 400 13px/20px var(--font-sans); letter-spacing: 0.005em; color: var(--brand-ink); }
.dots__legend li { display: inline-flex; align-items: center; gap: 8px; }
.dots__legend .d { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.stats__list { display: grid; gap: 26px; }
/* the statistics are data: IBM Plex Mono Regular, light and precise (the unit steps down, as in the app's values) */
.stat dt { font: 400 var(--fs-stat)/1 var(--font-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.stat dt i { font-style: normal; margin-inline: -0.17em; } /* the mono full stop is as wide as a digit: pull the digits in around it */
.stat dt span { margin-left: 0.06em; font-size: 0.5em; letter-spacing: 0; color: var(--brand-ink); }
.stat dd { margin-top: 10px; font: 400 14px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
.stats__note { margin-top: 28px; font: 400 14px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
.stats__note a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Original report → walkthrough → sharing depth hand-offs. */
.handoff, .handoff__pair { position: relative; }
.handoff__spacer { height: 0; }
@media (min-width: 900px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  html.depth-on .handoff > .read { position: sticky; top: var(--read-top, 0px); z-index: 3; }
  html.depth-on .handoff > .handoff__pair { position: sticky; top: 0; z-index: 2; margin-top: calc(-1 * var(--read-h, 100svh)); }
  html.depth-on .handoff > .handoff__spacer { height: var(--handoff-len, 135svh); }
  html.depth-on .handoff__pair > .how { position: sticky; top: var(--how-top, 0px); z-index: 2; }
  html.depth-on .handoff__pair > .care { position: sticky; top: 0; z-index: 1; margin-top: -100vh; }
  html.depth-on .handoff__pair > .handoff__spacer { height: var(--handoff2-len, 135svh); }
}

/* ---------- Statement: its own page ---------- */
.statement { position: relative; color: var(--brand-ink); }
.statement__inner, .promise__inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100svh; padding: clamp(96px, 14vh, 168px) var(--gutter) clamp(48px, 8vh, 88px); text-align: center;
}
.statement__title, .promise__title { max-width: 1100px; font: var(--w-display) var(--fs-statement)/var(--landing-lh-display) var(--font-display); letter-spacing: var(--landing-track-display); color: var(--brand-ink); }
.promise__title { width: 100%; text-wrap: balance; word-break: normal; overflow-wrap: normal; }
/* Statement copy: shared forest ink on the pearl field, original type and reading rhythm. */
.statement__copy {
  max-width: 31em; margin-top: clamp(40px, 7vh, 80px);
  font: 400 clamp(20px, 1.9vw, 28px)/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); text-wrap: balance;
}
.statement__copy p + p { margin-top: 0.6em; }
html:lang(zh) .statement__copy { max-width: 32em; font-size: var(--fs-statement-copy); }
html:lang(zh) .statement__copy p + p { margin-top: 1.1em; }
html.js .statement__copy .w { opacity: 0.8; transition: opacity 260ms var(--ease-out); } /* readable baseline on the light field */
html.js .statement__copy .w.is-on { opacity: 1; }
/* Pearl hand-off in natural flow on phones. */
.statement::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--fog); pointer-events: none;
  background: linear-gradient(180deg, var(--brand-canvas), rgba(242, 244, 246, 0));
}

/* ---------- Promise: the second hero, on the page light ----------
 * The group photo is a backdrop that melts into the page, never a picture on it. The asset is graded (calmer sky, lifted
 * shadows) but kept sharp, so the faces and smiles read; it is laid in at about half strength and its top, foot and sides
 * dissolve (a mask, not a veil), so the section has no fill of its own: the page light runs through it and into the next
 * page with no seam. Above the photo, a soft pearl pool behind the copy only (headline + lede + buttons, sized per
 * language), then a whisper of grain. The photo box reaches past the left edge so the faces fall beside the copy. */
.promise { --pool-rx: min(68vw, 360px); --pool-ry: 30vh; position: relative; isolation: isolate; overflow: hidden; color: var(--text-primary); }
@media (min-width: 900px) { .promise { --pool-rx: 340px; --pool-ry: 28vh; } html:lang(zh) .promise { --pool-rx: 400px; } }
@media (min-width: 1000px) { .promise { --pool-rx: 700px; } html:lang(zh) .promise { --pool-rx: 450px; } }
.promise__photo {
  position: absolute; inset: 0 0 0 -16%; z-index: 0; max-width: none; pointer-events: none;
  /* eased (smoothstep) dissolves: the section's own left edge sits at 13.8% of this box */
  --fade-x: linear-gradient(90deg, transparent 13.8%, rgba(0, 0, 0, 0.16) 15.5%, rgba(0, 0, 0, 0.5) 18.5%, rgba(0, 0, 0, 0.84) 21.5%, #000 24%, #000 92%, rgba(0, 0, 0, 0.84) 94%, rgba(0, 0, 0, 0.5) 96%, rgba(0, 0, 0, 0.16) 98%, transparent 100%);
  --fade-y: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 3.5%, rgba(0, 0, 0, 0.5) 8%, rgba(0, 0, 0, 0.84) 13%, #000 18%, #000 56%, rgba(0, 0, 0, 0.96) 61%, rgba(0, 0, 0, 0.84) 67%, rgba(0, 0, 0, 0.68) 73%, rgba(0, 0, 0, 0.5) 79%, rgba(0, 0, 0, 0.32) 85%, rgba(0, 0, 0, 0.16) 91%, rgba(0, 0, 0, 0.04) 96%, transparent 100%);
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect;
}
.promise__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.54; filter: var(--photo-tint); }
.promise::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse var(--pool-rx) var(--pool-ry) at 50% 53%, rgba(242, 244, 246, 0.84) 0%, rgba(242, 244, 246, 0.8) 45%, rgba(242, 244, 246, 0.6) 66%, rgba(242, 244, 246, 0.28) 84%, rgba(242, 244, 246, 0) 100%);
}
.promise::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("../assets/texture/grain-soft.png") 0 0 / 128px 128px; opacity: 0.35; }
.promise .scene__inner { z-index: 2; }
.promise__lede { max-width: min(60ch, 100%); margin-top: clamp(28px, 5vh, 56px); font: 400 var(--fs-lead-copy)/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-secondary); text-wrap: pretty; }
html:lang(zh) .promise__lede { max-width: min(32em, 100%); }
.promise .actions { justify-content: center; gap: 20px; margin-top: clamp(28px, 5vh, 48px); }

/* ---------- Product chapters (original product scale) ---------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-title { margin-top: 12px; font: var(--w-display) var(--fs-h2)/var(--landing-lh-heading) var(--font-display); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
.section-title:first-child { margin-top: 0; }
.section-title--lines .line { display: block; }
@media (min-width: 600px) { html:lang(zh) .section-title--lines .line { white-space: nowrap; } }
@media (min-width: 900px) { html:lang(zh) .section-title--one { white-space: nowrap; } }
.section-lede { margin-top: 16px; font: 400 var(--fs-lede)/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-secondary); }
.wrap { width: min(calc(100% - 2 * var(--page-pad)), var(--page-max)); margin: 0 auto; }

.read { padding: 80px 0; }
.ink-loop { position: absolute; left: -7px; top: -9px; z-index: 3; width: var(--loop-w, 240px); height: calc(100% + 18px); color: var(--forest); pointer-events: none; transition: opacity 400ms var(--ease-out); }
.ink-loop svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ink-loop path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ink-loop.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms cubic-bezier(0.65, 0, 0.35, 1); }
.ink-loop.is-done { opacity: 0; }
.ink-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 13px/18px var(--font-sans); color: var(--text-secondary); opacity: 0; transform: translateY(4px); }
.ink-hint span { font: 400 21px/1.25 "Long Cang", "Kaiti SC", "STKaiti", "KaiTi", cursive; letter-spacing: 0.02em; rotate: -1.5deg; }
html:lang(en) .ink-hint span { font: 500 21px/1.2 "Bradley Hand", "Segoe Print", cursive; letter-spacing: 0; }
.ink-hint svg { flex: none; width: 24px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ink-hint.is-in { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out) 700ms, transform 420ms var(--ease-out) 700ms; }
.magic { min-height: 200px; }
.magic__fallback { text-align: center; color: var(--text-secondary); }

.how { padding: calc(var(--header-h) + 16px) 0 96px; }
.how__grid { max-width: var(--container, 1248px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
/* The title sits right above 01; the phone starts beside them */
.how__intro { padding-top: clamp(48px, 8vh, 88px); }
.how__intro + .steps .step:first-child { min-height: 0; justify-content: flex-start; padding-top: 28px; }
@media (min-width: 900px) {
  /* Step 01 must reach the same viewport centre band as the other steps,
   * including when a navigation link lands directly on #bring. */
  .how__intro + .steps .step:first-child { min-height: 54svh; }
}
.steps { list-style: none; }
.step { display: flex; flex-direction: column; justify-content: center; min-height: 64svh; padding-block: 48px; }
html.js .how--live .step { opacity: 0.4; transition: opacity var(--dur-2) var(--ease-out); }
html.js .how--live .step.is-active { opacity: 1; }
.step__num { font: 400 13px/20px var(--font-mono); letter-spacing: 0; color: var(--text-secondary); }
.step__title { margin-top: 12px; font: 500 clamp(22px, 1.8vw, 26px)/var(--landing-lh-heading) var(--font-sans); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
html:lang(zh) .step__title { font-size: 24px; }
.step__body { margin-top: 16px; max-width: 30em; font: 400 16px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-secondary); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.tags li { padding: 8px 0; border-bottom: 1px solid rgba(20, 22, 26, 0.14); font: 400 var(--fs-micro)/18px var(--font-sans); letter-spacing: 0.01em; color: var(--text-secondary); }
.step .btn { align-self: flex-start; margin-top: 24px; }
.step__shot { display: none; }
.how__stage { position: relative; align-self: stretch; }
.how__sticky {
  --phone-w: min(330px, 25vw, calc((100svh - var(--header-h) - 200px) * 0.46));
  position: sticky; top: calc(var(--header-h) + 16px);
  display: grid; justify-items: center; gap: 16px; padding-top: 16px;
}
.phone {
  position: relative; width: calc(var(--phone-w) + 24px); padding: 12px; border-radius: calc(var(--phone-w) * 0.15);
  background: #0f1513; box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07);
}
.phone::before { content: ""; position: absolute; z-index: 3; top: calc(12px + var(--phone-w) * 0.035); left: 50%; width: calc(var(--phone-w) * 0.28); height: calc(var(--phone-w) * 0.08); border-radius: 99px; background: #0f1513; transform: translateX(-50%); }
.phone__screen { position: relative; aspect-ratio: 804 / 1748; border-radius: calc(var(--phone-w) * 0.12); overflow: hidden; background: var(--page); }
.phone__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.phone__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__img.is-active { opacity: 1; transform: none; }
.phone__ring {
  position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border-radius: calc(var(--phone-w) * 0.06);
  box-shadow: 0 0 0 4px rgba(127, 196, 180, 0.18), 0 0 26px 2px rgba(63, 143, 134, 0.26);
  opacity: 0; transform: scale(1.04); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.phone__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, #9fd8c9 0%, #4fa59a 52%, #2c6b52 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.phone__ring.is-active { opacity: 1; transform: none; transition-delay: 180ms; }
.callouts { position: absolute; left: 0; top: 58%; width: 100%; pointer-events: none; }
.callout { position: absolute; left: calc(50% - var(--phone-w) * 0.5 - 150px); top: 0; display: grid; gap: 4px; width: 200px; padding: 14px 16px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: var(--glass-card-blur); backdrop-filter: var(--glass-card-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 36px -22px rgba(13, 31, 25, 0.34); opacity: 0; transform: translateY(12px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.callout.is-active { opacity: 1; transform: none; transition-delay: 220ms; }
.callout .sample-tag { justify-self: start; margin-bottom: 4px; }
.callout strong { font: 500 15px/22px var(--font-sans); color: var(--text-primary); }
.callout > span:last-child { font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.how__index { list-style: none; display: flex; gap: 6px; }
.how__index a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: var(--r-pill); text-decoration: none; color: var(--text-secondary); font: 500 12px/16px var(--font-sans); transition: background-color var(--dur-1), color var(--dur-1); }
.how__index a span { font: 400 12px/16px var(--font-mono); font-variant-numeric: tabular-nums; }
.how__index a:not([aria-current]) { font-size: 0; gap: 0; }
.how__index a:not([aria-current]) span { font-size: 12px; }
.how__index a[aria-current] { background: var(--forest); color: var(--page); }
.how__index a:hover:not([aria-current]) { background: var(--sage); }
.how__progress { width: calc(var(--phone-w) * 0.7); height: 3px; border-radius: 3px; background: rgba(23, 60, 50, 0.12); overflow: hidden; }
.how__progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--forest); transform: scaleX(0.25); transform-origin: left center; transition: transform var(--dur-2) var(--ease-out); }

/* Brand signature: ≠ → = → + (shared geometry with the hero mark) */
.sig { display: inline-block; width: 0.56em; margin-left: 0.24em; vertical-align: -0.02em; color: var(--forest); }
.morph { width: 100%; height: auto; overflow: visible; }
.morph line { stroke: currentColor; stroke-width: 10; stroke-linecap: round; fill: none; transition: transform var(--morph-dur) var(--morph-ease), opacity var(--morph-dur) var(--morph-ease); }
.m-bar--a { transform: translate(0, -14.44px) rotate(0deg); }
.m-bar--b { transform: translate(0, 14.44px) rotate(0deg); }
.m-slash { transform: translate(0, 0) rotate(25.66deg) scale(1); opacity: 1; }
[data-state="eq"] .m-slash, [data-state="plus"] .m-slash { transform: translate(0, 0) rotate(90deg) scale(0.6); opacity: 0; }
[data-state="plus"] .m-bar--a { transform: translate(0, 0) rotate(90deg); }
[data-state="plus"] .m-bar--b { transform: translate(0, 0) rotate(0deg); }

/* Care Circle: the family photo is the page background (graded to the brand palette, sky extended to the left). It dissolves
 * into the page light on an eased mask (left behind the copy, top and foot), so the section has no fill of its own. */
.care { --ef: 0; /* 0 at rest → 1 while the page is coming forward: js/site.js */ position: relative; isolation: isolate; overflow: hidden; padding: var(--sec-y) 0; }
.care__photo {
  position: absolute; inset: 0; z-index: -2;
  --ex: calc(0.01% + var(--ef) * 9%); /* the right edge dissolves only while the page scales in, so it never shows a hard frame */
  --fade-x: linear-gradient(90deg, transparent 22%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.5) 46%, rgba(0, 0, 0, 0.78) 55%, rgba(0, 0, 0, 0.94) 62%, #000 70%, #000 calc(100% - var(--ex)), rgba(0, 0, 0, 0.84) calc(100% - var(--ex) * 0.75), rgba(0, 0, 0, 0.5) calc(100% - var(--ex) * 0.5), rgba(0, 0, 0, 0.16) calc(100% - var(--ex) * 0.25), transparent 100%);
  --fade-y: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 4%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.84) 14%, #000 19%, #000 80%, rgba(0, 0, 0, 0.84) 86%, rgba(0, 0, 0, 0.5) 91%, rgba(0, 0, 0, 0.16) 96%, transparent 100%);
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect;
}
/* Keep the supplied blue sky and warm skin tones; the edge mask supplies the soft dissolve. */
.care__photo img { width: 100%; height: 100%; object-fit: cover; object-position: calc(100% + 6vw) 100%; opacity: 0.86; filter: none; }
.care__grid { display: grid; grid-template-columns: minmax(0, 480px); align-items: center; min-height: clamp(560px, 78svh, 820px); }
.care .section-head { margin-bottom: 0; }
/* The glass card (the app's liquid glass, for key positions only): translucent white over the page light, blurred, lit from above, no border line */
:root {
  --glass-card: rgba(255, 255, 255, 0.46);
  --glass-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 0.5px rgba(255, 255, 255, 0.55), inset 0 -18px 36px -24px rgba(23, 60, 50, 0.14), 0 24px 48px -32px rgba(13, 31, 25, 0.3);
  --glass-card-blur: blur(28px) saturate(1.8);
}
.share { position: relative; margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--glass-card); -webkit-backdrop-filter: var(--glass-card-blur); backdrop-filter: var(--glass-card-blur); box-shadow: var(--glass-card-shadow); }
.share__label { font: 500 14px/22px var(--font-sans); color: var(--text-primary); }
.share__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid rgba(20, 22, 26, 0.16); border-radius: var(--r-pill); background: transparent; color: var(--text-primary); font: 400 14px/21px var(--font-sans); cursor: pointer; transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-out); }
.chip:hover { border-color: var(--forest); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--page); font-weight: 500; }
.chip[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.share__preview { position: relative; margin-top: 16px; padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.62); }
.share__preview .sample-tag { position: absolute; top: 12px; right: 12px; background: rgba(242, 244, 246, 0.9); }
.share__who { display: flex; align-items: center; gap: 10px; font: 400 14px/21px var(--font-sans); color: var(--text-primary); }
.share__who strong { font-weight: 500; }
.share__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: var(--forest); }
.share__avatar svg, .tool__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.share__out { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--text-primary); }
.share__out.is-bumped { animation: bump var(--dur-2) var(--ease-out); }
.share__note { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }

/* ---------- More features: four quiet cards ----------
 * A light, almost white rounded card (the app's liquid glass, so it sits at home next to the app's cards) whose upper half
 * holds ONE soft diffuse colour blob (blurred radial light, a different brand tint per card: teal-mint, sage, forest-teal,
 * aqua-mint), then a title (16px, 500) and one short secondary phrase (14px, muted). Nothing else. The Health library
 * card is a link: the whole card is the target. */
.tools { padding: calc(var(--sec-y) * 0.4) 0 var(--sec-y); }
.tools .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.tools .section-title { font: 500 clamp(24px, 2.1vw, 30px)/var(--landing-lh-heading) var(--font-sans); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
html:lang(zh) .tools .section-title { font-size: clamp(22px, 1.9vw, 26px); }
.tools .section-lede { margin-top: 8px; font-size: 16px; }
.tools__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 24px); }
.tool {
  position: relative; display: flex; flex-direction: column; min-height: 280px; aspect-ratio: 1 / 1.12; padding: 0 24px 24px; overflow: hidden;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: var(--glass-card-blur); backdrop-filter: var(--glass-card-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 16px 32px -28px rgba(13, 31, 25, 0.24);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.tool--link:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 18px 36px -26px rgba(13, 31, 25, 0.28); }
/* the blob: three overlapping soft lights (each an eased radial ramp that is gone inside its own box, so the blob has no
 * silhouette) over a pale halo; the colours (r,g,b) and strengths are per-card variables */
.tool__blob { position: relative; flex: 1 1 auto; min-height: 92px; margin-inline: -24px; pointer-events: none; }
.tool__blob::before, .tool__blob::after { content: ""; position: absolute; left: 50%; top: 50%; transition: transform var(--dur-3) var(--ease-out); }
.tool__blob::after { width: min(74%, 190px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7) 34%, rgba(255, 255, 255, 0.28) 66%, rgba(255, 255, 255, 0)); filter: blur(6px); }
.tool__blob::before {
  z-index: 1; width: min(108%, 270px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background:
    radial-gradient(38% 38% at 46% 45%, rgba(var(--c1), var(--k1)), rgba(var(--c1), calc(var(--k1) * 0.8)), rgba(var(--c1), calc(var(--k1) * 0.45)), rgba(var(--c1), calc(var(--k1) * 0.16)), rgba(var(--c1), 0)),
    radial-gradient(30% 30% at 58% 54%, rgba(var(--c2), var(--k2)), rgba(var(--c2), calc(var(--k2) * 0.8)), rgba(var(--c2), calc(var(--k2) * 0.45)), rgba(var(--c2), calc(var(--k2) * 0.16)), rgba(var(--c2), 0)),
    radial-gradient(28% 28% at 42% 60%, rgba(var(--c3), var(--k3)), rgba(var(--c3), calc(var(--k3) * 0.8)), rgba(var(--c3), calc(var(--k3) * 0.45)), rgba(var(--c3), calc(var(--k3) * 0.16)), rgba(var(--c3), 0));
  filter: blur(4px);
}
.tool--link:hover .tool__blob::before { transform: translate(-50%, -50%) scale(1.07); }
.tool--a { --c1: 79, 165, 154; --k1: 0.56; --c2: 143, 199, 168; --k2: 0.7; --c3: 59, 120, 100; --k3: 0.24; }
.tool--b { --c1: 128, 184, 160; --k1: 0.55; --c2: 229, 238, 234; --k2: 0.9; --c3: 79, 165, 154; --k3: 0.2; }
.tool--c { --c1: 44, 110, 96; --k1: 0.44; --c2: 79, 165, 154; --k2: 0.5; --c3: 31, 75, 62; --k3: 0.2; }
.tool--d { --c1: 160, 214, 196; --k1: 0.72; --c2: 112, 196, 198; --k2: 0.5; --c3: 229, 238, 234; --k3: 0.9; }
.tool__title { position: relative; font: 500 16px/var(--landing-lh-heading) var(--font-sans); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
.tool__body { position: relative; margin-top: 4px; font: 400 14px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-muted); }
.tool__a { color: inherit; text-decoration: none; }
.tool__a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }
.tool__a:focus-visible { outline: none; }
.tool__a:focus-visible::after { outline: 3px solid var(--focus-on-light); outline-offset: -3px; }

/* Close */
.close { width: min(calc(100% - 2 * var(--page-pad)), var(--page-max)); margin: 0 auto; padding-bottom: var(--sec-y); text-align: center; }
.close__title { font: var(--w-display) var(--fs-close)/var(--landing-lh-heading) var(--font-display); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
.close__actions { justify-content: center; gap: 20px; margin-top: 28px; }

/* ---------- Pricing ----------
 * The title is a display headline (Adventor); the amount is data (IBM Plex Mono 400, the unit steps down); the table is
 * 400 text with 500 labels, the included marks the app's outlined check-circle in --state-optimal. */
.pricing { width: min(calc(100% - 2 * var(--page-pad)), var(--page-max)); margin: 0 auto; padding-bottom: calc(var(--fog) + 24px); }
.pricing__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.pricing__title { font: var(--w-display) var(--fs-price-title)/var(--landing-lh-heading) var(--font-display); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
.pricing__title .sig { width: 0.62em; margin-left: 0.2em; }
.pricing__kicker { font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: 0.08em; color: var(--text-secondary); }
html:lang(zh) .pricing__kicker { font-size: 13px; line-height: 18px; letter-spacing: 0.02em; }
.pricing__price { margin-top: 14px; font: 400 var(--fs-price)/1 var(--font-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.pricing__price span { margin-left: 0.12em; font: 400 0.34em/1 var(--font-num, var(--font-mono)); letter-spacing: 0; color: var(--text-secondary); }
.pricing__note { margin-top: 14px; font: 400 16px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-secondary); }
.pricing__pair { margin-top: 8px; max-width: 27em; font: 400 16px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--text-primary); }
.plan { width: 100%; margin-top: 64px; border-collapse: separate; border-spacing: 0; }
.plan th, .plan td { padding: 15px 20px; border-bottom: 1px solid rgba(20, 22, 26, 0.1); text-align: center; vertical-align: middle; }
.plan thead th { padding-block: 24px; font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: 0.08em; color: var(--text-secondary); }
html:lang(zh) .plan thead th { font-size: 13px; line-height: 18px; letter-spacing: 0.02em; }
.plan tbody th { text-align: left; font: 400 16px/22px var(--font-sans); color: var(--text-primary); }
.plan td { font: 400 16px/22px var(--font-sans); color: var(--text-secondary); }
.plan .plan__pear { background: rgba(255, 255, 255, 0.66); }
.plan td.plan__pear { color: var(--forest); }
.plan thead .plan__pear { border-radius: 16px 16px 0 0; color: var(--forest); }
.plan tfoot th, .plan tfoot td { border-bottom: 0; padding-block: 20px; }
.plan tfoot .plan__pear { border-radius: 0 0 16px 16px; }
.plan th:first-child { width: 44%; }
/* included: the app's check-circle (outlined, 20px, --state-optimal); not included: a quiet dash */
.yes { position: relative; display: inline-block; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--state-optimal); vertical-align: middle; }
.yes::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4.5px; height: 8.5px; border-right: 1.5px solid var(--state-optimal); border-bottom: 1.5px solid var(--state-optimal); transform: rotate(45deg); }
.no { display: inline-block; width: 12px; height: 1.5px; border-radius: 2px; background: var(--text-secondary); opacity: 0.4; vertical-align: middle; }

/* ---------- Footer: shared pearl field, original structure and scale. Mission text is Inter 400 / Chiron 400;
 * the wordmark alone keeps Newsreader. ---------- */
.footer {
  position: relative; z-index: 1; margin-top: calc(-1 * var(--fog)); color: var(--brand-ink);
  padding: calc(var(--fog) + clamp(56px, 5vw, 72px)) max(var(--page-pad), calc((100vw - var(--page-max)) / 2)) 36px;
  /* the forest diffuse rises into the pricing section: the field fades in over the top --fog on an eased curve (the footer's own content sits below it) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.03) calc(var(--fog) * 0.12), rgba(0, 0, 0, 0.1) calc(var(--fog) * 0.27), rgba(0, 0, 0, 0.24) calc(var(--fog) * 0.42), rgba(0, 0, 0, 0.44) calc(var(--fog) * 0.57), rgba(0, 0, 0, 0.66) calc(var(--fog) * 0.71), rgba(0, 0, 0, 0.84) calc(var(--fog) * 0.84), rgba(0, 0, 0, 0.95) calc(var(--fog) * 0.93), #000 var(--fog));
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.03) calc(var(--fog) * 0.12), rgba(0, 0, 0, 0.1) calc(var(--fog) * 0.27), rgba(0, 0, 0, 0.24) calc(var(--fog) * 0.42), rgba(0, 0, 0, 0.44) calc(var(--fog) * 0.57), rgba(0, 0, 0, 0.66) calc(var(--fog) * 0.71), rgba(0, 0, 0, 0.84) calc(var(--fog) * 0.84), rgba(0, 0, 0, 0.95) calc(var(--fog) * 0.93), #000 var(--fog));
}
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer__mission { font: 400 18px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
html:lang(zh) .footer__mission { font-size: 16px; }
.footer__rule { height: 1px; margin-top: 22px; background: var(--material-line); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.footer__nav a, .footer__nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; font: 400 14px/20px var(--font-sans); letter-spacing: 0.01em; color: var(--brand-ink); }
.footer__nav a:hover, .footer__nav button:hover { opacity: 0.8; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 32px; }
.footer__disclaimer { font: 400 13px/var(--landing-lh-prose) var(--font-sans); letter-spacing: var(--landing-track-prose); color: var(--brand-ink); }
.footer__word { margin-right: calc(var(--brand-gutter) - max(var(--page-pad), calc((100vw - var(--page-max)) / 2))); font: var(--wordmark-weight) var(--wordmark-size)/var(--wordmark-leading) var(--wordmark-family); letter-spacing: var(--wordmark-tracking); color: var(--wordmark-on-light); }
@media (max-width: 600px) {
  .footer__word { margin-left: calc(var(--brand-gutter) - var(--page-pad)); margin-right: 0; }
}

/* ---------- Mobile dock ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-sticky-cta); transform: translateY(160%); transition: transform var(--dur-2) var(--ease-out); }
.dock.is-on { transform: none; }
.dock .btn { box-shadow: var(--jelly-shadow), var(--shadow-lift); }
.dock[data-on="dark"] .btn { box-shadow: var(--jelly-dark-shadow), var(--shadow-lift); }
.dock[data-on="dark"] :focus-visible { outline-color: var(--focus-on-dark); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Sheet dialog ---------- */
.sheet-dialog { width: 100%; max-width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; background: transparent; color: var(--text-primary); overflow: visible; }
.sheet-dialog::backdrop { background: rgba(9, 12, 11, 0.56); }
.sheet-card { position: relative; max-height: calc(100svh - 32px); overflow: auto; padding: 40px 36px 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lift); }
.sheet-dialog[open] .sheet-card { animation: sheet-in var(--dur-2) var(--ease-out); }
.sheet-dialog[open]::backdrop { animation: fade-in var(--dur-2) var(--ease-out); }
.sheet-dialog.is-closing .sheet-card { animation: sheet-out 200ms var(--ease-in-out) forwards; }
.sheet-dialog.is-closing::backdrop { animation: fade-out 200ms var(--ease-in-out) forwards; }
.sheet-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--page); cursor: pointer; transition: background-color var(--dur-1); }
.sheet-close:hover { background: var(--sage); }
.sheet-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.sheet-art { display: none; }
.sheet-title { padding-right: 40px; font: 500 26px/var(--landing-lh-heading) var(--font-sans); letter-spacing: var(--landing-track-heading); color: var(--text-primary); }
html:lang(zh) .sheet-title { font-size: 24px; }
.sheet-body { margin-top: 12px; font-size: 16px; line-height: var(--landing-lh-prose); letter-spacing: var(--landing-track-prose); color: var(--text-secondary); }
.sheet-body p + p, .sheet-body p + ol, .sheet-body ol + p { margin-top: 12px; }
.sheet-body ol { list-style: none; display: grid; gap: 12px; counter-reset: s; }
.sheet-body ol li { position: relative; padding-left: 40px; counter-increment: s; color: var(--text-primary); }
.sheet-body ol li::before { content: counter(s); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); font: 400 13px/1 var(--font-mono); }
.sheet-body .sheet-fine { font-size: 13px; color: var(--text-secondary); }
.sheet-actions { margin-top: 28px; }
@media (max-width: 599.98px) {
  .sheet-dialog { max-width: 100%; margin: auto 0 0; max-height: 92svh; }
  .sheet-card { max-height: 92svh; padding: 36px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .sheet-dialog[open] .sheet-card { animation-name: sheet-up; }
  .sheet-dialog.is-closing .sheet-card { animation-name: sheet-down; }
  .sheet-actions .btn { flex: 1 1 100%; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(10px) scale(0.985); } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.02); } }

/* ---------- Reveal on enter: starts visible, settles into place ---------- */
html.js [data-reveal] { opacity: 0.6; transform: translateY(28px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: calc(min(var(--d, 0), 3) * 55ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899.98px) {
  .insight__inner { min-height: 0; padding: 96px var(--gutter) 80px; }
  .insight__grid { grid-template-columns: 1fr; justify-items: center; }
  .dots { width: min(340px, 100%); }
  .stats { width: 100%; max-width: 420px; }
  .pricing__head { grid-template-columns: 1fr; }
  .promise__photo {
    inset: 0;
    --fade-x: linear-gradient(90deg, #000, #000);
    --fade-y: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 4%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.84) 15%, #000 22%, #000 54%, rgba(0, 0, 0, 0.96) 58%, rgba(0, 0, 0, 0.84) 64%, rgba(0, 0, 0, 0.68) 71%, rgba(0, 0, 0, 0.5) 78%, rgba(0, 0, 0, 0.32) 84%, rgba(0, 0, 0, 0.16) 90%, rgba(0, 0, 0, 0.04) 96%, transparent 100%);
  }
  .promise__photo img { object-position: 50% 30%; opacity: 0.58; }
  .care { padding-top: 0; }
  .care__photo {
    position: relative; inset: auto; z-index: 0; display: block; margin-bottom: -16px;
    --fade-x: linear-gradient(90deg, #000, #000);
    --fade-y: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 4%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.84) 17%, #000 24%, #000 52%, rgba(0, 0, 0, 0.84) 62%, rgba(0, 0, 0, 0.5) 74%, rgba(0, 0, 0, 0.16) 88%, transparent 98%);
  }
  .care__photo img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%; opacity: 0.92; }
  .care__grid { grid-template-columns: 1fr; min-height: 0; }
  .pricing__head { gap: 32px; }
  .how__grid { grid-template-columns: 1fr; }
  .how__stage { display: none; }
  .how { padding-top: 24px; }
  .how__intro { padding-top: 56px; }
  .step { min-height: 0; padding-block: 40px; border-top: 1px solid rgba(20, 22, 26, 0.08); }
  .step:first-child { border-top: 0; }
  .step__shot { display: block; width: min(340px, 100%); margin-top: 24px; }
  .step__img img { width: 100%; height: min(340px, 46svh); object-fit: cover; object-position: 50% var(--fy, 20%); border-radius: 24px; background: var(--page); box-shadow: var(--shadow-card), 0 0 0 1px rgba(20, 22, 26, 0.06); }
}
@media (max-width: 767.98px) {
  /* Both English story titles keep the same scale. The longer promise
   * phrases fit within the phone gutter without leaving a lone last word. */
  html:lang(en) { --fs-statement: clamp(30px, 8.8vw, 56px); }
  html:lang(zh) .ne--hero { width: clamp(20px, 6vw, 26px); }
  html:lang(zh) .insight__title .ne { width: clamp(16px, 5vw, 20px); }
}
@media (max-width: 599.98px) {
  .tool { min-height: 218px; aspect-ratio: auto; padding: 0 16px 18px; }
  .tool__blob { margin-inline: -16px; min-height: 72px; }
  .tool__title { font-size: 15px; }
  .tool__body { font-size: 13px; }
  .insight__title { flex-wrap: wrap; white-space: normal; }
  .promise .actions { gap: 14px; }
  .plan th, .plan td { padding: 14px 10px; }
  .plan td { font-size: 14px; }
  .plan .btn { min-height: 34px; padding: 6px 11px; font-size: 13px; line-height: 18px; white-space: normal; }
  html:lang(zh) .plan .btn { white-space: nowrap; }
  .footer__row .btn { width: 100%; }
}

/* ---------- Reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hero__row, html.js .hero__lede, html.js .hero__scroll, html.js .ne--hero, html.js [data-reveal], html.js .dots__grid .d { opacity: 1; transform: none; clip-path: none; transition: none; }
  html.js .statement__copy .w { opacity: 1; }
  .ink-loop path { stroke-dashoffset: 0; }
  .ink-hint { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
