:root {
  --bg: #071019;
  --bg-soft: #0d1723;
  --panel: rgba(13, 23, 35, 0.86);
  --panel-strong: #132131;
  --text: #eef5ff;
  --muted: #96a8bc;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #6fd7d8;
  --teal-strong: #2f8e98;
  --amber: #d3a869;
  --amber-soft: rgba(211, 168, 105, 0.14);
  --success: #6fdca3;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 215, 216, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(211, 168, 105, 0.18), transparent 26%),
    linear-gradient(180deg, #050c14 0%, #08111b 42%, #09131c 100%);
  font: 500 16px/1.65 "Manrope", "Segoe UI", sans-serif;
}

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

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

.site-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding-bottom: 42px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 12, 20, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 62px;
  max-width: min(100%, 250px);
  object-fit: contain;
}

.brand-copy {
  display: none;
}

.brand-copy small,
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--teal);
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a,
.site-cta a,
.btn {
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.section {
  padding: 44px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: center;
  padding: 52px 0 28px;
}

.hero-copy h1,
.section-heading h2,
.feature-panel h2,
.cta-panel h2,
.simple-hero h1 {
  margin: 10px 0 16px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy h1,
.simple-hero h1 {
  font-size: clamp(54px, 7vw, 88px);
}

.hero-copy p,
.section-heading p,
.metric-card p,
.persona-card p,
.feature-card p,
.story-card p,
.timeline-card p,
.quote-card p,
.cta-panel p,
.contact-card p,
.form-note,
.redirect-card p {
  color: var(--muted);
}

.badge-row,
.hero-actions,
.logo-row,
.detail-pills,
.inline-list,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge,
.detail-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 215, 216, 0.2);
  background: rgba(111, 215, 216, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel,
.metric-card,
.persona-card,
.feature-card,
.story-card,
.timeline-card,
.quote-card,
.cta-panel,
.contact-card,
.redirect-card,
.carrier-wall,
.split-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
}

.hero-visual > img {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
  border-radius: 32px;
  filter: saturate(0.9) contrast(1.04);
}

.hero-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(92%, 420px);
  padding: 22px;
  background: rgba(7, 16, 25, 0.88);
}

.hero-panel ul,
.feature-card ul,
.contact-list,
.redirect-list {
  margin: 0;
  padding-left: 18px;
}

.hero-panel li,
.feature-card li,
.contact-list li,
.redirect-list li {
  color: var(--muted);
}

.metrics-grid,
.persona-grid,
.feature-grid,
.story-grid,
.timeline-grid,
.quotes-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid,
.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.metric-card,
.persona-card,
.feature-card,
.story-card,
.timeline-card,
.quote-card,
.contact-card,
.redirect-card,
.carrier-wall,
.cta-panel,
.split-panel {
  padding: 24px;
}

.metric-card strong,
.persona-card h3,
.feature-card h3,
.story-card h3,
.timeline-card h3,
.quote-card h3,
.contact-card h2,
.redirect-card h1 {
  display: block;
  margin-bottom: 8px;
}

.metric-card strong {
  font-size: 34px;
  font-weight: 800;
}

.persona-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.persona-card img {
  width: calc(100% + 48px);
  aspect-ratio: 16 / 9;
  margin: -24px -24px 18px;
  object-fit: cover;
}

.persona-card .persona-kicker,
.feature-kicker {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}

.carrier-wall {
  display: grid;
  gap: 18px;
}

.logo-row {
  justify-content: space-between;
  align-items: center;
}

.logo-row img {
  max-height: 34px;
  width: auto;
  opacity: 0.88;
  filter: grayscale(1) brightness(1.2);
}

.quote-card {
  background:
    linear-gradient(135deg, rgba(211, 168, 105, 0.12), transparent 42%),
    rgba(13, 23, 35, 0.92);
}

.quote-card p {
  font-size: 18px;
  line-height: 1.8;
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  color: var(--amber);
  font-style: normal;
  font-weight: 700;
}

.cta-panel,
.redirect-card {
  background:
    linear-gradient(135deg, rgba(111, 215, 216, 0.12), transparent 30%),
    linear-gradient(160deg, rgba(211, 168, 105, 0.08), transparent 42%),
    rgba(13, 23, 35, 0.94);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, #eccd9b 100%);
  border-color: transparent;
  color: #122132;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.btn-tertiary {
  background: rgba(111, 215, 216, 0.09);
  color: var(--teal);
  border-color: rgba(111, 215, 216, 0.16);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.contact-form .field-grid {
  display: grid;
  gap: 10px;
}

.contact-form .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form span {
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(238, 245, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(111, 215, 216, 0.4);
  box-shadow: 0 0 0 3px rgba(111, 215, 216, 0.12);
}

.contact-form .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 14px;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer small {
  color: var(--muted);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.simple-hero {
  padding: 56px 0 18px;
}

.simple-hero p {
  max-width: 760px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero,
  .metrics-grid,
  .persona-grid,
  .feature-grid,
  .story-grid,
  .timeline-grid,
  .contact-grid,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .site-nav,
  .site-cta {
    justify-content: flex-start;
  }

  .hero-visual > img {
    min-height: 420px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-actions {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw - 22px, 1240px);
  }

  .site-header {
    margin-top: 12px;
    padding: 14px;
  }

  .brand img {
    height: 48px;
    max-width: 200px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-cta,
  .hero-actions,
  .button-row,
  .logo-row,
  .detail-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form .field-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

/* ---- Chinese pages + language switch (2026-10-08) ---- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  color: var(--text);
  border-color: rgba(211, 168, 105, 0.5);
}

.brand-zh {
  color: var(--amber);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.footer-note {
  max-width: 560px;
  font-size: 13px;
}

.manifesto-panel {
  padding: 36px 32px;
  border: 1px solid rgba(211, 168, 105, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(211, 168, 105, 0.14) 0%, rgba(13, 23, 35, 0.86) 70%);
  text-align: center;
}

.manifesto-panel .eyebrow {
  margin-bottom: 14px;
}

.manifesto-line {
  margin: 6px 0;
  color: var(--text);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.manifesto-note {
  margin: 18px 0 0;
  color: var(--amber);
  font-weight: 700;
}

html[lang^="zh"] body {
  font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

html[lang^="zh"] .hero-copy h1,
html[lang^="zh"] .section-heading h2,
html[lang^="zh"] .feature-panel h2,
html[lang^="zh"] .cta-panel h2,
html[lang^="zh"] .simple-hero h1,
html[lang^="zh"] .redirect-card h2 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

html[lang^="zh"] .eyebrow,
html[lang^="zh"] .feature-kicker,
html[lang^="zh"] .persona-kicker {
  letter-spacing: 0.04em;
}

html[lang^="zh"] .hero-badge,
html[lang^="zh"] .detail-pill {
  letter-spacing: 0.04em;
}

.manifesto-naming {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .brand-zh {
    font-size: 18px;
  }

  .manifesto-panel {
    padding: 28px 18px;
  }

}

html[lang^="zh"] .hero-copy h1,
html[lang^="zh"] .simple-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
}

html[lang^="zh"] .clause {
  display: inline-block;
}

html[lang^="zh"] .hero-badge,
html[lang^="zh"] .eyebrow,
html[lang^="zh"] .persona-kicker,
html[lang^="zh"] .feature-kicker {
  text-transform: none;
}

@media (max-width: 760px) {
  html[lang^="zh"] .hero-copy h1,
  html[lang^="zh"] .simple-hero h1 {
    font-size: 30px;
  }
}

/* ---- One page, two languages (2026-10-09) ---- */
html[data-lang="zh"] [data-l="en"],
html:not([data-lang="zh"]) [data-l="zh"] {
  display: none !important;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lang-toggle a:hover,
.lang-toggle a:focus-visible {
  color: var(--text);
}

html:not([data-lang="zh"]) .lang-toggle a[data-set-lang="en"],
html[data-lang="zh"] .lang-toggle a[data-set-lang="zh"] {
  background: linear-gradient(135deg, var(--amber) 0%, #eccd9b 100%);
  color: #122132;
}

/* Headline commission number */
.headline-stat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(211, 168, 105, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(211, 168, 105, 0.16) 0%, rgba(13, 23, 35, 0.9) 55%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.headline-stat > div {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.headline-stat > div:first-child {
  border-left: 0;
}

.headline-stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: var(--amber);
}

.headline-stat strong sup {
  font-size: 0.4em;
  vertical-align: super;
}

.headline-stat span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-weight: 800;
}

.headline-stat small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Three commission tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tier-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tier-card.is-top {
  border-color: rgba(211, 168, 105, 0.55);
  background:
    linear-gradient(160deg, rgba(211, 168, 105, 0.2), transparent 60%),
    var(--panel-strong);
}

.tier-card .tier-name {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tier-card .tier-range {
  display: block;
  margin: 12px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
}

.tier-card.is-top .tier-range {
  color: var(--amber);
}

.tier-card p,
.tier-card li {
  color: var(--muted);
}

.tier-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.formula {
  margin: 0;
  padding: 18px 22px;
  border: 1px dashed rgba(111, 215, 216, 0.35);
  border-radius: 18px;
  background: rgba(111, 215, 216, 0.06);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Carriers and products */
.carrier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carrier-chips span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.carrier-chips.is-diamond span {
  border-color: rgba(211, 168, 105, 0.45);
  background: var(--amber-soft);
  color: #f3dcb6;
}

.chip-label {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.product-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

.members-band {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border: 1px solid rgba(111, 215, 216, 0.25);
  border-radius: var(--radius);
  background: rgba(111, 215, 216, 0.06);
}

.members-band p {
  margin: 4px 0 0;
  color: var(--muted);
}

html[lang^="zh"] .tier-card .tier-name,
html[lang^="zh"] .chip-label {
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 1100px) {
  .headline-stat,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headline-stat > div:nth-child(3) {
    border-left: 0;
  }

  .headline-stat > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  .headline-stat,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .headline-stat > div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .headline-stat > div:first-child {
    border-top: 0;
  }

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

.section-heading h2,
.cta-panel h2,
.split-panel h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}

html[lang^="zh"] .section-heading h2,
html[lang^="zh"] .cta-panel h2,
html[lang^="zh"] .split-panel h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
}

.fine-print + .hero-actions,
.fine-print + .button-row {
  margin-top: 20px;
}

.section-heading p {
  max-width: 820px;
}

.fine-print {
  max-width: 920px;
}

/* Phone header: logo, language switch and menu on one row; login/apply open with the menu. */
@media (max-width: 760px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand img {
    height: 40px;
  }

  .brand-zh {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .site-cta {
    display: contents;
  }

  .lang-toggle {
    order: 2;
  }

  .lang-toggle a {
    min-width: 40px;
    min-height: 34px;
    padding: 0 10px;
  }

  .nav-toggle {
    order: 3;
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
  }

  .site-cta .btn {
    order: 5;
    flex-basis: 100%;
    display: none;
  }

  html:not([data-lang="zh"]) .site-header.nav-open .site-cta .btn[data-l="en"],
  html[data-lang="zh"] .site-header.nav-open .site-cta .btn[data-l="zh"] {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .hero-visual > img {
    min-height: 260px;
    max-height: 320px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -56px 12px 0;
  }
}
