/* kuiper.sh
 *
 * Marketing chrome follows the brand guidelines: Void ground, hairline Hull
 * borders, square corners, one Ice accent. The product windows inside the
 * page are renderings of the dashboard, so they use the product palette
 * (slate surfaces, rounded corners, Iris for action and progress, Ice for
 * live state). See docs/brand-guidlines.md, "Product UI amendment".
 */

@font-face {
  font-family: 'Sora';
  src: url('/assets/sora.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/jetbrains-mono.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --void: #04060a;
  --space: #0a0f15;
  --hull: #18212b;
  --hull-2: #253140;
  --regolith: #7d8a97;
  --text-2: #95a2ae;
  --frost: #e6f1f4;
  --ice: #7ce0ee;
  --ice-soft: rgba(124, 224, 238, 0.12);

  /* Product windows */
  --p-bg: #0c1118;
  --p-surface: #131a23;
  --p-well: #0f151d;
  --p-line: #243040;
  --p-text: #dce5eb;
  --p-text-2: #8b98a6;
  --p-faint: #4d5a69;
  --iris: #7358f5;
  --iris-ink: #a594ff;
  --iris-soft: rgba(115, 88, 245, 0.16);

  --sans: 'Sora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--void);
  color: var(--frost);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--void);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 250; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 224, 238, 0.28); color: var(--frost); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mono { font-family: var(--mono); font-weight: 400; }
.dim { color: var(--p-text-2); }
.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ice);
  color: var(--void);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type -------------------------------------------------------------------- */

.display {
  font-size: clamp(44px, 5.6vw, 80px);
  font-weight: 200;
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--frost);
}
.heading {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--frost);
  text-wrap: balance;
}
.heading-lg { font-size: clamp(38px, 4.8vw, 62px); }
.subheading {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--frost);
  text-wrap: balance;
}
.body {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}
.lede {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
  color: #b3bfc9;
  text-wrap: pretty;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kicker .ico { width: 15px; height: 15px; color: var(--ice); }

/* Buttons and fields ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--ice); color: var(--void); }
.btn-primary:hover { background: #a3ebf5; }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-secondary {
  background: rgba(4, 6, 10, 0.4);
  border-color: var(--hull-2);
  color: var(--frost);
  font-weight: 400;
}
.btn-secondary:hover { border-color: #3a4757; }

.field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(4, 6, 10, 0.72);
  border: 1px solid var(--hull-2);
  border-radius: 0;
  color: var(--frost);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.2s, background-color 0.2s;
}
.field::placeholder { color: #5d6a77; }
.field:hover { border-color: #33404f; }
.field:focus { outline: none; border-color: var(--ice); background: rgba(4, 6, 10, 0.9); }
.field[aria-invalid='true'] { border-color: #f2555a; }
textarea.field { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
select.field {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
select.field option { background: var(--space); color: var(--frost); }

/* Status and dots (shared by page and product windows) ------------------- */

.live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 3px rgba(124, 224, 238, 0.14);
}
.pill .live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ice);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}
.st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.st-run { color: var(--ice); }
.st-done { color: var(--p-text-2); }
.st-wait { color: var(--p-text-2); }
.st .live-dot { width: 6px; height: 6px; box-shadow: none; }
.dot-wait {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--p-text-2);
}
.soon {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--hull-2);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.prompt { color: var(--ice); }
.swap { display: inline-grid; justify-items: end; align-items: center; }
.swap > * { grid-area: 1 / 1; }

/* Nav ---------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(4, 6, 10, 0.78);
  border-bottom-color: var(--hull);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  height: 68px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--frost);
  text-decoration: none;
}
.lockup-mark { fill: currentColor; }
.lockup-word {
  font-size: 20px;
  font-weight: 250;
  letter-spacing: 0.14em;
  line-height: 1;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a, .nav-signin {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-signin:hover { color: var(--frost); }
.nav-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.cta-short { display: none; }

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 980px);
  padding: 140px 0 220px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0) 30%, rgba(4, 6, 10, 0.55) 62%, rgba(4, 6, 10, 0.7) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.5) 0%, rgba(4, 6, 10, 0) 18%, rgba(4, 6, 10, 0) 58%, var(--void) 96%);
}
.hero-content {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + min(42%, 520px));
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--hull-2);
  background: rgba(4, 6, 10, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #c7d2da;
  font-size: 13px;
  font-weight: 400;
}
.hero .lede { max-width: 30em; margin-top: 26px; }
.signup-inline { max-width: 520px; margin-top: 38px; }
.signup-row { display: flex; }
.signup-row .field { border-right: 0; }
.hero-note {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 14px;
}
.hero-note a, .access-alt a, .fw-more a {
  color: #c7d2da;
  text-decoration: underline;
  text-decoration-color: var(--hull-2);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.hero-note a:hover, .access-alt a:hover { color: var(--ice); text-decoration-color: var(--ice); }

.form-status { min-height: 0; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff8387; }
.signup-done {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: 38px;
  padding: 16px 20px;
  border: 1px solid var(--hull-2);
  background: rgba(10, 15, 21, 0.8);
  color: var(--text-2);
  font-size: 15px;
}
.signup-done:focus { outline: none; }
.signup-done strong { color: var(--frost); font-weight: 400; }
.signup-done .dot {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--ice);
}

/* Console: the deploy demo that sits on the hero's edge ------------------- */

.console-section { position: relative; z-index: 2; margin-top: -180px; }
.console { position: relative; padding-bottom: 56px; }
.win {
  position: relative;
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}
/* The one lit edge in this view: light catching the top of the window. */
.win::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 224, 238, 0.9) 45%, rgba(124, 224, 238, 0.5) 70%, transparent);
  z-index: 1;
}
.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--p-line);
  font-size: 13px;
  color: var(--p-text-2);
}
.crumbs { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.crumbs b { color: var(--p-text); font-weight: 400; }
.crumbs .sep { color: var(--p-faint); }
.crumb-mark {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #8a74ff, var(--iris));
  margin-right: 2px;
}
.win-tabs { display: flex; gap: 22px; align-self: stretch; }
.win-tabs span { display: flex; align-items: center; position: relative; }
.win-tabs .on { color: var(--p-text); }
.win-tabs .on::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--iris);
  border-radius: 2px;
}
.deploy { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }
.deploy-side { padding: 24px; border-right: 1px solid var(--p-line); }
.deploy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.deploy-title { color: var(--p-text); font-size: 15px; font-weight: 400; line-height: 1.35; }
.deploy-meta {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
  color: var(--p-text-2);
  font-size: 12px;
}
.deploy-meta .ico { width: 13px; height: 13px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.status-q { background: rgba(139, 152, 166, 0.12); color: var(--p-text-2); }
.status-b { background: var(--iris-soft); color: var(--iris-ink); }
.status-live { background: var(--ice-soft); color: var(--ice); }
.status .live-dot { width: 6px; height: 6px; box-shadow: none; }
.spin {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.steps { margin-top: 22px; }
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  color: var(--p-text);
  font-size: 14px;
  transition: color 0.3s;
}
.step-i {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--iris-soft);
  color: var(--iris-ink);
  transition: background-color 0.3s;
}
.step-i svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.2s; }
.step.wait { color: var(--p-faint); }
.step.wait .step-i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--p-line); }
.step.wait .step-i svg, .step.run .step-i svg { opacity: 0; }
.step.run .step-i { background: transparent; }
.step.run .step-i::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--iris-ink);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
.step-i { position: relative; }
.deploy-url {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid var(--p-line);
  border-radius: 8px;
  background: var(--p-well);
  color: var(--p-text);
  font-size: 13px;
  text-decoration: none;
}
.deploy-url .ico { margin-left: auto; width: 14px; height: 14px; color: var(--p-text-2); }
.deploy-url .live-dot { box-shadow: none; width: 6px; height: 6px; }
.deploy-logs {
  padding: 22px 26px;
  background: var(--p-well);
  color: var(--p-text-2);
  font-size: 12.5px;
  line-height: 2;
  min-height: 330px;
}
.log { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .t, .tile-logs .t { color: var(--p-faint); margin-right: 16px; }
.log-live { color: var(--ice); }

.term {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: min(440px, 46%);
  padding: 18px 20px;
  background: #06090d;
  border: 1px solid var(--p-line);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--p-text-2);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95);
}
.term-line, .term-out { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-line { color: var(--p-text); }
.term .ps { color: var(--p-faint); }
.term-ok { display: flex; align-items: center; gap: 8px; color: var(--ice); white-space: nowrap; overflow: hidden; }
.term-ok .ico { width: 14px; height: 14px; stroke-width: 2; }
.console-caption {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
}
.console-caption .mono { color: #c7d2da; font-size: 14px; }

/* Sections ---------------------------------------------------------------- */

.section { padding: clamp(104px, 13vw, 176px) 0 0; }
.section-tight { padding-top: clamp(96px, 11vw, 140px); }
.section-head { max-width: 860px; }
.section-head .body { margin-top: 22px; max-width: 640px; }

/* Bento: the whole layer at a glance */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--hull);
  border: 1px solid var(--hull);
}
.cell { grid-column: span 2; display: flex; flex-direction: column; padding: 28px 30px 30px; background: var(--void); }
.cell-wide { grid-column: span 3; }
.cell:has(> .cell-link) { padding: 0; }
.cell-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s;
}
.cell-link:hover { background: #070a0f; }
.cell-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cell-name {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--frost);
  font-size: 17px;
  font-weight: 400;
}
.cell-name .ico { width: 18px; height: 18px; color: var(--ice); }
.cell-body { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 34em; }
.cell-ui {
  margin-top: auto;
  padding-top: 24px;
}
.cell-ui, .tile-ui { font-size: 12.5px; }
.cell-ui .row, .tile-ui .row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  color: var(--p-text);
  border: 1px solid var(--p-line);
  border-top-width: 0;
  background: var(--p-bg);
}
.cell-ui .row:first-child, .tile-ui .row:first-child { border-top-width: 1px; border-radius: 8px 8px 0 0; }
.cell-ui .row:last-child, .tile-ui .row:last-child { border-radius: 0 0 8px 8px; }
.cell-ui .row:only-child, .tile-ui .row:only-child { border-radius: 8px; }
.cell-ui .row .ico, .tile-ui .row .ico { width: 14px; height: 14px; color: var(--p-text-2); }
.grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dim-row { color: var(--p-text-2) !important; }

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(80px, 10vw, 136px);
}
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-copy { order: 2; }
.feature-copy .body { margin-top: 18px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  color: #c7d2da;
  font-size: 15px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 7px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--ice);
  border-bottom: 1.5px solid var(--ice);
  transform: rotate(-45deg);
}

/* Demo engine states. Without JS, or with reduced motion, every demo shows
 * its finished state: [data-until] marks intermediate states only. */
.demo:not(.armed) [data-until] { display: none; }
.demo [data-at], .demo [data-until] { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.demo.armed [data-at]:not(.on),
.demo.armed [data-until].off { opacity: 0; }
.demo.armed [data-at]:not(.on) { transform: translateY(4px); }
.demo.armed .swap [data-at]:not(.on) { transform: none; }
.is-typing::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: currentColor;
  opacity: 0.7;
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Browser demo */
.browser { position: relative; padding-bottom: 40px; }
.bwin {
  position: relative;
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.bwin-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--p-line);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--p-line); }
.url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--p-well);
  color: var(--p-text-2);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.url .ico { width: 12px; height: 12px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ice);
  font-size: 12px;
}
.live-badge .live-dot { width: 6px; height: 6px; }
.page {
  background: #f5f7f9;
  color: #18202a;
  font-size: 13px;
  font-weight: 400;
  min-height: 402px;
}
.page-top {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-bottom: 1px solid #e1e6eb;
  background: #fff;
  font-size: 14px;
  color: #56626f;
}
.page-top b { color: #18202a; font-weight: 600; margin-right: 5px; }
.page-nav { display: flex; gap: 18px; margin-left: auto; font-size: 12.5px; }
.page-nav .cur { color: #18202a; }
.page-body { padding: 22px 24px 26px; }
.page-h { font-size: 17px; font-weight: 500; margin-bottom: 14px; letter-spacing: -0.01em; }
.pf { margin-bottom: 12px; }
.pf-l { display: block; margin-bottom: 5px; color: #56626f; font-size: 11.5px; }
.pf-i {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid #d3dae1;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pf-i.focus { border-color: var(--iris); box-shadow: 0 0 0 3px rgba(115, 88, 245, 0.18); }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pbtn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  margin-top: 2px;
  border-radius: 6px;
  background: #18202a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.15s, background-color 0.15s;
}
.pbtn.press { transform: scale(0.96); background: #33404f; }
.page-ok {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #e8f6ee;
  color: #1c6a3e;
  font-size: 12.5px;
}
.page-ok .ico { width: 14px; height: 14px; stroke-width: 2; }
.cursor {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  transition: top 0.7s var(--ease), left 0.7s var(--ease);
  top: 120px;
  left: 80%;
}
.demo:not(.armed) .cursor { display: none; }
.cursor svg { width: 22px; height: 22px; fill: #fff; stroke: #0c1118; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.cursor::before {
  content: '';
  position: absolute;
  left: -9px; top: -9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--iris);
  opacity: 0;
}
.cursor.c5::before { animation: click 0.6s 0.7s var(--ease); }
@keyframes click { 0% { opacity: 1; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.6); } }
.cursor.c0 { top: 120px; left: 82%; }
.cursor.c1 { top: 176px; left: 34%; }
.cursor.c2 { top: 244px; left: 22%; }
.cursor.c3 { top: 244px; left: 70%; }
.cursor.c4 { top: 305px; left: 40%; }
.cursor.c5 { top: 350px; left: 76px; }
.cursor.c6 { top: 430px; left: 64%; }
.actions {
  position: absolute;
  right: -28px;
  bottom: 0;
  width: 290px;
  padding: 14px 16px;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 10px;
  color: var(--p-text-2);
  font-size: 12px;
  line-height: 2;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95);
}
.actions li { display: flex; align-items: center; gap: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actions .ico { width: 12px; height: 12px; color: var(--ice); stroke-width: 2; }

/* Sandboxes demo */
.sandboxes {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.sbx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 6px;
  color: var(--p-text);
  font-size: 13px;
}
.sbx-head > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.sbx-head .ico { width: 15px; height: 15px; color: var(--p-text-2); }
.sbx-count { color: var(--p-text-2); font-size: 12px; }
.sbx {
  border: 1px solid var(--p-line);
  border-radius: 9px;
  background: var(--p-well);
  overflow: hidden;
}
.sbx-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--p-line);
  background: var(--p-surface);
  color: var(--p-text);
  font-size: 12px;
}
.sbx-body {
  padding: 10px 14px 12px;
  min-height: 96px;
  color: var(--p-text);
  font-size: 12px;
  line-height: 1.85;
}
.sbx-body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbx-body .dim { color: var(--p-text-2); }
.sbx-body .ok, .fw-term .ok { color: var(--ice); }
.bar { height: 4px; margin: 8px 0 4px; border-radius: 2px; background: var(--p-line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--iris); border-radius: 2px; transition: width 0.9s var(--ease); }
.bar.b0 i { width: 0; }
.bar.b1 i { width: 22%; }
.bar.b2 i { width: 51%; }
.bar.b3 i { width: 78%; }
.bar.b4 i { width: 100%; }

/* Timeline demo */
.timeline {
  padding: 22px 24px 20px;
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.tl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--p-line);
  color: var(--p-text);
  font-size: 13px;
}
.tl { position: relative; padding: 10px 0 4px; }
.tl::before {
  content: '';
  position: absolute;
  left: 107px; top: 26px; bottom: 26px;
  width: 1px;
  background: var(--p-line);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 34px;
  padding: 13px 0;
  align-items: baseline;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 103px; top: 19px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--p-bg);
  box-shadow: inset 0 0 0 1.5px var(--p-text-2);
}
.tl-when { color: var(--p-text-2); font-size: 12px; text-align: right; }
.tl-what { color: var(--p-text); font-size: 14px; line-height: 1.5; }
.tl-wait { padding: 26px 0; }
.tl-wait::after {
  content: '';
  position: absolute;
  left: 107px; top: 0; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--p-text-2) 0 3px, transparent 3px 7px);
}
.tl-wait::before { top: 32px; }
.tl-wait .tl-what { color: var(--p-text-2); }
.tl-restart .tl-what { display: flex; align-items: center; gap: 8px; color: var(--p-text-2); font-size: 13px; }
.tl-restart .tl-what .ico { width: 14px; height: 14px; }
.tl-restart::before { box-shadow: inset 0 0 0 1.5px var(--p-faint); }
.tl-good::before { background: var(--iris); box-shadow: 0 0 0 3px var(--iris-soft); }
.tl-last::before { background: var(--ice); box-shadow: 0 0 0 4px rgba(124, 224, 238, 0.16); }
.tl-foot {
  display: flex; align-items: center; gap: 9px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--p-line);
  color: var(--p-text-2);
  font-size: 12px;
}
.tl-foot .ico { width: 13px; height: 13px; color: var(--ice); stroke-width: 2; }

/* Everything else: tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--hull);
  border: 1px solid var(--hull);
}
.tile { padding: 30px; background: var(--void); }
.tile-ui { min-height: 76px; }
.tile-logs {
  padding: 12px 14px;
  border: 1px solid var(--p-line);
  border-radius: 8px;
  background: var(--p-bg);
  color: var(--p-text-2);
  line-height: 1.9;
}
.tile-logs p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-logs mark { background: var(--iris-soft); color: var(--iris-ink); padding: 0 3px; border-radius: 3px; }
.mask { color: var(--p-faint); letter-spacing: 0.08em; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--p-line);
  border-radius: 6px;
  color: var(--iris-ink);
  font-family: var(--sans);
  font-size: 11.5px;
}
.mini-btn .ico { width: 12px !important; height: 12px !important; color: var(--iris-ink) !important; }
.runs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 38px;
  padding: 0 14px 8px;
  border: 1px solid var(--p-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--p-bg);
}
.runs i { flex: 1; height: 12px; border-radius: 2px; background: rgba(124, 224, 238, 0.4); }
.runs i.now { background: transparent; box-shadow: inset 0 0 0 1px var(--p-line); }
.tile-ui .row:has(+ .runs) { border-radius: 8px 8px 0 0; }
.tile-title { margin-top: 26px; color: var(--frost); font-size: 17px; font-weight: 400; letter-spacing: -0.005em; }
.tile-body { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Frameworks */
.fw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.fw-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--space);
  border: 1px solid var(--hull);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.fw-card:hover { border-color: #2e3a48; background: #0c121a; }
.fw-top { display: flex; justify-content: space-between; align-items: center; }
.fw-name { font-size: 26px; font-weight: 250; letter-spacing: -0.02em; color: var(--frost); }
.fw-out { width: 18px; height: 18px; color: var(--text-2); transition: transform 0.25s var(--ease), color 0.25s; }
.fw-card:hover .fw-out { transform: translate(2px, -2px); color: var(--ice); }
.fw-body { margin-top: 14px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 36em; }
.fw-term {
  margin: 28px 0 24px;
  padding: 16px 18px;
  background: var(--void);
  border: 1px solid var(--hull);
  color: var(--p-text);
  font-size: 12.5px;
  line-height: 1.9;
}
.fw-term .dim { color: var(--p-text-2); }
.fw-link { margin-top: auto; color: var(--text-2); font-family: var(--mono); font-size: 12.5px; transition: color 0.2s; }
.fw-card:hover .fw-link { color: var(--ice); }
.fw-more { margin-top: 28px; color: var(--text-2); font-size: 15px; }

/* Proxima */
.proxima-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.proxima-copy .body { margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 34px; }
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--hull-2);
  padding-bottom: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.text-cta .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-cta:hover { color: var(--ice); border-color: var(--ice); }
.text-cta:hover .ico { transform: translateX(3px); }
.text-cta-quiet { color: var(--text-2); }
.text-cta-sm { margin-top: 30px; font-size: 15px; }
.chat {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--p-line);
  background: var(--p-surface);
  color: var(--p-text);
  font-size: 14px;
}
.chat-head b { display: block; font-weight: 500; }
.avatar {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--p-well);
  border: 1px solid var(--p-line);
}
.avatar svg { width: 20px; height: 20px; fill: var(--p-text); }
.chat-sub { display: inline-flex; align-items: center; gap: 6px; color: var(--p-text-2); font-size: 12px; }
.chat-sub .live-dot { width: 6px; height: 6px; box-shadow: none; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px; min-height: 376px; }
.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.msg.in { align-self: flex-start; background: var(--p-surface); border: 1px solid var(--p-line); color: var(--p-text); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--iris); color: #fff; border-bottom-right-radius: 5px; }
.msg.card { display: grid; gap: 8px; padding: 12px 14px; font-size: 13.5px; }
.msg.card p { display: flex; align-items: flex-start; gap: 9px; }
.msg.card .ico { width: 15px; height: 15px; margin-top: 2px; stroke-width: 2; }
.msg.card .ok { color: var(--ice); }
.msg.card .wait { color: var(--p-text-2); }
.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
}
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--p-text-2);
  animation: bounce 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Early access: the planetary limb ----------------------------------------- */

.access {
  position: relative;
  margin-top: clamp(120px, 14vw, 200px);
  padding: clamp(96px, 10vw, 140px) 0 clamp(200px, 20vw, 280px);
  overflow: hidden;
  isolation: isolate;
}
.limb {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: calc(100% - clamp(120px, 12vw, 170px));
  width: max(2800px, 220vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #070b10;
  border: 1.25px solid rgba(124, 224, 238, 0.9);
  box-shadow: 0 0 32px 1px rgba(124, 224, 238, 0.18);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 44%, #000 56%, transparent 70%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 44%, #000 56%, transparent 70%);
}
.access::after {
  /* The planet's dark body continues past the lit rim. */
  content: '';
  position: absolute;
  z-index: -2;
  left: 50%;
  top: calc(100% - clamp(120px, 12vw, 170px));
  width: max(2800px, 220vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #070b10;
  box-shadow: 0 -1px 0 rgba(124, 224, 238, 0.14);
}
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.access-copy .body { margin-top: 24px; max-width: 30em; }
.access-alt { margin-top: 28px; color: var(--text-2); font-size: 15px; }
.access-alt a { display: inline-flex; align-items: center; gap: 6px; }
.access-alt .ico { width: 14px; height: 14px; }
.signup-panel {
  padding: 34px;
  background: rgba(10, 15, 21, 0.86);
  border: 1px solid var(--hull);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fieldset + .fieldset { margin-top: 22px; }
.label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--frost);
  font-size: 14px;
  font-weight: 400;
}
.optional { color: var(--regolith); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.hint { margin-top: 8px; color: var(--regolith); font-family: var(--mono); font-size: 11.5px; }
.hint.is-over { color: #ff8387; }
.form-foot { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-note { color: var(--regolith); font-size: 13px; }

/* Footer ---------------------------------------------------------------- */

.footer { background: #070b10; padding: 8px 0 34px; }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-line { margin-top: 14px; color: var(--text-2); font-size: 14px; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { color: #c7d2da; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-cols a:hover { color: var(--ice); }
.footer-h { margin-bottom: 4px; color: var(--regolith); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-base {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hull);
  color: var(--regolith);
  font-family: var(--mono);
  font-size: 12px;
}

/* Blog ------------------------------------------------------------------ */

.wrap-narrow { width: 100%; max-width: calc(720px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.post { padding: 152px 0 120px; }
.post-head { padding-bottom: 44px; border-bottom: 1px solid var(--hull); }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
}
.post-meta a { color: var(--text-2); text-decoration: none; }
.post-meta a:hover { color: var(--ice); }
.post-title { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 200; text-wrap: balance; }
.post-dek { margin-top: 22px; color: #b3bfc9; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; text-wrap: pretty; }
.post-by { margin-top: 28px; color: var(--text-2); font-size: 14px; }
.prose { padding-top: 40px; }
.prose p { margin-top: 24px; color: #c3ced6; font-size: 18px; line-height: 1.75; text-wrap: pretty; }
.prose h2 {
  margin-top: 64px;
  color: var(--frost);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose h2 + p { margin-top: 18px; }
.prose a {
  color: var(--frost);
  text-decoration: underline;
  text-decoration-color: var(--hull-2);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.prose a:hover { color: var(--ice); text-decoration-color: var(--ice); }
.post-cta {
  margin-top: 72px;
  padding: 36px;
  border: 1px solid var(--hull);
  background: var(--space);
}
.post-cta-title { color: var(--frost); font-size: 24px; font-weight: 300; letter-spacing: -0.015em; }
.post-cta-body { margin: 10px 0 26px; color: var(--text-2); font-size: 16px; }
.reading { margin-top: 28px; border-top: 1px solid var(--hull); }
.reading a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hull);
  text-decoration: none !important;
}
.reading-title { color: var(--frost); font-size: 17px; font-weight: 400; transition: color 0.2s; }
.reading-title::after { content: ' ↗'; color: var(--regolith); font-size: 14px; }
.reading a:hover .reading-title { color: var(--ice); }
.reading-dek { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.post-access { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--hull); scroll-margin-top: 96px; }
.post-access-title { color: var(--frost); font-size: clamp(30px, 3.6vw, 42px); font-weight: 250; line-height: 1.1; letter-spacing: -0.03em; }
.post-access-body { margin: 16px 0 32px; color: var(--text-2); font-size: 17px; }
.post-list { margin-top: 8px; }
.post-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hull);
  color: inherit;
  text-decoration: none;
}
.post-item-date { grid-row: span 2; color: var(--text-2); font-family: var(--mono); font-size: 12.5px; padding-top: 8px; }
.post-item-title { color: var(--frost); font-size: 26px; font-weight: 300; letter-spacing: -0.02em; transition: color 0.2s; }
.post-item:hover .post-item-title { color: var(--ice); }
.post-item-dek { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.footer-plain { border-top: 1px solid var(--hull); background: var(--void); padding-top: 0; }
.footer-plain .footer-base { margin-top: 0; border-top: 0; }
.footer-plain a { color: var(--regolith); text-decoration: none; }
.footer-plain a:hover { color: var(--ice); }
@media (max-width: 620px) {
  .post { padding-top: 120px; }
  .prose p { font-size: 17px; }
  .post-item { grid-template-columns: 1fr; }
  .post-item-date { grid-row: auto; padding-top: 0; }
  .post-cta { padding: 26px 22px; }
}

/* Plain pages: 404 and the no-JS form result ------------------------------ */

.plain { min-height: 100vh; display: grid; place-items: center; }
.plain-main { width: 100%; max-width: 560px; padding: 48px var(--gutter); }
.plain-main .lockup { margin-bottom: 56px; }
.plain-main .lockup img { width: 22px; height: 22px; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.plain-title { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.plain-body { margin: 18px 0 32px; color: var(--text-2); font-size: 17px; }
.text-link {
  color: var(--frost);
  text-decoration: underline;
  text-decoration-color: var(--hull-2);
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--ice); text-decoration-color: var(--ice); }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  .term { left: 16px; }
  .actions { right: 12px; }
  .deploy { grid-template-columns: 320px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 200px;
  }
  .hero-media { position: relative; height: 62vw; min-height: 340px; z-index: 0; }
  .hero-img { object-position: 22% 50%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0) 25%, rgba(4, 6, 10, 0) 55%, var(--void) 100%);
  }
  .hero-content { position: relative; z-index: 1; margin-top: -60px; padding: 0 var(--gutter); }
  .console-section { margin-top: -140px; }
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-copy { order: 0; }
  .proxima-grid, .access-grid { grid-template-columns: minmax(0, 1fr); }
  .chat { justify-self: start; }
  .tiles, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell-wide { grid-column: span 1; }
  .cell-wide:first-child, .cell-wide:nth-child(2) { grid-column: span 2; }
}

@media (max-width: 760px) {
  .deploy { grid-template-columns: minmax(0, 1fr); }
  .deploy-side { border-right: 0; border-bottom: 1px solid var(--p-line); }
  .deploy-logs { min-height: 0; padding: 18px 20px; font-size: 11.5px; }
  .win-tabs { display: none; }
  .deploy-head { flex-wrap: wrap; }
  .deploy-url .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .console { padding-bottom: 0; }
  .term { position: relative; left: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .browser { padding-bottom: 0; }
  .actions { position: relative; right: auto; width: auto; margin: -20px 12px 0; }
  .fw { grid-template-columns: minmax(0, 1fr); }
  .fw-card { padding: 26px; }
}

@media (max-width: 620px) {
  .nav-signin { display: none; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .signup-row { flex-direction: column; gap: 10px; }
  .signup-row .field { border-right: 1px solid var(--hull-2); }
  .signup-row .btn { width: 100%; }
  .tiles, .bento { grid-template-columns: minmax(0, 1fr); }
  .cell-wide:first-child, .cell-wide:nth-child(2) { grid-column: span 1; }
  .cell, .cell-link { padding-left: 22px; padding-right: 22px; }
  .cell:has(> .cell-link) { padding: 0; }
  .tile { padding: 24px 22px; }
  .signup-panel { padding: 24px 20px; }
  .tl::before, .tl-wait::after { left: 79px; }
  .tl-item { grid-template-columns: 64px 1fr; gap: 28px; }
  .tl-item::before { left: 75px; }
  .tl-when { font-size: 11px; }
  .timeline { padding: 18px 16px; }
  .pf-row { grid-template-columns: 1fr; gap: 0; }
  .page { min-height: 0; }
  .cursor { display: none; }
  .footer-base { flex-direction: column; gap: 8px; }
}
