:root {
  color-scheme: dark;
  --ink: #05080d;
  --ink-2: #07111d;
  --panel: rgba(9, 18, 29, 0.78);
  --line: rgba(132, 199, 255, 0.14);
  --line-strong: rgba(132, 199, 255, 0.28);
  --text: #edf7ff;
  --muted: #93a7ba;
  --faint: #63798e;
  --blue: #4da9f4;
  --blue-bright: #8dcfff;
  --green: #63d8a7;
  --amber: #e7bf71;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(116, 183, 239, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 183, 239, 0.026) 1px, transparent 1px),
    var(--ink);
  background-size: 76px 76px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

#orbit-field { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.fog { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fog i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .2; }
.fog i:nth-child(1) { width: 520px; height: 520px; right: -180px; top: 80px; background: #0b68bc; }
.fog i:nth-child(2) { width: 420px; height: 420px; left: -250px; top: 46%; background: #0c4b82; }
.fog i:nth-child(3) { width: 360px; height: 360px; right: 18%; bottom: -260px; background: #137fca; opacity: .12; }
header, main, footer { position: relative; z-index: 1; }

.topbar { height: 82px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid rgba(132, 199, 255, .08); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; }
.brand img { filter: drop-shadow(0 0 16px rgba(77, 169, 244, .2)); }
.topbar nav { display: flex; gap: 28px; margin-left: auto; }
.topbar nav a, .top-actions a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s ease; }
.topbar nav a:hover, .top-actions a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-actions .github-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; color: #cce9ff; background: rgba(14, 34, 52, .55); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; padding-block: 90px 80px; }
.kicker { margin: 0 0 18px; color: var(--blue-bright); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.kicker > span { display: inline-block; width: 22px; height: 1px; margin: 0 10px 3px 0; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.hero h1, h2 { margin: 0; letter-spacing: -.055em; line-height: .98; font-weight: 580; }
.hero h1 { max-width: 700px; font-size: clamp(62px, 7.2vw, 104px); }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(151, 211, 255, .72); text-shadow: 0 0 36px rgba(48, 140, 213, .18); }
.lede { max-width: 640px; margin: 34px 0 0; color: #a8bacb; font-size: 18px; line-height: 1.8; }
.lede code { color: #bee5ff; font-size: .87em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 700; }
.button.primary { border: 1px solid rgba(151, 215, 255, .35); background: linear-gradient(135deg, #146cba, #2698e9); box-shadow: 0 14px 46px rgba(26, 120, 204, .25); }
.button.ghost { border: 1px solid var(--line); color: #b7c9d8; background: rgba(9, 19, 30, .5); }
.trust-note { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: #71889c; font-size: 11px; }
.trust-note span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }

.hero-system { position: relative; width: min(440px, 36vw); aspect-ratio: 1; justify-self: end; }
.orbit-ring { position: absolute; inset: 50%; border: 1px solid rgba(112, 188, 247, .15); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-a { width: 35%; height: 35%; box-shadow: inset 0 0 40px rgba(45, 135, 209, .08), 0 0 40px rgba(45, 135, 209, .05); }
.ring-b { width: 67%; height: 67%; border-style: dashed; animation: spin 38s linear infinite; }
.ring-c { width: 98%; height: 98%; border-color: rgba(112, 188, 247, .09); animation: spin-reverse 55s linear infinite; }
.core-mark { position: absolute; inset: 50%; width: 118px; height: 118px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(125, 196, 255, .28); border-radius: 33px; background: radial-gradient(circle at 35% 25%, rgba(52, 145, 221, .23), rgba(6, 16, 26, .92)); box-shadow: 0 0 90px rgba(34, 133, 211, .18), inset 0 1px rgba(255,255,255,.05); }
.core-mark img { width: 64px; }
.satellite { position: absolute; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: #7891a8; background: rgba(6, 14, 23, .86); font: 9px/1 "SFMono-Regular", monospace; letter-spacing: .12em; }
.sat-a { left: 0; top: 49%; }.sat-b { right: 3%; top: 19%; }.sat-c { right: -2%; bottom: 17%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.section-title { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 44px; }
.section-title h2, .catalog h2, .distribution h2, .install h2 { font-size: clamp(40px, 5vw, 68px); }
.section-title.narrow { display: block; max-width: 730px; }
.section-title.narrow > p:last-child { max-width: 660px; margin: 26px 0 0; color: var(--muted); line-height: 1.8; }

.product { padding-block: 110px 150px; }
.product-frame { position: relative; margin: 0; padding: 12px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: rgba(8, 17, 27, .72); box-shadow: 0 50px 130px rgba(0,0,0,.43), 0 0 90px rgba(30, 121, 195, .08); }
.product-frame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.04), transparent 25%); }
.product-frame > img { display: block; width: 100%; min-height: 440px; object-fit: cover; object-position: top; border-radius: 18px; background: #08111b; }
.product-frame figcaption { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 25px; padding: 17px 12px 6px; }
.product-frame figcaption span { color: var(--blue); font: 10px "SFMono-Regular", monospace; letter-spacing: .16em; }
.product-frame figcaption strong { color: #bfd1e0; font-size: 12px; }.product-frame figcaption small { color: var(--faint); }

.catalog { padding-block: 100px 150px; }
.catalog-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
#catalog-status { max-width: 330px; margin: 0 0 7px; color: var(--faint); font-size: 12px; text-align: right; }
.catalog-toolbar { display: flex; align-items: center; gap: 20px; margin: 42px 0 20px; }
.catalog-toolbar label { flex: 1; }
.catalog-toolbar input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--text); background: rgba(7, 15, 24, .75); }
.catalog-toolbar input:focus { border-color: rgba(105, 187, 255, .5); box-shadow: 0 0 0 4px rgba(47, 145, 220, .1); }
.catalog-toolbar a { color: #9bcdf3; font-size: 12px; text-decoration: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plugin-card { position: relative; min-height: 245px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(12, 26, 41, .79), rgba(6, 13, 21, .9)); }
.plugin-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; top: -75px; border: 1px solid rgba(93, 178, 242, .1); border-radius: 50%; }
.plugin-node { display: block; width: 8px; height: 8px; margin-bottom: 35px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }.plugin-node.muted { background: #536c81; box-shadow: none; }
.plugin-card small { color: #6e8aa1; font: 9px "SFMono-Regular", monospace; letter-spacing: .14em; }
.plugin-card h3 { margin: 10px 0 12px; font-size: 22px; letter-spacing: -.03em; }.plugin-card p { min-height: 60px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.plugin-card > div { display: flex; gap: 6px; margin-top: 20px; }.plugin-card > div span { padding: 5px 8px; border-radius: 99px; color: #7090a8; background: rgba(71, 145, 201, .09); font-size: 10px; }

.safety { padding-block: 110px 160px; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); margin: 60px 0 24px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; background: rgba(7, 15, 24, .64); }
.pipeline li { position: relative; padding: 27px 22px; border-right: 1px solid var(--line); }.pipeline li:last-child { border: 0; }
.pipeline li:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 29px; z-index: 1; color: var(--blue); background: var(--ink); }
.pipeline span, .distribution-cards article > span, .install-command > span { display: block; color: var(--blue); font: 9px "SFMono-Regular", monospace; letter-spacing: .15em; }
.pipeline strong { display: block; margin: 14px 0 5px; font-size: 15px; }.pipeline small { color: var(--faint); font-size: 10px; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7, 15, 24, .64); }
.eyebrow { margin: 0; font: 10px "SFMono-Regular", monospace; letter-spacing: .14em; }.eyebrow.good { color: var(--green); }.eyebrow.caution { color: var(--amber); }
.safety-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 30px; margin: 24px 0 0; padding: 0; list-style: none; }
.safety-grid li { position: relative; padding-left: 15px; color: #91a7b9; font-size: 12px; line-height: 1.5; }.safety-grid li::before { content: "·"; position: absolute; left: 0; color: var(--blue); }

.distribution { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; padding-block: 120px 170px; }
.distribution > div:first-child > p:last-child { color: var(--muted); line-height: 1.8; }
.distribution-cards { display: grid; gap: 12px; }
.distribution-cards article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 17, 27, .74); }
.distribution-cards h3 { margin: 16px 0 8px; font-size: 22px; }.distribution-cards p { color: var(--muted); line-height: 1.6; }
.distribution-cards a { color: #99cef5; font-size: 12px; text-decoration: none; }.distribution-cards code { display: block; margin-top: 16px; padding: 13px; overflow-x: auto; border-radius: 10px; color: #afd9f8; background: rgba(2, 8, 14, .72); font-size: 10px; white-space: nowrap; }

.install { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 150px; padding: 64px; border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(circle at 85% 20%, rgba(23, 112, 184, .19), transparent 38%), rgba(7, 16, 26, .82); }
.install > div:first-child > p:last-child { color: var(--muted); line-height: 1.7; }
.install-command { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(2, 8, 14, .72); }
.install-command code { display: block; margin: 18px 0; overflow-x: auto; color: #c7e8ff; font-size: 11px; white-space: nowrap; }.install-command a { color: #8cc8f5; font-size: 11px; text-decoration: none; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; min-height: 130px; border-top: 1px solid rgba(132, 199, 255, .08); color: var(--faint); font-size: 11px; }
footer > div:last-child { display: flex; gap: 20px; }footer a { color: #849bad; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .topbar nav { display: none; }.topbar { gap: 18px; }.top-actions { margin-left: auto; }.top-actions > a:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 100px 70px; }.hero-system { width: min(390px, 82vw); justify-self: center; margin-top: 30px; }
  .section-title, .catalog-heading { display: block; }.section-title h2, .catalog h2, .distribution h2, .install h2 { font-size: 45px; }
  #catalog-status { margin-top: 20px; text-align: left; }.catalog-grid { grid-template-columns: 1fr 1fr; }.plugin-card:last-child { grid-column: 1 / -1; }
  .pipeline { grid-template-columns: 1fr; }.pipeline li { border-right: 0; border-bottom: 1px solid var(--line); }.pipeline li:not(:last-child)::after { content: "↓"; right: 28px; top: auto; bottom: -8px; }
  .safety-grid, .distribution, .install { grid-template-columns: 1fr; }.distribution { gap: 45px; }.install { padding: 38px; gap: 35px; }
  footer { grid-template-columns: 1fr; gap: 12px; padding-block: 35px; }
}

@media (max-width: 560px) {
  body { background-size: 56px 56px; }
  .brand span { font-size: 13px; }.github-link { font-size: 11px !important; }
  .hero { padding-top: 74px; }.hero h1 { font-size: 54px; }.lede { font-size: 15px; }.hero-system { width: 88vw; }
  .satellite { display: none; }.core-mark { width: 92px; height: 92px; }.core-mark img { width: 50px; }
  .product, .catalog, .safety, .distribution { padding-block: 80px; }.section-title h2, .catalog h2, .distribution h2, .install h2 { font-size: 38px; }
  .product-frame { padding: 7px; border-radius: 18px; }.product-frame > img { min-height: 220px; }.product-frame figcaption { grid-template-columns: 1fr; gap: 5px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }.catalog-grid { grid-template-columns: 1fr; }.plugin-card:last-child { grid-column: auto; }
  .safety-grid { grid-template-columns: 1fr; }.safety-grid ul { grid-template-columns: 1fr; }.install { width: calc(100% - 20px); padding: 28px; margin-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
