:root {
  color-scheme: dark;
  --bg: #07101d;
  --surface: rgba(14, 27, 47, 0.82);
  --surface-strong: #101f35;
  --line: rgba(166, 190, 229, 0.18);
  --text: #f6f8fc;
  --muted: #aab7cb;
  --blue: #4ea1ff;
  --violet: #8a6cff;
  --cyan: #61d9da;
  --success: #66d6a5;
  --warning: #ffd17a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(78, 161, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 88% 15%, rgba(138, 108, 255, 0.15), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 29, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07101d;
  background: linear-gradient(135deg, #7ec1ff, #8f7cff 60%, #7af0df);
  box-shadow: 0 12px 34px rgba(94, 148, 255, 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(126, 193, 255, 0.5);
}

.hero {
  padding: 92px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
}

.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(97, 217, 218, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
  color: #a8efea;
  background: rgba(97, 217, 218, 0.07);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(102, 214, 165, 0.11);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.gradient-text {
  background: linear-gradient(120deg, #72b9ff, #9c83ff 52%, #7be4da);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin: 20px 0 0;
  color: #8f9db2;
  font-size: 13px;
}

.console-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(18, 35, 60, 0.96), rgba(9, 20, 36, 0.94));
  box-shadow: var(--shadow);
}

.console-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 45%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(105, 120, 255, 0.16);
  filter: blur(45px);
}

.console-top,
.console-row,
.metric-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-top {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #46566f;
}

.window-dots span:first-child {
  background: #ff8585;
}

.window-dots span:nth-child(2) {
  background: #ffd176;
}

.window-dots span:last-child {
  background: #6ad6a8;
}

.console-list {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.console-row {
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(166, 190, 229, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.console-row strong,
.metric strong {
  display: block;
}

.console-row small,
.metric small {
  color: var(--muted);
}

.route-tag {
  border-radius: 999px;
  padding: 5px 9px;
  color: #9fe5df;
  background: rgba(97, 217, 218, 0.1);
  font-size: 12px;
}

.metric-row {
  margin-top: 18px;
}

.metric {
  flex: 1;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 12, 23, 0.45);
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: #8ebeff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-head p,
.card p,
.step p,
.legal-copy,
.prose p,
.prose li {
  color: var(--muted);
}

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

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}

.card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  color: #9ecaff;
  background: rgba(78, 161, 255, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #a9d1ff;
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flow-step;
}

.step {
  padding: 24px;
  border-top: 1px solid rgba(126, 193, 255, 0.5);
  background: linear-gradient(180deg, rgba(15, 31, 53, 0.65), transparent);
  counter-increment: flow-step;
}

.step::before {
  content: "0" counter(flow-step);
  display: block;
  margin-bottom: 30px;
  color: #7392b9;
  font-weight: 800;
}

.step h3 {
  font-size: 20px;
}

.notice {
  padding: 24px 26px;
  border: 1px solid rgba(255, 209, 122, 0.32);
  border-radius: 18px;
  background: rgba(255, 209, 122, 0.07);
  color: #ffe1a6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 750;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.apply-box {
  padding: 44px;
  border: 1px solid rgba(126, 193, 255, 0.3);
  border-radius: 30px;
  background:
    linear-gradient(130deg, rgba(78, 161, 255, 0.14), rgba(138, 108, 255, 0.12)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.apply-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.apply-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(5, 12, 23, 0.25);
  font-size: 13px;
}

.page-hero {
  padding: 72px 0 34px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(38px, 5vw, 62px);
}

.prose {
  max-width: 860px;
  padding-bottom: 80px;
}

.prose h2 {
  margin-top: 52px;
  font-size: 30px;
}

.prose h3 {
  margin-top: 32px;
  font-size: 21px;
}

.prose li + li {
  margin-top: 8px;
}

.code-block {
  overflow-x: auto;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #d5e8ff;
  background: #050b14;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: #8998ae;
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 68px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .apply-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

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

  .nav-links {
    gap: 8px;
  }

  .nav-links .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 52px 0 44px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .console-card,
  .card,
  .apply-box {
    padding: 20px;
    border-radius: 20px;
  }

  .metric-row,
  .footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 56px 0;
  }

  .steps,
  .apply-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
