:root {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --panel: rgba(17, 26, 43, 0.92);
  --panel-2: #16233a;
  --panel-3: #101a2c;
  --text: #e5edf8;
  --muted: #9fb0c7;
  --line: #26344d;
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #4da3ff;
  --accent-2: #7cc4ff;
  --accent-3: #bfe0ff;
  --success: #37c28b;
  --warning: #ffcc66;
  --danger: #ff8a8a;
  --danger-2: #ffb3b3;
  --code-bg: #0a1020;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(77, 163, 255, 0.15), transparent 22%),
    radial-gradient(circle at top left, rgba(55, 194, 139, 0.08), transparent 18%),
    linear-gradient(180deg, #0b1220 0%, #0d1425 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(77,163,255,0.22), rgba(124,196,255,0.08));
  border: 1px solid rgba(124,196,255,0.22);
  color: var(--accent-3);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

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

.hero {
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.hero-inner {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(77, 163, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.hero-card h2,
.panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 14px;
}

.hero p {
  margin: 0 0 18px;
  max-width: 900px;
  font-size: 18px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 17px;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button.primary {
  background: linear-gradient(180deg, #58abff, #3f94f0);
  color: white;
  box-shadow: 0 12px 28px rgba(77, 163, 255, 0.28);
}

.button.primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

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

.button.secondary:hover {
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}

.hero-card,
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card .inner,
.panel .inner {
  padding: 28px;
}

.pill-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pill {
  padding: 14px 16px;
  background: var(--panel-2);
  border-radius: 14px;
}

.pill .label,
.info-item .label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pill code {
  font-size: 14px;
  word-break: break-word;
}

.grid {
  display: grid;
  gap: 24px;
  margin: 36px 0 72px;
}

.grid.one {
  grid-template-columns: minmax(0, 1fr);
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

code {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 8px;
  color: #dce8f9;
  word-break: break-word;
}

code.inline {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d7e9ff;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.code-block {
  position: relative;
  margin-top: 18px;
}

.copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.copy-button:hover {
  background: rgba(255,255,255,0.10);
}

pre {
  margin: 0;
  background: var(--code-bg);
  color: #dce8f9;
  border-radius: 14px;
  padding: 22px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.step-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--text);
}

.step-list li {
  margin: 10px 0;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(55, 194, 139, 0.08);
  border: 1px solid rgba(55, 194, 139, 0.18);
  color: #bff2dd;
  font-size: 13px;
  font-weight: 700;
}

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 204, 102, 0.25);
  background: rgba(255, 204, 102, 0.07);
  border-radius: 14px;
  color: #ffe3a3;
  margin-top: 18px;
}

.notice strong {
  color: #fff1c7;
}

.subtle-section-title {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.os-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.os-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.path {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--panel-3);
  border: 1px solid var(--line);
  word-break: break-word;
}

.status-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 138, 0.24);
  background: rgba(255, 138, 138, 0.08);
  color: #ffd7d7;
}

.status-box strong {
  color: #fff0f0;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  padding: 16px 18px;
  background: var(--panel-2);
  border-radius: 14px;
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-inner,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    padding: 56px 0 36px;
  }

  .hero-card .inner,
  .panel .inner {
    padding: 22px;
  }

  .wrap {
    width: min(var(--maxw), calc(100% - 24px));
  }
}

@media (max-width: 720px) {
  .page .hero {
    padding: 48px 0 28px;
  }
}
