/* ==========================================================================
   Life, Doubt, Repeat. — shared site styles
   Palette from the redesigned app. No external fonts, no CDN, no tracking.
   ========================================================================== */

:root {
  --page: #1B2230;
  --page-deep: #141B25;
  --panel: #27313D;
  --panel-2: #303B48;
  --paper: #F4E8D2;
  --ink: #25303A;
  --text: #F6EBD6;
  --secondary: #C7C2B5;
  --positive: #8ED1B2;
  --warning: #E3AA4A;
  --negative: #E5715A;
  --investment: #74518F;
  --investment-light: #B49ACB;
  --border: #3B4653;
  --border-soft: rgba(59, 70, 83, .62);
  --mint-soft: rgba(142, 209, 178, .12);
  --amber-soft: rgba(227, 170, 74, .12);
  --coral-soft: rgba(229, 113, 90, .12);
  --violet-soft: rgba(116, 81, 143, .18);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang TC", "Hiragino Sans", "Noto Sans TC", "Microsoft JhengHei",
    "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Songti TC", "Noto Serif TC", "Songti SC", "Noto Serif SC",
    "SimSun", serif;
  --serif-cn: "Songti TC", "STSong", "Noto Serif TC", "Songti SC",
    "Noto Serif SC", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --gutter: clamp(1rem, 4vw, 2.25rem);
  --radius: 16px;
  --shadow: 0 28px 74px rgba(5, 9, 14, .5);
  --header-h: 72px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 12% -5%, rgba(142, 209, 178, .09), transparent 65%),
    radial-gradient(ellipse 50% 42% at 88% 4%, rgba(227, 170, 74, .075), transparent 65%),
    radial-gradient(ellipse 65% 55% at 50% 108%, rgba(116, 81, 143, .07), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(246, 235, 214, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 235, 214, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 78%);
}

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

img { height: auto; }

a { color: var(--positive); }

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

::selection {
  background: var(--warning);
  color: var(--page);
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3,
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 {
  font-family: var(--serif-cn);
  letter-spacing: .015em;
  line-height: 1.25;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li + li { margin-top: .45rem; }

strong { color: var(--text); font-weight: 650; }

code {
  padding: .12rem .4rem;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  background: var(--page-deep);
  color: var(--text);
  font-family: var(--mono);
  font-size: .86em;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

.container--narrow { width: min(100% - (var(--gutter) * 2), 860px); }

.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: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--warning);
  color: var(--page);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline-offset: 2px;
}

[data-lang-block] { display: none; }

html[data-lang="en"] [data-lang-block="en"],
html[data-lang="zh-Hant"] [data-lang-block="zh-Hant"],
html[data-lang="zh-Hans"] [data-lang-block="zh-Hans"] { display: block; }

.t { display: none !important; }

html[data-lang="en"] .t-en,
html[data-lang="zh-Hant"] .t-hant,
html[data-lang="zh-Hans"] .t-hans { display: inline !important; }

html[data-lang="en"] .t-en.t-block,
html[data-lang="zh-Hant"] .t-hant.t-block,
html[data-lang="zh-Hans"] .t-hans.t-block { display: block !important; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .9rem;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 4px rgba(142, 209, 178, .13);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.nowrap { white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--positive);
  color: var(--ink);
}

.btn--primary:hover { background: #A5DEC6; }

.btn--ghost {
  border-color: var(--border);
  background: rgba(39, 49, 61, .55);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--secondary);
  background: var(--panel-2);
}

.btn--small {
  min-height: 40px;
  padding: .55rem .9rem;
  font-size: .82rem;
}

.text-link {
  color: var(--positive);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(27, 34, 48, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.6vw, 1.2rem);
  width: min(100% - (var(--gutter) * 2), 1220px);
  min-height: var(--header-h);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.brand-copy { display: grid; gap: .1rem; min-width: 0; }

.brand-name {
  display: block;
  overflow: hidden;
  max-width: 230px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(.94rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-short { display: none; }

.brand-sub {
  display: block;
  overflow: hidden;
  max-width: 230px;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .2em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(.15rem, .9vw, .65rem);
  margin-left: auto;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .55rem;
  border-radius: 7px;
  color: var(--secondary);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(48, 59, 72, .55);
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 27, 37, .55);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-width: 36px;
  min-height: 40px;
  padding: .28rem .55rem;
  border-radius: 999px;
  color: var(--secondary);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.lang-switch a:hover { color: var(--text); }

.lang-switch a[aria-current="true"],
html[data-lang="en"] .lang-switch a[data-lang-link="en"],
html[data-lang="zh-Hant"] .lang-switch a[data-lang-link="zh-Hant"],
html[data-lang="zh-Hans"] .lang-switch a[data-lang-link="zh-Hans"] {
  background: var(--paper);
  color: var(--ink);
}

.lang-short { display: none; }
.lang-long { display: inline; }

.menu-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(39, 49, 61, .6);
  color: var(--text);
}

.menu-toggle:hover { background: var(--panel-2); }

.menu-toggle .bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, top .18s ease;
}

.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }

.site-header.is-open .menu-toggle .bars { background: transparent; }
.site-header.is-open .menu-toggle .bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .menu-toggle .bars::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.6rem, 7vw, 5.5rem) clamp(2.2rem, 5vw, 4.2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5.5vw, 4.8rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  letter-spacing: -.035em;
  line-height: .98;
}

html[lang="zh-Hant"] .hero h1,
html[lang="zh-Hans"] .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 8vw, 5rem);
  letter-spacing: .015em;
  line-height: 1.12;
}

.hero-cn {
  margin: .7rem 0 1.15rem;
  color: var(--warning);
  font-size: clamp(.95rem, 1.6vw, 1.18rem);
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1.4;
}

.hero-tagline {
  max-width: 34ch;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
  line-height: 1.52;
}

.hero-desc {
  max-width: 49ch;
  margin: 0 0 1.6rem;
  color: var(--secondary);
  font-size: clamp(.95rem, 1.1vw, 1.02rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  margin: 1.3rem 0 0;
  color: var(--secondary);
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero-meta span:not(:last-child)::after {
  content: "·";
  color: var(--warning);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.15rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 50px;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(48, 59, 72, .7), rgba(39, 49, 61, .8));
  color: var(--text);
  cursor: default;
}

.store-badge svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-badge-copy { display: grid; gap: .04rem; }

.store-badge-copy small {
  color: var(--secondary);
  font-family: var(--mono);
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.store-badge-copy strong {
  color: var(--text);
  font-size: .8rem;
  line-height: 1.25;
}

.store-badge .soon {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: .2rem;
  color: var(--warning);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.store-badge .soon::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 1.2rem 0 2rem;
  animation: rise .85s .08s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-orbit {
  position: absolute;
  inset: -4% -6% -2%;
  z-index: 0;
  pointer-events: none;
  background: url("hero-life-doubt.svg") center 48% / contain no-repeat;
  opacity: .9;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 332px);
  margin-inline: auto;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(246, 235, 214, .16);
  border-radius: 44px;
  background: linear-gradient(160deg, #35404D 0%, #222B36 46%, #151C25 100%);
  box-shadow:
    0 36px 80px rgba(4, 8, 13, .58),
    0 0 0 1px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(246, 235, 214, .08);
  transform: rotate(-1.2deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 20px;
  border: 1px solid rgba(246, 235, 214, .06);
  border-radius: 999px;
  background: #0B1117;
  transform: translateX(-50%);
}

.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
  background: var(--page);
}

.phone-frame--screen {
  width: 100%;
  max-width: 286px;
  padding: 7px;
  border-radius: 36px;
  transform: none;
  box-shadow: 0 22px 52px rgba(4, 8, 13, .45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.phone-frame--screen::before {
  top: 15px;
  width: 62px;
  height: 16px;
}

.phone-frame--screen .phone-shot { border-radius: 29px; }

.screen-figure:hover .phone-frame--screen {
  transform: translateY(-4px);
  border-color: rgba(142, 209, 178, .38);
  box-shadow: 0 30px 64px rgba(4, 8, 13, .55);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(2.8rem, 6.5vw, 5.4rem);
}

.section + .section { border-top: 1px solid rgba(59, 70, 83, .34); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.section-head h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
  letter-spacing: -.022em;
}

html[lang="zh-Hant"] .section-head h2,
html[lang="zh-Hans"] .section-head h2 { letter-spacing: .02em; }

.section-head p {
  max-width: 62ch;
  color: var(--secondary);
  font-size: clamp(.95rem, 1.1vw, 1.03rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.1rem);
}

.feature {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.2rem, 2.2vw, 1.55rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(48, 59, 72, .72), rgba(39, 49, 61, .82));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  opacity: .8;
}

.feature::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(2px);
  opacity: .7;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  background: linear-gradient(158deg, rgba(50, 63, 77, .8), rgba(37, 48, 60, .9));
}

.feature-num {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  color: var(--border);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.05rem;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.22;
}

.feature p {
  margin: 0;
  color: var(--secondary);
  font-size: .88rem;
  line-height: 1.66;
}

.accent-mint { --accent: var(--positive); --accent-soft: var(--mint-soft); --accent-border: rgba(142, 209, 178, .34); }
.accent-amber { --accent: var(--warning); --accent-soft: var(--amber-soft); --accent-border: rgba(227, 170, 74, .34); }
.accent-coral { --accent: var(--negative); --accent-soft: var(--coral-soft); --accent-border: rgba(229, 113, 90, .34); }
.accent-violet { --accent: var(--investment-light); --accent-soft: var(--violet-soft); --accent-border: rgba(180, 154, 203, .34); }
.accent-cream { --accent: var(--text); --accent-soft: rgba(246, 235, 214, .09); --accent-border: rgba(246, 235, 214, .26); }

/* Stocks */

.stock-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 2.5vw, 1.7rem);
  align-items: stretch;
}

.stock-aside {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(142, 209, 178, .3);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 58% at 5% 0%, rgba(142, 209, 178, .14), transparent 70%),
    radial-gradient(ellipse 55% 50% at 100% 100%, rgba(227, 170, 74, .1), transparent 70%),
    linear-gradient(150deg, rgba(39, 49, 61, .92), rgba(27, 36, 47, .94));
}

.stock-aside::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -78px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(142, 209, 178, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(142, 209, 178, .035), 0 0 0 62px rgba(142, 209, 178, .025);
  pointer-events: none;
}

.stock-big {
  position: relative;
  z-index: 1;
  margin: 0 0 .2rem;
  color: var(--positive);
  font-family: var(--serif);
  font-size: clamp(4.4rem, 8vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .85;
}

.stock-aside-label {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.stock-aside > p:not(.stock-big):not(.stock-aside-label) {
  position: relative;
  z-index: 1;
  max-width: 44ch;
  color: var(--secondary);
  font-size: .89rem;
  line-height: 1.7;
}

.stock-sectors {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.stock-sectors li {
  margin: 0;
  padding: .32rem .58rem;
  border: 1px solid rgba(142, 209, 178, .22);
  border-radius: 999px;
  background: rgba(20, 27, 37, .38);
  color: var(--secondary);
  font-size: .7rem;
  line-height: 1.35;
}

.stock-list {
  display: grid;
  gap: .7rem;
}

.stock-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(48, 59, 72, .7), rgba(39, 49, 61, .82));
}

.stock-item-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(227, 170, 74, .3);
  border-radius: 10px;
  background: rgba(227, 170, 74, .09);
  color: var(--warning);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.stock-item h3 {
  margin-bottom: .4rem;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.25;
}

.stock-item p {
  margin: 0;
  color: var(--secondary);
  font-size: .87rem;
  line-height: 1.68;
}

.stock-item--rule {
  border-color: rgba(227, 170, 74, .38);
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(227, 170, 74, .12), transparent 68%),
    linear-gradient(158deg, rgba(48, 59, 72, .78), rgba(39, 49, 61, .9));
}

.stock-item--rule .stock-item-num {
  border-color: var(--warning);
  background: var(--warning);
  color: var(--ink);
}

.stock-item--rule h3 { color: var(--warning); }

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.1rem);
  counter-reset: step;
}

.step {
  position: relative;
  min-width: 0;
  padding: 1.3rem 1.2rem 1.35rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(29, 39, 51, .6);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: .8rem;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.step::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  right: -1.1rem;
  width: 1.1rem;
  height: 1px;
  background: var(--border);
}

.step:last-child::after { display: none; }

.step h3 {
  margin-bottom: .45rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.25;
}

.step p {
  margin: 0;
  color: var(--secondary);
  font-size: .86rem;
  line-height: 1.66;
}

/* Ways to win */

.win-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.1rem);
}

.win-card {
  position: relative;
  min-width: 0;
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(39, 49, 61, .88), rgba(27, 36, 47, .9));
}

.win-card .win-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .7rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.win-card .win-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.win-card h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.win-card p {
  margin: 0;
  color: var(--secondary);
  font-size: .88rem;
  line-height: 1.66;
}

/* Privacy band */

.privacy-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid rgba(142, 209, 178, .3);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 55% 80% at 5% 0%, rgba(142, 209, 178, .12), transparent 66%),
    radial-gradient(ellipse 40% 70% at 100% 100%, rgba(227, 170, 74, .09), transparent 66%),
    linear-gradient(150deg, #27313D, #1B2230);
}

.privacy-band h2 {
  max-width: 19ch;
  margin-bottom: .7rem;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  letter-spacing: -.02em;
}

html[lang="zh-Hant"] .privacy-band h2,
html[lang="zh-Hans"] .privacy-band h2 { letter-spacing: .02em; }

.privacy-band p {
  max-width: 48ch;
  color: var(--secondary);
  font-size: .92rem;
}

.privacy-band .band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.15rem;
}

.no-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.no-list li {
  margin: 0;
  padding: .34rem .62rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(20, 27, 37, .35);
  color: var(--secondary);
  font-size: .74rem;
  line-height: 1.3;
  text-decoration: line-through;
  text-decoration-color: rgba(229, 113, 90, .65);
  text-decoration-thickness: 1px;
}

.band-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .9rem;
  color: var(--secondary);
  font-size: .74rem;
  line-height: 1.55;
}

.band-note svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: .12rem;
  fill: none;
  stroke: var(--positive);
  stroke-width: 1.8;
}

/* Screens */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.7rem);
  align-items: start;
}

.screens-grid--stocks {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .85fr);
}

.screens-grid--stocks .screen-figure--stock .phone-frame--screen { max-width: 318px; }

.screens-grid--stocks .screen-figure:not(.screen-figure--stock) {
  padding-top: .65rem;
}

.screen-figure {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin: 0;
}

.screen-caption {
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(37, 48, 58, .12);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(4, 8, 13, .26);
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .45rem;
  padding: .18rem .44rem;
  border: 1px solid rgba(138, 91, 16, .22);
  border-radius: 999px;
  background: rgba(227, 170, 74, .18);
  color: #6B4A0C;
  font-family: var(--mono);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.screen-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.screen-figure--stock .phone-frame--screen {
  border-color: rgba(227, 170, 74, .28);
  box-shadow:
    0 0 0 1px rgba(227, 170, 74, .08),
    0 22px 52px rgba(4, 8, 13, .45);
}

.screen-figure--stock .screen-caption::before { background: var(--warning); }

.screen-caption::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: .55rem;
  border-radius: 999px;
  background: var(--positive);
}

.screen-figure:nth-child(2) .screen-caption::before { background: var(--warning); }
.screen-figure:nth-child(3) .screen-caption::before { background: var(--negative); }
.screen-figure:nth-child(4) .screen-caption::before { background: var(--investment); }

.screen-caption h3 {
  margin-bottom: .3rem;
  color: var(--ink);
  font-size: 1.03rem;
  letter-spacing: -.01em;
}

html[lang="zh-Hant"] .screen-caption h3,
html[lang="zh-Hans"] .screen-caption h3 {
  font-family: var(--serif-cn);
  letter-spacing: .02em;
}

.screen-caption p {
  margin: 0;
  color: rgba(37, 48, 58, .74);
  font-size: .79rem;
  line-height: 1.6;
}

/* Final CTA */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 3.6rem);
  border: 1px solid rgba(37, 48, 58, .14);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(ellipse 70% 100% at 50% 120%, rgba(227, 170, 74, .16), transparent 66%),
    var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 76px rgba(4, 8, 13, .34);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 48, 58, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 48, 58, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 82% 88% at 50% 28%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 82% 88% at 50% 28%, #000, transparent 80%);
}

.cta-panel > * { position: relative; z-index: 1; }

.cta-panel .eyebrow { justify-content: center; color: var(--ink); }

.cta-panel .eyebrow::before {
  background: var(--negative);
  box-shadow: 0 0 0 4px rgba(229, 113, 90, .16);
}

.cta-panel h2 {
  max-width: 20ch;
  margin: 0 auto .65rem;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  letter-spacing: -.025em;
}

html[lang="zh-Hant"] .cta-panel h2,
html[lang="zh-Hans"] .cta-panel h2 { letter-spacing: .02em; }

.cta-panel p {
  max-width: 48ch;
  margin-inline: auto;
  color: rgba(37, 48, 58, .76);
  font-size: .98rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.25rem;
}

.cta-panel .btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.cta-panel .btn--primary:hover { background: #34424F; }

.cta-panel .btn--ghost {
  border-color: rgba(37, 48, 58, .3);
  background: rgba(37, 48, 58, .04);
  color: var(--ink);
}

.cta-panel .btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(37, 48, 58, .09);
}

.cta-fineprint {
  margin-top: 1.2rem;
  color: rgba(37, 48, 58, .55);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Inner pages (privacy, support)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(2.4rem, 6vw, 4.8rem) clamp(1.6rem, 4vw, 2.8rem);
}

.page-hero .eyebrow { margin-bottom: .7rem; }

.page-hero h1 {
  margin-bottom: .55rem;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -.03em;
}

html[lang="zh-Hant"] .page-hero h1,
html[lang="zh-Hans"] .page-hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 3.8rem);
  letter-spacing: .02em;
}

.page-sub {
  margin: 0 0 .55rem;
  color: var(--warning);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: 0 0 1.1rem;
  color: var(--secondary);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.page-meta span:not(:last-child)::after {
  content: "·";
  color: var(--warning);
}

.page-lead {
  max-width: 72ch;
  margin: 0;
  color: var(--secondary);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.2rem;
}

.page-lead a {
  color: var(--positive);
  text-underline-offset: .2em;
}

.page-lead a:hover { color: var(--text); }

.page-body {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* Summary card */

.policy-summary {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(142, 209, 178, .32);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 55% 100% at 0% 0%, rgba(142, 209, 178, .1), transparent 64%),
    linear-gradient(155deg, #27313D, #222B36);
}

.policy-summary h2 {
  margin-bottom: .6rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.policy-summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-summary li {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--secondary);
  font-size: .86rem;
  line-height: 1.6;
}

.policy-summary li::before {
  content: "✓";
  position: absolute;
  top: .05rem;
  left: 0;
  color: var(--positive);
  font-size: .8rem;
  font-weight: 700;
}

/* TOC */

.toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem .7rem;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem);
  padding: .9rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(29, 39, 51, .55);
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: .2rem .25rem;
  color: var(--secondary);
  font-size: .78rem;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }

/* Policy prose */

.policy-section {
  padding-block: clamp(1.3rem, 3vw, 2rem);
  border-top: 1px solid rgba(59, 70, 83, .34);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.policy-section:first-of-type { border-top: 0; padding-top: .4rem; }

.policy-section h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.25;
}

.policy-section h3 {
  margin: 1.4rem 0 .5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.policy-section p,
.policy-section li {
  max-width: 75ch;
  color: var(--secondary);
  font-size: .94rem;
  line-height: 1.75;
}

.policy-section ul { padding-left: 1.2rem; }

.policy-section li strong { color: var(--text); }

.policy-section a {
  color: var(--positive);
  text-underline-offset: .2em;
}

.policy-section a:hover { color: var(--text); }

.policy-section a.btn { color: var(--text); text-decoration: none; }
.policy-section a.btn--primary,
.policy-section a.btn--primary:hover { color: var(--ink); }

/* Data collection grid */

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 1.1rem 0 1.2rem;
  padding: 0;
}

.data-item {
  min-width: 0;
  margin: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(29, 39, 51, .68);
}

.data-item dt {
  margin-bottom: .2rem;
  color: var(--text);
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.4;
}

.data-item dd {
  margin: 0;
  color: var(--secondary);
  font-size: .8rem;
  line-height: 1.55;
}

.data-item dd code { font-size: .76rem; }

/* Never-collected chips */

.never-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}

.never-grid li {
  margin: 0;
  padding: .38rem .68rem;
  border: 1px solid rgba(229, 113, 90, .3);
  border-radius: 999px;
  background: rgba(229, 113, 90, .07);
  color: #F0A493;
  font-size: .78rem;
  line-height: 1.35;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* Callouts */

.callout {
  margin: 1.1rem 0;
  padding: .95rem 1.05rem;
  border: 1px solid rgba(142, 209, 178, .3);
  border-left: 3px solid var(--positive);
  border-radius: 9px;
  background: rgba(142, 209, 178, .06);
}

.callout--amber {
  border-color: rgba(227, 170, 74, .32);
  border-left-color: var(--warning);
  background: rgba(227, 170, 74, .06);
}

.callout--coral {
  border-color: rgba(229, 113, 90, .3);
  border-left-color: var(--negative);
  background: rgba(229, 113, 90, .06);
}

.callout p,
.callout li { margin: 0; color: var(--text); font-size: .88rem; line-height: 1.65; }
.callout p + p { margin-top: .5rem; }
.callout strong { color: var(--text); }

.callout .callout-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .3rem;
  color: var(--positive);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.callout--amber .callout-title { color: var(--warning); }
.callout--coral .callout-title { color: var(--negative); }

/* Contact card */

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-block: 1.2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(155deg, #27313D, #27313D);
}

.contact-card h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.contact-card p { margin: 0; color: var(--secondary); font-size: .86rem; }

.contact-card .btn { white-space: nowrap; }

/* FAQ */

.faq {
  display: grid;
  gap: .6rem;
  margin-top: 1.2rem;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(29, 39, 51, .62);
  transition: border-color .18s ease, background .18s ease;
}

.faq-item[open] {
  border-color: rgba(142, 209, 178, .34);
  background: rgba(39, 49, 61, .78);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: .9rem 1.05rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

html[lang="zh-Hant"] .faq-item summary,
html[lang="zh-Hans"] .faq-item summary { font-family: var(--serif-cn); }

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

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--warning);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.faq-body {
  padding: 0 1.05rem 1.05rem;
}

.faq-body p,
.faq-body li {
  margin: 0;
  color: var(--secondary);
  font-size: .9rem;
  line-height: 1.72;
}

.faq-body p + p { margin-top: .55rem; }
.faq-body ul, .faq-body ol { padding-left: 1.2rem; margin-top: .5rem; }
.faq-body li + li { margin-top: .35rem; }
.faq-body code { font-size: .8rem; }

.contact-list {
  display: grid;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  position: relative;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--secondary);
  font-size: .88rem;
  line-height: 1.6;
}

.contact-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--warning);
}

.mail {
  color: var(--positive);
  font-weight: 600;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.mail:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.8rem, 4vw, 2.8rem) 1.6rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(20, 27, 37, .45);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}

.footer-brand img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand p {
  max-width: 42ch;
  margin: .25rem 0 0;
  color: var(--secondary);
  font-size: .8rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--text);
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-sub {
  display: block;
  margin-top: .15rem;
  color: var(--warning);
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .3rem 1.1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--secondary);
  font-size: .8rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }

.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(59, 70, 83, .34);
  color: var(--secondary);
  font-size: .72rem;
  line-height: 1.65;
}

.footer-legal p { max-width: 80ch; margin: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin-top: .8rem;
  color: var(--secondary);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .04em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-bottom a { color: var(--secondary); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero-grid { gap: 2rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-art { width: min(100%, 480px); max-width: 570px; margin-inline: auto; }
  .hero h1 { max-width: 18ch; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stock-layout { grid-template-columns: 1fr; }
  .stock-aside { min-height: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .privacy-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 1000px) {
  .header-inner { gap: .45rem; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(27, 34, 48, .99);
    box-shadow: 0 22px 40px rgba(0, 0, 0, .35);
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a {
    min-height: 48px;
    padding: .7rem .35rem;
    border-bottom: 1px solid rgba(59, 70, 83, .35);
    border-radius: 0;
    font-size: .95rem;
  }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
  .lang-switch { margin-left: auto; }
  .brand-name { max-width: 180px; }
}

@media (max-width: 820px) {
  .screens-grid { max-width: 640px; margin-inline: auto; }
  .win-grid { grid-template-columns: 1fr; }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .data-grid { grid-template-columns: 1fr; }
  .policy-summary ul { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .btn { justify-self: start; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stock-item { grid-template-columns: 1fr; gap: .65rem; }
  .stock-item-num { width: 34px; height: 34px; }
  .stock-big { font-size: clamp(4rem, 20vw, 5.4rem); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .screens-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.4rem); }
  html[lang="zh-Hant"] .hero h1,
  html[lang="zh-Hans"] .hero h1 { font-size: clamp(2.4rem, 11.5vw, 3.6rem); }
  .hero-cn { letter-spacing: .2em; }
  .hero-actions .btn { flex: 1 1 auto; }
  .store-badge { flex: 1 1 100%; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .lang-switch a { min-width: 32px; padding-inline: .42rem; }
  .brand-sub { display: none; }
  .brand-name { max-width: 150px; font-size: .9rem; }
  .page-hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .toc { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .brand-long { display: none; }
  .brand-short { display: block; font-size: .95rem; letter-spacing: .06em; }
  .brand-name { max-width: none; }
  .header-inner { gap: .35rem; }
  .brand { gap: .45rem; }
  .brand img { width: 30px; height: 30px; border-radius: 9px; }
  .lang-switch a { min-width: 32px; min-height: 40px; padding-inline: .32rem; font-size: .72rem; }
  .phone-frame { width: min(100%, 292px); border-radius: 40px; transform: none; }
  .phone-frame--screen { max-width: 286px; }
  .hero-orbit { inset: -4% -18% 0; }
}

@media (max-width: 360px) {
  :root { --gutter: .85rem; }
  .brand img { width: 28px; height: 28px; }
  .brand-short { font-size: .82rem; }
  .lang-switch { padding: 2px; }
  .lang-switch a { min-width: 30px; min-height: 40px; font-size: .68rem; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-meta { font-size: .6rem; }
  .phone-frame { padding: 7px; }
  .phone-frame--screen { padding: 6px; }
  .feature { padding: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-art { animation: none; }
  .screen-figure:hover .phone-frame--screen { transform: none; }
}

@media print {
  body { background: #fff; color: #111; }
  body::before, body::after, .site-header, .site-footer, .skip-link { display: none !important; }
  .page-hero, .section { padding-block: 1rem; }
  a { color: #111; }
  .policy-section, .data-item, .policy-summary { break-inside: avoid; }
}
