:root {
  color-scheme: dark;
  --bg: #070b12;
  --text: #e7eef8;
  --muted: #93a4b8;
  --line: rgba(148, 163, 184, 0.28);
  --cyan: #7dd3fc;
  --cyan-strong: #38bdf8;
  --green: #4ade80;
  --ink: #071018;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(56, 189, 248, 0.08), transparent 46%),
    var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--cyan); }

a:hover { color: #e0f2fe; }

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

#graph {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#graph-fallback {
  position: absolute;
  inset: 0 0 240px 0;
  z-index: 1;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.06em;
  pointer-events: none;
}

#graph-fallback[hidden] { display: none; }

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 8vw 56px;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 18, 0.15) 0%,
    rgba(7, 11, 18, 0.05) 42%,
    rgba(7, 11, 18, 0.82) 78%,
    rgba(7, 11, 18, 0.94) 100%
  );
  pointer-events: none;
}

.hero-overlay a { pointer-events: auto; }

.kicker,
.section-kicker,
.card-kicker {
  margin: 0 0 10px;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.live {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  vertical-align: middle;
}

h1, h2, h3 { font-weight: 650; letter-spacing: 0.01em; }

h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.positioning,
.placeholder {
  max-width: 36em;
  color: var(--muted);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.positioning { margin: 14px 0 0; font-size: 18px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.cta {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid transparent;
  background: var(--cyan-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.cta:hover { background: #7dd3fc; color: var(--ink); }

.cta-ghost {
  background: rgba(7, 11, 18, 0.45);
  border-color: var(--line);
  color: var(--text);
}

.cta-ghost:hover {
  border-color: var(--cyan-strong);
  background: rgba(15, 23, 36, 0.8);
  color: var(--text);
}

.panel {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px;
  scroll-margin-top: 24px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
}

.product-card {
  display: block;
  max-width: 420px;
  margin-top: 18px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent 42%),
    #0c121b;
  color: inherit;
  text-decoration: none;
}

.product-card h3 { margin: 0 0 8px; font-size: 28px; }

.product-card p { margin: 0; color: var(--muted); }

.card-go {
  display: inline-block;
  margin-top: 16px;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.product-card:hover { border-color: var(--cyan-strong); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  padding: 28px 8vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p { margin: 0; }

@media (max-width: 767px) {
  .hero,
  .hero-overlay { min-height: 70vh; }
  #graph-fallback { inset: 0 0 220px 0; }
  .panel { padding: 48px 20px; }
  h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .live { box-shadow: none; }
}
