:root {
  --ink: #f7f4ff;
  --muted: #d4c8f5;
  --body: #f4f0ff;
  --secondary: #e7defb;
  --paper: #1a0b3a;
  --white: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #c4b5fd;
  --purple: #7e3af2;
  --gold: #fde047;
  --blue: #38bdf8;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(18, 4, 48, 0.35);
  --header-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(126, 58, 242, 0.55), transparent 60%),
    radial-gradient(720px 420px at 100% 0%, rgba(56, 189, 248, 0.28), transparent 55%),
    linear-gradient(165deg, #14082c 0%, #2a1068 42%, #3b1c86 68%, #120824 100%);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: rgba(253, 224, 71, 0.35); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: #fff;
  color: #2a1068;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; text-underline-offset: 0.18em; }
main p a,
main .note a,
.faq a { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 8, 44, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(10, 0, 30, 0.25);
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  width: min(1120px, calc(100% - 32px));
  min-height: var(--header-h);
  margin: 0 auto;
}

.tools { display: contents; }

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
}

.mark {
  width: 32px;
  height: 32px;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(126, 58, 242, 0.8));
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-primary { font-weight: 800; letter-spacing: -0.03em; font-size: 16px; }
.brand-secondary { margin-top: 1px; font-size: 11px; color: var(--muted); font-weight: 600; }

.lang {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.account {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.menu {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  position: relative;
}

.account a,
.lang a,
.menu summary,
.section-nav a {
  text-decoration: none;
  color: #fff;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.lang a { min-height: 44px; font-size: 13px; color: var(--muted); }
.lang a[aria-current="page"] { color: var(--gold); font-weight: 800; }
.account a { color: #fff; }

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0 2px;
  color: #fff;
  font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }

#section-nav { display: none; }

.menu .section-nav { display: flex; flex-direction: column; min-width: 200px; }
.menu[open] .section-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  padding: 8px;
  background: rgba(28, 12, 64, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(126, 58, 242, 0.4);
}
.section-nav a { padding: 0 12px; border-radius: 10px; color: #fff; }
.section-nav a:hover { background: rgba(126, 58, 242, 0.35); }

@media (min-width: 1040px) {
  .bar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    width: min(1120px, calc(100% - 48px));
  }
  .brand { grid-column: 1; grid-row: 1; }
  #section-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    gap: 2px;
    padding-left: 8px;
  }
  .account { grid-column: 3; grid-row: 1; justify-self: end; gap: 2px 4px; }
  .account a { padding: 0 8px; }
  .lang { grid-column: 4; grid-row: 1; margin-left: 4px; }
  .menu { display: none; }
}

.section { padding: 64px 0; scroll-margin-top: 76px; }
.band { background: rgba(255, 255, 255, 0.035); }
.hero.section {
  position: relative;
  overflow: clip;
  padding-top: 28px;
  padding-bottom: 48px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}
.hero::before {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 20px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 68%);
}
.hero::after {
  width: 240px;
  height: 240px;
  left: -60px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.28), transparent 70%);
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .hero.section { padding-top: 36px; padding-bottom: 64px; }
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.measure { max-width: 40rem; }
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px 36px;
  align-items: center;
}
.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, rgba(126, 58, 242, 0.85), rgba(56, 189, 248, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 18px rgba(126, 58, 242, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="zh-Hans"] .eyebrow { letter-spacing: 0.12em; text-transform: none; font-size: 13px; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
}
h1 .line { display: block; }
h1 .line + .line { color: #e9d5ff; }
.soft-break { display: none; }
html[lang="zh-Hans"] h1 { letter-spacing: -0.03em; line-height: 1.12; }

@media (min-width: 900px) {
  /* Desktop only: each hero phrase stays on one line (zh + en). Mobile unchanged. */
  html[lang="zh-Hans"] h1 {
    font-size: clamp(42px, 3.8vw, 56px);
  }
  html[lang="en"] h1 {
    font-size: clamp(40px, 3.5vw, 54px);
  }
  h1 .line {
    white-space: nowrap;
  }
}


@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 .line + .line {
    background: linear-gradient(90deg, #ffffff 0%, #ddd6fe 42%, #fde047 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}
html[lang="zh-Hans"] h2 { letter-spacing: -0.02em; }

/* CJK orphan / widow control: avoid a single character on the last line */
h1, h2, h3, h4, .eyebrow, .offer, .result-name, .button, .text-button, summary, .gift-copy, .capability h3, .brand-text {
  text-wrap: balance;
}
p, li, .lede, .intro, .answer, .care, figcaption, .diagram-label, .diagram-kicker, .example-label, .inbox-label {
  text-wrap: pretty;
}
html[lang="zh-Hans"] {
  line-break: strict;
}
html[lang="zh-Hans"] .cjk-glue {
  white-space: nowrap;
}


h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}

.lede, .intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--secondary);
}
.lede { max-width: 40rem; margin: 16px 0 0; }
.intro { max-width: 42rem; margin-bottom: 8px; }

.hero-actions { display: flex; margin-top: 22px; }
.offer { margin: 0; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.offer-note { margin: 6px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 13px; line-height: 1.45; }
.offer-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(126, 58, 242, 0.85), rgba(91, 33, 182, 0.9));
  border: 1px solid rgba(253, 224, 71, 0.55);
  box-shadow: 0 0 24px rgba(126, 58, 242, 0.35);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.coop-address { margin: 8px 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.coop-address a { color: var(--gold); text-decoration: none; }
.note { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 10px 0 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #9b6cf6, #7e3af2);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(126, 58, 242, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.button:hover { background: linear-gradient(180deg, #b08cff, #8b4cf6); }
.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 18px rgba(56, 189, 248, 0.2);
}
.button-secondary:hover { background: rgba(255, 255, 255, 0.18); }

.gift {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 28px;
  background: linear-gradient(100deg, #5b21b6 0%, #7e3af2 55%, #6d28d9 100%);
  border: 1px solid rgba(253, 224, 71, 0.7);
  box-shadow: 0 0 0 4px rgba(126, 58, 242, 0.28), 0 16px 40px rgba(91, 33, 182, 0.45);
}
.gift-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 64px;
  padding: 6px 10px 6px 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}
.gift-icon { width: 46px; height: 46px; display: block; }
.gift-badge b {
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.gift-copy { min-width: 0; }

.inbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 18px;
}
.inbox-label { margin: 0 0 2px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
.inbox-address {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff;
  overflow-wrap: anywhere;
}
.copy-status { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; color: var(--gold); }

.visit {
  display: inline-block;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: #3b0764;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  overflow-wrap: anywhere;
}

.diagram { min-width: 0; margin: 0; }
.diagram-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1.1fr);
  gap: 8px;
  align-items: center;
}
.diagram-card,
.result-card,
.capability,
.scenario,
.care,
.sample,
.steps li,
.faq details {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 24px rgba(126, 58, 242, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.diagram-card {
  border-radius: 24px;
  padding: 16px 16px 14px;
}
.diagram-kicker { margin: 0; font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: 0.04em; }
.diagram-label { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.diagram-address {
  margin: 2px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5b21b6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.diagram-copy { margin-top: 12px; }
.diagram-copy p { margin: 0; font-size: 14px; line-height: 1.45; color: #fff; }
.diagram-results { display: grid; gap: 8px; min-width: 0; }
.result-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 16px;
}
.result-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: #f97316;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.result-card:nth-child(2) .result-mark { background: #3b82f6; }
.result-card:nth-child(3) .result-mark { background: #22c55e; }
.result-card:nth-child(4) .result-mark { background: #a855f7; }
.result-card:nth-child(5) .result-mark { background: #0ea5e9; }
.result-text { display: flex; flex-direction: column; min-width: 0; }
.result-name { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.result-detail { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
}
.diagram figcaption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .diagram-row { grid-template-columns: 1fr; }
  .diagram-flow { transform: rotate(90deg); height: 28px; }
}

@media (max-width: 720px) {
  .soft-break { display: block; }
  h1 { font-size: clamp(34px, 10vw, 44px); }
  .gift { align-items: flex-start; border-radius: 22px; }
  .visit { border-radius: 18px; }
  .gift-badge b { font-size: 28px; }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps li { border-radius: 22px; padding: 18px 16px 16px; }
.step-index { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--gold); }
.steps p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.sample-block { margin-top: 28px; max-width: 720px; }
.sample-block h3 { margin-bottom: 8px; }
.sample {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  border-radius: 18px;
  padding: 16px 18px;
  margin: 12px 0 0;
  color: #fff;
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.capability { border-radius: 22px; padding: 18px 18px 16px; }
.capability p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.limit-note { max-width: 42rem; }

.scenario-list { display: grid; gap: 12px; margin-top: 18px; }
.scenario {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 8px 28px;
  padding: 18px 18px;
  border-radius: 22px;
}
.scenario p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.scenario-index { margin: 0 0 4px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
.example-label { margin: 6px 0 0; color: var(--blue); font-size: 12px; font-weight: 800; }

table {
  width: min(640px, 100%);
  border-collapse: collapse;
  margin: 20px 0 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
}
caption { caption-side: top; text-align: left; padding: 0 0 8px; color: var(--muted); font-size: 13px; }
th, td {
  text-align: left;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); border-top: 0; padding-bottom: 8px; }
tbody td { color: var(--gold); }

.care { border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.care p, .limits li, .faq .answer p, .partners p { color: var(--secondary); }
.care p { max-width: 62ch; }

.limits { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: limit; }
.limits li {
  counter-increment: limit;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  max-width: 66ch;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
  line-height: 1.45;
}
.limits li::before {
  content: counter(limit, decimal-leading-zero);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.faq { margin-top: 8px; }
.faq details { border-radius: 16px; margin-top: 10px; padding: 0 16px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -20px; color: var(--gold); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 16px; max-width: 62ch; }
.faq .answer p { margin: 0; font-size: 15px; line-height: 1.5; }

.site-footer {
  background: linear-gradient(180deg, rgba(10, 4, 28, 0.2), #0c041c 30%);
  color: #f5f5f7;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px 32px; align-items: start; }
.footer-brand { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.footer-mail {
  display: inline-block;
  margin: 2px 8px 0 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.site-footer .inbox-label,
.site-footer .copy-status,
.footer-end { color: #ddd6fe; }
.site-footer .account,
.site-footer .lang { display: flex; grid-column: auto; grid-row: auto; justify-self: start; }
.site-footer .account { flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer .lang { margin-top: 4px; }
.site-footer .account a,
.site-footer .lang a,
.site-footer .lang a:not([aria-current="page"]) { color: #fff; }
.footer-end { width: min(1120px, calc(100% - 40px)); margin: 28px auto 0; font-size: 13px; line-height: 1.5; }
.footer-end p { max-width: 68ch; }

.not-found h1, .not-found h2 { font-size: clamp(32px, 4vw, 48px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.split > div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 800px) {
  .steps, .capabilities, .scenario, .footer-grid, .split { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero.section { padding-top: 20px; }
  .inbox-address { font-size: 20px; }
  .wrap, .footer-end { width: min(1120px, calc(100% - 28px)); }
}

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

@media print {
  .site-header, .hero-actions, .button, .text-button, .menu, .copy-status { display: none !important; }
  body, .band, .site-footer, .care, .diagram-card, .result-card { background: #fff; color: #000; box-shadow: none; }
  .site-footer { color: #000; padding-top: 16px; }
  h1, h2, h3, .offer, .result-name { color: #000; }
  .faq details > *:not(summary) { display: block !important; }
  a { text-decoration: underline; }
}
