:root {
  color-scheme: light dark;
  --bg: #f3f7f4;
  --bg-2: #e7f0ea;
  --surface: #ffffff;
  --surface-soft: #edf4ef;
  --text: #0f1f18;
  --muted: #56655c;
  --line: rgba(15, 31, 24, 0.10);
  --line-strong: rgba(15, 31, 24, 0.16);
  --accent: #0fa168;
  --accent-color: var(--accent);
  --accent-2: #0c8f9a;
  --accent-strong: #0a6b49;
  --gold: #f5b53f;
  --rose: #e0607c;
  --grad: linear-gradient(120deg, #13ab6b 0%, #0a93a0 100%);
  --grad-soft: linear-gradient(135deg, rgba(19, 171, 107, 0.16), rgba(10, 147, 160, 0.14));
  --radius: 20px;
  --radius-sm: 13px;
  --shadow-sm: 0 2px 10px rgba(15, 38, 28, 0.06);
  --shadow: 0 18px 44px rgba(15, 44, 32, 0.12);
  --shadow-lg: 0 40px 90px rgba(11, 52, 37, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a14;
    --bg-2: #111e18;
    --surface: #15261f;
    --surface-soft: #192e26;
    --text: #e2ece5;
    --muted: #8aa394;
    --line: rgba(226, 236, 229, 0.08);
    --line-strong: rgba(226, 236, 229, 0.14);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(820px 520px at 88% -8%, rgba(10, 147, 160, 0.18), transparent 60%),
    radial-gradient(720px 480px at -6% 2%, rgba(19, 171, 107, 0.16), transparent 58%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 620px);
  background-repeat: no-repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 246, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  transition: background 0.3s;
}

@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(13, 26, 20, 0.78); }
}

.nav {
  width: min(1140px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.brand:hover { opacity: 0.8; }

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(15, 31, 24, 0.05); }

.nav-links a.active {
  color: var(--accent-strong);
  background: var(--surface-soft);
}

/* ---------- Apps dropdown (nav) ---------- */
.nav-dropdown { position: relative; }

.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::marker { content: ""; }

.nav-dropdown > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s var(--ease);
}

.nav-dropdown[open] > summary::after { transform: rotate(-135deg) translateY(1px); }
.nav-dropdown > summary:hover { color: var(--text); background: rgba(15, 31, 24, 0.05); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 190px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown-menu a:hover { color: var(--text); background: rgba(15, 31, 24, 0.05); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--grad);
  background-size: 140% 140%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 26px rgba(12, 140, 110, 0.30);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-position 0.4s var(--ease), opacity 0.2s;
  cursor: pointer;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 18px 34px rgba(12, 140, 110, 0.38);
}

.nav-cta:active,
.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

@media (prefers-color-scheme: dark) {
  .button.secondary {
    background: rgba(21, 38, 31, 0.7);
  }
}

.button.secondary:hover { background: #fff; }

@media (prefers-color-scheme: dark) {
  .button.secondary:hover { background: var(--surface); }
}

/* ---------- Layout ---------- */
.section {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 56px;
  padding-top: 78px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.3s;
}

@media (prefers-color-scheme: dark) {
  .eyebrow { background: rgba(21, 38, 31, 0.7); }
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(19, 171, 107, 0.18);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(19, 171, 107, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(19, 171, 107, 0.06); }
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; }

h1 {
  max-width: 16ch;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 820;
}

h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; }

.lead {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta > span::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 6px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}

/* ---------- Hero device ---------- */
.product-shot { position: relative; }

.product-shot::before {
  content: "";
  position: absolute;
  inset: 6% -6% -10% 8%;
  z-index: -1;
  border-radius: 32px;
  background: var(--grad);
  opacity: 0.22;
  filter: blur(8px);
  transform: rotate(-3deg);
}

.product-shot img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.app-icon-shot {
  justify-self: center;
  width: min(360px, 86vw);
}

.app-icon-shot img {
  border-radius: 34px;
}

/* ---------- Hero stage: floating-lines canvas, blended into the site's own light theme ---------- */
.hero-stage {
  position: relative;
  overflow: hidden;
}

#floating-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.55;
}

@media (prefers-color-scheme: dark) {
  #floating-lines { opacity: 0.4; }
}

.hero-stage .hero {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  #floating-lines { opacity: 0.3; }
}

/* ---------- Section heading ---------- */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Cards (shared) ---------- */
.product-card,
.feature,
.showcase-copy,
.support-card,
.policy-card,
.article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-height: 430px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.product-card:hover::after { opacity: 1; }

.product-card.coming-soon {
  min-height: 0;
  border-style: dashed;
  background: var(--grad-soft);
  box-shadow: none;
}

.product-top { display: flex; align-items: center; gap: 16px; }

.product-icon {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

.product-card:hover .product-icon {
  transform: scale(1.05);
}

.product-card h3 + p { margin: 6px 0 0; }

.product-card p { color: var(--muted); font-size: 16px; }

.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface-soft);
  font-size: 12.5px;
  font-weight: 650;
  transition: background 0.2s, border-color 0.2s;
}

.product-links { display: flex; flex-wrap: wrap; gap: 10px; }

.product-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 650;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

@media (prefers-color-scheme: dark) {
  .product-links a { background: rgba(21, 38, 31, 0.7); }
}

.product-links a:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); }

@media (prefers-color-scheme: dark) {
  .product-links a:hover { background: var(--surface); }
}

.product-links a.primary {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 10px 22px rgba(12, 140, 110, 0.28);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature {
  min-height: 220px;
  padding: 28px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.feature .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(12, 140, 110, 0.28);
}

.feature p, .policy-card p, .support-card p, .article p, .article li { color: var(--muted); }

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.showcase-copy { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.showcase-copy p { color: var(--muted); font-size: 18px; }

.screenshot-stack { display: grid; gap: 16px; }
.screenshot-stack img {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease);
}
.screenshot-stack img:hover { transform: scale(1.015); }

/* ---------- Article / support / privacy ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }

.support-card, .policy-card { padding: 30px; }
.support-card + .support-card, .policy-card + .policy-card { margin-top: 16px; }

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.article { max-width: 900px; padding: 48px; }
.article h1 { font-size: clamp(36px, 5vw, 56px); }
.article h2 { margin-top: 38px; font-size: 24px; }
.article ul { padding-left: 22px; }

.notice {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid rgba(19, 171, 107, 0.28);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 650;
}

/* ---------- Legacy content surfaces now using the shared site shell ---------- */
.hero-section {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.3s;
}

@media (prefers-color-scheme: dark) {
  .hero-section .hero-badge { background: rgba(21, 38, 31, 0.7); }
}

.hero-section h1 {
  max-width: 16ch;
  font-size: clamp(36px, 5vw, 56px);
}

.hero-section .subtitle {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.content-card {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 30px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s;
}

.section-block + .section-block {
  margin-top: 36px;
}

.section-block h2,
.content-card > h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.section-block p,
.content-card p,
.faq-answer {
  color: var(--muted);
}

.faq-item {
  margin: 0 0 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.faq-question {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 750;
}

.faq-answer p {
  margin: 0;
}

.highlight-box {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid rgba(19, 171, 107, 0.28);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface-soft);
}

.page-hero { padding-bottom: 30px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer a { color: var(--text); font-weight: 650; }
.footer a:hover { color: var(--accent-strong); }

/* ---------- Bilingual toggle ---------- */
body [lang="en"] { display: none; }
body.lang-en [lang="zh"] { display: none; }
body.lang-en [lang="en"] { display: revert; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

@media (prefers-color-scheme: dark) {
  .lang-toggle { background: rgba(21, 38, 31, 0.7); }
}

.lang-toggle:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); }

@media (prefers-color-scheme: dark) {
  .lang-toggle:hover { background: var(--surface); }
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.lang-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
}

.lang-select {
  min-height: 40px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 32px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

@media (prefers-color-scheme: dark) {
  .lang-select { background: rgba(21, 38, 31, 0.72); }
}

.lang-select:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  .lang-select:hover { background: var(--surface); }
}

.lang-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- App Store badge ---------- */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #0f1f18;
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 31, 24, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (prefers-color-scheme: dark) {
  .appstore { background: #1a2a23; }
}

.appstore:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(15, 31, 24, 0.36); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.15; }
.appstore .as-text small { font-size: 11px; font-weight: 600; opacity: 0.82; letter-spacing: 0.01em; }
.appstore .as-text strong { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }

/* ---------- Feature glyph icons ---------- */
.feature .icon.glyph { font-size: 22px; background: var(--grad-soft); color: var(--accent-strong); border: 1px solid var(--line); }

/* ---------- Requirements strip ---------- */
.req-strip {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.3s;
}
.req-strip b { color: var(--text); font-weight: 750; }
.req-strip > span { display: inline-flex; align-items: center; gap: 8px; }
.req-strip > span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 999px; background: var(--grad);
}

/* ---------- Closing CTA band ---------- */
.cta-band {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto 10px;
  padding: 56px 48px;
  border-radius: 28px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -40%, rgba(255,255,255,0.28), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); position: relative; }
.cta-band p { margin: 14px auto 0; max-width: 52ch; font-size: 18px; opacity: 0.94; position: relative; }
.cta-band .actions { justify-content: center; margin-top: 30px; position: relative; }
.cta-band .appstore { background: #fff; color: var(--text); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }
.cta-band .appstore .as-text small { opacity: 0.7; }
.cta-band .button.secondary { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: none; }
.cta-band .button.secondary:hover { background: rgba(255,255,255,0.26); }

/* ---------- FAQ (support) ---------- */
.faq-group { margin-top: 30px; }
.faq-group > h2 { font-size: 22px; margin-bottom: 4px; }
.faq-group > .faq-kicker { margin: 0 0 14px; color: var(--accent-strong); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 4px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
details.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-size: 18px; font-weight: 700;
  transition: transform 0.2s var(--ease);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; }
details.faq .faq-body p { margin: 0 0 10px; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Entrance animation ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero > *, .section-heading, .product-card, .feature, .showcase-copy, .screenshot-stack, .req-strip, .cta-band {
  animation: rise 0.7s var(--ease) both;
}
.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.16s; }
.product-card:nth-child(4) { animation-delay: 0.24s; }
.feature:nth-child(2) { animation-delay: 0.06s; }
.feature:nth-child(3) { animation-delay: 0.12s; }
.feature:nth-child(4) { animation-delay: 0.06s; }
.feature:nth-child(5) { animation-delay: 0.12s; }
.feature:nth-child(6) { animation-delay: 0.18s; }

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

/* ---------- Scroll reveal ---------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile nav toggle (hamburger) ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

@media (prefers-color-scheme: dark) {
  .nav-toggle { background: rgba(21, 38, 31, 0.7); }
}

.nav-toggle:hover { background: #fff; }

@media (prefers-color-scheme: dark) {
  .nav-toggle:hover { background: var(--surface); }
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { content: ""; top: -6px; }
.nav-toggle-bars::after { content: ""; top: 6px; }

.site-header.nav-open .nav-toggle-bars { background: transparent; }
.site-header.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s, box-shadow 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--surface-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav { min-height: 64px; position: relative; gap: 12px; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .lang-select-wrap { margin-left: auto; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 40px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
    white-space: nowrap;
  }
  .nav-links a.active { background: var(--surface-soft); }

  .nav-dropdown-menu {
    position: static;
    margin: 2px 0 4px 8px;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
    padding: 0;
  }

  .hero, .showcase, .split { grid-template-columns: 1fr; }
  .hero { gap: 36px; padding-top: 44px; }
  .section { padding: 60px 0; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 14px; }
  .article { padding: 30px; }
  .footer-inner { display: block; }
  .footer-inner > span + span { display: block; margin-top: 8px; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 18px; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 24px, 1140px); }
  .nav { width: min(100% - 24px, 1140px); }
  .lead { font-size: 17px; }
  .button { width: 100%; }
  .product-card, .showcase-copy, .support-card, .policy-card { padding: 24px; }
  .cta-band { padding: 40px 24px; }
  .req-strip { padding: 18px 22px; }
  .appstore { width: auto; }
}

@media (max-width: 420px) {
  .brand span { display: none; }
  .lang-select { max-width: 124px; text-overflow: ellipsis; }
}
