:root {
  --bg: #0f0d0a;
  --bg-2: #1a1510;
  --bg-3: #221c15;
  --ink: #f6ecd8;
  --muted: #c4b69a;
  --muted-2: #9a8b70;
  --line: rgba(212, 175, 106, 0.2);
  --line-strong: rgba(212, 175, 106, 0.38);
  --gold: #d4af6a;
  --gold-2: #f0d9a0;
  --gold-deep: #b8924a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-lg: 24px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --zh-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "Hiragino Sans GB", serif;
  --zh-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

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

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body.zh {
  font-family: var(--zh-sans);
}

a { color: var(--gold-2); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  background: rgba(15, 13, 10, 0.72);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand-name,
.brand-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--sans);
}

body.zh .brand-name {
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 14px;
  font-family: var(--zh-sans);
}

.brand-sub {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

nav a:hover { color: var(--gold-2); }

.langs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.langs a {
  color: var(--muted-2);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.langs a[aria-current="page"] {
  color: #21190d;
  background: var(--gold);
  font-weight: 600;
}

.langs a:not([aria-current="page"]):hover { color: var(--gold-2); }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: #21190d;
  border: 1px solid var(--gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold-2);
  box-shadow: 0 0 24px rgba(212, 175, 106, 0.35);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 64px 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px -20% auto;
  height: 420px;
  background:
    radial-gradient(ellipse 55% 60% at 20% 40%, rgba(212, 175, 106, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 20%, rgba(240, 217, 160, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-copy,
.hero-visual { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-family: var(--sans);
}

body.zh .eyebrow {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 13px;
  font-family: var(--zh-sans);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.zh h1 {
  font-family: var(--zh-serif);
  line-height: 1.22;
  letter-spacing: 0;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.6;
}

body.zh .lede { font-size: 17px; }

.lede-sm {
  font-size: 17px;
  max-width: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.zh .btn { font-family: var(--zh-sans); }

.btn.primary {
  background: var(--gold);
  color: #21190d;
  box-shadow: 0 8px 28px rgba(212, 175, 106, 0.28);
}

.btn.primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 106, 0.4);
}

.btn.ghost {
  color: var(--gold-2);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(212, 175, 106, 0.1);
  border-color: var(--gold-2);
  transform: translateY(-2px);
}

.btn.large {
  padding: 16px 28px;
  font-size: 17px;
}

.btn.block {
  width: 100%;
}

.note {
  color: var(--muted-2);
  font-size: 13px;
  margin: 0;
}

/* —— Mac window illustration —— */
.mac-window {
  background: linear-gradient(165deg, #2a2218 0%, #17130e 100%);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow), 0 0 60px rgba(212, 175, 106, 0.08);
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.mac-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.mac-window::after {
  content: "Product illustration · not live data";
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0.85;
  font-family: var(--sans);
  pointer-events: none;
}

body.zh .mac-window::after {
  content: "产品示意 · 非实时数据";
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--zh-sans);
}

.mac-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5a5044;
}

.mac-dot:nth-child(1) { background: #c97b5a; }
.mac-dot:nth-child(2) { background: #c9a85a; }
.mac-dot:nth-child(3) { background: #6a9a6a; }

.mac-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--sans);
  letter-spacing: 0.02em;
}

body.zh .mac-title { font-family: var(--zh-sans); }

.mac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-family: var(--sans);
}

body.zh .mac-table { font-family: var(--zh-sans); }

.mac-table th,
.mac-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 106, 0.1);
  white-space: nowrap;
}

.mac-table th {
  color: var(--muted-2);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
}

body.zh .mac-table th {
  text-transform: none;
  letter-spacing: 0.02em;
}

.mac-table td { color: var(--muted); }

.mac-table tr.example td {
  color: var(--muted-2);
  opacity: 0.85;
}

.mac-table .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--gold-2);
}

.mac-table .tag.long {
  background: rgba(106, 154, 106, 0.15);
  border-color: rgba(106, 154, 106, 0.35);
  color: #a8d0a8;
}

.mac-table .tag.short {
  background: rgba(201, 123, 90, 0.15);
  border-color: rgba(201, 123, 90, 0.35);
  color: #e0b0a0;
}

.mac-table .score {
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.mac-caption {
  padding: 10px 14px 28px;
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--sans);
}

body.zh .mac-caption { font-family: var(--zh-sans); }

/* —— Trust strip —— */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px 0 48px;
  position: relative;
  z-index: 1;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.trust-chip svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* —— Why —— */
.why {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.why-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  font-family: var(--sans);
}

body.zh .why-label {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 13px;
  font-family: var(--zh-sans);
}

.why h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.2;
}

body.zh .why h2 {
  font-family: var(--zh-serif);
  line-height: 1.3;
}

.why-body p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 17px;
  max-width: 560px;
}

.why-body .why-close {
  color: var(--ink);
  font-size: 17px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 106, 0.06);
  border-radius: 0 12px 12px 0;
  max-width: 560px;
}

/* —— Features —— */
.section-head {
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 8px;
}

body.zh .section-head h2 { font-family: var(--zh-serif); }

.section-head p {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 0 64px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  min-height: 170px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 106, 0.1);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  color: var(--gold);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
}

body.zh .card h3 {
  font-family: var(--zh-serif);
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

h2 {
  font-size: 32px;
  margin: 0 0 14px;
  font-family: var(--serif);
}

body.zh h2 { font-family: var(--zh-serif); }

/* —— Pricing —— */
.pricing {
  padding: 20px 0 56px;
  border-top: 1px solid var(--line);
}

.pricing-intro {
  max-width: 640px;
  margin-bottom: 28px;
}

.pricing-intro h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 10px;
}

body.zh .pricing-intro h2 { font-family: var(--zh-serif); }

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
}

.panel p {
  margin: 0 0 8px;
  color: var(--ink);
}

.panel p strong { color: var(--gold-2); }

.panel ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 0 0 18px;
}

.panel ul:last-child { margin-bottom: 0; }

.panel li { margin-bottom: 6px; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  background: linear-gradient(180deg, #241c12 0%, #17130e 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.plan.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.25), 0 20px 50px rgba(212, 175, 106, 0.12);
  background: linear-gradient(180deg, #2e2416 0%, #1a140e 100%);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--gold);
  color: #21190d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--sans);
}

body.zh .plan-badge { font-family: var(--zh-sans); letter-spacing: 0.02em; }

.plan-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--sans);
}

body.zh .plan-label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--zh-sans);
}

.plan .price {
  font-size: 48px;
  font-weight: 600;
  margin: 4px 0 0;
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1;
}

body.zh .plan .price { font-family: var(--zh-serif); }

.plan .price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--sans);
}

body.zh .plan .price span { font-family: var(--zh-sans); }

.plan-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
  min-height: 40px;
}

.plan .btn { margin-top: auto; }

.checkout-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
}

/* —— Final CTA band —— */
.cta-band {
  margin: 0 0 56px;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 70% 120% at 10% 50%, rgba(212, 175, 106, 0.14), transparent 60%),
    linear-gradient(135deg, #241c12 0%, #14100c 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 30px);
  font-family: var(--serif);
}

body.zh .cta-band h2 { font-family: var(--zh-serif); }

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
  font-size: 16px;
}

/* —— FAQ —— */
.faq {
  padding: 8px 0 48px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 20px;
}

body.zh .faq h2 { font-family: var(--zh-serif); }

.faq-list {
  display: grid;
  gap: 0;
}

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

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

.faq-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* —— Footer —— */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 max(56px, calc(28px + env(safe-area-inset-bottom, 0px)));
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

footer a { color: var(--gold); }

footer .contact {
  margin-top: 14px;
  color: var(--muted);
}


footer .legal-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

footer .legal-links a {
  color: var(--gold);
  text-decoration: none;
  margin-right: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

/* —— Legal / policy pages —— */
.legal {
  padding: 48px 0 24px;
  max-width: 760px;
}

.legal .eyebrow {
  margin-bottom: 12px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
}

.legal .meta {
  color: var(--muted-2);
  font-size: 14px;
  margin: 0 0 28px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

body.zh .legal h2 {
  font-family: var(--zh-serif);
  letter-spacing: 0;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}

body.zh .legal p,
body.zh .legal li {
  font-size: 15px;
  line-height: 1.8;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--gold-2);
}

.legal .back-row {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 14px;
}

.legal .back-row a {
  color: var(--gold);
  text-decoration: none;
}

.legal .back-row a:hover {
  color: var(--gold-2);
  text-decoration: underline;
}

/* —— Mobile nav (CSS-only details/summary) —— */
.nav-menu {
  display: none;
  position: static;
}

.nav-menu-toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  -webkit-tap-highlight-color: transparent;
}

.nav-menu-toggle::-webkit-details-marker,
.nav-menu-toggle::marker {
  display: none;
  content: "";
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.hamburger {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-menu[open] .nav-menu-toggle {
  border-color: var(--line-strong);
  background: rgba(212, 175, 106, 0.1);
}

.nav-menu-panel {
  display: none;
}

.nav-menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 16px;
}

.nav-menu-panel nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-menu-panel nav a:hover,
.nav-menu-panel nav a:active {
  color: var(--gold-2);
}

.nav-menu-panel .header-cta,
.nav-menu-panel .nav-menu-cta {
  display: inline-flex;
  width: 100%;
  margin-top: 14px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  box-sizing: border-box;
}

.nav-menu-panel .nav-menu-langs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-menu-panel .nav-menu-langs a {
  color: var(--muted-2);
  text-decoration: none;
  padding: 8px 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.nav-menu-panel .nav-menu-langs a[aria-current="page"] {
  color: #21190d;
  background: var(--gold);
  font-weight: 600;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }

  .header-right {
    gap: 10px;
  }

  .header-right > nav,
  .header-cta-bar {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .nav-menu[open] .nav-menu-panel {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    padding: 8px 20px 18px;
    background: rgba(15, 13, 10, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
  }

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

  .plan.featured { order: -1; }

  .plan .price {
    font-size: 42px;
  }

  .cta-band {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .mac-table th:nth-child(4),
  .mac-table td:nth-child(4),
  .mac-table th:nth-child(5),
  .mac-table td:nth-child(5) {
    display: none;
  }

  .mac-table th,
  .mac-table td {
    padding: 10px 10px;
  }

  .legal {
    padding-top: 36px;
  }
}

@media (max-width: 520px) {
  .wrap,
  .site-header .inner {
    width: calc(100% - 24px);
  }

  .site-header .inner {
    padding: 10px 0;
    gap: 10px;
  }

  .nav-menu[open] .nav-menu-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .trust {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 36px;
  }

  .trust-chip {
    padding: 12px 14px;
    font-size: 13px;
  }

  .brand-sub { display: none; }

  .brand-name {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  body.zh .brand-name {
    font-size: 13px;
  }

  .langs {
    gap: 4px;
    padding: 3px;
  }

  .langs a {
    padding: 6px 8px;
    font-size: 12px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .btn.large {
    width: 100%;
  }

  .cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
  }

  h1 { font-size: clamp(28px, 8.2vw, 36px); }

  .lede { font-size: 16px; margin-bottom: 22px; }

  .hero {
    padding-top: 28px;
    gap: 24px;
  }

  .plan {
    padding: 28px 18px 20px;
  }

  .plan .price {
    font-size: 40px;
  }

  .panel {
    padding: 18px 16px;
  }

  .card {
    min-height: 0;
    padding: 20px 18px;
  }

  .cta-band {
    padding: 24px 18px;
    margin-bottom: 40px;
  }

  .mac-title {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70vw;
  }

  .legal h2 {
    font-size: 20px;
  }

  .legal p,
  .legal li {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .wrap,
  .site-header .inner {
    width: calc(100% - 20px);
  }

  .header-right {
    gap: 8px;
  }

  .langs a {
    padding: 6px 7px;
  }
}
