:root {
  color-scheme: dark;
  --bg: #050816;
  --panel: rgba(12, 18, 38, 0.82);
  --text: #f7fbff;
  --muted: #9fb0ca;
  --soft: #c8d7ec;
  --line: rgba(133, 170, 255, 0.22);
  --cyan: #24e7ff;
  --green: #31f2a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(36, 231, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 85% 10%, rgba(49, 242, 166, 0.13), transparent 28rem),
    linear-gradient(135deg, #050816 0%, #071124 48%, #091b2a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(77, 125, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 125, 255, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4.6vw, 70px);
  border-bottom: 1px solid rgba(132, 182, 255, 0.18);
  background: rgba(5, 8, 22, 0.74);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
}

.brand::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(36, 231, 255, 0.6);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(36, 231, 255, 0.28), rgba(49, 242, 166, 0.12));
  box-shadow: 0 0 28px rgba(36, 231, 255, 0.26);
  color: var(--cyan);
  content: "T";
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 22px;
  color: var(--soft);
  font-size: 14px;
}

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

.console-link {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(36, 231, 255, 0.5);
  border-radius: 8px;
  background: rgba(36, 231, 255, 0.1);
  color: #eafaff;
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0 70px;
}

.hero {
  position: relative;
  padding: 42px clamp(24px, 4.4vw, 56px);
  border: 1px solid rgba(133, 170, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 24, 55, 0.92), rgba(5, 14, 32, 0.78)),
    radial-gradient(circle at 84% 18%, rgba(36, 231, 255, 0.16), transparent 24rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(36, 231, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06;
  text-wrap: balance;
  background: linear-gradient(120deg, #ffffff 0%, #dff8ff 44%, #89f7ff 76%, #ffffff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.22;
}

p,
dd,
.muted,
.doc p {
  color: var(--muted);
}

.hero p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 18px;
  color: var(--soft);
  font-size: clamp(16px, 1.6vw, 19px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
}

article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(133, 170, 255, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

dl {
  margin: 0;
}

dt {
  margin-top: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
}

dd {
  margin: 4px 0 0;
  color: #eef8ff;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.doc {
  max-width: 900px;
}

.doc h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.doc h2 {
  margin-top: 34px;
}

.doc > p,
.doc h2 + p {
  margin-top: 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  padding: 26px 20px 32px;
  border-top: 1px solid rgba(133, 170, 255, 0.18);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 0;
  }
}
