:root {
  color-scheme: dark;
  --bg: #101925;
  --panel: #172333;
  --text: #f0f4f8;
  --muted: #b3c3d2;
  --accent: #8de3b4;
  --line: #34485b;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  color: var(--text);
  font-size: 0.95rem;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
  background: var(--bg);
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 10px;
}
section {
  padding: 72px 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.7rem);
  margin: 22px 0;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 750px;
  margin: 16px 0 30px;
}
h3 {
  font-size: 1.4rem;
}
.eyebrow,
.number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 4px 14px;
  font-size: 0.85rem;
  margin: 6px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  padding-top: 90px;
}
.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 600px;
}
.small,
figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}
.button {
  display: inline-flex;
  gap: 24px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 22px;
  margin: 16px 0;
}
.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 60px #0005;
}
.app-screenshot-link {
  display: block;
}
.app-screenshot-link:focus-visible {
  outline-offset: -4px;
}
.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
body.lightbox-open {
  overflow: hidden;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 76px 20px 24px;
  border: 0;
  background: transparent;
}
.image-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-lightbox::backdrop {
  background: rgb(5 10 18 / 92%);
}
.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  min-width: 88px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.lightbox-close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.lightbox-close:hover {
  border-color: var(--accent);
}
.preview-bar {
  padding: 15px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.preview-bar span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.panes {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 250px;
}
.terminal {
  background: #0b131e;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.pane-label {
  padding: 10px;
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
pre {
  padding: 12px;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--accent);
}
.desktop {
  background: linear-gradient(150deg, #243958, #18413b);
}
.mock-window {
  margin: 32px 15px;
  background: #182537;
  border: 1px solid #637890;
  border-radius: 7px;
  padding: 12px;
  height: 125px;
}
.mock-window span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 20px;
}
.mock-lines {
  height: 6px;
  background: #59738b;
  margin: 10px 0;
  border-radius: 2px;
}
.short {
  width: 60%;
}
figcaption {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.device-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  margin: 32px 0 20px;
}
.device-preview {
  min-width: 0;
}
.device-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(360px, 42vw, 540px);
  padding: 16px;
  background: #fafaf9;
}
.device-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.device-preview h3 {
  color: var(--text);
  margin: 4px 0 12px;
}
.device-preview p {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards article,
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.cards p,
.split p,
.closing p,
.prose p,
.prose li,
.prose dd {
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.closing {
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing h2 {
  margin-left: auto;
  margin-right: auto;
}
footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
footer p {
  width: 100%;
  margin: 0;
}
.prose {
  max-width: 780px;
  margin: auto;
}
.prose h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.prose h2 {
  font-size: 1.65rem;
  margin: 42px 0 16px;
}
.prose li {
  margin: 12px 0;
}
.prose dt {
  font-weight: 700;
  margin-top: 22px;
}
.prose dd {
  margin: 8px 0;
}
.prose a {
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .preview {
    max-width: 650px;
    width: 100%;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    gap: 30px;
  }
  pre {
    font-size: 0.82rem;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  nav {
    gap: 20px;
  }
  section {
    padding: 48px 0;
  }
  .hero {
    padding-top: 48px;
  }
  .cards,
  .split,
  .device-grid {
    grid-template-columns: 1fr;
  }
  .device-image {
    height: auto;
  }
  .device-image img {
    height: auto;
    max-height: 500px;
  }
  .panes {
    min-height: 230px;
  }
  pre {
    font-size: 0.65rem;
  }
  .mock-window {
    margin: 32px 10px;
  }
  .cards article {
    padding: 22px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
a {
  touch-action: manipulation;
}
.brand {
  min-height: 44px;
}
.button:hover {
  filter: brightness(1.08);
}
