/* adonisjs.studio. A framed column of hairline rules with numbered strips,
   cells that hold real Studio screenshots and isometric art, and a little
   motion: an animated product demo, a logo marquee, streaming logs, light
   beams in the dark bands. */

:root {
  --bg: #ffffff;
  --frame: #f0f0f3;
  --line: #e8e8ec;
  --line-2: #e0e1e6;
  --line-strong: #cdced6;
  --ink: #1c2024;
  --text: #60646c;
  --muted: #8b8d98;
  --soft: #f9f9fb;
  --softer: #fcfcfd;
  --brand: #5a45ff;
  --brand-2: #6d5bff;
  --brand-soft: #f0edff;
  --ok: #1a9a5c;
  --night: #07061a;
  --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;
  --rail: 24px;
  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;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

/* ================= frame ================= */

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

/* ================= nav ================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--frame);
}

.nav-inner {
  max-width: 1264px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 24px;
  border-right: 1px solid var(--frame);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12);
}

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

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

.nav-links {
  display: flex;
  gap: 26px;
  padding-left: 28px;
  font-size: 14.5px;
  color: #3c3f46;
}

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

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

/* ================= buttons ================= */

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

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

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(2px);
}

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

.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: 13.5px;
}

.night .btn-light {
  background: rgb(255 255 255 / 0.04);
  color: #fff;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18);
}

.night .btn-light:hover {
  background: rgb(255 255 255 / 0.1);
}

.night .btn-dark {
  background: #fff;
  color: #0b0b10;
}

/* ================= hero ================= */

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(28 32 36 / 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(70% 90% at 50% 10%, #000 30%, transparent 80%);
}

.hero > * {
  position: relative;
}

h1 {
  font-size: clamp(44px, 6.6vw, 80px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.hero .lead {
  margin: 24px auto 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}

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

.hero .actions {
  justify-content: center;
}

.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rise.d1 {
  animation-delay: 0.08s;
}

.rise.d2 {
  animation-delay: 0.16s;
}

.rise.d3 {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
}

/* ================= product demo ================= */

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--frame);
  border-bottom: 1px solid var(--frame);
  margin: 0 var(--rail);
  border-inline: 1px solid var(--frame);
  position: relative;
}

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

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

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

.demo-tab .bar {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.demo-tab .bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.demo-tab[aria-selected='true'] .bar {
  height: 2px;
}

.demo-tab[aria-selected='true'] .bar i {
  animation: tabfill var(--cycle, 8s) linear forwards;
}

.demo.paused .demo-tab[aria-selected='true'] .bar i {
  animation-play-state: paused;
}

@keyframes tabfill {
  to {
    transform: scaleX(1);
  }
}

.demo-stage {
  position: relative;
  margin: 0 var(--rail);
  padding: 28px 28px 0;
  border-inline: 1px solid var(--frame);
  overflow: hidden;
}

.demo-stage::before {
  content: '';
  position: absolute;
  inset: -10% 5% auto;
  height: 70%;
  background:
    radial-gradient(35% 55% at 28% 30%, rgb(90 69 255 / 0.18), transparent 70%),
    radial-gradient(30% 50% at 72% 40%, rgb(0 106 255 / 0.13), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.window {
  position: relative;
  aspect-ratio: 1854 / 1000;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 30px 80px -30px rgb(28 32 36 / 0.35),
    0 4px 12px -4px rgb(28 32 36 / 0.08);
  overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent 98%);
}

.window .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.012);
  transition:
    opacity 0.6s ease,
    transform 1.2s ease;
}

.window .shot.on {
  opacity: 1;
  transform: none;
}

/* The overlays share the screenshot's own proportions, so positions measured on the real screens land on target. */
.window .layer {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1854 / 1169;
  pointer-events: none;
}

/* the cursor and the bits it makes happen */
.cursor {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 22px;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.25));
  will-change: transform, left, top;
}

.cursor .ring {
  position: absolute;
  left: -14px;
  top: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
}

.cursor.click .ring {
  animation: ring 0.55s ease-out;
}

@keyframes ring {
  from {
    opacity: 0.9;
    transform: scale(0.3);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}

.hilite {
  position: absolute;
  z-index: 4;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px var(--brand),
    0 0 0 6px rgb(90 69 255 / 0.18);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.hilite.on {
  opacity: 1;
}

.toast {
  position: absolute;
  z-index: 6;
  right: 3%;
  bottom: 22%;
  width: min(360px, 60%);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 18px 40px -18px rgb(28 32 36 / 0.4);
  font-size: 13px;
  text-align: left;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 0.35s,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toast.on {
  opacity: 1;
  transform: none;
}

.toast b {
  display: block;
  font-weight: 600;
}

.toast span {
  color: var(--text);
  font-size: 12px;
}

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

.toast .ok svg {
  width: 11px;
  height: 11px;
}

.xhair {
  position: absolute;
  z-index: 4;
  width: 1.5px;
  background: rgb(90 69 255 / 0.8);
  box-shadow: 0 0 0 3px rgb(90 69 255 / 0.08);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.xhair.on {
  opacity: 1;
}

.xhair em {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font: 500 11px/1 var(--mono);
  font-style: normal;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}

/* ================= logo marquee ================= */

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

.logos p {
  padding: 30px 24px 30px var(--gutter);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  border-right: 1px solid var(--frame);
  display: flex;
  align-items: center;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 34px;
  border-right: 1px solid var(--frame);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #24272c;
  white-space: nowrap;
}

.marquee-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: fill 0.2s;
}

.marquee-item:hover svg {
  fill: var(--c);
}

/* ================= numbered strips ================= */

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

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

.strip .g {
  border-right: 1px solid var(--frame);
}

.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 .caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--muted);
  margin-left: 2px;
  animation: caret 1s steps(2) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

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

.strip > span:last-child {
  border-left: 1px solid var(--frame);
}

/* ================= sections ================= */

.head {
  padding: 96px var(--gutter) 72px;
  border-inline: 1px solid var(--frame);
  margin: 0 var(--rail);
}

h2 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.head p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--text);
}

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

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

.cells + .cells {
  border-top: 0;
}

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

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

.cell {
  position: relative;
  background: #fff;
  padding: 44px 44px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cell .lead {
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
  max-width: 46ch;
}

.visual {
  position: relative;
  margin-top: 30px;
  flex: 1;
  min-height: 280px;
}

.visual.fade {
  mask-image: linear-gradient(#000 70%, transparent);
}

/* a screenshot that bleeds off the bottom of its cell */
.snap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 20px 50px -24px rgb(28 32 36 / 0.35);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cell:hover .snap {
  transform: translateY(-4px);
}

.snap img {
  max-width: 100%;
  height: auto;
}

.snap.dialog {
  margin: 0 auto;
  border-radius: 14px;
}

/* the art cells: isometric drawings on a quiet grid, the words below */
.art-row .cell {
  padding: 0;
}

.art {
  height: 290px;
  display: grid;
  place-items: center;
  background: var(--softer);
  border-bottom: 1px solid var(--frame);
  position: relative;
  overflow: hidden;
}

.art svg {
  width: 100%;
  height: 100%;
  max-width: 420px;
}

.art-row .cell .lead {
  padding: 30px 36px 40px;
}

/* ================= live panels (HTML) ================= */

.steps {
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 20px 50px -24px rgb(28 32 36 / 0.3);
  overflow: hidden;
  font-size: 13.5px;
}

.steps .hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.steps .hd svg {
  width: 18px;
  height: 18px;
}

.steps .hd span {
  margin-left: auto;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.steps .st {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.steps .st:last-child {
  border-bottom: 0;
}

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

.steps .st em {
  margin-left: auto;
  font: 12px var(--mono);
  font-style: normal;
  color: var(--muted);
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  color: #fff;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.dot svg {
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.st.run .dot {
  border-color: var(--brand);
  border-right-color: transparent;
  animation: spin 0.9s linear infinite;
}

.st.done .dot {
  background: var(--ok);
  border-color: var(--ok);
}

.st.done .dot svg {
  opacity: 1;
  transform: none;
}

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

.logs {
  background: #111116;
  border-radius: 10px;
  padding: 14px 16px;
  font: 12.5px/1.85 var(--mono);
  color: #c7cad3;
  height: 300px;
  overflow: hidden;
  box-shadow: 0 20px 50px -24px rgb(0 0 0 / 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.logs div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: logline 0.4s ease both;
}

@keyframes logline {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.logs .t {
  color: #6f7386;
}

.logs .i {
  color: #7f8cff;
}

.logs .w {
  color: #f5b544;
}

.logs .e {
  color: #ff7b7b;
}

.md {
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 20px 50px -24px rgb(28 32 36 / 0.3);
  padding: 18px 20px;
  font: 13px/1.9 var(--mono);
  color: var(--text);
}

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

.md .bx {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  vertical-align: -1px;
  margin-right: 8px;
  transition:
    background 0.3s,
    border-color 0.3s;
}

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

/* ================= reveal on scroll ================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ================= dark bands ================= */

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

.beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.beams i {
  position: absolute;
  top: -40%;
  width: 16%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgb(109 91 255 / 0.28), transparent);
  filter: blur(26px);
  transform: rotate(28deg);
  animation: beam 14s ease-in-out infinite;
}

.beams i:nth-child(1) {
  left: 38%;
}

.beams i:nth-child(2) {
  left: 58%;
  width: 9%;
  animation-delay: -4s;
  background: linear-gradient(90deg, transparent, rgb(0 106 255 / 0.3), transparent);
}

.beams i:nth-child(3) {
  left: 76%;
  width: 12%;
  animation-delay: -8s;
}

@keyframes beam {
  50% {
    transform: rotate(28deg) translateX(-60px);
    opacity: 0.6;
  }
}

.night .frame,
.night .head,
.night .strip,
.night .strip > * {
  border-color: rgb(255 255 255 / 0.08);
}

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

.night .strip .c {
  color: #6f7390;
}

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

.night h2 span {
  color: #8f93ab;
}

.night .head p {
  color: #a4a7bd;
}

.checks {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 14px;
  color: #d2d4e2;
  font-size: 16px;
}

.checks li {
  display: flex;
  gap: 12px;
}

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

.stack-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin: 0 var(--rail);
  border-inline: 1px solid rgb(255 255 255 / 0.08);
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.stack-row div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 8px 34px;
  border-right: 1px solid rgb(255 255 255 / 0.08);
  color: #9da1b6;
  font-size: 13px;
  transition: background 0.3s;
}

.stack-row div:last-child {
  border-right: 0;
}

.stack-row div:hover {
  background: rgb(255 255 255 / 0.03);
}

.stack-row svg {
  width: 30px;
  height: 30px;
  fill: #e4e5ee;
  transition: fill 0.3s;
}

.stack-row div:hover svg {
  fill: var(--c);
}

/* ================= FAQ ================= */

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

.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;
  transition: color 0.2s;
}

.faq summary:hover {
  color: var(--ink);
}

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

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

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

.faq details p {
  padding: 0 32px 18px 0;
  color: var(--text);
  font-size: 15px;
  animation: rise 0.4s ease both;
}

/* ================= CTA ================= */

.cta {
  position: relative;
  margin: 0 var(--rail);
  border-inline: 1px solid var(--frame);
  padding: 112px var(--gutter);
  overflow: hidden;
}

.cta::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(90deg, #000 20%, transparent);
}

.cta .beams i {
  background: linear-gradient(90deg, transparent, rgb(109 91 255 / 0.2), transparent);
  filter: blur(30px);
}

.cta .beams i:nth-child(2) {
  background: linear-gradient(90deg, transparent, rgb(0 106 255 / 0.16), transparent);
}

.cta > *:not(.beams) {
  position: relative;
}

.cta p {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--text);
  max-width: 480px;
}

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

/* ================= footer ================= */

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

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

.footer .brand {
  padding: 0;
  height: auto;
  border: 0;
  color: #fff;
}

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

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

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

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

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

.wordmark {
  position: relative;
  max-width: 1216px;
  margin: 28px auto 0;
  padding: 0 24px;
  font-weight: 600;
  letter-spacing: -0.07em;
  font-size: clamp(100px, 23vw, 320px);
  line-height: 0.78;
  height: 0.6em;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(180deg, #1c1a3d, #0d0c24 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= prose pages ================= */

.prose {
  max-width: 760px;
  padding: 80px var(--gutter) 104px;
  margin: 0 var(--rail);
}

.prose h1 {
  font-size: 48px;
}

.prose h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  max-width: none;
}

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

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

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

/* ================= small screens ================= */

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

  .nav-links {
    display: none;
  }

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

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

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

  .logos p {
    border-right: 0;
    border-bottom: 1px solid var(--frame);
    padding: 18px var(--gutter);
  }

  .marquee-item {
    padding: 20px 26px;
  }

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

  .stack-row div:nth-child(4) {
    border-right: 0;
  }

  .stack-row div:nth-child(-n + 4) {
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

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

@media (max-width: 640px) {
  .brand .tag,
  .nav-cta .btn-light {
    display: none;
  }

  .brand {
    padding: 0 16px;
    border-right: 0;
  }

  .nav-cta {
    padding-right: 16px;
  }

  .hero {
    padding: 72px 20px 64px;
  }

  .demo-stage {
    padding: 16px 12px 0;
  }

  .demo-tab {
    padding: 14px 12px;
  }

  .toast {
    display: none;
  }

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

  .strip .c {
    display: none;
  }

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
