:root {
  --brand: #00aeef;
  --brand-deep: #0094cb;
  --brand-ink: #0077a8;
  --brand-soft: #e8f7fd;
  --brand-mist: #f3fbfe;
  --ink: #10212b;
  --ink-soft: #4d6470;
  --line: #d7e6ee;
  --canvas: #f7fbfd;
  --surface: #ffffff;
  --footer: #0b1c24;
  --ok: #1a8f5a;
  --wait: #c47b14;
  --shadow: 0 18px 48px rgb(0 174 239 / 0.12);
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% -8%, rgb(0 174 239 / 0.16), transparent 38%),
    radial-gradient(circle at 92% 8%, rgb(0 174 239 / 0.1), transparent 32%),
    var(--canvas);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(215 230 238 / 0.8);
  background: rgb(247 251 253 / 0.88);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 28px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img,
.hero-mark,
.ledger-brand img,
.section-kicker img,
.cta-mark,
.footer-brand img {
  flex-shrink: 0;
  object-fit: contain;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 700;
}

.brand-copy span {
  font-size: 12px;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

.nav a:hover {
  color: var(--brand-ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--brand-deep);
  color: #fff !important;
}

.menu-toggle,
.nav-check {
  display: none;
}

.hero {
  padding: 28px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 44px 0 40px;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-mark {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 16px 28px rgb(0 174 239 / 0.28));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
}

.section-kicker {
  margin-bottom: 12px;
}

.section-kicker img {
  width: 22px;
  height: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 34em;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgb(0 174 239 / 0.28);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.hint {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.preview {
  position: relative;
}

.preview-glow {
  position: absolute;
  inset: -18% -8% auto;
  height: 70%;
  background: radial-gradient(circle, rgb(0 174 239 / 0.22), transparent 68%);
  pointer-events: none;
}

.ledger {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.ledger-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ledger-brand img {
  width: 36px;
  height: 36px;
}

.ledger-brand b,
.ledger-brand span {
  display: block;
}

.ledger-brand b {
  font-size: 15px;
}

.ledger-brand span,
.ledger-store {
  color: var(--ink-soft);
  font-size: 13px;
}

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  padding: 14px 14px 12px;
  background: var(--brand-mist);
  border-radius: 16px;
}

.kpi small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  color: var(--brand-ink);
}

.rows {
  display: grid;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.row span:last-child {
  font-variant-numeric: tabular-nums;
}

.tag {
  min-width: 52px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

.tag-ok {
  color: var(--ok);
}

.tag-wait {
  color: var(--wait);
}

.channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.channels-label {
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn:focus-visible,
.nav a:focus-visible,
.menu-toggle:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 24em;
  margin-bottom: 36px;
}

.section-kicker {
  margin-bottom: 12px;
}

.section-head p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.features {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.feature-index {
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  padding-top: 2px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 650;
}

.feature p {
  margin: 0;
  max-width: 42em;
  color: var(--ink-soft);
  line-height: 1.8;
}

.band {
  background:
    linear-gradient(180deg, rgb(0 174 239 / 0.06), rgb(0 174 239 / 0.02)),
    var(--brand-mist);
}

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

.role {
  min-height: 100%;
  padding: 24px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.role h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.role p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.cta {
  padding: 24px 0 88px;
}

.cta-card {
  text-align: center;
  padding: 56px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cta-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.cta-brand {
  margin: 0 0 10px;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 700;
}

.cta .actions {
  justify-content: center;
}

.cta .lead {
  margin-inline: auto;
}

footer {
  background: var(--footer);
  color: #e7f4fa;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 36px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: #9bb8c6;
  font-size: 13px;
}

.footer-col p {
  margin: 0 0 12px;
  color: #9bb8c6;
  font-size: 13px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 0 24px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: #9bb8c6;
  font-size: 13px;
}

@media (max-width: 767px) {
  .wrap {
    width: min(100% - 24px, var(--wrap));
  }

  .topbar-inner {
    min-height: 64px;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 64px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 4px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav-check:checked ~ .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-check:checked ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-check:checked ~ .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid,
  .roles,
  .footer-main,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
    padding: 28px 0 20px;
  }

  .hero-mark {
    width: 64px;
    height: 64px;
  }

  .feature-index {
    padding-top: 0;
  }

  .actions {
    flex-direction: column;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .cta {
    padding: 8px 0 56px;
  }

  .cta-card {
    padding: 36px 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid,
  .roles,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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