/* =========================================================================
   Fetchy — static site
   Design language follows the app: warm paper canvas, ink typography,
   bottle-green + antique-gold premium surfaces, 26/30pt continuous corners,
   no decorative card strokes, restrained spring motion.
   ========================================================================= */

:root {
  --canvas: #f5f3ed;
  --canvas-deep: #efebe2;
  --canvas-sage: #e9e7dc;
  --surface: #ffffff;
  --secondary-surface: #e9e6dd;
  --ink: #252720;
  --ink-secondary: #62665a;
  --ink-tertiary: #767a6e;
  --green: #0a211a;
  --green-mid: #14291f;
  --green-soft: #1b3228;
  --gold: #e0c58d;
  --gold-bright: #f0d9a6;
  --gold-deep: #765522;
  --ivory: #f5ebd6;
  --line: rgba(37, 39, 32, 0.12);
  --line-soft: rgba(37, 39, 32, 0.07);
  --line-gold: rgba(224, 197, 141, 0.28);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia,
    "Songti SC", "Noto Serif SC", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --r-card: 26px;
  --r-outer: 30px;
  --r-inner: 16px;
  --r-pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 4.6vw, 48px);
  --header-h: 68px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --shadow-soft: 0 1px 2px rgba(24, 24, 22, 0.04),
    0 14px 40px -16px rgba(24, 24, 22, 0.14);
  --shadow-lift: 0 2px 4px rgba(24, 24, 22, 0.05),
    0 26px 60px -24px rgba(24, 24, 22, 0.26);
  --shadow-phone: 0 48px 90px -34px rgba(18, 24, 14, 0.4),
    0 16px 36px -18px rgba(18, 24, 14, 0.18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--green);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.dark-act :focus-visible,
.download :focus-visible,
.site-footer :focus-visible,
.contact-card :focus-visible,
.premium-card :focus-visible {
  outline-color: var(--gold-bright);
}

.sr-only {
  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-link {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--ivory);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Language blocks -------------------------------------------------------- */
.lang-en {
  display: none;
}

html[data-lang="en"] .lang-zh {
  display: none !important;
}

html[data-lang="en"] .lang-en {
  display: block;
}

html[data-lang="en"] span.lang-en,
html[data-lang="en"] a.lang-en,
html[data-lang="en"] strong.lang-en,
html[data-lang="en"] em.lang-en {
  display: inline;
}

html[data-lang="zh"] .lang-en {
  display: none !important;
}

/* Background texture ----------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 34% at 78% 4%, rgba(224, 197, 141, 0.16), transparent 68%),
    radial-gradient(44% 32% at 8% 28%, rgba(151, 170, 138, 0.1), transparent 72%),
    radial-gradient(60% 40% at 50% 100%, rgba(224, 197, 141, 0.08), transparent 70%);
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: 2;
}

/* Layout ----------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(92px, 11vw, 152px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.section-head .lede {
  max-width: 34em;
  padding-bottom: 0.35em;
}

/* Type ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ink-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
  opacity: 0.55;
}

html[data-lang="zh"] .eyebrow {
  letter-spacing: 0.16em;
}

.display,
.h2,
.h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.72rem, 6.1vw, 5.35rem);
  line-height: 1.04;
}

.h2 {
  font-size: clamp(2.05rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.h3 {
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 33em;
  color: var(--ink-secondary);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.82;
}

.small {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.accent-line {
  background-image: linear-gradient(
    transparent 64%,
    rgba(224, 197, 141, 0.58) 64%,
    rgba(224, 197, 141, 0.58) 91%,
    transparent 91%
  );
  padding-inline: 0.04em;
}

.gold {
  color: var(--gold-deep);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 24px -14px rgba(24, 24, 22, 0.5);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color 0.35s ease, color 0.35s ease;
}

.btn.lang-en,
.btn.lang-zh {
  display: inline-flex;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 20px 38px -18px rgba(24, 24, 22, 0.55);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--green);
}

.btn--gold:hover {
  --btn-bg: var(--gold-bright);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.58);
  --btn-fg: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 30px -18px rgba(24, 24, 22, 0.24);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.86);
}

.btn--sm {
  min-height: 42px;
  padding: 0 17px;
  font-size: 0.83rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(37, 39, 32, 0.22);
  padding-bottom: 2px;
  transition: border-color 0.3s ease, gap 0.4s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}

.text-link:hover {
  border-color: var(--ink);
  gap: 12px;
}

.text-link:hover svg {
  transform: translateX(2px);
}

.text-link--gold {
  color: var(--gold);
  border-color: var(--line-gold);
}

.text-link--gold:hover {
  border-color: var(--gold);
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 90;
  width: min(calc(100% - 28px), var(--container));
  transform: translateX(-50%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 58px;
  padding: 7px 9px 7px 18px;
  border-radius: var(--r-pill);
  background: rgba(248, 246, 240, 0.68);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 30px -20px rgba(24, 24, 22, 0.24);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
    transform 0.5s var(--ease);
}

.site-header.is-scrolled .header-inner {
  background: rgba(248, 246, 240, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 16px 40px -26px rgba(24, 24, 22, 0.4);
}

.site-header.is-hidden .header-inner {
  transform: translateY(-12px);
  opacity: 0.96;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(24, 24, 22, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-deep);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(37, 39, 32, 0.06);
  gap: 2px;
}

.lang-switch button {
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(24, 24, 22, 0.12);
}

.header-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), background-color 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile menu ------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: calc(104px + env(safe-area-inset-top, 0px)) var(--gutter)
    calc(36px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(245, 243, 237, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, visibility 0.35s ease,
    transform 0.45s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-menu nav a span {
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-menu .menu-foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 18px;
}

/* Scroll progress -------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  opacity: 0.75;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(128px, 15vh, 172px) 0 clamp(72px, 9vh, 108px);
  overflow: hidden;
}

.hero-rings {
  position: absolute;
  top: 50%;
  right: max(-340px, -22vw);
  width: min(1000px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 86px,
    rgba(37, 39, 32, 0.055) 86px 87px
  );
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, transparent 74%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-rings::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0 42%,
    rgba(224, 197, 141, 0.32) 48%,
    transparent 54% 100%
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0 68%, #000 69% 70%, transparent 71%);
  mask-image: radial-gradient(circle, transparent 0 68%, #000 69% 70%, transparent 71%);
  filter: blur(0.2px);
}

.hero-glow {
  position: absolute;
  right: 2vw;
  top: 18%;
  width: min(660px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 197, 141, 0.26),
    rgba(224, 197, 141, 0.06) 48%,
    transparent 70%
  );
  filter: blur(18px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero .eyebrow {
  margin-bottom: clamp(20px, 3vh, 30px);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(118, 85, 34, 0.1);
  animation: dotPulse 3.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(118, 85, 34, 0.08);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(118, 85, 34, 0.03);
  }
}

.hero h1 {
  margin-bottom: 0.42em;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.16em 0 0.14em;
  margin: -0.16em 0 -0.14em;
}

.hero h1 .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineRise 1.15s var(--ease) forwards;
  animation-delay: var(--delay, 0.15s);
}

@keyframes lineRise {
  to {
    transform: translateY(0);
  }
}

html[data-lang="zh"] .hero h1 {
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.hero .lede {
  max-width: 30em;
  opacity: 0;
  transform: translateY(18px);
  animation: softIn 1s var(--ease) 0.55s forwards;
}

.hero-actions {
  margin-top: clamp(26px, 4vh, 38px);
  opacity: 0;
  transform: translateY(18px);
  animation: softIn 1s var(--ease) 0.68s forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: clamp(28px, 4.5vh, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(18px);
  animation: softIn 1s var(--ease) 0.8s forwards;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--gold-deep);
  opacity: 0.85;
}

@keyframes softIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(86%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 33, 26, 0.16),
    rgba(10, 33, 26, 0.05) 46%,
    transparent 70%
  );
  filter: blur(28px);
  pointer-events: none;
}

.phone-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(100%, clamp(280px, calc((100svh - 250px) * 0.497), 392px));
  transform-style: preserve-3d;
  transform: perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.9s var(--ease);
}

.hero-phone {
  position: relative;
  z-index: 2;
  aspect-ratio: 830 / 1738;
  background-image: url("../img/zh/phone-detail-868.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 44px 60px rgba(24, 30, 18, 0.26));
  animation: phoneFloat 7s ease-in-out infinite;
}

html[data-lang="en"] .hero-phone {
  background-image: url("../img/en/phone-detail-868.webp");
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-visual .phone-stage {
  transform: perspective(1500px) rotateX(var(--rx)) rotateY(calc(var(--ry) - 9deg));
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px -22px rgba(24, 24, 22, 0.38);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  animation: cardFloat 7s ease-in-out infinite;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--canvas-deep);
  color: var(--gold-deep);
  flex: none;
}

.float-card__icon svg {
  width: 15px;
  height: 15px;
}

.float-card__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.float-card__title {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.float-card__meta {
  color: var(--ink-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.float-card--place {
  left: -9%;
  bottom: 24%;
  animation-delay: -1.6s;
}

.float-card--found {
  right: -7%;
  top: 18%;
  animation-delay: -3.2s;
}

.float-card--found .float-card__icon {
  background: var(--green);
  color: var(--gold);
}

.float-card--found .float-card__title {
  font-size: 0.8rem;
}

.hero-mascot {
  position: absolute;
  z-index: 1;
  left: -46px;
  bottom: -8px;
  width: 132px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(24, 24, 22, 0.16));
  animation: mascotPeek 9s ease-in-out infinite;
}

@keyframes mascotPeek {
  0%,
  100% {
    transform: translateY(4px) rotate(-2deg);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--ink-tertiary);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(37, 39, 32, 0.14);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-deep);
  transform: translateY(-100%);
  animation: cueDrop 2.6s var(--ease) infinite;
}

@keyframes cueDrop {
  0% {
    transform: translateY(-100%);
  }
  55%,
  100% {
    transform: translateY(100%);
  }
}

/* Story ------------------------------------------------------------------ */
.story {
  --story: 0;
  position: relative;
  height: 300vh;
  background: linear-gradient(
    180deg,
    var(--canvas) 0%,
    #f1eee5 24%,
    #ece9df 62%,
    var(--canvas-deep) 100%
  );
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      52% 30% at 76% 50%,
      rgba(224, 197, 141, 0.2),
      transparent 70%
    ),
    radial-gradient(40% 24% at 10% 70%, rgba(151, 170, 138, 0.12), transparent 70%);
  pointer-events: none;
}

.story-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100svh;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 5vw, 84px);
}

.story-copy {
  max-width: 520px;
}

.story-copy .h2 {
  margin-bottom: 0.45em;
}

.story-steps {
  position: relative;
  display: grid;
  margin-top: clamp(22px, 3.6vh, 38px);
}

.story-step {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.8s var(--ease);
}

.story-step.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.step-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.step-no::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.story-step h3 {
  margin-bottom: 12px;
  font-size: clamp(1.24rem, 2.1vw, 1.68rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.story-step p {
  max-width: 30em;
  color: var(--ink-secondary);
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.8;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.chip {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-secondary);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.story-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(20px, 3.2vh, 34px);
}

.story-meter__track {
  position: relative;
  width: 116px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(37, 39, 32, 0.12);
}

.story-meter__track span {
  position: absolute;
  inset: 0;
  background: var(--gold-deep);
  transform: scaleX(var(--story));
  transform-origin: 0 50%;
}

.story-meter__dots {
  display: flex;
  gap: 6px;
}

.story-meter__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(37, 39, 32, 0.2);
  transition: background-color 0.3s ease, transform 0.3s var(--spring);
}

.story-meter__dots i.is-active {
  background: var(--gold-deep);
  transform: scale(1.45);
}

.story-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 660px);
}

.story-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(105%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 197, 141, 0.3),
    rgba(224, 197, 141, 0.05) 52%,
    transparent 70%
  );
  filter: blur(8px);
}

.story-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 342px);
  aspect-ratio: 868 / 1746;
  transform: translateY(calc((var(--story) - 0.5) * -14px));
}

.story-screen {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  filter: drop-shadow(0 36px 52px rgba(24, 30, 18, 0.24));
  will-change: opacity;
}

.story-screen.is-active {
  opacity: 1;
}

.story-screen--capture {
  background-image: url("../img/zh/phone-capture-868.webp");
}

.story-screen--detail {
  background-image: url("../img/zh/phone-detail-868.webp");
}

.story-screen--search {
  background-image: url("../img/zh/phone-search-868.webp");
}

html[data-lang="en"] .story-screen--capture {
  background-image: url("../img/en/phone-capture-868.webp");
}

html[data-lang="en"] .story-screen--detail {
  background-image: url("../img/en/phone-detail-868.webp");
}

html[data-lang="en"] .story-screen--search {
  background-image: url("../img/en/phone-search-868.webp");
}

.story-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 32px -20px rgba(24, 24, 22, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink-secondary);
  font-size: 0.66rem;
  white-space: nowrap;
}

.story-chip svg {
  width: 13px;
  height: 13px;
  color: var(--gold-deep);
}

.story-chip--a {
  left: 3%;
  top: 17%;
}

.story-chip--b {
  right: 0;
  bottom: 19%;
}

/* Reveal ----------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s var(--ease), transform 1.05s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Pack ------------------------------------------------------------------- */
.pack {
  background: linear-gradient(180deg, var(--canvas-deep), var(--canvas) 55%);
}

.pack-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.pack-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
  padding: 34px 26px 28px;
  border-radius: 38px;
  background: linear-gradient(155deg, #e7e3d6, #f1eee5 48%, #e4e1d3);
  overflow: hidden;
}

.pack-stage::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.75),
    transparent 66%
  );
}

.pack-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(118, 85, 34, 0.1),
    transparent 66%
  );
  transform: translateX(-50%);
}

.pack-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 318px);
  aspect-ratio: 868 / 1746;
}

.pack-screen {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.75s var(--ease);
  filter: drop-shadow(0 30px 46px rgba(24, 26, 18, 0.28));
}

.pack-screen.is-active {
  opacity: 1;
  transform: none;
}

.pack-screen--out {
  background-image: url("../img/zh/phone-outbound-868.webp");
}

html[data-lang="en"] .pack-screen--out {
  background-image: url("../img/en/phone-outbound-868.webp");
}

.pack-toggle {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 28px -18px rgba(24, 24, 22, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.pack-toggle button {
  min-height: 34px;
  padding: 0 17px;
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pack-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
}

.pack-float {
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 8%;
  width: 190px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 40px -24px rgba(24, 24, 22, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pack-float__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pack-float__title {
  font-size: 0.7rem;
  font-weight: 650;
}

.pack-float__count {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.pack-float__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(37, 39, 32, 0.07);
  color: var(--ink-secondary);
  font-size: 0.65rem;
}

.pack-float__row:first-of-type {
  border-top: 0;
}

.pack-float__row svg {
  width: 12px;
  height: 12px;
  color: var(--green-soft);
  flex: none;
}

.pack-float__row.is-pending svg {
  color: var(--ink-tertiary);
  opacity: 0.45;
}

.pack-copy .h2 {
  margin-bottom: 0.4em;
}

.pack-copy > .lede {
  margin-bottom: 34px;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}

.feature-item__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--gold-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.feature-item__icon svg {
  width: 16px;
  height: 16px;
}

.feature-item h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.feature-item p {
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.72;
}

/* Dark act --------------------------------------------------------------- */
.dark-act {
  position: relative;
  margin-top: clamp(20px, 4vw, 52px);
  border-radius: clamp(28px, 4vw, 44px);
  background: radial-gradient(
      120% 80% at 82% 0%,
      rgba(224, 197, 141, 0.13),
      transparent 54%
    ),
    radial-gradient(80% 60% at 0% 32%, rgba(70, 105, 82, 0.2), transparent 60%),
    var(--green);
  color: var(--ivory);
  overflow: hidden;
}

.dark-act .grain {
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

.dark-act .eyebrow {
  color: rgba(245, 235, 214, 0.62);
}

.dark-act .eyebrow::before {
  background: var(--gold);
  opacity: 0.7;
}

.dark-act .lede,
.dark-act .body-copy {
  color: rgba(245, 235, 214, 0.64);
}

/* Privacy ---------------------------------------------------------------- */
.privacy {
  position: relative;
  padding-block: clamp(84px, 10vw, 136px) clamp(96px, 11vw, 150px);
  border-top: 1px solid rgba(224, 197, 141, 0.16);
}

.privacy-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 66px);
}

.privacy-head .h2 {
  margin-bottom: 0.42em;
}

.privacy-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(42px, 6vw, 68px);
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--r-outer);
  background: rgba(245, 235, 214, 0.045);
  box-shadow: 0 1px 0 rgba(245, 235, 214, 0.07) inset;
}

.flow-node {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(245, 235, 214, 0.06);
}

.flow-node strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.flow-node span {
  color: rgba(245, 235, 214, 0.58);
  font-size: 0.64rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.flow-node--device {
  background: var(--gold);
  color: var(--green);
  box-shadow: 0 14px 34px -18px rgba(224, 197, 141, 0.55);
}

.flow-node--device span {
  color: rgba(10, 33, 26, 0.62);
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
  opacity: 0.55;
}

.flow-arrow svg {
  width: 22px;
  height: 22px;
}

.flow-cloud {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  color: rgba(245, 235, 214, 0.58);
  font-size: 0.66rem;
}

.flow-cloud::before {
  content: "";
  width: 44%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(245, 235, 214, 0.25) 0 3px,
    transparent 3px 8px
  );
}

.flow-cloud svg {
  width: 14px;
  height: 14px;
}

.privacy-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: clamp(40px, 6vw, 60px);
}

.privacy-fact {
  padding-top: 20px;
  border-top: 1px solid rgba(245, 235, 214, 0.14);
}

.privacy-fact__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(224, 197, 141, 0.1);
  color: var(--gold);
}

.privacy-fact__icon svg {
  width: 17px;
  height: 17px;
}

.privacy-fact h3 {
  margin-bottom: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.privacy-fact p {
  color: rgba(245, 235, 214, 0.56);
  font-size: 0.8rem;
  line-height: 1.7;
}

.privacy-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.privacy-foot .note {
  max-width: 42em;
  color: rgba(245, 235, 214, 0.58);
  font-size: 0.7rem;
  line-height: 1.65;
}

/* FAQ -------------------------------------------------------------------- */
.faq {
  background: linear-gradient(180deg, var(--canvas), var(--canvas-deep));
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro .h2 {
  margin-bottom: 0.42em;
}

.faq-intro .lede {
  margin-bottom: 26px;
}

.faq-contact {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: background-color 0.3s ease;
}

.faq-contact:hover {
  background: rgba(255, 255, 255, 0.82);
}

.faq-contact span {
  color: var(--ink-tertiary);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-contact strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--gold-deep);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(37, 39, 32, 0.06);
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  transform: rotate(90deg);
  background: var(--ink);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--ivory);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 60ch;
  padding: 0 40px 24px 2px;
  color: var(--ink-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  animation: faqIn 0.45s var(--ease);
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(118, 85, 34, 0.28);
}

.faq-answer ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.faq-answer li {
  position: relative;
  padding-left: 15px;
}

.faq-answer li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0.6;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Download / footer ------------------------------------------------------ */
.download {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 13vw, 168px) clamp(72px, 9vw, 110px);
  border-radius: clamp(28px, 4vw, 44px);
  background: radial-gradient(
      70% 60% at 50% 0%,
      rgba(224, 197, 141, 0.16),
      transparent 60%
    ),
    var(--green);
  color: var(--ivory);
  text-align: center;
}

.download::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: min(980px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(224, 197, 141, 0.14);
  box-shadow: 0 0 0 70px rgba(224, 197, 141, 0.025),
    0 0 0 140px rgba(224, 197, 141, 0.02),
    0 0 0 210px rgba(224, 197, 141, 0.014);
  transform: translateX(-50%);
  pointer-events: none;
}

.download::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 720px;
  max-width: 100%;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(
    280px 280px at var(--mx, 50%) var(--my, 40%),
    rgba(224, 197, 141, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.download > * {
  position: relative;
  z-index: 2;
}

.download .brand-mark {
  width: 66px;
  height: 66px;
  margin: 0 auto 26px;
  border-radius: 15px;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.56);
}

.download h2 {
  max-width: 12em;
  margin: 0 auto 0.32em;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ivory);
  text-wrap: balance;
}

.download .lede {
  max-width: 34em;
  margin: 0 auto 34px;
  color: rgba(245, 235, 214, 0.58);
}

.download .btn-row {
  justify-content: center;
}

.download-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 28px;
  color: rgba(245, 235, 214, 0.58);
  font-size: 0.7rem;
}

.download-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.download-note svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  opacity: 0.75;
}

.site-footer {
  position: relative;
  padding: 64px 0 calc(38px + env(safe-area-inset-bottom, 0px));
  background: var(--green);
  color: rgba(245, 235, 214, 0.56);
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.56fr));
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 235, 214, 0.12);
}

.footer-brand {
  max-width: 24em;
}

.footer-brand .brand {
  color: var(--ivory);
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(245, 235, 214, 0.58);
  font-size: 0.78rem;
  line-height: 1.75;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: rgba(245, 235, 214, 0.56);
  font-size: 0.8rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.footer-bottom p {
  color: rgba(245, 235, 214, 0.56);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: rgba(245, 235, 214, 0.58);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--ivory);
}

/* Subpages --------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(150px, 19vh, 200px) 0 clamp(48px, 7vw, 76px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 197, 141, 0.2),
    transparent 66%
  );
  pointer-events: none;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 16em;
  margin-bottom: 0.32em;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 38em;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--ink-tertiary);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.page-hero--support .support-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: clamp(32px, 5vw, 76px);
}

.contact-card {
  position: relative;
  padding: 26px;
  border-radius: var(--r-outer);
  background: radial-gradient(
      90% 90% at 100% 0%,
      rgba(224, 197, 141, 0.22),
      transparent 56%
    ),
    linear-gradient(150deg, var(--green), var(--green-soft));
  color: var(--ivory);
  box-shadow: 0 30px 60px -36px rgba(10, 33, 26, 0.5);
  overflow: hidden;
}

.contact-card .mono {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.6rem;
}

.contact-card h2 {
  margin-bottom: 6px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: rgba(245, 235, 214, 0.56);
  font-size: 0.8rem;
  line-height: 1.7;
}

.contact-card a.email {
  display: inline-block;
  margin: 14px 0 18px;
  color: var(--gold-bright);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(224, 197, 141, 0.4);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-card .btn {
  --btn-bg: rgba(245, 235, 214, 0.1);
  --btn-fg: var(--ivory);
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.72rem;
  box-shadow: 0 1px 0 rgba(245, 235, 214, 0.08) inset;
}

.contact-card .btn:hover {
  --btn-bg: rgba(245, 235, 214, 0.18);
}

.contact-card .btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--green);
}

.contact-card .btn--gold:hover {
  --btn-bg: var(--gold-bright);
}

.support-tools {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin-top: 32px;
  padding: 7px 8px 7px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 36px -26px rgba(24, 24, 22, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-tools svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--ink-tertiary);
}

.support-tools input {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.86rem;
}

.support-tools input[type="search"]::-webkit-search-cancel-button,
.support-tools input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.support-tools input::placeholder {
  color: var(--ink-tertiary);
  opacity: 1;
}

.support-tools .clear {
  display: none;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary-surface);
  color: var(--ink-secondary);
}

.support-tools.has-value .clear {
  display: grid;
}

.support-tools .clear svg {
  width: 12px;
  height: 12px;
  color: currentColor;
}

.support-body {
  padding-block: clamp(40px, 6vw, 70px) clamp(90px, 11vw, 140px);
}

.support-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.support-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 4px;
}

.support-toc h2 {
  margin-bottom: 10px;
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-toc a {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-secondary);
  font-size: 0.76rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.support-toc a:hover,
.support-toc a.is-active {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.support-content {
  max-width: 800px;
}

.faq-group {
  padding-bottom: clamp(42px, 5vw, 62px);
  scroll-margin-top: 120px;
}

.faq-group:last-child {
  padding-bottom: 0;
}

.faq-group__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.faq-group__head h2 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.faq-group__head span {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.faq-group .faq-item summary {
  padding-block: 18px;
  font-size: 0.93rem;
}

.faq-group .faq-answer {
  padding-right: 28px;
  font-size: 0.86rem;
}

.no-results {
  display: none;
  padding: 46px 0;
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

.no-results strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.no-results p {
  color: var(--ink-secondary);
  font-size: 0.85rem;
}

.no-results a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(118, 85, 34, 0.3);
}

.diagnostic {
  margin-top: clamp(44px, 6vw, 70px);
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--r-outer);
  background: linear-gradient(145deg, #eae6da, #f3f0e7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.diagnostic h2 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.diagnostic p {
  color: var(--ink-secondary);
  font-size: 0.8rem;
}

.diagnostic pre {
  margin: 18px 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.diagnostic .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.75rem;
}

.copy-state {
  margin-left: 10px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-state.is-visible {
  opacity: 1;
}

.support-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.support-meta div {
  display: grid;
  gap: 3px;
}

.support-meta dt {
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-meta dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Legal ------------------------------------------------------------------ */
.legal-hero {
  padding: clamp(140px, 18vh, 188px) 0 clamp(40px, 5vw, 60px);
}

.legal-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ink-secondary);
  font-size: 0.74rem;
}

.legal-summary {
  max-width: 760px;
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(10, 33, 26, 0.055);
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.75;
}

.legal-summary strong {
  color: var(--gold-deep);
  font-weight: 600;
}

.legal-body {
  padding-block: clamp(36px, 5vw, 54px) clamp(90px, 11vw, 140px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 2px;
  max-height: calc(100svh - 140px);
  overflow-y: auto;
}

.legal-toc h2 {
  margin-bottom: 10px;
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--ink-secondary);
  font-size: 0.73rem;
  line-height: 1.45;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  padding-bottom: clamp(34px, 4.5vw, 48px);
  scroll-margin-top: 116px;
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.22rem, 1.8vw, 1.46rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.legal-section h2 .no {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.legal-section h3 {
  margin: 22px 0 8px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.legal-section p,
.legal-section li {
  color: var(--ink-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.legal-section li {
  position: relative;
  padding-left: 17px;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0.55;
}

.legal-section a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(118, 85, 34, 0.26);
  transition: border-color 0.2s ease;
}

.legal-section a:hover {
  border-color: var(--gold-deep);
}

.legal-note {
  margin-top: 16px;
  padding: 15px 17px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink-secondary);
  font-size: 0.8rem;
  line-height: 1.7;
}

.data-table-wrap {
  margin: 18px 0 6px;
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  color: var(--ink-tertiary);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--ink-secondary);
  line-height: 1.65;
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.data-table .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(66, 92, 69, 0.1);
  color: #425c45;
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
}

.data-table .tag--log {
  background: rgba(123, 99, 71, 0.1);
  color: #7b6347;
}

.legal-contact {
  padding: 24px;
  border-radius: var(--r-outer);
  background: linear-gradient(145deg, #eae6da, #f3f0e7);
}

.legal-contact p {
  margin-bottom: 8px;
}

.legal-contact a {
  font-size: 0.95rem;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 30px -18px rgba(24, 24, 22, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease,
    transform 0.4s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* 404 -------------------------------------------------------------------- */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 140px 0 80px;
  text-align: center;
}

.not-found__inner {
  max-width: 520px;
}

.not-found img {
  width: 118px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 16px 24px rgba(24, 24, 22, 0.14));
}

.not-found h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.not-found p {
  margin-bottom: 26px;
  color: var(--ink-secondary);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .hero-visual {
    min-height: 460px;
  }

  .float-card--place {
    left: -4%;
  }

  .float-card--found {
    right: -2%;
  }

  .device-figure {
    flex-basis: 260px;
  }

  .device-figure:nth-child(2) {
    flex-basis: 300px;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 0;
    padding-bottom: 20px;
  }

  .phone-stage {
    width: min(78vw, 360px);
  }

  .hero-visual .phone-stage {
    transform: perspective(1500px) rotateX(var(--rx)) rotateY(calc(var(--ry) - 5deg));
  }

  .scroll-cue {
    display: none;
  }

  .section-head,
  .glance-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head .lede,
  .glance-head .lede {
    max-width: 36em;
  }

  .story {
    height: 280vh;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: center;
    padding-block: 94px 48px;
  }

  .story-copy {
    order: 2;
    max-width: 620px;
  }

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

  .story-stage {
    order: 1;
    min-height: 0;
  }

  .story-phone {
    width: min(52vw, 236px);
  }

  .story-chip--a,
  .story-chip--b {
    display: none;
  }

  .story-step p {
    max-width: 42em;
  }

  .pack-layout,
  .remember-layout,
  .devices-layout {
    grid-template-columns: 1fr;
  }

  .pack-stage {
    order: 2;
    min-height: 540px;
  }

  .pack-copy {
    order: 1;
  }

  .remember-stage {
    order: 2;
    min-height: 560px;
  }

  .remember-copy {
    order: 1;
  }

  .device-composition {
    min-height: 0;
    padding-bottom: 40px;
  }

  .tablet--main {
    width: 86%;
  }

  .tablet--side {
    width: 34%;
    bottom: 0;
  }

  .privacy-facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .privacy-fact {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 18px;
  }

  .privacy-fact__icon {
    margin-bottom: 0;
  }

  .privacy-fact h3 {
    margin-bottom: 4px;
  }

  .privacy-facts .privacy-fact > div:last-child {
    grid-column: 2;
  }

  .premium-card {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .support-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .support-toc,
  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: none;
    overflow: visible;
    padding-bottom: 8px;
  }

  .support-toc h2,
  .legal-toc h2 {
    width: 100%;
    margin-bottom: 2px;
  }

  .support-toc a,
  .legal-toc a {
    background: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
  }

  .page-hero--support .support-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-card {
    max-width: 460px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .support-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .site-header {
    top: max(10px, env(safe-area-inset-top, 0px));
  }

  .header-inner {
    min-height: 54px;
    padding-left: 14px;
    gap: 12px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .hero {
    padding-top: 118px;
  }

  .display {
    font-size: clamp(2.42rem, 10.5vw, 3.4rem);
  }

  .h2 {
    font-size: clamp(1.9rem, 7.4vw, 2.6rem);
  }

  .hero .lede {
    font-size: 1rem;
  }

  .hero-meta {
    gap: 8px 16px;
  }

  .hero-meta li {
    font-size: 0.72rem;
  }

  .hero-visual {
    margin-top: 4px;
  }

  .phone-stage {
    width: min(74vw, 310px);
  }

  .float-card {
    padding: 9px 11px;
    border-radius: 14px;
  }

  .float-card__icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .float-card__title {
    font-size: 0.68rem;
  }

  .float-card__meta {
    font-size: 0.58rem;
  }

  .float-card--place {
    left: -2%;
    bottom: 20%;
  }

  .float-card--found {
    right: -1%;
    top: 16%;
  }

  .hero-mascot {
    width: 92px;
    left: -20px;
    bottom: -4px;
  }

  .story {
    height: 260vh;
  }

  .story-phone {
    width: min(54vw, 200px);
  }

  .story-step h3 {
    font-size: 1.16rem;
  }

  .story-step p {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .chips {
    gap: 5px;
    margin-top: 12px;
  }

  .chip {
    font-size: 0.62rem;
    padding: 5px 9px;
  }

  .story-meter {
    margin-top: 16px;
  }

  .pack-stage {
    min-height: 460px;
    padding: 22px 12px 24px;
    border-radius: var(--r-outer);
  }

  .pack-phone {
    width: min(82%, 288px);
  }

  .pack-float {
    width: 160px;
    left: 2%;
    top: 5%;
    padding: 11px 12px;
  }

  .pack-float__row {
    font-size: 0.6rem;
  }

  .remember-stage {
    min-height: 490px;
  }

  .remember-phone {
    width: min(58%, 220px);
  }

  .remember-phone--a {
    left: -1%;
    top: 2%;
  }

  .remember-phone--b {
    right: -1%;
    bottom: 1%;
  }

  .remember-badge {
    font-size: 0.62rem;
    padding: 8px 11px;
  }

  .remember-badge--top {
    left: 34%;
    top: 5%;
  }

  .remember-badge--bottom {
    right: 0;
    top: 44%;
  }

  .device-row {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 2px 26px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .device-row::-webkit-scrollbar {
    display: none;
  }

  .device-figure,
  .device-figure:nth-child(2) {
    flex: 0 0 62vw;
    transform: none;
    scroll-snap-align: center;
  }

  .device-figure img {
    height: auto;
    width: 100%;
    max-height: none;
  }

  .glance-head .lede {
    font-size: 0.95rem;
  }

  .privacy-flow {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .flow-node {
    padding: 13px 15px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-block: 2px;
  }

  .flow-cloud {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .flow-cloud::before {
    width: 24px;
  }

  .privacy-foot {
    align-items: flex-start;
  }

  .premium-card {
    padding: 28px 22px;
    border-radius: var(--r-outer);
  }

  .plan-row {
    grid-template-columns: minmax(0, 1fr) 54px 64px;
    padding: 12px 13px;
    font-size: 0.7rem;
  }

  .plan-row:first-child {
    font-size: 0.55rem;
  }

  .tablet--main {
    width: 92%;
  }

  .tablet--side {
    width: 37%;
    bottom: 8px;
  }

  .device-caption {
    right: 0;
    bottom: 0;
    font-size: 0.6rem;
  }

  .download h2 {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .download .btn-row .btn {
    width: 100%;
  }

  .site-footer {
    padding-top: 48px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding-top: 132px;
  }

  .support-tools {
    padding-left: 14px;
  }

  .legal-summary {
    padding: 18px;
    font-size: 0.88rem;
  }

  .legal-section p,
  .legal-section li {
    font-size: 0.86rem;
  }

  .support-meta {
    gap: 14px;
  }
}

@media (max-width: 920px) and (max-height: 740px) {
  .story-grid {
    padding-block: 76px 28px;
    gap: 10px;
  }

  .story-phone {
    width: min(44vw, 28svh, 190px);
  }

  .story-copy .eyebrow {
    margin-bottom: 12px;
  }

  .story-steps {
    margin-top: 14px;
  }

  .story-step .chips {
    display: none;
  }

  .story-step h3 {
    margin-bottom: 7px;
  }

  .story-step p {
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .story-meter {
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  .float-card--place {
    left: 0;
  }

  .float-card--found {
    display: none;
  }

  .hero-mascot {
    width: 78px;
    left: -10px;
  }

  .pack-float {
    display: none;
  }

  .remember-badge--top {
    left: 24%;
  }
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero h1 .line > span,
  .hero .lede,
  .hero-actions,
  .hero-meta {
    opacity: 1;
    transform: none;
  }

  .story {
    height: auto;
  }

  .story-sticky {
    position: static;
    height: auto;
    padding-block: 80px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-copy .h2 {
    display: block;
  }

  .story-stage {
    order: 1;
  }

  .story-copy {
    order: 2;
  }

  .story-step {
    position: static;
    grid-area: auto;
    opacity: 1;
    transform: none;
    padding-top: 26px;
  }

  .story-step + .story-step {
    margin-top: 26px;
    border-top: 1px solid var(--line-soft);
  }

  .story-meter {
    display: none;
  }

  .js .reveal,
  .js .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-phone,
  .hero-mascot,
  .float-card {
    animation: none;
  }

  .scroll-cue__line::after {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-secondary: #494d41;
    --line: rgba(37, 39, 32, 0.28);
  }

  .dark-act,
  .download,
  .site-footer {
    --ivory: #fff9ea;
  }

  .dark-act .lede,
  .privacy-fact p,
  .glance-note,
  .device-figure figcaption span {
    color: rgba(255, 249, 234, 0.78);
  }
}

/* Print ------------------------------------------------------------------ */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .grain,
  .ambient,
  .scroll-progress,
  .legal-toc,
  .support-toc,
  .page-hero::before,
  .download,
  .contact-card .contact-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .page-hero,
  .legal-hero,
  .legal-body,
  .support-body {
    padding-block: 0 !important;
  }

  .legal-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .legal-section,
  .faq-group {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* Cross-document transitions where supported */
@view-transition {
  navigation: auto;
}

[id] {
  scroll-margin-top: max(96px, calc(env(safe-area-inset-top, 0px) + 80px));
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Buttons are flex items even when the language layer makes spans block. */
html[data-lang="en"] button.lang-en,
html[data-lang="en"] a.lang-en,
html[data-lang="zh"] button.lang-zh,
html[data-lang="zh"] a.lang-zh {
  display: inline-flex;
}

/* No-JS fallback: show the whole story instead of pinning it. */
.no-js .story {
  height: auto;
}

.no-js .story-sticky {
  position: static;
  height: auto;
  padding-block: 80px;
}

.no-js .story-grid {
  grid-template-columns: 1fr;
}

.no-js .story-copy .h2 {
  display: block;
}

.no-js .story-stage {
  order: 1;
}

.no-js .story-copy {
  order: 2;
}

.no-js .story-step {
  position: static;
  grid-area: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding-top: 24px;
}

.no-js .story-step + .story-step {
  margin-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.no-js .story-meter {
  display: none;
}

.no-js .hero h1 .line > span,
.no-js .hero .lede,
.no-js .hero-actions,
.no-js .hero-meta {
  opacity: 1;
  transform: none;
}

.no-js .scroll-cue {
  position: static;
  margin: 28px auto 0;
  transform: none;
}

/* Very short phones (e.g. iPhone SE 1st gen): keep the pinned story readable. */
@media (max-width: 920px) and (max-height: 620px) {
  .story-grid {
    padding-block: 68px 20px;
    gap: 8px;
  }

  .story-phone {
    width: min(38vw, 24svh, 150px);
  }

  .story-copy .eyebrow {
    display: none;
  }

  .story-steps {
    margin-top: 8px;
  }

  .story-step h3 {
    font-size: 1.02rem;
    margin-bottom: 5px;
  }

  .story-step p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .story-meter {
    margin-top: 8px;
  }
}

/* Short tablets and split-view widths: keep the pinned story inside the viewport. */
@media (min-width: 521px) and (max-width: 920px) and (max-height: 950px) {
  .story-grid {
    padding-block: 72px 24px;
    gap: 12px;
  }

  .story-phone {
    width: min(46vw, 26svh, 200px);
  }

  .story-step .chips {
    display: none;
  }

  .story-step p {
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .story-meter {
    margin-top: 14px;
  }
}

/* Hero visual entrance */
.hero-visual {
  opacity: 0;
  animation: visualIn 1.5s var(--ease) 0.18s forwards;
}

@keyframes visualIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.no-js .menu-toggle {
  display: none;
}

/* Short desktop / landscape tablet: keep the fixed header clear of the phone. */
@media (min-width: 921px) and (max-height: 840px) {
  .story-grid {
    padding-block: 76px 16px;
  }

  .story-phone {
    width: min(100%, 300px);
  }
}

@media (min-width: 921px) and (max-height: 720px) {
  .story-phone {
    width: min(100%, 280px);
  }
}

/* Landscape phones: two compact columns instead of stacking a tall phone. */
@media (max-width: 920px) and (max-height: 500px) {
  .story-sticky {
    padding-top: 76px;
  }

  .story-grid {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 18px;
    padding-block: 0;
    align-items: center;
  }

  .story-copy {
    order: 2;
    max-width: none;
  }

  .story-stage {
    order: 1;
    min-height: 0;
  }

  .story-phone {
    width: clamp(110px, 22svh, 150px);
  }

  .story-copy .eyebrow {
    display: none;
  }

  .story-step .chips {
    display: none;
  }

  .story-step h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .story-step p {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .story-meter {
    margin-top: 10px;
  }

  .story-chip--a,
  .story-chip--b {
    display: none;
  }
}

/* Simplified feature cards ------------------------------------------------ */
.features {
  background: var(--canvas);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 26px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 40px -30px rgba(24, 24, 22, 0.3);
  transition: transform 0.45s var(--ease), background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.84);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--canvas-deep);
  color: var(--gold-deep);
}

.feature-card__icon svg {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.feature-card p {
  color: var(--ink-secondary);
  font-size: 0.83rem;
  line-height: 1.72;
}

/* The dark chapter now opens with privacy after the simplified layout. */
.privacy {
  border-top: 0;
  padding-block: clamp(84px, 10vw, 130px) clamp(92px, 11vw, 140px);
}

/* Cinema: a continuous camera path through the page ----------------------- */
.cinema {
  position: relative;
  isolation: isolate;
  width: min(100% - (var(--gutter) * 2), 1200px);
  margin-inline: auto;
}

.cinema-content { position: relative; z-index: 2; min-width: 0; }
.cinema-waypoint { display: none; }

.cinema-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cinema-media-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  perspective: 1400px;
}

.cinema-phone {
  position: absolute;
  left: 76%;
  top: 54%;
  width: clamp(208px, min(33vw, calc((100svh - 174px) * 0.497)), 374px);
  aspect-ratio: 868 / 1746;
  transform: translate(-50%, -50%) rotate(-6deg);
  transform-origin: 50% 50%;
  will-change: transform;
}

.is-choreographed .cinema-phone {
  left: 0;
  top: 0;
  transform: translate3d(var(--cinema-x), var(--cinema-y), 0)
    translate(-50%, -50%) rotateY(var(--cinema-tilt))
    rotateZ(var(--cinema-rotate)) scale(var(--cinema-scale));
}

.cinema-aura {
  position: absolute;
  inset: -18% -65%;
  background: radial-gradient(ellipse, rgba(10, 33, 26, 0.1), transparent 65%);
}

/* A single opaque chassis and display mask serve every screenshot. The
   transparent corners in the original device images never stack or dissolve. */
.cinema-bezel {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 245, 239, 0.7);
  border-radius: 19.4% / 9.65%;
  background: linear-gradient(115deg, #7d7e79, #20211f 18%, #141513 65%, #686963);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    inset 0 0 0 5px #252623,
    0 35px 65px -25px rgba(24, 30, 18, 0.34),
    0 8px 16px -8px rgba(24, 30, 18, 0.25);
}

.cinema-display {
  position: absolute;
  inset: 1.8% 3.6%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16% / 7.7%;
  background: #080908;
  /* Keep clipping on the same composited layer on Safari. */
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(#fff, #fff);
}

.cinema-screen {
  position: absolute;
  inset: 0;
  /* Crop the baked-in device frame, retaining only its native display. */
  background-size: 112.4% 104.2%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #080908;
  visibility: hidden;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
}

.cinema-screen.is-active { visibility: visible; }
.cinema-screen--detail { background-image: url("../img/zh/phone-detail-868.webp"); }
.cinema-screen--capture { background-image: url("../img/zh/phone-capture-868.webp"); }
.cinema-screen--search { background-image: url("../img/zh/phone-search-868.webp"); }
.cinema-screen--outbound { background-image: url("../img/zh/phone-outbound-868.webp"); }
html[data-lang="en"] .cinema-screen--detail { background-image: url("../img/en/phone-detail-868.webp"); }
html[data-lang="en"] .cinema-screen--capture { background-image: url("../img/en/phone-capture-868.webp"); }
html[data-lang="en"] .cinema-screen--search { background-image: url("../img/en/phone-search-868.webp"); }
html[data-lang="en"] .cinema-screen--outbound { background-image: url("../img/en/phone-outbound-868.webp"); }

.cinema-hero.hero {
  width: 47%;
  min-height: 100svh;
  padding: clamp(128px, 15vh, 172px) 0 clamp(72px, 9vh, 108px);
  display: flex;
  align-items: center;
  overflow: visible;
}

.cinema-hero .hero-copy { max-width: 620px; }
.cinema-how { padding-block: clamp(88px, 12vh, 144px) 0; }

.cinema-section-head {
  width: 46%;
  margin-left: auto;
  margin-bottom: 16px;
}

.cinema-section-head .h2 { margin-bottom: 0.4em; }
.cinema-section-head .lede { max-width: 34em; }

.cinema-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 46%;
  min-height: 66svh;
  padding-block: clamp(40px, 7vh, 80px);
}

.cinema-step:not([data-screen-target]) { margin-left: auto; }
.cinema-step[data-screen-target] { min-height: 100svh; margin-top: 16svh; }

.cinema-step h3 {
  max-width: 20em;
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.cinema-step > p:not(.step-no) {
  max-width: 34em;
  color: var(--ink-secondary);
  font-size: clamp(0.94rem, 1.15vw, 1.02rem);
  line-height: 1.8;
}

.cinema-step .chips { margin-top: 20px; }

.cinema-pack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 46%;
  margin-left: auto;
  margin-top: 16svh;
  min-height: 110svh;
  padding-block: clamp(72px, 12vh, 136px);
}

.cinema-pack .h2 { margin-bottom: 0.4em; }
.cinema-pack > .lede { max-width: 34em; margin-bottom: 32px; }

#how, #pack { scroll-margin-top: 104px; }

@media (max-width: 1000px) and (min-width: 761px) {
  .cinema-hero .display { font-size: clamp(2.4rem, 5.2vw, 3.5rem); }
  .cinema-hero .hero-meta { gap: 12px; }
  .cinema-hero .hero-meta li { font-size: 10px; }
  .cinema-section-head .h2, .cinema-pack .h2 { font-size: 2.6rem; }
}

@media (max-width: 760px) {
  .cinema { width: 100%; }
  .cinema-content { padding-inline: var(--gutter); }
  .cinema-media-sticky {
    position: absolute;
    inset: 0;
    height: 100%;
    perspective: none;
  }
  .cinema-phone { width: clamp(160px, 52vw, 232px); }
  .cinema-aura { inset: -12% -32%; }

  .cinema-waypoint {
    display: block;
    flex: none;
    width: 100%;
    height: clamp(360px, 65svh, 520px);
    margin-block: 42px;
  }

  .cinema-hero.hero {
    display: block;
    width: 100%;
    min-height: auto;
    padding: calc(106px + env(safe-area-inset-top, 0px)) 0 0;
  }
  .cinema-hero .hero-copy { max-width: none; }
  .cinema-hero .display { font-size: clamp(2.3rem, 9.8vw, 4.1rem); }
  .cinema-hero .hero-meta { gap: 12px 18px; }
  .cinema-hero .cinema-waypoint { margin-bottom: 0; }

  .cinema-how { padding-block: 24px 0; }
  .cinema-section-head { width: 100%; margin: 0 0 24px; }
  .cinema-step, .cinema-step[data-screen-target] {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0;
    padding-block: 24px 56px;
  }
  .cinema-section-head .h2, .cinema-pack .h2 { font-size: clamp(2.2rem, 8.5vw, 3.8rem); }
  .cinema-step h3 { font-size: 1.45rem; }
  .cinema-step > p:not(.step-no) { font-size: 1rem; }
  .cinema-pack {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0;
    padding-block: 12px 96px;
  }

  .no-js .cinema-media { display: none; }
  .no-js .cinema-waypoint {
    background: var(--cinema-fallback) center / auto 90% no-repeat;
  }
  [data-phone-anchor="0"] { --cinema-fallback: url("../img/zh/phone-detail-868.webp"); }
  [data-phone-anchor="1"] { --cinema-fallback: url("../img/zh/phone-capture-868.webp"); }
  [data-phone-anchor="2"] { --cinema-fallback: url("../img/zh/phone-search-868.webp"); }
  [data-phone-anchor="3"] { --cinema-fallback: url("../img/zh/phone-outbound-868.webp"); }
  html[data-lang="en"] [data-phone-anchor="0"] { --cinema-fallback: url("../img/en/phone-detail-868.webp"); }
  html[data-lang="en"] [data-phone-anchor="1"] { --cinema-fallback: url("../img/en/phone-capture-868.webp"); }
  html[data-lang="en"] [data-phone-anchor="2"] { --cinema-fallback: url("../img/en/phone-search-868.webp"); }
  html[data-lang="en"] [data-phone-anchor="3"] { --cinema-fallback: url("../img/en/phone-outbound-868.webp"); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-phone, .cinema-screen { will-change: auto; }
  .cinema-aura { display: none; }
}

@media print {
  .cinema-media, .cinema-waypoint { display: none; }
  .cinema-hero.hero, .cinema-section-head, .cinema-step,
  .cinema-step[data-screen-target], .cinema-pack {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding-block: 20px;
  }
}
