:root {
  --night: #000222; --sheet: #100E3C; --glass: rgba(12, 10, 48, 0.62); --line: rgba(255, 255, 255, 0.2);
  --text: #ffffff; --soft: #c9ddee; --link: #bfe3fb; --shell: #f2c9b8; --navy: #0a2540;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0; color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--night) url(stars.svg) center top / 1000px auto repeat-y;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #000222 0%, #05063a 42%, #12104f 74%, #2a1468 90%, #7a2f95 100%);
}
a { color: var(--link); }
a:hover { color: #fff; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: #fff; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; padding-block: 28px 40px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
.hero .tag { font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--shell); font-weight: 700; margin: 0 0 14px; }
.hero p { color: var(--soft); font-size: 1.08rem; max-width: 34em; margin: 0 0 20px; }
.hero img { width: 100%; height: auto; display: block; max-width: 460px; justify-self: center; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); font-weight: 800; border-radius: 999px; padding: 11px 20px; }
.soon img { width: auto; height: 26px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block: 8px 34px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: 20px; backdrop-filter: blur(6px); }
.card .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--soft); font-size: 0.98rem; }
.aiah { display: flex; gap: 18px; align-items: center; background: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; margin-bottom: 34px; }
.aiah h2 { margin: 0 0 4px; font-size: 1.2rem; }
.aiah p { margin: 0; color: var(--soft); }
.aiah img { width: 28px; height: auto; flex: none; }
.fine { color: var(--soft); font-size: 0.85rem; max-width: 46em; margin: 0 0 8px; }
footer { border-top: 1px solid var(--line); margin-top: 28px; padding-block: 22px 40px; color: var(--soft); font-size: 0.92rem; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.doc { max-width: 760px; padding-block: 8px 20px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 12px 0 4px; line-height: 1.1; }
.doc .meta { color: var(--soft); font-size: 0.9rem; margin: 0 0 22px; }
.doc h2 { font-size: 1.2rem; margin: 30px 0 6px; scroll-margin-top: 16px; }
.doc p { margin: 0 0 12px; color: #e7f0f8; }
.doc ul, .doc ol { color: #e7f0f8; padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.toc { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 12px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.6em; columns: 2; column-gap: 28px; font-size: 0.92rem; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.back { display: inline-block; margin-top: 4px; text-decoration: none; }
.bare { min-height: 100vh; display: flex; flex-direction: column; }
.orbit { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 32px; gap: 8px; }
.orbit img { width: min(78vw, 440px); height: auto; }
.orbit h1 { font-size: clamp(1.6rem, 5.4vw, 2.6rem); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
.bare footer { border-top: 0; margin-top: 0; padding-block: 8px 24px; text-align: center; font-size: 0.8rem; opacity: 0.7; }
.bare footer nav { justify-content: center; gap: 16px; margin-bottom: 0; }
.bare footer a { color: var(--soft); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero img { max-width: 340px; order: -1; }
  .cards { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
