@font-face {
  font-family: Geist;
  src: url("assets/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #0b101d;
  --panel: #131d31;
  --line: #293550;
  --text: #f2f5ff;
  --muted: #aebbd3;
  --blue: #7599ff;
  --action: #91acff;
  --online: #7cdeb4;
  font-family: Geist, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--base);
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--action); outline-offset: 5px; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 30px; }

.container { width: min(1200px, 100% - 112px); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; transform: translateY(-150%); background: var(--panel); z-index: 2; padding: 8px 14px; }
.skip-link:focus { transform: none; }

.header { border-bottom: 1px solid #222d45; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 19px; font-weight: 700; letter-spacing: -.045em; }
.mark {
  width: 18px;
  height: 18px;
  --tile: linear-gradient(var(--blue), var(--blue));
  background: var(--tile) 0 0, var(--tile) 0 100%, var(--tile) 100% 0, var(--tile) 100% 100%;
  background-size: 7px 7px;
  background-repeat: no-repeat;
}
.header nav { display: flex; gap: 40px; color: var(--muted); font-size: 14px; }
.header nav a:hover, .footer > a:last-child:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.button:hover { border-color: var(--blue); background: #202f50; }
.button.primary { min-height: 50px; padding-inline: 18px; background: var(--action); border-color: var(--action); color: #0a1229; }
.button.primary:hover { background: #b2c5ff; border-color: #b2c5ff; }
.external-icon { display: inline-block; position: relative; width: 12px; height: 12px; }
.external-icon::before, .external-icon::after { content: ""; position: absolute; }
.external-icon::before { inset: 1px 1px auto auto; width: 7px; height: 7px; border-right: 1px solid; border-top: 1px solid; }
.external-icon::after { top: 5px; left: 0; width: 12px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.download-icon { display: inline-block; position: relative; width: 16px; height: 15px; border-bottom: 1.5px solid; }
.download-icon::before, .download-icon::after { content: ""; position: absolute; }
.download-icon::before { width: 1.5px; height: 9px; left: 7.25px; top: 0; background: currentColor; }
.download-icon::after { width: 6px; height: 6px; left: 4.7px; top: 3px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse 55% 84% at 75% 66%, #182847 0%, transparent 83%);
}
.hero-inner { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(28px, 4.5vw, 76px); padding-block: clamp(70px, 8.4vw, 124px); }
.hero-copy { position: relative; z-index: 1; }
.platform { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 14px; font-weight: 600; }
.platform-line { width: 22px; height: 2px; background: currentColor; }
.hero h1 { margin-block: 16px 22px; font-size: clamp(45px, 6.4vw, 94px); line-height: .98; font-weight: 660; letter-spacing: -.077em; }
.hero-copy > p:nth-of-type(2) { max-width: 38ch; color: var(--muted); font-size: clamp(15px, 1.5vw, 19px); }
.hero .primary { margin-top: 30px; }
.console { position: relative; min-width: 0; }
.console::after {
  position: absolute;
  content: "";
  z-index: 0;
  inset: 22px -22px -22px 22px;
  border: 1px solid #385680;
  border-radius: 7px;
  background: repeating-linear-gradient(0deg, transparent 0 23px, #83a7ff13 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #83a7ff13 23px 24px);
}
.console-frame { position: relative; z-index: 1; overflow: hidden; border: 1px solid #586d99; border-radius: 7px; background: #101729; box-shadow: 0px 14px 45px #070b1670; }
.console-top { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-bottom: 1px solid #344464; color: #d5def2; font-size: 12px; }
.console-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.console-platform { margin-left: auto; color: var(--muted); }
.console img { width: 100%; height: auto; aspect-ratio: 1.83; object-fit: cover; }

.status-shell { border-block: 1px solid var(--line); background: #101829; }
.status { display: grid; grid-template-columns: repeat(3, 1fr); }
.status-item { min-width: 0; padding: 24px 26px 24px 0; }
.status-item + .status-item { border-left: 1px solid var(--line); padding-left: clamp(19px, 3vw, 44px); }
.status dt { font-size: 14px; color: #c2cde2; }
.status dd:not(.status-detail) { margin-block: 3px 6px; font-size: clamp(21px, 3vw, 33px); font-weight: 640; font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.status dd a:hover { color: var(--action); }
.status-detail { color: var(--muted); font-size: 13px; }
.status-dot { display: inline-block; border-radius: 50%; width: 8px; height: 8px; background: #71819f; margin-right: 4px; }
.status-dot[data-available="true"] { background: var(--online); box-shadow: 0 0 0 3px #7cdeb427; }

.features { padding-block: clamp(64px, 8vw, 115px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 31px; }
.section-heading h2 { font-size: clamp(33px, 4.5vw, 56px); font-weight: 630; line-height: 1.03; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.feature { min-width: 0; background: #111829; padding: 25px 22px 27px; }
.feature h3 { font-size: 18px; line-height: 1.23; font-weight: 650; letter-spacing: -.035em; margin-block: 14px 9px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature-icon { display: inline-flex; width: 34px; height: 27px; align-items: center; justify-content: center; color: var(--blue); }
.feature-icon i { display: block; }
.swatches { align-items: center; padding-right: 4px; gap: 3px; }
.swatches i { height: 20px; width: 8px; border: 1px solid currentColor; border-radius: 1px; transform: skewX(-12deg); }
.swatches i:nth-child(2) { background: color-mix(in srgb, currentColor 45%, transparent); }
.swatches i:nth-child(3) { background: currentColor; }
.toast { flex-direction: column; align-items: start; gap: 4px; }
.toast i { width: 28px; height: 8px; border: 1px solid currentColor; border-left-width: 5px; border-radius: 2px; }
.toast i:last-child { opacity: .55; width: 21px; }
.modules { display: grid; grid-template-columns: repeat(2, 10px); grid-template-rows: repeat(2, 10px); justify-content: start; align-content: center; gap: 3px; }
.modules i { width: 10px; height: 10px; border: 1px solid currentColor; }
.modules i:nth-child(2) { background: currentColor; }
.meter { gap: 3px; justify-content: start; align-items: end; padding-bottom: 2px; }
.meter i { background: currentColor; width: 3px; height: 8px; }
.meter i:nth-child(2) { height: 12px; }
.meter i:nth-child(3) { height: 17px; }
.meter i:nth-child(4) { height: 22px; }

.download { border-block: 1px solid var(--line); background: #101829; }
.download-inner { padding-block: clamp(54px, 7vw, 95px); }
.download-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(24px, 6vw, 84px); align-items: start; }
.release-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.release-brand { width: 100%; height: auto; aspect-ratio: 3.4; object-fit: cover; }
.release-info { padding: 23px 24px 24px; }
.release-info h3, .install h3 { font-size: 24px; line-height: 1.2; font-weight: 650; letter-spacing: -.045em; }
.release-info p { color: var(--muted); font-size: 14px; margin-block: 7px 19px; }
.release-card:not([data-state="ready"]) .download-icon { display: none; }
details:not([hidden]) { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; }
summary { width: fit-content; cursor: pointer; }
details code { display: block; overflow-wrap: anywhere; margin-top: 8px; }
.install { padding: 7px 0 0; }
.install ol { margin: 18px 0 0; padding-left: 1.25em; }
.install li { padding: 11px 0 11px 6px; color: var(--muted); border-bottom: 1px solid var(--line); }
.install li:first-child { border-top: 1px solid var(--line); }
.install li::marker { color: var(--blue); font-size: 14px; font-weight: 650; }
.install li span { color: var(--text); font-weight: 600; }
.install code { font-size: .9em; color: var(--text); }
.footer { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; color: var(--muted); }
.footer .brand { color: var(--text); }
.footer > a:last-child { font-size: 14px; }
.footer .external-icon { margin-left: 4px; }

@media (max-width: 1000px) {
  .container { width: min(100% - 72px, 1200px); }
  .hero h1 { font-size: clamp(44px, 6.5vw, 69px); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 1200px); }
  .header-inner { min-height: 65px; gap: 16px; }
  .header nav { gap: 18px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 52px 62px; gap: 40px; }
  .hero h1 { font-size: clamp(56px, 11vw, 84px); }
  .console { margin-right: 12px; max-width: 590px; }
  .console::after { inset: 12px -12px -12px 12px; }
  .status-item { padding: 19px 12px 19px 0; }
  .status-item + .status-item { padding-left: 12px; }
  .status-detail { font-size: 12px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading p { margin-top: 10px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 13px 10px; row-gap: 9px; }
  .header nav { order: 3; width: 100%; }
  .header nav a { display: block; padding: 6px 0; }
  .status { grid-template-columns: repeat(2, 1fr); }
  .status-item.compatibility { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .feature { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
