:root {
  --ink: #1c1b19;
  --quiet: #5f5a52;
  --paper: #f6f3ee;
  --line: #ddd6cc;
  --gold: #e6a317;
  --violet: #7b6cff;
  --sky: #3aa0ff;
  --desk: #11110f;
  --sans: "Sora", "Segoe UI", sans-serif;
  --brush: "Caveat Brush", cursive;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: var(--gold) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar { width: 11px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb {
  background: var(--gold);
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
}
html:hover::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb:hover {
  background: #c9a227;
  background-clip: padding-box;
  border: 3px solid transparent;
}

body {
  background: #fff;
  font-family: var(--sans);
  margin: 0;
  min-width: 320px;
}

a { color: inherit; }
button { font: inherit; }

.nav {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgb(255 255 255 / 88%);
  border: 1px solid rgb(28 27 25 / 8%);
  border-radius: 999px;
  display: flex;
  gap: 18px;
  inset: 16px 18px auto;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 8px 10px 8px 14px;
  position: sticky;
  top: 16px;
  z-index: 40;
}

img[src*="visuly-logo"] {
  background: none;
  box-shadow: none;
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  background: none;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.nav nav {
  display: flex;
  gap: 4px;
}
.nav nav a {
  border-radius: 999px;
  color: var(--quiet);
  padding: 8px 14px;
  position: relative;
  text-decoration: none;
}
.nav nav a:hover,
.nav nav a.is-current { color: var(--ink); }
.nav nav a.is-current::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 10' fill='none'><path d='M2 7 C 22 2, 54 9, 86 4' stroke='%231c1b19' stroke-width='3' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  content: "";
  height: 8px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 78%;
}

.nav-cta {
  background: var(--ink);
  border-radius: 999px;
  color: #fffaf0;
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
}

.hero {
  max-width: 54rem;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 6vw, 80px) 28px;
  text-align: center;
  margin: 0 auto;
}

.script {
  color: var(--gold);
  font-family: var(--brush);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 12em;
  text-wrap: balance;
}
.hero h1 .visual-answer {
  background: none;
  display: inline-block;
  padding: 0;
  position: relative;
  white-space: nowrap;
}
.hero h1 .visual-answer::after {
  background: var(--gold);
  border-radius: 999px;
  bottom: 0.08em;
  content: "";
  height: 0.16em;
  left: 0.02em;
  opacity: 0.92;
  position: absolute;
  right: 0.04em;
  transform: scaleX(0);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .visual-answer {
    animation: visuly-ink 1.1s cubic-bezier(.16, 1, .3, 1) both;
  }
  .hero h1 .visual-answer::after {
    animation: visuly-ink-rule 820ms 160ms cubic-bezier(.16, 1, .3, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .visual-answer::after { transform: scaleX(1); }
}
@keyframes visuly-ink {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes visuly-ink-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-subs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px auto 0;
}
.hero-subs span {
  color: var(--quiet);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
}

.lede {
  color: var(--quiet);
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 22px auto 0;
  max-width: 42rem;
}
.lede em {
  font-family: var(--brush);
  font-size: 1.35em;
  font-style: normal;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.btn-ink, .btn-ghost {
  border-radius: 999px;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
}
.btn-ink { background: var(--ink); color: #fffaf0; }
.btn-ghost { background: #fff; border: 1px solid var(--ink); }

.not-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}
.not-row li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-family: var(--brush);
  font-size: 1.55rem;
  gap: 8px;
  line-height: 1;
  padding: 8px 14px 6px;
}
.not-row img {
  border-radius: 6px;
  display: block;
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.demo { padding: 12px clamp(20px, 6vw, 80px) 72px; }
.demo-frame {
  background: var(--desk);
  border-radius: 24px;
  margin: 0 auto;
  max-width: 1080px;
  overflow: hidden;
}
.demo-slot {
  aspect-ratio: 16 / 9;
  background: #161513;
  position: relative;
}
.demo-video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.demo-play {
  background: #fffaf0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 650 .72rem var(--sans, inherit);
  height: 64px;
  left: 50%;
  letter-spacing: .04em;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  z-index: 1;
}
.demo-slot.is-playing .demo-play { display: none; }

.manifesto {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px clamp(20px, 6vw, 80px) 88px;
}
.manifesto-copy { min-width: 0; }
.manifesto h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  gap: .12em;
  letter-spacing: -0.04em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}
.peek-line {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0 .12em;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}
.peek-line:hover,
.peek-line:focus-visible,
.peek-line.is-on {
  background: #ffe082;
  outline: none;
}
.manifesto-last {
  background: #ffe082;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: block;
  margin-top: .45em;
  padding: 0 .12em;
}
.manifesto em {
  color: var(--gold);
  font-family: var(--brush);
  font-size: 1.12em;
  font-style: normal;
  font-weight: 400;
}

.peek {
  isolation: isolate;
  min-height: 0;
  position: relative;
}
.peek-stage {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: translate3d(18px, 0, 0) scale(.985);
  transition: opacity 320ms cubic-bezier(.16,1,.3,1), transform 320ms cubic-bezier(.16,1,.3,1);
}
.peek-stage.is-on {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: none;
}

.ide {
  background: #141311;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgb(0 0 0 / .28);
  color: #efe8dc;
  font-family: var(--sans);
  overflow: hidden;
}
.ide-bar {
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  display: flex;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
}
.ide-bar > img {
  background: none;
  border-radius: 5px;
  display: block;
  flex: 0 0 auto;
  height: 16px;
  object-fit: contain;
  width: 16px;
}
.ide-bar span {
  color: #efe8dc;
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 650;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ide-bar small {
  background: rgb(255 255 255 / 8%);
  border-radius: 999px;
  color: #9c978c;
  font-size: .58rem;
  margin-left: auto;
  padding: 3px 8px;
}
.ide-split {
  display: grid;
  grid-template-columns: minmax(150px, .46fr) minmax(0, 1fr);
  min-height: 280px;
}
.ide-split--app {
  grid-template-columns: minmax(200px, .42fr) minmax(0, 1fr);
  min-height: 360px;
}
.ide--feature .ide-chat {
  gap: 12px;
  min-height: 360px;
  padding: 16px 14px 12px;
}
.ide--feature .ide-intro { font-size: .7rem; line-height: 1.45; }
.ide--feature .ide-user,
.ide--feature .ide-bot { font-size: .7rem; }
.ide-bot strong { color: #efe8dc; font-weight: 650; }
.ide-bot em {
  color: #f1c75b;
  font-style: normal;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ide-composer {
  background: #292824;
  border-radius: 12px;
  color: #8f8b82;
  font-size: .64rem;
  margin-top: auto;
  padding: 11px 12px;
}
.ide-paper--busy,
.ide-paper--gd { padding: 18px 16px 14px; }
.ide--feature .ide-title { font-size: 1.45rem; margin-bottom: 10px; }
.ide-katex {
  align-items: center;
  background: #fff;
  border: 1px solid rgb(28 27 25 / 12%);
  color: #211f1b;
  display: flex;
  font-size: .92rem;
  justify-content: center;
  margin: 0 0 8px;
  min-height: 46px;
  overflow: hidden;
  padding: 8px 12px;
}
.ide-katex .katex { font-size: 1.05em; }
.ide-code {
  background: #fff;
  border: 1px solid rgb(28 27 25 / 12%);
  color: #211f1b;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: .78rem;
  line-height: 1.45;
  margin: 0 0 10px;
  overflow: hidden;
  padding: 10px 12px;
  white-space: pre;
}
.ide-code code { font: inherit; }
.ide-code .tok-k,
.kit-card--code .tok-k { color: #8a3b16; font-weight: 700; }
.ide-flowline {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.ide-arrow {
  display: block;
  fill: #c9a227;
  flex: 0 0 auto;
  height: 22px;
  overflow: visible;
  stroke: #c9a227;
  stroke-linecap: round;
  stroke-width: 2.2;
  width: 56px;
}
.ide-arrow--down { height: 36px; margin: 4px auto; width: 22px; }
.ide-note--user {
  background: #f3eee4;
  max-width: 14ch;
  outline: 1px dashed rgb(28 27 25 / 22%);
  rotate: 1.5deg;
}
.ide-note--tiny {
  font-size: .68rem;
  line-height: 1.05;
  margin: 0;
  max-width: 8.5ch;
  padding: 6px 7px 5px;
  position: absolute;
  rotate: 6deg;
  z-index: 3;
}
.ide-note--user small {
  color: #6a665e;
  display: block;
  font-family: var(--sans);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ide-gd {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.ide--feature .ide-note { font-size: 1.28rem; margin-top: 4px; max-width: none; }
.ide-split--paper { grid-template-columns: minmax(72px, .28fr) minmax(0, 1fr); }
.ide-chat {
  background: #0f0e0c;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}
.ide-intro {
  color: #8d887e;
  font-size: .62rem;
  line-height: 1.4;
  margin: 0;
}
.ide-user {
  align-self: flex-end;
  background: #34332e;
  border-radius: 12px 12px 3px 12px;
  font-size: .62rem;
  line-height: 1.4;
  margin: 0;
  max-width: 92%;
  padding: 8px 10px;
}
.ide-bot {
  align-items: flex-start;
  color: #c9c3b6;
  display: flex;
  font-size: .62rem;
  gap: 6px;
  line-height: 1.4;
  margin: 0;
}
.ide-bot img {
  background: none;
  border-radius: 5px;
  flex: 0 0 auto;
  height: 16px;
  object-fit: contain;
  width: 16px;
}
.ide-bot span { min-width: 0; }
.ide-paper {
  background: #f3ecdc;
  color: #1c1b19;
  min-height: 220px;
  overflow: hidden;
  padding: 18px 16px 16px;
  position: relative;
}
.ide-paper--idle { background: #1a1916; }
.ide-title {
  align-items: center;
  display: flex;
  font-family: var(--hand);
  font-size: 1.35rem;
  gap: 8px;
  line-height: 1.1;
  margin: 0 0 12px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.uk-flag {
  display: block;
  flex: 0 0 auto;
  height: 14px;
  width: 28px;
}
.ide-math {
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 8px;
}
.ide-note {
  background: #ffe082;
  box-shadow: 0 8px 16px rgb(36 28 18 / 10%);
  color: #1c1b19;
  font-family: var(--hand);
  font-size: 1.2rem;
  line-height: 1.05;
  margin-top: 14px;
  max-width: 16ch;
  padding: 12px 11px;
  rotate: -3deg;
}
.ide-note--mint { --tilt: 4deg; background: #b8e6cf; margin-left: 28%; rotate: 4deg; }
.ide-note--blue { --tilt: -2deg; background: #c9d7ea; margin-left: 8%; rotate: -2deg; }
.ide-note--linen { --tilt: 1.5deg; background: #f3eee4; margin-left: 16%; outline: 1px dashed rgb(28 27 25 / 22%); rotate: 1.5deg; }
.ide-trip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
}
.ide-trip span {
  background: #17151a;
  border-radius: 999px;
  color: #fff4ea;
  font-family: var(--hand);
  font-size: 1.05rem;
  padding: 4px 10px;
}
.ide-trip i {
  background: #1c1b19;
  display: block;
  height: 2px;
  width: 18px;
}
.ide-paper--storm .ide-note { display: inline-block; margin-right: 10px; }

.peek-stage.is-on .ide-note {
  animation: note-drop 480ms cubic-bezier(.16,1,.3,1) both;
}
.peek-stage.is-on .ide-math {
  animation: note-drop 520ms cubic-bezier(.16,1,.3,1) both;
}
@keyframes note-drop {
  from { opacity: 0; transform: translate3d(0, 10px, 0) rotate(var(--tilt, -4deg)); }
  to { opacity: 1; transform: rotate(var(--tilt, -4deg)); }
}

.shot {
  background: #11110f;
  border-radius: 18px;
  min-height: 200px;
  overflow: hidden;
}
.ide--shot { border: 0; border-radius: 18px; box-shadow: none; }
.ide--shot .ide-split { min-height: 188px; }
.ide--shot .ide-title { font-size: 1.2rem; }
.ide--shot .ide-math { font-size: 1rem; }
.ide--shot .ide-note { font-size: 1rem; margin-top: 8px; padding: 8px; }
.ide-paper--play {
  cursor: cell;
  min-height: 188px;
  overflow: hidden;
}
.ide-paper--play .ide-title,
.ide-paper--play .ide-note:not(.ide-note--tiny) {
  pointer-events: none;
}
.ide--shot .ide-note--tiny {
  cursor: text;
  font-size: .68rem;
  margin-top: 0;
  padding: 6px 7px 5px;
}
.ide-note--tiny [contenteditable] {
  display: block;
  min-height: 1em;
  outline: 0;
}

.feature {
  align-items: center;
  background: var(--desk);
  color: #f6f1e6;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 80px);
}
.feature.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.feature.reverse .feature-copy { order: 2; }
.feature h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
}
.feature-copy p:not(.script) {
  color: #b7b1a6;
  margin: 0;
  max-width: 38rem;
}
.feature pre {
  background: #1c1b18;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 16px;
  color: #f6f1e6;
  font-size: .86rem;
  margin-top: 22px;
  overflow: auto;
  padding: 18px;
}

.ui-pane, .code-window {
  background: #1a1916;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .35);
  min-height: 320px;
  overflow: hidden;
}
.ui-pane header {
  align-items: baseline;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  display: flex;
  gap: 10px;
  padding: 14px 16px;
}
.ui-pane small {
  background: rgb(255 255 255 / 8%);
  border-radius: 999px;
  color: #9c978c;
  font-size: .62rem;
  padding: 3px 8px;
}
.ui-body { display: grid; gap: 12px; grid-template-columns: 92px 1fr; min-height: 280px; padding: 14px; }
.ui-chat { background: #12110f; border-radius: 12px; display: grid; gap: 8px; padding: 12px 10px; }
.ui-chat i { background: rgb(255 255 255 / 8%); border-radius: 8px; display: block; height: 28px; }
.ui-chat i:nth-child(2) { height: 44px; }
.ui-scene {
  background: #f4eee0;
  border-radius: 12px;
  min-height: 240px;
  padding: 18px 18px 16px;
}
.ui-heading {
  color: #1c1b19;
  font-family: var(--brush);
  font-size: 1.85rem;
  line-height: .95;
  margin: 0 0 16px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.ui-scene-row {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.ui-note {
  background: #ffe082;
  box-shadow: 0 10px 22px rgb(0 0 0 / 12%);
  color: #25231f;
  font-family: var(--brush);
  font-size: 1.35rem;
  line-height: 1.05;
  padding: 16px 14px;
  rotate: -3deg;
}
.ui-flow { display: block; height: auto; overflow: visible; width: 100%; }
.ui-flow rect { fill: #fff; stroke: #1c1b19; stroke-width: 1.5; }
.ui-flow path { fill: none; stroke: #1c1b19; stroke-linecap: round; stroke-width: 1.6; }
.ui-flow text { fill: #1c1b19; font-family: var(--sans); font-size: 11px; font-weight: 650; text-anchor: middle; }
.ui-loss { display: block; height: auto; overflow: visible; width: 100%; }
.ui-loss__axis { fill: none; stroke: #1c1b19; stroke-width: 1.4; }
.ui-loss__curve { fill: none; stroke: #1c1b19; stroke-linecap: round; stroke-width: 2.2; }
.ui-loss__steps { fill: none; stroke: #c9a227; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ui-loss circle { fill: #1c1b19; }
.ui-loss circle:last-of-type { fill: #c9a227; }
.ui-loss__label { fill: #5f5a52; font-family: var(--sans); font-size: 9px; font-weight: 650; }
.ui-loss__hand { fill: #1c1b19; font-family: var(--hand); font-size: 13px; }
.kit {
  padding: clamp(64px, 9vw, 104px) clamp(20px, 6vw, 80px) 40px;
}
.kit h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.kit-grid {
  display: grid;
  gap: 28px 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.kit-grid > li > span {
  color: var(--gold);
  display: block;
  font-family: var(--brush);
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.kit-grid p {
  color: var(--quiet);
  font-size: .92rem;
  line-height: 1.45;
  margin: 12px 0 0;
  max-width: 36ch;
}
.kit-card {
  background: #efe8dc;
  border-radius: 4px;
  min-height: 158px;
  padding: 16px;
}
.kit-card--notes {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 18px 28px rgb(48 32 12 / 8%);
}
.kit-card--arrows {
  background: #e7e2d8;
  box-shadow: none;
  outline: 1px solid rgb(28 27 25 / 10%);
  outline-offset: -1px;
}
.kit-card--diagram {
  background: #eceff3;
  padding: 10px;
}
.kit-card--graph {
  background: #fff;
  border-radius: 2px;
  box-shadow: 8px 0 0 #b4452c inset;
  padding: 10px 8px 6px 16px;
}
.kit-card--math {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgb(28 27 25 / 6%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.kit-card--math .katex { font-size: .95em; }
.kit-card--code {
  background: #1c1b19;
  color: #efe8dc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 168px;
}
.kit-code-src {
  background: #252320;
  border: 1px solid rgb(255 255 255 / 8%);
  color: #efe8dc;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: .72rem;
  line-height: 1.4;
  margin: 0;
  padding: 8px 10px;
  white-space: pre;
}
.kit-code-draw {
  align-items: center;
  display: flex;
  gap: 4px;
}
.kit-card--code .ide-note {
  color: #1c1b19;
  font-size: 1.05rem;
  margin-left: 0;
  margin-top: 0;
  max-width: 12ch;
  padding: 7px 8px;
}
.kit-card--code .tok-k { color: #e0b080; }
.kit-card--code .tok-s { color: #8fcea4; }
.kit-card--graph {
  align-items: center;
  display: flex;
}
.kit-card--graph svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}
.kit-graph__axis { fill: none; stroke: #c9c3b8; stroke-width: 1.3; }
.kit-graph__line { fill: none; stroke: #b4452c; stroke-linecap: round; stroke-width: 2.2; }
.kit-card--graph circle { fill: #fff; stroke: #b4452c; stroke-width: 2; }
.kit-card--graph text { fill: #1c1b19; font-family: var(--sans); font-size: 11px; font-weight: 650; }
.kit-card--notes .ide-note { display: inline-block; margin-right: 10px; margin-top: 0; }
.kit-card--arrows {
  align-items: center;
  display: flex;
  gap: 4px;
  min-height: 168px;
  overflow: visible;
  padding: 18px 12px;
}
.kit-card--arrows .ide-note {
  flex: 0 0 auto;
  margin-left: 0;
  margin-top: 0;
  max-width: 14ch;
  z-index: 2;
}
.kit-arrow-run {
  flex: 1 1 72px;
  min-width: 76px;
  position: relative;
  z-index: 1;
}
.kit-arrow-run svg {
  display: block;
  fill: #c9a227;
  height: 28px;
  overflow: visible;
  stroke: #c9a227;
  stroke-linecap: round;
  stroke-width: 2.2;
  width: 100%;
}
.kit-arrow-run svg path { fill: none; }
.kit-arrow-run span {
  background: #17151a;
  border-radius: 999px;
  color: #fff4ea;
  font-family: var(--hand);
  font-size: 1rem;
  left: 46%;
  line-height: 1;
  padding: 3px 9px 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.kit-card--diagram {
  align-items: stretch;
  display: flex;
  min-height: 168px;
  padding: 12px;
}
.kit-flow {
  background: #fff;
  border: 1px solid rgb(28 27 25 / 16%);
  border-radius: 8px;
  display: grid;
  flex: 1;
  gap: 6px 12px;
  grid-template-columns: 1fr 1fr;
  padding: 12px 10px 14px;
  position: relative;
}
.kit-flow__start {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 72%;
  width: 72%;
}
.kit-flow b {
  align-items: center;
  background: #e8eef5;
  border: 1px solid #333;
  border-radius: 2px;
  display: flex;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 650;
  justify-content: center;
  min-height: 38px;
  padding: 6px 8px;
  position: relative;
  text-align: center;
  z-index: 2;
}
.kit-flow__fork {
  fill: none;
  grid-column: 1 / -1;
  height: 36px;
  justify-self: stretch;
  overflow: visible;
  stroke: #333;
  stroke-linecap: round;
  stroke-width: 1.5;
  width: 100%;
}
.kit-flow__fork marker path {
  fill: #333;
  stroke: none;
}

.pro {
  margin: 0 auto;
  max-width: 1080px;
  padding: 48px clamp(20px, 6vw, 80px) 72px;
}
.pro > h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 12px;
  max-width: 16ch;
  text-wrap: balance;
}
.pro > p {
  color: var(--quiet);
  max-width: 62ch;
  margin: 0 0 36px;
}
.pro-split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px 32px;
}
.pro-card .script { margin-bottom: 4px; }
.pro-card h3 {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.pro-price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 6px;
}
.pro-price span, .pro-alt { color: var(--quiet); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.pro-alt { margin: 0 0 18px; }
.pro-card ul {
  color: var(--ink);
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.pro-card li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.pro-card--ink {
  background: var(--desk);
  border-color: transparent;
  color: #fffaf0;
  position: relative;
}
.pro-card--ink::before {
  background: var(--gold);
  border-radius: 2px;
  content: "";
  height: 12px;
  left: 28px;
  position: absolute;
  top: -6px;
  width: 84px;
}
.pro-card--ink .script { color: var(--gold); }
.pro-card--ink .pro-price span,
.pro-card--ink .pro-alt,
.pro-card--ink li { color: #cfc8bb; }
.pro-card--ink li { border-top-color: rgb(255 255 255 / 10%); color: #efe8dc; }
.pro-card--ink .btn-ink {
  background: var(--gold);
  color: #1c1b19;
  display: inline-flex;
  margin-top: 22px;
}

.try {
  margin: 0 auto;
  max-width: 1080px;
  padding: 48px clamp(20px, 6vw, 80px) 80px;
}
.try h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 12ch;
  text-wrap: balance;
}
.try-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.try-auth input {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  flex: 1 1 220px;
  font-family: var(--hand);
  font-size: 1.45rem;
  font-weight: 500;
  min-height: 52px;
  padding: 0 22px;
}
.try-auth input::placeholder {
  color: #6a665e;
  font-family: var(--hand);
}
.try-auth button {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  min-height: 52px;
  padding: 0 18px;
}
.try-auth-status { color: var(--quiet); flex: 1 1 100%; font-size: .85rem; margin: 0; min-height: 1.2em; }
.try-left {
  color: var(--gold);
  font-family: var(--brush);
  font-size: 1.8rem;
  margin: 8px 0 22px;
}
.ide--try {
  background: var(--desk);
  border-radius: 22px;
  overflow: hidden;
}
.try-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  padding: 16px 14px 12px;
}
.try-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: auto;
}
.try-intro { color: #9c978c; font-size: .82rem; line-height: 1.45; margin: 0; }
.try-bot { color: #efe8dc; font-size: .82rem; margin: 0; }
.try-composer {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.try-composer textarea {
  background: #292824;
  border: 0;
  border-radius: 12px;
  color: #efe8dc;
  font: 500 .85rem var(--sans);
  min-height: 52px;
  padding: 12px;
  resize: none;
}
.try-composer button {
  background: var(--gold);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  padding: 0 16px;
}
.try-composer button:disabled { cursor: wait; opacity: .6; }
.try-paper {
  min-height: 420px;
  overflow: auto;
  padding: 0;
}
.try-paper .vh {
  background: transparent;
  margin: 0;
  max-width: none;
  min-height: 100%;
  padding: 22px 18px 36px;
}
.try-line { color: #3f3c37; font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; margin: 0 0 16px; }
.try-line mark {
  background: rgba(255, 215, 91, 0.62);
  border-radius: 0.35em;
  color: inherit;
  padding: 0 .12em;
}
.try-wall {
  align-items: center;
  background: rgb(17 17 15 / 72%);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 60;
}
.try-wall[hidden] { display: none; }
.try-wall__paper {
  background: #f6f1e6;
  border-radius: 8px 22px 18px 12px;
  box-shadow: 0 28px 70px rgb(0 0 0 / 35%);
  max-width: 34rem;
  padding: 36px 32px 40px;
  position: relative;
  text-align: center;
}
.try-wall__paper::before {
  background: var(--gold);
  border-radius: 2px;
  content: "";
  height: 14px;
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%);
  width: 96px;
}
.try-wall__paper h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.try-wall__paper > p:not(.script) {
  color: var(--quiet);
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 36ch;
}
.try-wall__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
body.is-walled { overflow: hidden; }

.waitlist {
  margin: 0 auto;
  max-width: 640px;
  padding: 28px clamp(20px, 6vw, 80px) 80px;
  text-align: center;
}
.waitlist h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.waitlist > p:not(.script) { color: var(--quiet); margin: 0 auto 22px; max-width: 42ch; }
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.waitlist-form input {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  flex: 1 1 220px;
  font: 500 1rem var(--sans);
  min-height: 48px;
  padding: 0 18px;
}
.waitlist-form button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: #fffaf0;
  cursor: pointer;
  font-weight: 650;
  min-height: 48px;
  padding: 0 22px;
}
.waitlist-status {
  color: var(--quiet);
  flex: 1 1 100%;
  font-size: .88rem;
  margin: 8px 0 0;
  min-height: 1.2em;
}
.waitlist-status.is-ok { color: #2f7a4b; }
.waitlist-status.is-err { color: #9b2f24; }
.visually-hidden {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.shots {
  padding: clamp(64px, 9vw, 100px) clamp(20px, 6vw, 80px);
}
.shots h2, .faq h2, .enterprise h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.shots ol {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.shots li > span {
  color: var(--gold);
  display: block;
  font-family: var(--brush);
  font-size: 2rem;
}
.shots figcaption { color: var(--quiet); margin-top: 10px; }

.enterprise {
  padding: 20px clamp(20px, 6vw, 80px) 80px;
  text-align: center;
}
.enterprise h2 em {
  color: var(--gold);
  font-family: var(--brush);
  font-size: 1.12em;
  font-style: normal;
  font-weight: 400;
}
.enterprise p { color: var(--quiet); margin: 0 auto 22px; max-width: 36rem; }

.faq {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  padding: 20px clamp(20px, 6vw, 80px) 96px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  padding: 18px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--quiet); margin: 0 0 18px; max-width: 52ch; }

.founder {
  margin: 0 auto;
  max-width: 820px;
  padding: 12px clamp(20px, 6vw, 80px) 96px;
  text-align: center;
}
.founder-card {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 8px auto 0;
  max-width: 820px;
  text-align: left;
}
.founder-id {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}
.founder-photo {
  aspect-ratio: 1;
  background: #d8d4cc;
  border: 0;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 112px;
  margin: 0;
  overflow: hidden;
  width: 112px;
}
.founder-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.founder-photo a {
  display: block;
  height: 100%;
}
.founder-card blockquote {
  margin: 0;
}
.founder-card blockquote p {
  color: var(--quiet);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 62ch;
}
.founder-handle {
  color: var(--ink);
  display: inline-block;
  font-family: var(--brush);
  font-size: 1.35rem;
  line-height: 1;
  margin: 0;
  text-decoration: none;
}
.founder-handle:hover { color: var(--gold); }

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(20px, 6vw, 80px) 40px;
}

@media (max-width: 860px) {
  .nav nav { display: none; }
  .feature, .feature.reverse, .faq, .founder-card, .ide-gd, .manifesto, .ide-flowline { grid-template-columns: 1fr; }
  .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ide-flowline { flex-wrap: wrap; }
  .feature.reverse .feature-copy { order: 0; }
  .founder-id { justify-self: center; }
  .ide-split--app { grid-template-columns: 1fr; min-height: 0; }
  .ide--feature .ide-chat { min-height: 0; }
  .peek-stage { position: relative; transform: none; }
  .peek-stage:not(.is-on) { display: none; }
  .try-composer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kit-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .peek-stage { transition: none; transform: none; }
  .peek-stage.is-on .ide-note,
  .peek-stage.is-on .ide-math { animation: none; }
  .hero h1 .visual-answer,
  .hero h1 .visual-answer::after { animation: none; }
}
