:root {
  --ink: #15171c;
  --ink-2: #3a3e47;
  --muted: #6b707b;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e7e3da;
  --soft: #f3f1eb;
  --accent: #e4572e;
  --accent-ink: #b8401d;
  --radius: 18px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg, rgba(251, 250, 247, 0.92));
  color: var(--header-ink, var(--ink));
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.site-footer .brand img {
  box-shadow: 0 0 0 1px var(--line);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text b {
  font-size: 17px;
  letter-spacing: 0.06em;
}
.brand-text small {
  font-size: 11px;
  color: var(--nav-ink, var(--muted));
  letter-spacing: 0.12em;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--nav-ink, var(--ink-2));
  font-size: 15px;
}
.nav a:hover {
  background: var(--nav-hover, var(--soft));
  color: inherit;
}
.nav a[aria-current="page"] {
  color: inherit;
  font-weight: 600;
}
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 2px auto 0;
  width: 16px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span + span {
  margin-top: 5px;
}
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn .arrow {
  transition: transform 0.15s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- sections ---------- */
section {
  padding: 88px 0;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 0;
}
.hero h1 {
  font-size: clamp(40px, 7.4vw, 76px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--hl-bar, var(--accent));
  opacity: 0.85;
  z-index: -1;
  border-radius: 2px;
}
.hero .lead {
  max-width: 600px;
  margin-top: 24px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-2);
}
.hero .btn-row {
  margin-top: 34px;
}

/* ---------- product matrix ---------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  position: relative;
}
.card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}
.badge-live {
  background: #e3f1ea;
  color: #0e4f3b;
}
.badge-live::before {
  content: "●";
  margin-right: 5px;
  font-size: 9px;
  vertical-align: 1px;
  color: #1c8a5f;
}
.card h3 {
  font-size: 22px;
}
.card .who {
  font-size: 14px;
  color: var(--muted);
}
.card p {
  color: var(--ink-2);
}
.card.soon {
  background: color-mix(in srgb, var(--c, #999) 6%, var(--card));
  border-color: color-mix(in srgb, var(--c, #999) 28%, transparent);
}
.card.soon h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card.soon h3::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--c, var(--accent));
}
.card.soon .badge {
  background: color-mix(in srgb, var(--c, #999) 14%, transparent);
  color: color-mix(in srgb, var(--c, #999) 70%, var(--ink));
}
.card.feature {
  grid-row: span 2;
  background: var(--p-bg, #0e4f3b);
  border-color: transparent;
  color: #fff;
  padding: 32px;
  gap: 14px;
}
.card.feature .meta {
  color: rgba(255, 255, 255, 0.72);
}
.card.feature p,
.card.feature .who {
  color: rgba(255, 255, 255, 0.86);
}
.card.feature .logo {
  align-self: flex-start;
  height: 64px;
  width: auto;
  margin: 6px 0 4px -14px;
}
.card.feature .tagline {
  color: var(--p-accent, #ffc83d);
  font-weight: 700;
  font-size: 20px;
}
.card.feature .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.card.feature .chips span {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.card.feature .go {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.card.feature .btn-accent {
  background: var(--p-accent, #ffc83d);
  color: var(--p-ink, #13201a);
}
.card.feature .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.card.feature .badge-live {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.card.feature .badge-live::before {
  color: var(--p-accent, #ffc83d);
}

/* ---------- spotlight (dark band) ---------- */
.spotlight {
  background: var(--p-bg, #0e4f3b);
  color: #fff;
}
.spotlight .eyebrow {
  color: var(--p-accent, #ffc83d);
}
.spot-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.spotlight .logo {
  height: 84px;
  width: auto;
  margin-left: -18px;
}
.spotlight h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 10px;
}
.spotlight .lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.features div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px;
}
.features b {
  display: block;
  color: var(--p-accent, #ffc83d);
  margin-bottom: 4px;
}
.features p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.pricing div {
  border-radius: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}
.pricing small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.pricing strong {
  display: block;
  font-size: 26px;
  color: #fff;
  margin: 2px 0;
}
.pricing span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.spotlight .note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.spotlight .btn-row {
  margin-top: 28px;
}
.spotlight .btn-accent {
  background: var(--p-accent, #ffc83d);
  color: var(--p-ink, #13201a);
}
.spotlight .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ---------- principles ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: p;
}
.principles div {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.principles div::before {
  counter-increment: p;
  content: "0" counter(p);
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.principles h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.principles p {
  color: var(--ink-2);
}

/* ---------- CTA band ---------- */
.cta {
  padding: 0 0 96px;
}
.cta .box {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta h2 {
  font-size: clamp(24px, 3.4vw, 32px);
}
.cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}
.cta .btn {
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}

/* ---------- inner pages ---------- */
.page-hero {
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 800;
}
.page-hero .lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 18px;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.jump a {
  text-decoration: none;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--chip-line, var(--line));
  background: var(--chip-bg, var(--card));
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.jump a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}
.jump a:hover {
  border-color: var(--c);
}
.stage-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stage-head h2::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--c);
}
.stage {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.stage-head .age {
  color: var(--muted);
  font-size: 14px;
}
.stage-head h2 {
  font-size: 30px;
  margin: 4px 0 10px;
}
.stage-head p {
  color: var(--ink-2);
  font-size: 15px;
}
.stage-head .who {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.stage .card.feature {
  grid-row: auto;
}
.stage-products {
  display: grid;
  gap: 16px;
}
.wide-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.wide-features div {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
}
.wide-features b {
  color: var(--p-accent, #ffc83d);
  display: block;
}
.wide-features p {
  font-size: 14px;
  line-height: 1.6;
}

.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 28px;
  margin: 56px 0 16px;
}
.prose p {
  color: var(--ink-2);
  font-size: 17px;
  margin-bottom: 14px;
}
.name-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 8px;
}
.name-split div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.name-split b {
  font-size: 28px;
  display: block;
}
.name-split b span {
  color: var(--accent);
}
.name-split small {
  color: var(--muted);
  font-size: 14px;
}
.name-split p {
  margin: 10px 0 0;
  font-size: 15px;
}
.roadmap {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-left: 2px dashed #cfcac0;
}
.roadmap li {
  position: relative;
  padding: 0 0 22px 26px;
}
.roadmap li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid #cfcac0;
}
.roadmap li.done::before {
  background: var(--accent);
  border-color: var(--accent);
}
.roadmap b {
  display: block;
}
.roadmap span {
  color: var(--muted);
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 96px;
}
.contact-grid .card h3 {
  font-size: 19px;
}
.contact-grid .card .value {
  font-size: 17px;
  font-weight: 600;
  word-break: break-all;
}
.contact-grid .card a.value {
  color: var(--accent-ink);
}
.contact-grid .qr {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.pending {
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-brand p {
  margin-top: 12px;
  max-width: 300px;
}
.foot-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.foot-cols h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.foot-cols a {
  display: block;
  text-decoration: none;
  padding: 3px 0;
}
.foot-cols a:hover {
  color: var(--ink);
}
.foot-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
}
.foot-legal a {
  text-decoration: none;
}
.foot-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-legal .police {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.foot-legal .police img {
  width: 16px;
  height: 16px;
}
.foot-legal .missing {
  color: var(--accent-ink);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .spot-grid,
  .stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .principles,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta .box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }
  section {
    padding: 64px 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--header-solid, var(--paper));
    border-bottom: 1px solid var(--header-line, var(--line));
    display: none;
  }
  .nav-open .nav {
    display: flex;
  }
  .nav a {
    padding: 14px 4px;
    border-radius: 0;
    font-size: 17px;
    border-bottom: 1px solid var(--header-line, var(--line));
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .nav a[aria-current="page"]::after {
    display: none;
  }
  .nav a[aria-current="page"] {
    color: var(--nav-current, var(--accent-ink));
  }
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 em {
    white-space: normal;
  }
  .matrix,
  .features,
  .wide-features,
  .name-split {
    grid-template-columns: 1fr;
  }
  .card.feature {
    grid-row: auto;
    padding: 26px;
  }
  .card.feature .logo {
    height: 54px;
  }
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .pricing div {
    padding: 12px 10px;
  }
  .pricing strong {
    font-size: 21px;
  }
  .spotlight .logo {
    height: 66px;
  }
  .btn-row .btn {
    flex: 1 1 auto;
  }
  .foot-cols {
    gap: 36px;
  }
}

/* ---------- hero: growth stairs ---------- */
.hero,
.page-hero {
  background: var(--hero-bg, var(--paper));
  color: var(--hero-ink, var(--ink));
  position: relative;
}
.hero .lead,
.page-hero .lead {
  color: var(--hero-sub, var(--ink-2));
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--hero-eyebrow, var(--accent-ink));
}
.hero .btn-dark {
  background: var(--hero-btn-bg, var(--ink));
  color: var(--hero-btn-ink, #fff);
}
.hero .btn-line {
  border-color: var(--hero-ink, var(--ink));
  color: var(--hero-ink, var(--ink));
}
.hero .btn-line:hover {
  background: var(--hero-ink, var(--ink));
  color: var(--hero-line-hover, #fff);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: end;
}
.hero-copy {
  padding-bottom: 72px;
}
.stairs {
  padding-top: 56px;
}
.stairs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 400px;
  gap: 10px;
  align-items: end;
}
.stairs li {
  height: calc(34% + var(--i) * 16.5%);
  transform-origin: bottom;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 90ms);
}
.stairs a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  position: relative;
}
.stairs .step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
  border-radius: 18px 18px 0 0;
  background: var(--step-bg, var(--c));
  color: var(--step-ink, #fff);
  border-top: var(--step-top, 0) solid var(--c);
  box-shadow: var(--step-shadow, 0 18px 40px -22px var(--c));
  transition: transform 0.2s;
}
.stairs a:hover .step {
  transform: translateY(-6px);
}
.stairs .step b {
  font-size: 17px;
  white-space: nowrap;
  line-height: 1.25;
}
.stairs .step small {
  font-size: 12px;
  opacity: 0.85;
}
.stairs .step em {
  margin-top: auto;
  align-self: flex-start;
  font-style: normal;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--chip-on-step, rgba(255, 255, 255, 0.24));
}
.stairs li.live .step {
  background: var(--live-bg, var(--c));
  color: var(--live-ink, #fff);
}
.stairs li.live .step em {
  background: #fff;
  color: var(--c);
  font-weight: 700;
}
.stairs .flag {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--flag-bg, var(--ink));
  color: var(--flag-ink, #fff);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
  animation: pop 0.5s 0.8s both;
}
.stairs .flag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--flag-bg, var(--ink));
}
.stairs .flag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee08f;
  animation: pulse 1.8s infinite;
}
@keyframes rise {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.7);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(62, 224, 143, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stairs li,
  .stairs .flag,
  .stairs .flag i {
    animation: none;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-top: 44px;
  }
  .stairs {
    padding-top: 64px;
  }
  .stairs ol {
    grid-template-rows: 260px;
    gap: 6px;
  }
  .stairs .step {
    padding: 12px 7px;
    border-radius: 12px 12px 0 0;
  }
  .stairs .step b {
    font-size: 13px;
    white-space: normal;
  }
  .stairs .step small {
    font-size: 11px;
  }
  .stairs .step em {
    font-size: 10px;
    padding: 1px 4px;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
  .page-hero {
    padding: 44px 0 44px;
  }
}

/* ---------- themes (site.config.mjs → theme) ---------- */

/* 多彩：奶油底 + 彩色光晕 + 渐变大字 */
[data-theme="vivid"] {
  --paper: #fff9f3;
  --soft: #f6eee6;
  --line: #efe4d8;
  --accent: #7b5cff;
  --accent-ink: #6a45f5;
  --header-bg: rgba(255, 249, 243, 0.9);
  --hero-bg: radial-gradient(560px 380px at 92% 8%, rgba(255, 92, 138, 0.2), transparent 70%),
    radial-gradient(520px 380px at 62% 92%, rgba(61, 123, 255, 0.16), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(255, 164, 27, 0.16), transparent 70%), #fff9f3;
}
[data-theme="vivid"] .hero h1 em {
  background: linear-gradient(95deg, #ff5c8a 0%, #7b5cff 55%, #3d7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="vivid"] .hero h1 em::after {
  display: none;
}
[data-theme="vivid"] .cta .box {
  background: linear-gradient(120deg, #7b5cff, #ff5c8a);
}

/* 暖橙：整块亮橙首屏，白色台阶 */
[data-theme="bold"] {
  --paper: #fff8f2;
  --soft: #fbede3;
  --line: #f1e1d4;
  --accent: #ff5a1f;
  --accent-ink: #d9420c;
  --header-bg: #ff5a1f;
  --header-solid: #ff5a1f;
  --header-ink: #fff;
  --header-line: rgba(255, 255, 255, 0.25);
  --nav-ink: rgba(255, 255, 255, 0.88);
  --nav-hover: rgba(255, 255, 255, 0.16);
  --nav-current: #ffd43b;
  --hero-bg: radial-gradient(640px 420px at 85% 0%, rgba(255, 212, 59, 0.45), transparent 70%), #ff5a1f;
  --hero-ink: #fff;
  --hero-sub: rgba(255, 255, 255, 0.9);
  --hero-eyebrow: #ffe58a;
  --hero-btn-bg: #15171c;
  --hl-bar: #ffd43b;
  --hero-line-hover: #ff5a1f;
  --step-bg: #fff;
  --step-ink: #15171c;
  --step-top: 8px;
  --step-shadow: 0 18px 40px -20px rgba(120, 30, 0, 0.55);
  --chip-on-step: #f6efe9;
  --live-bg: #15171c;
  --flag-bg: #ffd43b;
  --flag-ink: #15171c;
  --chip-bg: rgba(255, 255, 255, 0.16);
  --chip-line: rgba(255, 255, 255, 0.35);
}
[data-theme="bold"] .site-header.scrolled {
  border-bottom-color: transparent;
}
[data-theme="bold"] .nav a[aria-current="page"]::after {
  background: #ffd43b;
}
[data-theme="bold"] .hero h1 em::after {
  z-index: 0;
  opacity: 1;
  height: 0.14em;
  bottom: -0.04em;
}

/* 星夜：深色首屏 + 发光台阶 */
[data-theme="night"] {
  --paper: #f7f7fb;
  --soft: #eeeef6;
  --line: #e4e4ef;
  --accent: #7b5cff;
  --accent-ink: #6a45f5;
  --header-bg: #0e1020;
  --header-solid: #0e1020;
  --header-ink: #fff;
  --header-line: rgba(255, 255, 255, 0.12);
  --nav-ink: rgba(255, 255, 255, 0.78);
  --nav-hover: rgba(255, 255, 255, 0.08);
  --nav-current: #b6a6ff;
  --hero-bg: radial-gradient(620px 420px at 86% 18%, rgba(123, 92, 255, 0.42), transparent 70%),
    radial-gradient(560px 380px at 58% 100%, rgba(255, 92, 138, 0.28), transparent 70%),
    radial-gradient(420px 320px at 0% 0%, rgba(61, 123, 255, 0.22), transparent 70%), #0e1020;
  --hero-ink: #fff;
  --hero-sub: rgba(255, 255, 255, 0.76);
  --hero-eyebrow: #b6a6ff;
  --hero-btn-bg: #fff;
  --hero-btn-ink: #0e1020;
  --hero-line-hover: #0e1020;
  --step-shadow: 0 0 46px -10px var(--c);
  --flag-bg: #fff;
  --flag-ink: #0e1020;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-line: rgba(255, 255, 255, 0.22);
}
[data-theme="night"] .hero h1 em {
  background: linear-gradient(95deg, #ff8fb0 0%, #b6a6ff 50%, #7fb0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="night"] .hero h1 em::after {
  display: none;
}
[data-theme="night"] .brand img {
  outline: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}
[data-theme="night"] .cta .box {
  background: #0e1020;
}
/* 暖橙主题：台阶顶边用暖黄渐进，避免蓝紫色和橙色背景撞色；已上线那级保留阶段色 */
[data-theme="bold"] .stairs li:nth-child(1) .step {
  border-top-color: #ffe7a3;
}
[data-theme="bold"] .stairs li:nth-child(2) .step {
  border-top-color: #ffda6b;
}
[data-theme="bold"] .stairs li:nth-child(4) .step {
  border-top-color: #ffc93c;
}
[data-theme="bold"] .stairs li:nth-child(5) .step {
  border-top-color: #ffb800;
}

/* ---------- hero image, stage chips, card images ---------- */
.hero h1 em {
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(14, 79, 59, 0.45);
}
.hero:has(.hero-media) {
  padding-bottom: 40px;
}
.hero:has(.hero-media) .hero-grid {
  align-items: center;
}
.hero:has(.hero-media) .hero-copy {
  padding-bottom: 0;
}
.stage-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 44px;
}
.stage-chips a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--c);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.stage-chips a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.3);
}
.stage-chips b {
  font-size: 16px;
}
.stage-chips small {
  font-size: 13px;
  color: var(--muted);
}
.stage-chips a.live small {
  color: var(--accent-ink);
  font-weight: 700;
}
.card {
  overflow: hidden;
}
.card .media {
  margin: -26px -26px 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}
.card.feature .media {
  margin: -32px -32px 10px;
}
.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .media img {
  transform: scale(1.04);
}
.spot-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 14px;
}
.stage-products .card .media {
  aspect-ratio: 5 / 2;
}
@media (max-width: 900px) {
  .stage-chips {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-media {
    margin-top: 36px;
  }
}
@media (max-width: 760px) {
  .stage-chips {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 32px;
  }
  .stage-chips a {
    padding: 10px 12px;
  }
  .card .media,
  .card.feature .media {
    margin: -26px -26px 8px;
  }
}

/* 绿黄白：LinkTo 的深绿 + 金黄，白底 */
[data-theme="green"] {
  --ink: #13201a;
  --ink-2: #3a4a42;
  --muted: #6b7a72;
  --paper: #ffffff;
  --soft: #f1f8f4;
  --line: #e3efe8;
  --accent: #0e4f3b;
  --accent-ink: #0e4f3b;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-ink: #13201a;
  --nav-current: #0e4f3b;
  --hero-bg: radial-gradient(640px 420px at 88% 30%, rgba(255, 200, 61, 0.22), transparent 70%),
    linear-gradient(180deg, #e6f4ec 0%, #f4faf6 100%);
  --hero-ink: #13201a;
  --hero-sub: #3a4a42;
  --hero-eyebrow: #0e4f3b;
  --hl-bar: #ffc83d;
  --hero-btn-bg: #0e4f3b;
  --hero-btn-ink: #fff;
  --chip-bg: #fff;
  --chip-line: #d6e9de;
}
[data-theme="green"] .nav a[aria-current="page"]::after {
  background: #ffc83d;
}
[data-theme="green"] .hero h1 em {
  color: #0e4f3b;
}
[data-theme="green"] .hero h1 em::after {
  opacity: 1;
  height: 0.22em;
}
[data-theme="green"] .card.soon {
  background: #fff;
  border-color: var(--line);
}
[data-theme="green"] .card.soon .badge {
  background: #fff4cc;
  color: #7a5c00;
}
[data-theme="green"] .principles div {
  border-top-color: #0e4f3b;
}
[data-theme="green"] .principles div::before {
  color: #b8860b;
}
[data-theme="green"] .cta .box {
  background: #0e4f3b;
}
[data-theme="green"] .cta .btn {
  background: #ffc83d;
  color: #13201a;
}
[data-theme="green"] .btn-dark:hover {
  background: #0a3c2d;
}
