.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  margin: 0;
  font: italic 400 clamp(44px, 6.4vw, 72px) / 1 var(--font-serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-lead {
  margin: 0;
  font: 400 18px/1.5 var(--font-serif);
  max-width: 34em;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-soon {
  margin: 0;
  font: 400 14px var(--font-sans);
  color: var(--ink-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-soon a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* The hero demo: a Claude Code session beside a browser showing the real dashboard. It is a
   copy of the app's own markup and styles, played by a script in home.js; the text stays real. */

.demo {
  grid-column: 1 / -1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* The terminal only takes room in the agent chapter; in the browser chapter it folds away. */
.demo-stage {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 16px;
  align-items: stretch;
  transition:
    grid-template-columns 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    column-gap 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.demo[data-chapter="browser"] .demo-stage {
  grid-template-columns: 0px minmax(0, 1fr);
  column-gap: 0px;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule);
}
.line-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Terminal */

.term {
  overflow: hidden;
  background: var(--log-bg);
  color: var(--log-stdout);
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.term-bar,
.term-body {
  width: 300px;
  box-sizing: border-box;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid oklch(1 0 0 / 0.12);
}
.term .dots i {
  background: oklch(1 0 0 / 0.2);
}
.term-path {
  font: 400 12px var(--font-mono);
  opacity: 0.6;
}
.term-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 12.5px/1.55 var(--font-mono);
  overflow: hidden;
}
.term-line {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 4px;
  animation: term-in 0.25s ease both;
}
.term-line--you {
  font-weight: 500;
}
.term-line--you::before {
  content: "❯";
  color: var(--log-live);
}
.term-line--tool::before {
  content: "●";
  color: var(--log-live);
}
.term-line--tool.is-busy::before {
  color: var(--flag);
  animation: gw-pulse 1.2s ease-in-out infinite;
}
.term-line--say::before {
  content: "●";
  color: var(--log-stdout);
}
.term-tool {
  color: var(--log-system);
}
.term-tool small {
  font-size: inherit;
  opacity: 0.55;
}
.term-sub {
  display: block;
  opacity: 0.65;
}
.term-caret::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: currentColor;
  animation: gw-pulse 1s steps(1) infinite;
}
@keyframes term-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

/* Browser */

.browser {
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px var(--ink);
  background: var(--paper);
}
.browser-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 12px 0;
  border-bottom: 1px solid var(--ink);
}
.browser-bar .dots {
  align-self: center;
  margin: 0 10px 8px 0;
}
.browser-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 190px;
  padding: 6px 12px;
  font: 500 12px var(--font-sans);
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  border-bottom: 0;
  margin-bottom: -1px;
}
.browser-tab[hidden] {
  display: none;
}
.browser-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}
.browser-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.browser-tab[data-tab="site"] {
  animation: term-in 0.3s ease both;
}
.browser-url {
  padding: 7px 12px;
  border-bottom: 1px solid var(--rule);
  font: 400 12px var(--font-mono);
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-url::before {
  content: "https://";
  opacity: 0.55;
}
.browser-view {
  height: 440px;
  overflow: hidden;
  position: relative;
}
.browser-view [hidden] {
  display: none !important;
}

/* The dashboard, scaled to fit: same tokens, same pieces as web/src/app. */

.gw {
  height: 100%;
  display: flex;
  flex-direction: column;
  font: 400 13px var(--font-sans);
}
.gw-header {
  --rib: var(--header-bg);
  background: var(--header-bg);
  color: var(--header-fg);
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  white-space: nowrap;
  overflow: hidden;
}
.gw-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 15px var(--font-mono);
  letter-spacing: -0.04em;
}
.gw-brand svg {
  width: 20px;
  height: 20px;
}
.gw-nav {
  display: flex;
  height: 100%;
  font: 500 11px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gw-nav span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  opacity: 0.7;
}
.gw-nav .is-on {
  opacity: 1;
  box-shadow: inset 0 -3px 0 var(--flag);
}
.gw-who {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gw-role {
  font: 600 9px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1px 5px;
  box-shadow: inset 0 0 0 1px var(--header-fg);
}
.gw-page {
  flex: 1;
  min-height: 0;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: page-in 0.35s ease both;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.gw-title-rule {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.gw-h1 {
  font: italic 400 34px/1 var(--font-serif);
}
.gw-count {
  font: 400 13px var(--font-mono);
  color: var(--ink-muted);
  padding-bottom: 4px;
}
.gw-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 11px var(--font-mono);
  color: var(--ink-muted);
}
.gw-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--awake);
}
.gw-title-rule .gw-live {
  margin-left: auto;
  padding-bottom: 6px;
}
.gw-title-rule .btn {
  margin-bottom: 2px;
}
.gw-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.gw-chips {
  display: flex;
}
.gw-chips span {
  padding: 4px 10px;
  border: 1px solid var(--rule);
  font-weight: 500;
}
.gw-chips span + span {
  border-left: 0;
}
.gw-select,
.gw-search {
  padding: 4px 18px 4px 0;
  border-bottom: 1px solid var(--ink);
}
.gw-search {
  flex: 1;
  min-width: 0;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
}
.gw-table {
  display: flex;
  flex-direction: column;
}
.gw-tr {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) 92px minmax(0, 1.6fr) 74px 74px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.gw-tr[hidden] {
  display: none;
}
.gw-th {
  padding: 6px 0;
  border-bottom-color: var(--ink);
  font: 600 10px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gw-tr.is-new {
  animation: row-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.gw-tr.is-hot {
  background: var(--flag-wash);
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
    background: var(--flag-wash);
  }
}
.gw-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.gw-name-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.gw-serif {
  font: 400 16px/1.2 var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-host {
  font: 400 11px var(--font-mono);
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-icon {
  --tint: color-mix(in oklch, var(--c) 12%, var(--paper));
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  background: var(--tint);
  border: 1px solid color-mix(in oklch, var(--c) 35%, var(--paper));
}
[data-theme="dark"] .gw-icon {
  color: color-mix(in oklch, var(--c) 60%, white);
}
.gw-icon svg {
  width: 17px;
  height: 17px;
}
.gw-icon--lg {
  width: 40px;
  height: 40px;
}
.gw-icon--lg svg {
  width: 22px;
  height: 22px;
}
.gw-lock {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 4px;
  padding: 1px 6px;
  background: var(--flag);
  color: var(--on-flag);
  font: 600 9px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gw-src {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-chip {
  font: 400 10px var(--font-mono);
  background: var(--paper-raised);
  padding: 1px 5px;
  margin-right: 6px;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.gw-muted {
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Preview page */

.gw-back,
.gw-label {
  font: 600 10px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gw-page[data-screen="detail"] {
  gap: 14px;
}
.gw-page[data-screen="detail"] .gw-title-rule {
  align-items: center;
}
.gw-title {
  font: 400 30px/1 var(--font-serif);
  letter-spacing: -0.01em;
}
.gw-cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
}
.gw-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.gw-url {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.gw-svc {
  font-weight: 500;
}
.gw-svc small {
  font: 600 9px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gw-mono {
  flex: 1;
  min-width: 0;
  font: 400 12px var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gw-fact {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
}
.gw-fact span {
  flex: 1;
  display: flex;
  gap: 6px;
  color: var(--ink-muted);
}
.gw-fact span::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
}
.gw-fact b {
  font: 400 12px var(--font-mono);
}
.gw-log {
  background: var(--log-bg);
  color: var(--log-stdout);
}
.gw-log-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  border-bottom: 1px solid oklch(1 0 0 / 0.12);
  font: 500 10px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gw-log-bar > span {
  padding: 2px 8px;
  opacity: 0.6;
}
.gw-log-bar > .is-on {
  opacity: 1;
  background: var(--flag);
  color: var(--on-flag);
}
.gw-log-bar .gw-live {
  margin-left: auto;
  opacity: 0.8;
  color: var(--log-stdout);
  letter-spacing: 0;
  text-transform: none;
}
.gw-log-body {
  height: 118px;
  padding: 8px 10px;
  font: 400 11.5px/19px var(--font-mono);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gw-log-line {
  display: flex;
  gap: 12px;
  animation: term-in 0.2s ease both;
}
.gw-log-line i {
  width: 18px;
  flex-shrink: 0;
  text-align: right;
  font-style: normal;
  opacity: 0.4;
  user-select: none;
}
.gw-log-line[data-stream="system"] {
  color: var(--log-system);
}
.gw-log-line[data-stream="build"] {
  color: var(--log-build);
}

/* The preview itself */

.site {
  height: 100%;
  box-sizing: border-box;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  animation: page-in 0.4s ease both;
}
.app-caps {
  display: flex;
  justify-content: space-between;
  font: 600 11px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.slide-title {
  margin-top: auto;
  font: italic 400 44px/1.05 var(--font-serif);
  letter-spacing: -0.02em;
}
.slide-figure {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.slide-figure strong {
  font: 500 64px/1 var(--font-mono);
  color: var(--flag);
}
.slide-figure span {
  font: 400 16px/1.4 var(--font-sans);
  opacity: 0.8;
}
.slide-dots {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.slide-dots span {
  flex: 1;
  height: 3px;
  background: var(--paper);
  opacity: 0.25;
}
.slide-dots span.on {
  opacity: 1;
}
.site.is-fresh .slide-title,
.site.is-fresh .slide-figure {
  animation: page-in 0.45s ease both;
}

/* New preview */

.gw-title-rule--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.gw-page[data-screen="new"] {
  gap: 14px;
}
.gw-starters-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.gw-starters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.gw-starter {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px;
  background: var(--paper-raised);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.gw-starter > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.gw-starter b {
  font-weight: 500;
  font-size: 13px;
}
.gw-starter small {
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink-muted);
}
.gw-starter-icon,
.gw-looks-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gw-looks-icon {
  width: 20px;
  height: 20px;
  background: none !important;
}
.gw-starter-icon svg {
  width: 16px;
  height: 16px;
}
.gw-looks-icon svg {
  width: 14px;
  height: 14px;
}
.gw-drop {
  box-shadow: var(--neatline);
  padding: 18px 20px;
  min-height: 118px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.25s;
}
.gw-drop.is-over {
  background: var(--flag-wash);
}
.gw-drop-empty,
.gw-drop-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.gw-drop-full {
  animation: page-in 0.3s ease both;
}
.gw-drop-title {
  font: italic 400 19px/1.1 var(--font-serif);
}
.gw-drop-empty u {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px dotted var(--ink-muted);
}
.gw-pickers {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.gw-pickers span {
  border: 1px solid var(--ink);
  padding: 5px 11px;
  font: 600 10px var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gw-looks {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ink-muted);
}
.gw-looks b {
  font-weight: 500;
  color: var(--ink);
}
.gw-plan {
  font: 400 10.5px var(--font-mono);
  color: var(--ink-muted);
}
.gw-drop-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.gw-options-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.gw-options-head b {
  font: 600 10px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gw-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gw-progress[hidden] {
  display: none;
}
.gw-bar {
  height: 5px;
  box-shadow: inset 0 0 0 1px var(--rule);
  overflow: hidden;
}
.gw-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.5s ease;
}
.btn.is-press {
  transform: scale(0.94);
}
.btn {
  transition: transform 0.12s;
}

/* The pointer, and the folder it drags in from the desktop */

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.45, 0, 0.25, 1),
    opacity 0.3s;
}
.cursor.is-on {
  opacity: 1;
}
.cursor svg {
  display: block;
  width: 18px;
  height: 22px;
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.2;
  transform-origin: 0 0;
  transition: transform 0.12s;
}
.cursor.is-press svg {
  transform: scale(0.82);
}
.cursor-drag {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  white-space: nowrap;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
  font: 400 11px var(--font-mono);
  color: var(--ink);
}
.cursor-drag[hidden] {
  display: none;
}
.cursor-drag-icon svg {
  display: block;
  width: 13px;
  height: 13px;
}

/* The preview itself: a deck from the agent, a dashboard from the upload */

.site:has(.site-dash:not([hidden])) {
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}
.site-deck {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site [data-site][hidden] {
  display: none;
}

/* The uploaded growth dashboard, drawn the way gangway's artifact kit draws one (render/src/kit.css):
   graph paper, neatline cards, the flag title block, series colours --s1…--s6. */
.site-dash {
  --sheet: oklch(0.99 0.006 85);
  --grid: oklch(0.9 0.02 240);
  --grid-fine: oklch(0.94 0.014 240);
  --ok: oklch(0.58 0.13 155);
  --s1: #215da5;
  --s2: #cc3f2f;
  --s3: #009e98;
  --s4: #de9d16;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 18px 20px;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size:
    64px 64px,
    64px 64px,
    16px 16px,
    16px 16px;
  background-position: -1px -1px;
}
[data-theme="dark"] .site-dash {
  --sheet: oklch(0.23 0.038 255);
  --grid: oklch(0.28 0.04 250);
  --grid-fine: oklch(0.245 0.038 250);
  --ok: oklch(0.75 0.14 155);
  --s1: #4b77cc;
  --s2: #d95544;
  --s3: #29a895;
  --s4: #bb881a;
}
.art-card,
.art-title {
  background: var(--sheet);
  box-shadow:
    inset 0 0 0 1px var(--ink),
    inset 0 0 0 4px var(--sheet),
    inset 0 0 0 5px var(--rule);
}
.art-caps {
  font: 600 9px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.art-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 11px;
}
.art-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.art-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.art-flag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--flag);
}
.art-meta {
  font: 400 10px var(--font-mono);
  color: var(--ink-muted);
}
.art-h1 {
  font: italic 400 26px/1 var(--font-serif);
  letter-spacing: -0.01em;
}
.art-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.art-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
}
.art-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.art-row b {
  font: 600 24px/1.05 var(--font-sans);
  letter-spacing: -0.01em;
}
.art-spark {
  width: 56px;
  height: 18px;
  overflow: visible;
}
.art-spark path {
  fill: none;
  stroke: var(--flag);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.art-foot {
  font-size: 11px;
  color: var(--ink-muted);
}
.art-foot em {
  font: 600 10.5px var(--font-mono);
  font-style: normal;
  color: var(--ok);
  margin-right: 4px;
}
.art-charts {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 10px;
}
.art-chart {
  margin: 0;
  min-width: 0;
  min-height: 0;
  padding: 11px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.art-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font: 400 10px var(--font-mono);
  color: var(--ink-muted);
}
.art-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.art-legend i {
  width: 8px;
  height: 8px;
}
.art-legend b {
  font-weight: 600;
  color: var(--ink);
  margin-left: 2px;
}
.art-legend--col {
  flex-direction: column;
  gap: 5px;
}
.art-line {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: visible;
}
.art-axis text,
.art-ends text {
  font: 400 8px var(--font-mono);
  fill: var(--ink-muted);
}
.art-ends text {
  font-weight: 600;
  fill: var(--ink);
}
.art-grid {
  stroke: var(--grid);
}
.art-base {
  stroke: var(--ink);
}
.art-area {
  opacity: 0.14;
}
.art-path {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
}
.art-ends circle {
  stroke: var(--sheet);
  stroke-width: 2;
}
.art-donut {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.art-donut svg {
  height: 100%;
  max-height: 150px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.art-donut circle {
  fill: none;
  stroke-width: 14;
}
.art-donut-n {
  font: 600 13px var(--font-sans);
  fill: var(--ink);
}
.art-donut-l {
  font: 400 7px var(--font-mono);
  fill: var(--ink-muted);
}
.site:not([hidden]) .art-path {
  animation: dash-draw 1.2s cubic-bezier(0.3, 0.6, 0.2, 1) 0.2s both;
}
.site:not([hidden]) .art-area,
.site:not([hidden]) .art-ends {
  animation: fade-in 0.5s ease 1.2s both;
}
.site:not([hidden]) .art-donut circle {
  animation: dash-draw-ring 0.9s cubic-bezier(0.3, 0.6, 0.2, 1) 0.3s both;
}
@keyframes dash-draw {
  from {
    stroke-dashoffset: 1;
  }
}
@keyframes dash-draw-ring {
  from {
    stroke-dasharray: 0 238.76;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.line-icon-slot svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* Caption and controls */

.demo-chapters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-chapters .demo-scene {
  margin-left: 8px;
}
.demo-ctl[data-go] {
  font-family: var(--font-mono);
}
.demo-ctl[data-go][aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--flag);
}

.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.demo-scene {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 400 12px var(--font-mono);
  color: var(--ink-muted);
}
.demo-scene::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--awake);
}
.demo[data-paused] .demo-scene::before {
  background: var(--ink-muted);
}
.demo-controls {
  display: flex;
  gap: 6px;
}
.demo-ctl {
  all: unset;
  cursor: pointer;
  font: 500 12px var(--font-sans);
  padding: 4px 10px;
  border: 1px solid var(--rule);
}
.demo-ctl:hover {
  border-color: var(--ink);
}
.demo-ctl:focus-visible {
  outline: 2px solid var(--flag);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .demo-stage,
  .demo[data-chapter="browser"] .demo-stage {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }
  .demo[data-chapter="browser"] .term {
    display: none;
  }
  .term-bar,
  .term-body {
    width: auto;
  }
  .gw-starters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .term-body {
    height: 190px;
    justify-content: flex-end;
  }
  .gw-tr {
    grid-template-columns: minmax(0, 1fr) 84px;
  }
  .gw-tr > :nth-child(3),
  .gw-opt {
    display: none;
  }
  .gw-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .gw-nav span:nth-child(n + 3),
  .gw-who,
  .gw-filters {
    display: none;
  }
}
@media (max-width: 640px) {
  .browser-view {
    height: 400px;
  }
  .gw-starters-head,
  .gw-starters {
    display: none;
  }
  .site-dash {
    padding: 12px;
  }
  .art-h1 {
    font-size: 21px;
  }
  .art-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .art-stat:nth-child(3),
  .art-spark {
    display: none;
  }
  .art-charts {
    grid-template-columns: minmax(0, 1fr);
  }
  .art-chart + .art-chart {
    display: none;
  }
  .gw-page {
    padding: 16px;
  }
  .gw-title-rule .btn {
    display: none;
  }
  .site {
    padding: 24px;
  }
  .slide-title {
    font-size: 30px;
  }
  .slide-figure strong {
    font-size: 44px;
  }
}

/* In short */

.intro {
  gap: 10px;
}
.big-quote {
  margin: 0;
  font: italic 400 clamp(30px, 4vw, 44px) / 1.08 var(--font-serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sub-serif {
  margin: 0;
  font: 400 17px/1.5 var(--font-serif);
  color: var(--ink-muted);
  max-width: 38em;
  text-wrap: pretty;
}
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  box-shadow: var(--neatline-soft);
  padding: 5px;
}
.flow-step {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-step + .flow-step {
  border-left: 1px dotted var(--rule);
}
.flow-step:last-child {
  background: var(--flag-wash);
}
.flow-step code {
  font: 400 13px/1.5 var(--font-mono);
  overflow-wrap: anywhere;
}
.flow-step:last-child code {
  font-weight: 500;
}
.flow-step p {
  margin: 0;
  font: 400 14px/1.45 var(--font-sans);
  color: var(--ink-muted);
}
.kinds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0 32px;
}
.kind {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px dotted var(--rule);
  min-width: 0;
}
.kind svg {
  display: block;
  overflow: visible;
  height: 56px;
  margin-bottom: 8px;
}
.kind-name {
  font: italic 400 20px/1.15 var(--font-serif);
}
.kind-body {
  font: 400 14px/1.4 var(--font-sans);
  color: var(--ink-muted);
  text-wrap: pretty;
}
.kind-host {
  font: 400 12px var(--font-mono);
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Three ways in, lifecycle */

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
}
.way {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.way h3 {
  margin: 0;
  font: italic 400 26px/1.1 var(--font-serif);
}
.way p {
  margin: 0;
  font: 400 15px/1.5 var(--font-sans);
  text-wrap: pretty;
}
.way code {
  font: 400 12px/1.5 var(--font-mono);
  background: var(--paper-raised);
  box-shadow: var(--hairline);
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
.life {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.life-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 16px 0;
  border-top: 1px solid var(--ink);
}
.life-step div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.life-step div span:last-child {
  color: var(--ink-muted);
}
.life-step p {
  margin: 0;
  font: 400 14px/1.45 var(--font-sans);
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Runtimes */

.runtimes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
}
.runtimes-lead {
  margin: 0;
  font: 400 16px/1.45 var(--font-serif);
  color: var(--ink-muted);
}
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px 16px;
}
.brands + .brands {
  border-top: 1px dotted var(--rule);
  padding-top: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 15px var(--font-sans);
}
.brand-tile {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, currentColor 10%, transparent);
}

/* Install */

.install {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
}
.install-head {
  gap: 12px;
  align-self: start;
}
@media (min-width: 760px) {
  .install-head {
    position: sticky;
    top: 24px;
  }
}
.install-body {
  gap: 28px;
  min-width: 0;
}
.install code,
.needs code {
  font: 400 0.9em var(--font-mono);
}
.needs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}
.needs li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--rule);
  font: 400 15px/1.5 var(--font-sans);
  color: var(--ink-muted);
}
.needs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--awake);
  font-weight: 600;
}
.needs b {
  font-weight: 500;
  color: var(--ink);
}
.needs-note {
  margin: 0;
  font: 400 14px/1.45 var(--font-sans);
  color: var(--ink-muted);
}
.command {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background: var(--log-bg);
  color: var(--log-stdout);
}
.command code {
  flex: 1;
  min-width: 0;
  font: 400 13px/1.6 var(--font-mono);
  overflow-wrap: anywhere;
  user-select: all;
}
.command code::before {
  content: "$ ";
  color: var(--log-build);
  user-select: none;
}
.command-copy {
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  padding: 3px 10px;
  background: var(--flag);
  color: var(--on-flag);
  font: 600 11px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px 24px;
}
.install-steps li {
  counter-increment: step;
  padding-top: 12px;
  border-top: 1px dotted var(--rule);
  font: 400 14px/1.45 var(--font-sans);
  color: var(--ink-muted);
}
.install-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 6px;
  font: 600 11px var(--font-sans);
  letter-spacing: 0.14em;
  color: var(--ink);
}

/* FAQ */

.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.faq-head {
  flex: 1 1 220px;
  gap: 8px;
}
.faq-list {
  flex: 3 1 480px;
  min-width: 0;
  border-bottom: 1px solid var(--rule);
}
.faq-list details {
  border-top: 1px solid var(--rule);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  font: 500 17px var(--font-sans);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before {
  content: "▸";
  font-size: 12px;
  width: 12px;
  flex-shrink: 0;
  display: inline-block;
}
.faq-list details[open] summary::before {
  transform: rotate(90deg);
}
.faq-list p {
  margin: 0;
  padding: 0 0 18px 24px;
  font: 400 15px/1.55 var(--font-sans);
  color: var(--ink-muted);
  max-width: 44em;
  text-wrap: pretty;
}

/* Pricing */

.plans {
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dotted var(--rule);
}
.plan-head {
  display: flex;
  gap: 10px;
  align-items: center;
}
.plan h3 {
  margin: 0;
  font: italic 400 28px/1.1 var(--font-serif);
}
.plan p {
  margin: 0;
  font: 400 15px/1.5 var(--font-sans);
  color: var(--ink-muted);
}
.plan-link {
  font: 600 13px var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.plan .btn {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 20px 48px;
    gap: 40px;
  }
  .plans {
    padding: 24px 20px;
  }
  .flow-step + .flow-step {
    border-left: 0;
    border-top: 1px dotted var(--rule);
  }
}

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