/* adonistudio.com. One light page in the style of a product site: a framed
   column with hairline rules, numbered strips, cells with UI mockups. */

:root {
  --bg: #ffffff;
  --frame: #f0f0f3;
  --line: #e8e8ec;
  --line-strong: #d9d9e0;
  --ink: #1c2024;
  --text: #60646c;
  --muted: #8b8d98;
  --soft: #f9f9fb;
  --softer: #fcfcfd;
  --brand: #5a45ff;
  --brand-ink: #4331e0;
  --brand-soft: #efedff;
  --ok: #1a9a5c;
  --ok-soft: #e6f6ee;
  --warn: #b57a06;
  --danger: #d23f3f;
  --night: #0a0918;
  --night-2: #13122a;
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: 56px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

code,
.mono {
  font-family: var(--mono);
}

/* ---------- frame ---------- */

.frame {
  max-width: 1216px;
  margin: 0 auto;
  border-inline: 1px solid var(--frame);
  position: relative;
}

.rule {
  border-top: 1px solid var(--frame);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--frame);
}

.nav-inner {
  max-width: 1216px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}

.brand-mark svg {
  width: 17px;
  height: 17px;
}

.brand small {
  font: 500 11px/1 var(--mono);
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 8px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font: 500 14px/1 var(--font);
  white-space: nowrap;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.1s;
  cursor: pointer;
  border: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn-dark {
  background: #0b0b10;
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.btn-dark:hover {
  background: #26262e;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 1px 2px rgb(0 0 0 / 0.06);
}

.btn-light:hover {
  background: var(--soft);
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 104px var(--gutter) 88px;
  overflow: hidden;
}

/* The dot grid fades out towards the showcase; the content above it does not. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(28 32 36 / 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(#000 55%, transparent);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-wrap {
  position: relative;
}

.hero-wrap::before {
  content: '';
  position: absolute;
  inset: 40px 10% auto;
  height: 380px;
  background:
    radial-gradient(40% 60% at 30% 40%, rgb(90 69 255 / 0.16), transparent 70%),
    radial-gradient(35% 55% at 72% 55%, rgb(0 106 255 / 0.1), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1 var(--mono);
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgb(26 154 92 / 0.15);
}

h1 {
  margin: 24px auto 0;
  max-width: 14ch;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero p.lead {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--text);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- product showcase ---------- */

.showcase {
  position: relative;
}

.show-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--frame);
  margin-inline: 24px;
  border-inline: 1px solid var(--frame);
}

.show-tab {
  position: relative;
  text-align: left;
  padding: 16px 16px 16px 16px;
  background: none;
  border: 0;
  font: 500 14px/1.2 var(--font);
  color: var(--muted);
  cursor: pointer;
  border-right: 1px solid var(--frame);
  transition: color 0.15s;
}

.show-tab:last-child {
  border-right: 0;
}

.show-tab span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.show-tab:hover {
  color: var(--ink);
}

.show-tab[aria-selected='true'] {
  color: var(--ink);
}

.show-tab[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

.show-stage {
  position: relative;
  margin: 0 24px;
  padding: 24px 24px 0;
  border-inline: 1px solid var(--frame);
  height: 560px;
  overflow: hidden;
  mask-image: linear-gradient(#000 78%, transparent);
}

.show-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 45% at 50% 0%, rgb(90 69 255 / 0.1), transparent 75%);
  pointer-events: none;
}

.show-panel {
  display: none;
}

.show-panel.is-active {
  display: block;
  animation: rise 0.35s ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- the Studio window mock ---------- */

.win {
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 24px 60px -24px rgb(28 32 36 / 0.25),
    0 2px 6px rgb(28 32 36 / 0.05);
  overflow: hidden;
  font-size: 13px;
  text-align: left;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--softer);
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.win-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}

.win-app .brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.win-app .brand-mark svg {
  width: 12px;
  height: 12px;
}

.win-nav {
  display: flex;
  gap: 16px;
  color: var(--text);
  font-size: 12.5px;
  margin-left: 12px;
}

.win-body {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 520px;
}

.win-side {
  border-right: 1px solid var(--line);
  padding: 12px 0;
  color: var(--text);
  font-size: 12.5px;
}

.win-side .ws {
  padding: 4px 16px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.win-side .ws small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.win-side .ws b {
  color: var(--ink);
  font-weight: 500;
}

.win-side a {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px;
}

.win-side a.on {
  color: var(--brand);
}

.win-side a em {
  font: 11px var(--mono);
  color: var(--muted);
  font-style: normal;
}

.win-main {
  padding: 18px 22px;
  min-width: 0;
}

/* breadcrumb of switchers */
.crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--text);
}

.crumbs .c {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
}

.crumbs .c:last-child {
  color: var(--ink);
}

.crumbs .sep {
  width: 6px;
  height: 14px;
  background: linear-gradient(to top right, transparent calc(50% - 0.75px), #c9c9d0 calc(50% - 0.75px) calc(50% + 0.75px), transparent 0);
  margin: 0 6px;
}

.crumbs .ud {
  width: 10px;
  color: var(--muted);
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: #fff;
}

.swatch::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--sw, #2f6bff);
}

.logo-tile {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: var(--tile, #0f766e);
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-title .logo-tile {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 15px;
}

.page-title span {
  color: var(--muted);
  font-weight: 400;
}

.page-meta {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  color: var(--text);
  font-size: 12px;
}

.chip {
  font: 11.5px var(--mono);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--line-strong);
  background: #fff;
  white-space: nowrap;
}

.ui-btn.dark {
  background: #16171a;
  color: #fff;
  box-shadow: none;
}

.ui-btn.brand {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.ui-tabs {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  font-size: 12.5px;
}

.ui-tabs span {
  padding-bottom: 10px;
}

.ui-tabs span.on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.ui-h {
  font-weight: 600;
  font-size: 13.5px;
  margin: 16px 0 10px;
}

.env-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.env-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  min-width: 0;
}

.env-card .top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.env-card .top .badge {
  margin-left: auto;
}

.env-card .row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  white-space: nowrap;
}

.badge.busy {
  background: #fdf4e3;
  color: var(--warn);
}

.badge.neutral {
  background: var(--soft);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.badge.orange {
  background: #fff1e6;
  color: #c2560b;
}

.list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.list .li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  min-width: 0;
}

.list .li:last-child {
  border-bottom: 0;
}

.list .li b {
  color: var(--ink);
  font-weight: 500;
}

.list .li .right {
  margin-left: auto;
  color: var(--muted);
}

.tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.tick svg {
  width: 10px;
  height: 10px;
}

.tick.run {
  background: none;
  border: 2px solid var(--brand);
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}

.tick.wait {
  background: none;
  border: 1.5px solid var(--line-strong);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.bar {
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: var(--brand);
  border-radius: inherit;
}

/* stack cards (Create) */
.stack {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 18px;
  margin-top: 14px;
}

.group-label {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 14px 0 8px;
}

.group-label:first-child {
  margin-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.scard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  font-size: 12px;
  min-width: 0;
}

.scard b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12.5px;
}

.scard b svg {
  width: 14px;
  height: 14px;
}

.scard p {
  margin-top: 4px;
  color: var(--text);
  line-height: 1.35;
}

.scard.on {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(90 69 255 / 0.12);
}

.lineup {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--softer);
}

.lineup .li2 {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  color: var(--text);
}

.lineup .li2 b {
  color: var(--ink);
  font-weight: 500;
}

/* charts (Run) */
.controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.seg {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  font-size: 11.5px;
}

.seg span {
  padding: 5px 9px;
  color: var(--text);
  border-right: 1px solid var(--line);
}

.seg span:last-child {
  border-right: 0;
}

.seg span.on {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-soft);
}

.charts {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  overflow: hidden;
  background: #fff;
}

.charts .ch-head {
  padding: 9px 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.charts .ch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.chart {
  padding: 10px 12px 8px;
  min-width: 0;
}

.chart + .chart {
  border-left: 1px solid var(--line);
}

.chart .t {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.chart .t em {
  font-style: normal;
  font-weight: 500;
  color: var(--text);
}

.plot {
  position: relative;
  height: 110px;
  margin-top: 8px;
  border-block: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgb(0 0 51 / 0.05) 0 1px, transparent 1px 8px);
}

.plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.plot .axis {
  position: absolute;
  left: 0;
  font: 10.5px var(--mono);
  color: var(--muted);
  background: #fff;
  padding-right: 2px;
}

/* logs */
.log {
  font: 11.5px/1.75 var(--mono);
  color: var(--text);
}

.log div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log .lv-info {
  color: #0b5e9e;
}

.log .lv-warn {
  color: var(--warn);
}

.log .lv-err {
  color: var(--danger);
}

.log .ts {
  color: var(--muted);
}

/* ---------- numbered strips ---------- */

.strip {
  display: grid;
  grid-template-columns: 52px auto 1fr 52px;
  align-items: stretch;
  height: 40px;
  border-block: 1px solid var(--frame);
  margin-top: -1px;
  font: 500 12px/1 var(--mono);
}

.strip > * {
  display: flex;
  align-items: center;
}

.strip .n {
  justify-content: center;
  color: var(--muted);
  border-right: 1px solid var(--frame);
}

.strip .l {
  padding-left: 20px;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.strip .c {
  justify-content: flex-end;
  padding: 0 20px;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
}

.strip .c a:hover {
  color: var(--ink);
}

.strip .h {
  border-left: 1px solid var(--frame);
  background: repeating-linear-gradient(-45deg, var(--frame) 0 1px, transparent 1px 7px);
}

/* ---------- sections ---------- */

.section-head {
  padding: 88px var(--gutter) 64px;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 20ch;
}

.section-head p {
  margin-top: 18px;
  max-width: 620px;
  font-size: 17px;
  color: var(--text);
}

.section-head p strong {
  color: var(--ink);
  font-weight: 500;
}

.cells {
  display: grid;
  gap: 1px;
  background: var(--frame);
  border-block: 1px solid var(--frame);
}

.cells-2 {
  grid-template-columns: 1fr 1fr;
}

.cells-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cell {
  background: #fff;
  padding: 44px var(--gutter) 0 44px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cells-3 .cell {
  padding-right: 36px;
}

.cell > p {
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--text);
  max-width: 44ch;
}

.cell > p strong {
  color: var(--ink);
  font-weight: 500;
}

.cell .mock {
  margin-top: 28px;
  flex: 1;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(#000 72%, transparent);
  padding: 2px 2px 36px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px var(--line),
    0 12px 32px -18px rgb(28 32 36 / 0.3);
  overflow: hidden;
  font-size: 12.5px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
}

.card-head .right {
  margin-left: auto;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.card-body {
  padding: 12px 14px;
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 4px;
}

.field .in {
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line-strong);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font: 12px var(--mono);
  color: var(--ink);
  background: #fff;
}

.steps .st {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--text);
}

.steps .st b {
  color: var(--ink);
  font-weight: 500;
}

.steps .st .right {
  margin-left: auto;
  font: 11px var(--mono);
  color: var(--muted);
}

.md {
  font: 12px/1.8 var(--mono);
  color: var(--text);
  padding: 14px;
}

.md .h {
  color: var(--ink);
  font-weight: 600;
}

.md .box {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  vertical-align: -1px;
  margin-right: 6px;
}

.md .box.x {
  background: var(--brand);
  border-color: var(--brand);
}

.kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
  font: 12px var(--mono);
}

.kv:last-child {
  border-bottom: 0;
}

.kv span {
  padding: 8px 12px;
  white-space: nowrap;
  overflow: hidden;
}

.kv span + span {
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.term {
  background: #101014;
  color: #d7dbe3;
  border-radius: 10px;
  padding: 14px 16px;
  font: 12px/1.8 var(--mono);
  box-shadow: 0 12px 32px -18px rgb(0 0 0 / 0.5);
}

.term .p {
  color: #8d98ff;
}

.term .d {
  color: #7b7f8a;
}

.term .g {
  color: #3ecf8e;
}

/* ---------- dark section ---------- */

.night {
  position: relative;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.night::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 520px;
  background:
    radial-gradient(40% 50% at 40% 40%, rgb(90 69 255 / 0.45), transparent 70%),
    radial-gradient(30% 40% at 75% 60%, rgb(0 106 255 / 0.28), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.night .frame {
  border-color: rgb(255 255 255 / 0.07);
}

.night .strip {
  border-color: rgb(255 255 255 / 0.07);
}

.night .strip .n,
.night .strip .h {
  border-color: rgb(255 255 255 / 0.07);
}

.night .strip .l {
  color: #a79bff;
}

.night .strip .h {
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 7px);
}

.night .section-head {
  position: relative;
}

.night h2 span {
  color: #9da1b6;
}

.checks {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
  color: #c9cbd8;
  font-size: 15.5px;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checks svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: #a79bff;
  flex: none;
}

.built-on {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.built-on div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 8px;
  border-right: 1px solid rgb(255 255 255 / 0.07);
  color: #9da1b6;
  font-size: 12.5px;
}

.built-on div:last-child {
  border-right: 0;
}

.built-on svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  color: #d4d6e2;
  transition: color 0.2s;
}

.built-on div:hover svg {
  color: var(--c);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--frame);
  border-block: 1px solid var(--frame);
}

.faq > div {
  background: #fff;
  padding: 72px var(--gutter);
}

.faq details {
  border-bottom: 1px solid var(--frame);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 500;
  font-size: 15.5px;
  color: #3c3f46;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font: 400 20px/1 var(--font);
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 32px 18px 0;
  color: var(--text);
  font-size: 15px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: 96px var(--gutter);
  overflow: hidden;
  background-image: radial-gradient(rgb(28 32 36 / 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 20% -10% -30% 20%;
  background:
    radial-gradient(35% 45% at 40% 60%, rgb(90 69 255 / 0.18), transparent 70%),
    radial-gradient(30% 40% at 70% 40%, rgb(0 106 255 / 0.12), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text);
  max-width: 520px;
}

.cta p strong {
  color: var(--ink);
  font-weight: 500;
}

.cta .hero-actions {
  justify-content: flex-start;
}

/* ---------- footer ---------- */

.footer {
  background: var(--night);
  color: #9da1b6;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: -40% 30% auto -10%;
  height: 420px;
  background: radial-gradient(50% 50% at 50% 50%, rgb(90 69 255 / 0.25), transparent 70%);
  filter: blur(40px);
}

.footer-inner {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  font-size: 14px;
}

.footer-inner .about p {
  margin-top: 14px;
  max-width: 34ch;
  color: #c9cbd8;
}

.footer h4 {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer .brand {
  color: #fff;
}

.footer-legal {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.wordmark {
  position: relative;
  max-width: 1216px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-weight: 600;
  letter-spacing: -0.06em;
  font-size: clamp(90px, 21vw, 300px);
  line-height: 0.8;
  color: #16152f;
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
  height: 0.62em;
}

/* ---------- prose pages ---------- */

.prose {
  max-width: 720px;
  padding: 72px var(--gutter) 96px;
}

.prose h1 {
  margin: 0;
  font-size: 44px;
  max-width: none;
}

.prose h2 {
  margin: 40px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.prose p {
  margin-top: 12px;
  color: var(--text);
}

.prose .muted {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.prose a {
  color: var(--brand);
}

/* ---------- small screens ---------- */

@media (max-width: 1000px) {
  :root {
    --gutter: 28px;
  }

  .nav-links {
    display: none;
  }

  .cells-2,
  .cells-3,
  .faq {
    grid-template-columns: 1fr;
  }

  .cell,
  .cells-3 .cell {
    padding: 36px var(--gutter) 0;
  }

  .win-body {
    grid-template-columns: 1fr;
  }

  .win-side {
    display: none;
  }

  .stack {
    grid-template-columns: 1fr;
  }

  .lineup {
    display: none;
  }

  .built-on {
    grid-template-columns: repeat(4, 1fr);
  }

  .built-on div:nth-child(4) {
    border-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .show-tabs {
    margin-inline: 0;
  }

  .show-tab span {
    display: none;
  }

  .show-stage {
    margin: 0;
    padding: 16px 12px 0;
    height: 460px;
  }

  .win-nav,
  .page-meta,
  .ui-btn.hide-sm {
    display: none;
  }

  .env-cards,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .charts .ch-row {
    grid-template-columns: 1fr;
  }

  .chart + .chart {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .strip {
    grid-template-columns: 40px auto 1fr 0;
  }

  .strip .c {
    display: none;
  }

  .nav-cta .btn-light,
  .brand small {
    display: none;
  }

  .nav-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .faq > div {
    padding: 44px var(--gutter);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-wrap: wrap;
  }
}

/* ---------- inline icons ---------- */

.ico {
  width: 14px;
  height: 14px;
  flex: none;
}

.crumbs .ico {
  width: 15px;
  height: 15px;
}

.bi {
  width: 26px;
  height: 26px;
}
