/* DataClaws r10a — VI tokens homepage */
:root {
  --graphite: #3B444D;
  --ink: #2C3640;
  --mist: #EAE8E9;
  --white: #FFFFFF;
  --grey-mid: #A9B0B7;
  --grey-deep: #6B7681;
  --line: #D8D6D7;
  --nav-muted: #C9CFD4;
  --hero-sub: #AEB6BD;
  --font-zh: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-en: Lato, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-zh);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

.en { font-family: var(--font-en); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== HERO SHELL ===== */
.site-hero {
  background: var(--graphite);
  color: var(--white);
  /* content-height shallow band — no 100vh empty graphite */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* ===== NAV ===== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav-brand img {
  width: 160px;
  height: auto;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--nav-muted);
  transition: color 0.15s;
}

.site-nav-links a:hover {
  color: var(--white);
}

.site-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.site-nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
}

/* ===== HERO BODY ===== */
.hero {
  /* content-sized compact stack — top-aligned, no vertical empty band */
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 66px 44px 74px;
  position: relative;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero-copy {
  flex: 1 1 50%;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--white);
}

.hero-sub {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--hero-sub);
  letter-spacing: 0.06em;
  line-height: 1.85;
  max-width: 540px;
}

.hero-ctas {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.92; }

.btn-solid {
  background: var(--white);
  color: var(--graphite);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-solid-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.hero-graphic {
  flex: 0 1 48%;
  width: min(500px, 48vw);
  max-width: 520px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
}

/* ===== MOBILE DRAWER ===== */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 100;
  flex-direction: column;
  padding: 88px 32px 40px;
  gap: 8px;
}

.nav-drawer:not([hidden]) {
  display: flex;
}

.nav-drawer a {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--nav-muted);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer a:hover { color: var(--white); }

body.nav-open { overflow: hidden; }

/* ===== SECTIONS ===== */
.section {
  padding: 88px 56px;
}

.section-mist { background: var(--mist); }
.section-white { background: var(--white); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--grey-deep);
  margin-bottom: 12px;
}

.section h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.lead {
  font-size: 15px;
  color: var(--grey-deep);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 40px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
}

.section-white .card {
  background: var(--mist);
  border-color: #DCDADA;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.card h3::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--graphite);
  margin-right: 10px;
  vertical-align: middle;
}

.card p {
  font-size: 13.5px;
  color: var(--grey-deep);
  line-height: 1.85;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-row li {
  padding: 14px 26px;
  border: 1px solid var(--graphite);
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.pill-row li span {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: var(--grey-deep);
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card.featured {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--white);
}

.price-card h3 {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--grey-deep);
}

.price-card.featured h3 { color: var(--grey-mid); }

.price-card .price {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price-card.featured .price { color: var(--white); }

.price-card .per {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-deep);
  margin-left: 4px;
}

.price-card.featured .per { color: var(--grey-mid); }

.price-card > p:not(.price) {
  font-size: 13.5px;
  color: var(--grey-deep);
  line-height: 1.7;
  flex: 1;
}

.price-card.featured > p:not(.price) { color: #C9CFD4; }

.price-card .btn { margin-top: 12px; align-self: flex-start; }

.price-card.featured .btn-solid-ink {
  background: var(--white);
  color: var(--graphite);
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: var(--grey-mid);
}

.footer-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 56px 40px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: 140px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--grey-deep);
  letter-spacing: 0.04em;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--grey-mid);
  margin-bottom: 10px;
  transition: color 0.15s;
}

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

.footer-legal {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 56px 36px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--grey-deep);
}

.footer-legal-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-legal-left {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
}

.footer-sep {
  margin: 0 10px;
  opacity: 0.5;
}

.footer-legal-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-legal-bottom a {
  color: var(--grey-mid);
  transition: color 0.15s;
}

.footer-legal-bottom a:hover { color: var(--white); }

.footer-beian::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23A9B0B7' d='M10 1L2 4v5c0 5 3.4 8.8 8 10 4.6-1.2 8-5 8-10V4l-8-3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-nav { padding: 18px 28px; }
  .site-nav-links { display: none; }
  .site-nav-toggle { display: flex; }
  .site-nav-brand img { width: 140px; }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 28px 64px;
    gap: 48px;
  }

  .hero h1 { font-size: 32px; }
  .hero-graphic { width: min(360px, 88vw); align-self: flex-end; }

  .section { padding: 64px 28px; }
  .card-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .footer-main,
  .footer-legal { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 12.5px; }
  .btn { padding: 12px 22px; font-size: 11px; }
  .section h2 { font-size: 24px; }
}

@media (min-width: 1400px) {
  .site-nav { padding: 22px 64px; }
  .hero { padding: 72px 64px 84px; }
  .hero h1 { font-size: 44px; }
  .hero-graphic { width: min(500px, 46vw); max-width: 520px; }
}
