:root {
  --ink: #102033;
  --muted: #5a6b7d;
  --faint: #8a97a6;
  --line: #dce3ee;
  --paper: #ffffff;
  --canvas: #f5f7fb;
  --brand: #3a4dff;
  --brand-deep: #2436d4;
  --mint: #14b8a6;
  --mint-ink: #0f766e;
  --warn: #b45309;
  --halt: #b42318;
  --halo: rgba(58, 77, 255, 0.14);
  --shadow: 0 22px 50px rgba(16, 32, 51, 0.08);
  --max: 1120px;
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(58, 77, 255, 0.12), transparent 60%),
    radial-gradient(720px 380px at 92% 6%, rgba(20, 184, 166, 0.1), transparent 58%),
    var(--canvas);
  font: 16px/1.65 system-ui, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(245, 247, 251, 0.78);
}

.mast.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.04);
}

.mast-inner,
.wrap,
.legal {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(58, 77, 255, 0.08);
  color: var(--brand-deep);
}

.nav .cta {
  margin-left: 0.35rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.nav .cta:hover {
  background: var(--brand-deep);
  color: #fff;
}

.stage {
  padding: 4.4rem 0 2.2rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--mint-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.pill.quiet {
  background: rgba(58, 77, 255, 0.1);
  color: var(--brand-deep);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

h3 {
  font-size: 1.08rem;
}

.lead,
.intro {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.notice {
  margin: 0 0 1.15rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.notice h3 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.notice.warn {
  border-color: #f3d2a4;
  background: #fff8ee;
}

.notice.halt {
  border-color: #f2c2be;
  background: #fff4f2;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px var(--halo);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #c5cee0;
  color: var(--brand-deep);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.kpi {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.kpi strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.kpi span {
  color: var(--muted);
  font-size: 0.86rem;
}

.product-frame {
  position: relative;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #eef2fb);
  box-shadow: var(--shadow);
}

.product-frame::before {
  content: "";
  display: block;
  width: 42%;
  height: 8px;
  margin: 0.15rem auto 0.7rem;
  border-radius: 999px;
  background: #d5dceb;
}

.product-frame img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.caption {
  margin: 0.65rem 0 0;
  color: var(--faint);
  font-size: 0.8rem;
  text-align: center;
}

.lane {
  padding: 2.6rem 0;
}

.lane.alt {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.lane-head {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.pitch {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.pitch-item {
  padding: 0.9rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.pitch-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
}

.pitch-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.grid-4,
.grid-2,
.os-grid,
.plan-grid,
.voice-grid {
  display: grid;
  gap: 0.9rem;
}

.grid-4,
.os-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2,
.voice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.tile,
.os-card,
.plan,
.voice {
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tile:hover,
.os-card:hover {
  box-shadow: var(--shadow);
}

a.tile {
  color: inherit;
  text-decoration: none;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tile p,
.os-card p,
.plan p,
.voice p {
  margin: 0;
  color: var(--muted);
}

.ticks {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.2rem;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mint);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.plan.featured {
  border-color: #c9d0ff;
  background:
    linear-gradient(180deg, rgba(58, 77, 255, 0.06), #fff 42%);
  box-shadow: var(--shadow);
}

.price {
  margin: 0.4rem 0 0.85rem;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.voice {
  background: #fbfcff;
}

.voice strong {
  display: block;
  margin-bottom: 0.4rem;
}

.faq details {
  margin-bottom: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-weight: 650;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f9fd;
  font-size: 0.82rem;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 0.08rem 0.3rem;
  border-radius: 6px;
  background: #eef2fb;
  font-size: 0.88em;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(58, 77, 255, 0.1);
  color: var(--brand-deep);
}

.crumb {
  margin: 0 0 0.8rem;
  color: var(--faint);
  font-size: 0.86rem;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.foot {
  margin-top: 1rem;
  padding: 2.6rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 1.4rem;
}

.foot h3 {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.foot p,
.foot li {
  color: var(--muted);
  font-size: 0.92rem;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li + li {
  margin-top: 0.32rem;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
}

body.is-locked {
  overflow: hidden;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.motion-ok [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 980px) {
  .stage-grid,
  .split,
  .plan-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .os-grid,
  .pitch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: fixed;
    inset: 72px 1rem auto;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .nav .cta {
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .stage {
    padding-top: 2.4rem;
  }

  .kpis,
  .grid-2,
  .voice-grid,
  .pitch,
  .grid-4,
  .os-grid {
    grid-template-columns: 1fr;
  }

  .legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  .motion-ok [data-reveal],
  .motion-ok [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
