

:root {
  color-scheme: light;
  --ink: #172638;
  --muted: #526278;
  --line: rgba(35, 67, 104, 0.18);
  --panel-soft: #edf3fa;
  --blue: #2563eb;
  --blue-light: #1d57b5;
  --background: #f8fafc;
  --foreground: var(--ink);
  --copy: #33465d;
  --secondary: rgba(255, 255, 255, 0.8);
  --card: rgba(255, 255, 255, 0.86);
  --card-gradient: rgba(235, 243, 255, 0.9);
  --frame: #c1cddd;
  --shadow: rgba(29, 47, 73, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  color-scheme: dark;
  --ink: #e8edf6;
  --muted: #9ba9bd;
  --line: rgba(159, 181, 211, 0.16);
  --panel-soft: #0d1521;
  --blue: #3b82f6;
  --blue-light: #72a7ff;
  --background: #08101b;
  --foreground: var(--ink);
  --copy: #c4cfde;
  --secondary: rgba(17, 26, 40, 0.72);
  --card: rgba(13, 21, 33, 0.78);
  --card-gradient: rgba(13, 23, 36, 0.8);
  --frame: #263345;
  --shadow: rgba(0, 0, 0, 0.4);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8edf6;
  --muted: #9ba9bd;
  --line: rgba(159, 181, 211, 0.16);
  --panel-soft: #0d1521;
  --blue: #3b82f6;
  --blue-light: #72a7ff;
  --background: #08101b;
  --foreground: var(--ink);
  --copy: #c4cfde;
  --secondary: rgba(17, 26, 40, 0.72);
  --card: rgba(13, 21, 33, 0.78);
  --card-gradient: rgba(13, 23, 36, 0.8);
  --frame: #263345;
  --shadow: rgba(0, 0, 0, 0.4);
}



* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist-sans), "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 76% 8%, rgba(59, 130, 246, 0.16), transparent 28rem),
    linear-gradient(rgba(90, 120, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 120, 160, 0.045) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

a { color: inherit; text-decoration: none; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(114, 167, 255, 0.5);
  border-radius: 10px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
}

nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--ink); }

.hero {
  padding: 112px 0 90px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 840px;
  margin-bottom: 6px;
  font-size: clamp(46px, 7.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-en {
  margin-bottom: 34px;
  color: var(--blue-light);
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--copy);
  font-size: 18px;
  line-height: 1.8;
}

.en { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 330px;
  padding: 42px 32px 36px;
  border-right: 1px solid var(--line);
}

.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { border-right: 0; }

.feature-number {
  display: block;
  margin-bottom: 70px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.feature-grid h2,
.support-panel h2,
.notice h2,
.policy h1,
.policy h2 { letter-spacing: -0.035em; }

.feature-grid h2 { margin-bottom: 16px; font-size: 22px; }

.feature-grid p,
.support-panel p,
.notice p,
.trademark p,
.policy p,
.policy li { color: var(--copy); line-height: 1.75; }

.feature-grid .en,
.support-panel .en,
.notice .en,
.trademark .en,
.policy .en { color: var(--muted); font-size: 14px; }

.support-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 70px;
  align-items: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.support-panel h2 { margin-bottom: 18px; font-size: 36px; }

.membership-panel {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.membership-panel .section-heading { margin-bottom: 30px; }
.membership-panel h2 { margin-bottom: 8px; font-size: 36px; letter-spacing: -0.035em; }

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.membership-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.membership-grid span { color: var(--blue-light); font-family: var(--font-geist-mono), monospace; font-size: 12px; }
.membership-grid strong { display: block; margin: 30px 0 16px; font-size: 24px; }
.membership-grid p, .membership-status p { color: var(--copy); line-height: 1.7; }
.membership-grid .en, .membership-status .en { color: var(--muted); font-size: 14px; }
.membership-status { margin-top: 18px; padding: 24px; border-left: 3px solid var(--blue); background: var(--panel-soft); }

.email-card {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(114, 167, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), var(--card-gradient));
}

.email-card span { color: var(--muted); font-size: 13px; }
.email-card strong { overflow-wrap: anywhere; color: var(--blue-light); font-size: 18px; }
.email-card small { color: var(--copy); line-height: 1.5; }
.contact-cards { display: grid; gap: 12px; }

.notice {
  margin: 72px 0 20px;
  padding: 34px;
  border-left: 3px solid var(--blue);
  background: var(--panel-soft);
}

.notice h2 { margin-bottom: 18px; font-size: 24px; }
.trademark { padding: 28px 34px 60px; }

footer {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.policy { max-width: 820px; padding: 80px 0 100px; }
.policy h1 { margin-bottom: 10px; font-size: clamp(42px, 6vw, 68px); }

.policy .updated {
  margin-bottom: 54px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.policy section { padding: 34px 0; border-top: 1px solid var(--line); }
.policy h2 { margin-bottom: 18px; font-size: 25px; }
.policy a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; }

.product-home { width: min(1180px, calc(100% - 40px)); }

.product-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.product-brand span { display: grid; gap: 3px; }
.product-brand strong { font-size: 17px; }
.product-brand small { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }

.product-hero {
  display: grid;
  min-height: 700px;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.product-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.98;
}

.product-hero-en {
  margin: 14px 0 30px;
  color: var(--blue-light);
  font-size: clamp(20px, 2.7vw, 32px);
  letter-spacing: -0.03em;
}

.product-lead {
  max-width: 700px;
  margin-bottom: 8px;
  color: var(--copy);
  font-size: 17px;
  line-height: 1.8;
}

.product-hero-shot { margin: 0; text-align: center; }

.product-hero-shot img {
  width: min(100%, 350px);
  max-height: 580px;
  margin: auto;
  object-fit: cover;
  object-position: top;
  border: 7px solid var(--frame);
  border-radius: 38px;
  box-shadow: 0 30px 80px var(--shadow);
}

.product-hero-shot figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.product-features { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 780px; }

.section-heading h2,
.download-section h2,
.product-support h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.screen-grid article { min-width: 0; }

.phone-frame {
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
  border: 5px solid var(--frame);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px var(--shadow);
}

.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.screen-grid article > span { display: block; margin-top: 20px; color: var(--blue-light); font-family: var(--font-geist-mono), monospace; font-size: 12px; font-weight: 700; }
.screen-grid h3 { margin: 8px 0 2px; font-size: 19px; }
.screen-grid strong { color: var(--muted); font-size: 12px; }
.screen-grid p { color: var(--copy); font-size: 14px; line-height: 1.7; }

.download-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.download-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.platform-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.platform-card > span { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.platform-card > strong { margin-top: 12px; font-size: 23px; }
.platform-card > small { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.platform-card > em { margin-top: auto; font-size: 13px; font-style: normal; font-weight: 700; }
.platform-card.available { border-color: rgba(114, 167, 255, 0.45); background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), var(--card-gradient)); }
.platform-card.available em { color: var(--blue-light); }
.platform-card.pending > a { margin-top: 14px; color: var(--blue-light); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

.product-support {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.product-support p { color: var(--copy); line-height: 1.75; }
.product-boundary { margin-top: 70px; }

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 72px; }
  nav { gap: 14px; font-size: 12px; }
  nav a:first-child { display: none; }
  .hero { padding: 78px 0 62px; }
  .hero-copy { font-size: 16px; }
  .feature-grid, .support-panel { grid-template-columns: 1fr; }
  .feature-grid article,
  .feature-grid article:first-child {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-number { margin-bottom: 28px; }
  .support-panel { gap: 28px; padding: 60px 0; }
  .support-panel h2 { font-size: 30px; }
  .notice { margin-top: 54px; padding: 26px 22px; }
  .trademark { padding: 22px 0 50px; }
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .product-header { min-height: 72px; }
  .product-header nav { display: none; }
  .product-hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 0; }
  .product-hero-shot { display: none; }
  .product-hero h1 { font-size: 52px; }
  .product-features, .download-section, .product-support { padding: 68px 0; }
  .screen-grid, .download-cards, .download-section, .product-support { grid-template-columns: 1fr; }
  .screen-grid { gap: 46px; }
  .screen-grid article { width: min(100%, 370px); margin: auto; }
  .product-support { gap: 30px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .product-hero { grid-template-columns: 1fr; gap: 48px; }
  .product-hero-shot { display: none; }
  .screen-grid { grid-template-columns: 1fr 1fr; }
  .download-section, .product-support { grid-template-columns: 1fr; }
}

/* Android checkout extends the existing membership surface. */
.checkout-page { max-width: 960px; }
.checkout-flow { font-size: 1rem; line-height: 1.7; }
.checkout-flow p { margin: 12px 0; }
.checkout-flow .en { color: var(--muted); }
.checkout-plans { display: grid; gap: 12px; border: 0; padding: 0; margin: 24px 0; }
.checkout-plans legend { margin-bottom: 12px; }
.checkout-plans label { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.checkout-plans input { width: 20px; height: 20px; }
.checkout-flow .button { margin: 8px 8px 8px 0; font: inherit; cursor: pointer; min-height: 48px; }
.checkout-flow .button:disabled { opacity: .5; cursor: default; }
.checkout-qr img { max-width: 100%; height: auto; background: white; border: 16px solid white; }
.checkout-code strong { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 1.3rem; letter-spacing: .05em; }
.checkout-message { padding: 16px; border-left: 3px solid var(--blue); background: var(--panel-soft); overflow-wrap: anywhere; }
.checkout-flow code { overflow-wrap: anywhere; }

/* Shared appearance controls remain available on every route and on phones. */
.theme-toolbar { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-header nav, .product-header nav { align-items: center; }
.theme-label { color: var(--muted); font-size: 12px; }
.theme-controls { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.theme-controls button { min-width: 52px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.theme-controls button[aria-pressed="true"] { background: var(--panel-soft); color: var(--blue-light); font-weight: 700; }
.theme-controls button:hover { color: var(--ink); }
.theme-controls button:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .site-header, .product-header { flex-wrap: wrap; gap: 12px; padding: 16px 0; }
  .site-header nav, .product-header nav { display: flex; flex-wrap: wrap; width: 100%; justify-content: flex-end; gap: 12px; }
  .theme-label { display: none; }
}
