:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-soft: #0d111b;
  --surface: #121824;
  --surface-strong: #182030;
  --text: #f7f5ff;
  --muted: #bac2d6;
  --subtle: #8e98ad;
  --line: #2b3447;
  --brand: #7956f6;
  --brand-bright: #967cff;
  --green: #52dda0;
  --orange: #ffb44c;
  --max: 1180px;
  --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -10%, rgba(121, 86, 246, 0.24), transparent 34rem),
    radial-gradient(circle at -10% 22%, rgba(61, 119, 255, 0.13), transparent 30rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: #c9bbff;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #090b12;
  background: #ffffff;
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav {
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.language-link {
  border: 1px solid var(--line);
}

main {
  min-height: 70vh;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: clamp(72px, 9vw, 132px) 0 54px;
  text-align: center;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  color: #ded7ff;
  background: rgba(121, 86, 246, 0.13);
  border: 1px solid rgba(150, 124, 255, 0.38);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(82, 221, 160, 0.7);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 950px;
  margin: 24px auto 20px;
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 780;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 740;
}

h3 {
  font-size: 21px;
  font-weight: 700;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 10%, #c7b9ff 48%, #7fa9ff 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.actions.left {
  justify-content: flex-start;
}

.space-top {
  margin-top: 26px;
}

.space-top-small {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--brand);
  border: 1px solid #9e86ff;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(121, 86, 246, 0.28);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}

.button[aria-disabled="true"] {
  color: #d7dbea;
  background: #30384a;
  border-color: #465066;
  box-shadow: none;
  cursor: not-allowed;
}

.availability-note {
  margin: 16px auto 0;
  color: var(--subtle);
  font-size: 13px;
}

.product-shot {
  margin: 50px auto 0;
  padding: 9px;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48);
}

.product-shot img {
  width: 100%;
  border-radius: 16px;
}

.product-shot figcaption {
  padding: 12px 6px 4px;
  color: var(--subtle);
  font-size: 13px;
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p,
.card p,
.policy-intro,
.muted {
  color: var(--muted);
}

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

.card {
  min-height: 210px;
  padding: 24px;
  background: linear-gradient(150deg, rgba(24, 32, 48, 0.95), rgba(14, 18, 29, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card .number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  place-items: center;
  color: #e2dcff;
  background: rgba(121, 86, 246, 0.18);
  border: 1px solid rgba(150, 124, 255, 0.4);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.spec-panel,
.notice {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.spec-list {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 15px;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 12px;
}

.spec-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.bilingual-divider {
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.chinese-section {
  scroll-margin-top: 90px;
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.page-hero {
  padding: 76px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;
  margin: 18px 0;
  text-align: left;
  font-size: clamp(42px, 7vw, 72px);
}

.page-hero .lede {
  max-width: 760px;
  margin: 0;
}

.policy-layout {
  padding: 54px 0 96px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 56px;
  justify-content: center;
}

.toc {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.policy-content section,
.support-section {
  scroll-margin-top: 96px;
  padding-bottom: 34px;
}

.policy-content h2,
.support-section h2 {
  margin-bottom: 12px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.policy-content p,
.policy-content li,
.support-section p,
.support-section li {
  color: var(--muted);
}

.policy-content li + li,
.support-section li + li {
  margin-top: 8px;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 680;
}

details p {
  margin-bottom: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(130deg, rgba(121, 86, 246, 0.22), rgba(24, 32, 48, 0.94));
  border: 1px solid rgba(150, 124, 255, 0.42);
  border-radius: var(--radius);
}

code {
  padding: 0.12em 0.34em;
  color: #e8e2ff;
  background: rgba(121, 86, 246, 0.14);
  border: 1px solid rgba(150, 124, 255, 0.22);
  border-radius: 5px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
}

.not-found {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 72px 0;
  text-align: center;
}

.not-found h1 {
  margin-top: 18px;
  font-size: clamp(42px, 8vw, 82px);
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav {
    padding: 10px 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 7px;
    font-size: 13px;
  }

  .grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
  }

  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    width: min(calc(100% - 24px), var(--max));
    display: block;
  }

  .nav-links {
    margin-top: 8px;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: 45px;
  }

  .card,
  .spec-panel,
  .contact-card {
    padding: 20px;
  }
}

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