:root {
  color-scheme: dark;
  --bg: #08111f;
  --panel: #0e1a2c;
  --panel-2: #111f34;
  --line: #233653;
  --text: #f4f7fb;
  --muted: #9eafc5;
  --blue: #58a9ff;
  --cyan: #67dcff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at 75% 0, #173f704f, transparent 30%), var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
code { font-family: "SFMono-Regular", Consolas, monospace; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 750; }
.brand img { border-radius: 10px; box-shadow: 0 8px 24px #2f91ff35; }
nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
nav a, .text-link, .button { transition: color .2s, background .2s, transform .2s, border-color .2s; }
nav a:hover, .text-link:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid #87c4ff;
  border-radius: 11px;
  background: #e8f3ff;
  color: #07111f;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); background: #fff; }
.button.small { padding: 8px 14px; }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.hero {
  min-height: 690px;
  padding-block: 92px 110px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 74px;
  align-items: center;
}
.eyebrow { margin: 0 0 15px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(52px, 6vw, 76px); line-height: .98; letter-spacing: -.06em; }
h1 span { color: var(--blue); }
.lead { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.actions > code { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: #c7d7e9; background: #0b1627; font-size: 12px; }
.note { margin: 18px 0 0; color: #75869d; font-size: 13px; }
.hero-shot { margin: 0; overflow: hidden; border: 1px solid #314765; border-radius: 20px; background: #0b1423; box-shadow: 0 38px 100px #0008, 0 0 60px #318fff18; transform: rotate(1.4deg); }
.hero-shot img { display: block; width: 100%; height: auto; }

.systems { padding-block: 110px; border-block: 1px solid var(--line); background: #0a1423; }
h2 { max-width: 760px; margin-bottom: 48px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.system-grid article, .feature-grid article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.system-grid article { min-height: 220px; padding: 27px; }
.system-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #4b80bb; border-radius: 12px; background: #122b48; color: var(--cyan); font-size: 17px; font-weight: 800; }
.system-grid h3 { margin: 42px 0 7px; font-size: 22px; }
.system-grid p, .feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.omarchy-note { margin: 30px 0 0; color: var(--muted); font-size: 15px; }
.omarchy-note a { color: var(--cyan); font-weight: 700; }

.features { padding-block: 120px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-grid article { padding: 30px; }
.feature-grid h3 { margin-bottom: 9px; font-size: 21px; }
.feature-grid code { color: #c9eaff; }

.closing { padding-block: 100px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing h2 { margin-bottom: 0; }
.closing .actions { margin: 0; }
.text-link { color: var(--muted); font-size: 14px; font-weight: 700; }
footer { padding-block: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #708198; font-size: 12px; }
#systems, #features { scroll-margin-top: 24px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding-block: 70px 90px; }
  .hero-copy { max-width: 700px; }
  .hero-shot { width: min(760px, 100%); transform: none; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { height: 68px; }
  nav > a:not(.button) { display: none; }
  .hero { padding-block: 56px 76px; }
  h1 { font-size: clamp(46px, 15vw, 64px); }
  .actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .actions > code { max-width: 100%; overflow-x: auto; }
  .systems, .features { padding-block: 82px; }
  .system-grid, .feature-grid { grid-template-columns: 1fr; }
  .closing { padding-block: 78px; align-items: flex-start; flex-direction: column; }
  footer { gap: 10px; flex-direction: column; }
}

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