* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-xl);
  background: var(--bg-canvas);
  color: var(--text-primary);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  touch-action: manipulation;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h2 {
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
p {
  line-height: 1.55;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 5px;
}
::selection {
  background: var(--accent-default);
  color: var(--text-primary);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.wrap {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 48px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--layer-access);
  padding: 12px 20px;
  background: var(--accent-default);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  min-height: 48px;
  padding: 14px 24px;
  border: var(--stroke-hairline) solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform var(--press) var(--ease),
    background var(--press),
    box-shadow var(--press);
}
.primary {
  background: var(--action-primary-bg);
  color: var(--action-primary-fg);
}
.secondary {
  background: var(--action-secondary-bg);
  color: var(--action-secondary-fg);
  border-color: var(--border-subtle);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevation-pill);
}
.button:active {
  transform: translateY(1px);
}
.button.small {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 14px;
  font-weight: 600;
  padding-block: 6px;
  border-bottom: 1px solid var(--border-subtle);
}
.text-link:hover {
  border-color: var(--border-strong);
}
.community-discovery {
  margin-top: var(--space-xl);
}
.icon-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 24px;
  line-height: 1;
}
.icon-button:hover {
  background: var(--bg-sunken);
}
/* Header and the approved 1440 × 908 opening composition. */
.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  z-index: var(--layer-header);
}
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: var(--bg-sunken);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: none;
}
.brand-mark {
  display: flex;
  gap: 4px;
}
.brand-mark img {
  width: 40px;
  height: 40px;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.brand-name > span {
  display: block;
  margin-top: 4px;
  font: 10px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}
.nav-pill {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--elevation-pill);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-pill a {
  font-size: 14px;
  padding: 8px 17px;
  min-height: 32px;
  border-radius: var(--radius-pill);
}
.nav-pill a.active {
  color: var(--text-inverse);
  background: var(--bg-inverse);
}
.nav-pill a:not(.active):hover {
  background: var(--bg-sunken-soft);
}
.header-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.beta-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font: 11px var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
}
.beta-status i,
.invitation-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--status-success);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 820px;
  padding-top: 110px;
  padding-bottom: 80px;
  text-align: center;
}
.hero-aura {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 50px 10% 210px;
  background:
    radial-gradient(ellipse at 22% 50%, var(--glow-lime), transparent 50%),
    radial-gradient(ellipse at 90% 20%, var(--glow-agent), transparent 45%);
  filter: blur(28px);
}
.hero-main {
  position: relative;
}
.key-note {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 100%;
  padding-inline: 8px;
  color: var(--text-secondary);
  font: 11px/1.5 var(--font-mono);
  text-align: center;
  pointer-events: none;
}
html.lenis,
html.lenis body {
  scroll-behavior: auto;
}
.dev {
  display: block;
  font-size: 80px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -4px;
}
.welcome {
  display: block;
  font-size: clamp(120px, 13.61vw, 196px);
  line-height: 1;
  letter-spacing: -0.056em;
  font-weight: 800;
  margin-top: 0;
}
.keycaps {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  padding-bottom: 10px;
}
.key {
  width: 132px;
  height: 132px;
  border: var(--stroke-key) solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  box-shadow: 0 8px 0 var(--border-strong);
  font-family: var(--font-sans);
  font-size: 108px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -3px;
  padding: 0 0 10px;
  transition:
    transform var(--press) var(--ease),
    box-shadow var(--press) var(--ease),
    background var(--press);
}
.key:last-child {
  background: var(--accent-default);
  transform: rotate(5deg);
  margin-left: 2px;
}
.key:hover {
  background: var(--accent-default);
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--border-strong);
}
.key:last-child:hover {
  transform: rotate(2deg) translateY(-4px);
}
.key:active,
.key.pressed {
  transform: translateY(7px);
  box-shadow: 0 1px 0 var(--border-strong);
  background: var(--accent-default);
}
.key:last-child:active,
.key:last-child.pressed {
  transform: rotate(2deg) translateY(7px);
}
.key:focus-visible {
  outline-offset: 13px;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
  margin-top: 49px;
}
.hero-sub strong {
  color: var(--text-primary);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 31px;
}
.email {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
}
.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font: 10px var(--font-mono);
  color: var(--text-secondary);
}
.hero-bottom a {
  padding-block: 5px;
}
.hero-bottom a span {
  margin-left: 12px;
}
.hero-bottom p {
  font: inherit;
  letter-spacing: 1.6px;
}
/* Interactive history capsule: layer 2 stays above floating artwork. */
.commit-anchor {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--layer-popover);
  text-align: left;
}
.commit-capsule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 13px 3px 4px;
  min-height: 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--elevation-pill);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.commit-capsule[aria-expanded="true"] {
  background: var(--bg-surface);
  box-shadow: var(--elevation-card);
}
.commit-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-default);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
}
.commit-chip > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
}
.hash {
  font: 10px var(--font-mono);
  color: var(--text-secondary);
}
.capsule-arrow {
  font-size: 12px;
  color: var(--text-secondary);
  transition: transform 220ms var(--ease);
}
.commit-capsule[aria-expanded="true"] .capsule-arrow {
  transform: rotate(90deg);
}
.commit-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: calc(100vw - 32px);
  padding: 18px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-2xl);
  box-shadow: var(--elevation-float);
  animation: popover-in 280ms var(--ease) both;
  transform-origin: top center;
}
.commit-popover::before {
  /* An invisible bridge keeps hover continuous across the floating gap. */
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.commit-popover:not([hidden]) .popover-header {
  animation: history-header-pop 440ms 50ms var(--ease) both;
}
@keyframes history-header-pop {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.popover-header h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.popover-header p {
  font: 9px/1.5 var(--font-mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}
.popover-close {
  height: 30px;
  width: 30px;
  font-size: 20px;
}
.history-tabs {
  display: flex;
  background: var(--bg-sunken);
  padding: 3px;
  border-radius: var(--radius-pill);
  margin: 14px 0;
}
.history-tabs button {
  width: 50%;
  background: none;
  border: 0;
  padding: 6px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  min-height: 30px;
}
.history-tabs [aria-selected="true"] {
  background: var(--bg-surface);
  box-shadow: var(--elevation-pill);
}
.history-panel {
  animation: panel-in var(--slide) var(--ease);
}
.history-panel > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440/908;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--elevation-card);
}
.mini-timeline {
  margin: 16px 0 12px;
  padding: 0;
  list-style: none;
}
.mini-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  line-height: 1.5;
  padding-block: 6px;
}
.mini-timeline li:first-child {
  color: var(--text-secondary);
}
.mini-timeline code,
.mini-timeline time {
  font: 9px var(--font-mono);
}
.history-panel .text-link {
  font-size: 11px;
}
.history-date {
  float: right;
  font: 9px var(--font-mono);
  color: var(--text-secondary);
  margin-top: 11px;
}
/* Artifacts are illustrative content from the approved brief, never live connection status. */
.artifact {
  position: absolute;
  pointer-events: none;
  z-index: var(--layer-art);
  text-align: left;
}
.editor-art {
  left: 26px;
  top: 123px;
  width: 300px;
  transform: none;
}
.editor-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 1px var(--border-subtle));
}
.comment-art {
  left: 84px;
  top: 498px;
  width: 282px;
  min-height: 182px;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px var(--border-subtle);
  transform: rotate(4deg);
}
.comment {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}
.comment strong {
  font-size: 12px;
}
.comment small {
  font: 9px var(--font-mono);
  margin-left: 5px;
  color: var(--text-secondary);
}
.comment p {
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}
.comment.reply {
  margin-top: 34px;
  position: relative;
}
.comment.reply::before {
  content: "";
  position: absolute;
  left: 13px;
  bottom: calc(100% + 5px);
  height: 27px;
  width: 1px;
  background: var(--border-subtle);
}
.avatar {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.avatar.owner {
  background: var(--presence-owner);
}
.avatar.agent {
  background: var(--presence-agent);
}
.resolve-label {
  display: block;
  float: right;
  padding: 3px 10px;
  margin-top: 6px;
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-radius: var(--radius-pill);
  font-size: 9px;
}
.sticky-art {
  right: 94px;
  top: 500px;
  width: 196px;
  height: 176px;
  padding: 20px;
  background: var(--accent-default);
  transform: rotate(-5deg);
  box-shadow: var(--elevation-float);
}
.sticky-art p {
  font: italic 24px/1.1 var(--font-hand);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.sticky-art > span {
  position: absolute;
  bottom: 20px;
  font: 9px var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.skeleton-art {
  right: 48px;
  top: 112px;
  width: 260px;
  height: 188px;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--elevation-pill);
  transform: rotate(-4deg);
}
.skeleton-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.skeleton-profile > i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-sunken);
}
.skeleton-profile > div {
  flex: 1;
}
.skeleton-profile b {
  display: block;
  width: 74%;
  height: 8px;
  background: var(--bg-sunken);
  border-radius: var(--radius-xs);
}
.skeleton-profile b + b {
  width: 48%;
  height: 6px;
  margin-top: 5px;
  background: var(--bg-sunken-soft);
}
.skeleton-preview {
  height: 60px;
  background: var(--bg-sunken);
  border-radius: var(--radius-md);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    var(--bg-glass) 50%,
    transparent 75%
  );
  transform: translateX(-100%);
  animation: shimmer 1.6s linear infinite;
}
.skeleton-lines {
  margin-top: 12px;
}
.skeleton-lines i {
  display: block;
  width: 86%;
  height: 6px;
  border-radius: var(--radius-xs);
  background: var(--bg-sunken);
}
.skeleton-lines i + i {
  width: 62%;
  margin-top: 6px;
}
.skeleton-status {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  font: 9px var(--font-mono);
  letter-spacing: 0.2px;
}
.skeleton-status > span:first-child {
  color: var(--text-secondary);
}
.skeleton-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: var(--status-live);
  border-radius: 50%;
}
/* Independent labels share one presence layer. The pointer may briefly join it. */
.presence-cursors {
  --cursor-travel: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--layer-art);
  overflow: clip;
}
.cursor {
  position: absolute;
  display: block;
  --cursor-color: var(--presence-agent);
  will-change: transform;
}
.cursor > img {
  width: 27px;
  height: 30px;
  filter: drop-shadow(0 2px 2px var(--border-subtle));
}
.cursor > span {
  display: block;
  margin: -6px 0 0 20px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--cursor-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--elevation-cursor);
}
.cursor-agent {
  left: 24%;
  top: 45%;
  animation: drift-agent 7.3s ease-in-out infinite alternate;
  animation-delay: -2s;
}
.cursor-codex {
  --cursor-color: var(--presence-codex);
  left: 68%;
  top: 22%;
  animation: drift-codex 7.6s ease-in-out infinite alternate;
  animation-delay: -4s;
}
.cursor-codex > span {
  color: var(--text-inverse);
}
.cursor-owner {
  --cursor-color: var(--presence-owner);
  left: 70%;
  top: 67%;
  animation: drift-owner 8s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}
.cursor-you {
  --cursor-color: var(--presence-visitor);
  left: 83%;
  top: 43%;
  animation: drift-you 6.5s ease-in-out infinite alternate;
  animation-delay: -3.3s;
  translate: var(--cursor-pointer-x, 0px) var(--cursor-pointer-y, 0px);
  transition: translate 700ms cubic-bezier(.4, 0, .2, 1);
}
.cursor-you.pointer-joined {
  transition: none;
}
.history-open .shimmer::after,
.motion-paused .cursor,
.motion-paused .shimmer::after {
  animation-play-state: paused;
}
/* Product and supporting sections continue the same light paper theme. */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.eyebrow {
  font: 10px/1.4 var(--font-mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.section-lede {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
}
.product {
  position: relative;
  padding-inline: 64px;
}
.product-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.product-heading h2 {
  max-width: 660px;
}
.product-heading .section-lede {
  max-width: 515px;
  padding-top: 24px;
}
.product-frame {
  margin-top: 64px;
}
.product-link {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  background: var(--bg-surface);
  padding: 0;
  box-shadow: 0 2px 3px var(--bg-sunken);
  overflow: hidden;
  text-align: left;
}
.product-link > img {
  width: 100%;
  height: auto;
}
.zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 14px;
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-radius: var(--radius-pill);
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--press),
    transform var(--press);
  pointer-events: none;
}
.product-link:hover .zoom-hint,
.product-link:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}
.product-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: 52px;
}
.product-callouts article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.callout-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-sunken);
  font-size: 12px;
  font-weight: 500;
}
.product-callouts h3 {
  margin-bottom: 10px;
}
.product-callouts p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.how {
  border-top: 1px solid var(--border-subtle);
}
.section-heading {
  max-width: 700px;
}
.section-heading h2 {
  font-size: clamp(38px, 4.5vw, 64px);
}
.section-heading .section-lede {
  margin-top: 24px;
  font-size: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: 56px;
}
.step-preview {
  height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-sunken-soft);
}
.step-preview img {
  position: absolute;
  max-width: none;
  width: 830px;
  height: auto;
  top: 0;
}
.preview-open img {
  left: 0;
  top: 0;
}
.preview-connect img {
  right: 0;
  top: 0;
}
.preview-review img {
  left: 50%;
  top: -110px;
  transform: translateX(-58%);
  width: 1100px;
}
.step-copy {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.step-index {
  font: 12px var(--font-mono);
  color: var(--text-secondary);
  padding-top: 5px;
}
.step h3 {
  font-size: 20px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 315px;
}
.history {
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.history-intro .section-lede {
  font-size: 17px;
  margin-top: 24px;
}
.history-intro > .text-link {
  margin-top: 32px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 10px 0 0 22px;
}
.timeline li {
  position: relative;
  padding: 0 0 44px 32px;
  border-left: 1px solid var(--border-subtle);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -6px;
  top: 3px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  background: var(--bg-canvas);
}
.timeline li:last-child .timeline-dot {
  background: var(--accent-default);
}
.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-secondary);
  font: 10px var(--font-mono);
  margin-bottom: 16px;
}
.timeline-meta a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-subtle);
}
.timeline-meta a:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.timeline-meta code {
  font: inherit;
}
.timeline h3 {
  font-size: 22px;
}
.timeline p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 390px;
}
.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  border-top: 1px solid var(--border-subtle);
}
.studio-intro {
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.5px;
  max-width: 520px;
}
.principles {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}
.principles p {
  font-size: 14px;
}
.principles strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.principles span {
  color: var(--text-secondary);
}
.studio-body > .text-link {
  margin-top: 32px;
}
.invitation {
  padding-top: 40px;
}
.invitation-inner {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 72px 32px;
  text-align: center;
  background: var(--bg-sunken-soft);
}
.invitation-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 10px var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.invitation h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  letter-spacing: -0.055em;
}
.invitation p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 24px 0 32px;
}
.invitation .button {
  min-width: 152px;
}
.invitation-email {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  font: 12px var(--font-mono);
  color: var(--text-secondary);
  padding-block: 5px;
}
.invitation-email:hover {
  color: var(--text-primary);
}
.footer {
  padding-top: 8px;
  padding-bottom: 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}
.footer-top p {
  font-size: 13px;
  line-height: 1.55;
}
.footer-top p > span {
  color: var(--text-secondary);
}
.footer-top > .text-link {
  font-size: 13px;
}
.footer-wordmark {
  font-size: clamp(60px, 13.4vw, 193px);
  line-height: 1.2;
  letter-spacing: -0.075em;
  font-weight: 800;
  padding-top: 36px;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 10px var(--font-mono);
  color: var(--text-secondary);
  padding-top: 24px;
}
.footer-bottom a:hover {
  color: var(--text-primary);
}
.reveal.is-revealed {
  animation: section-in 0.65s var(--ease) both;
}
@keyframes section-in {
  from {
    opacity: 0.5;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes popover-in {
  from {
    opacity: 0;
    translate: 0 -8px;
    scale: 0.97;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@keyframes panel-in {
  from {
    opacity: 0.5;
    translate: 4px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
@keyframes drift-agent {
  to {
    transform: translate(calc(140px * var(--cursor-travel)), calc(-56px * var(--cursor-travel)));
  }
}
@keyframes drift-codex {
  to {
    transform: translate(calc(-120px * var(--cursor-travel)), calc(44px * var(--cursor-travel)));
  }
}
@keyframes drift-owner {
  to {
    transform: translate(calc(-110px * var(--cursor-travel)), calc(40px * var(--cursor-travel)));
  }
}
@keyframes drift-you {
  to {
    transform: translate(calc(-110px * var(--cursor-travel)), calc(36px * var(--cursor-travel)));
  }
}
@media (max-width: 1100px) {
  .presence-cursors { --cursor-travel: 0.65; }
}
@media (max-width: 600px) {
  .presence-cursors { --cursor-travel: 0.4; }
}
@media (min-width: 1441px) {
  .hero-aura {
    inset-inline: 144px;
  }
  .hero {
    min-height: 820px;
  }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .hero {
    padding-top: 88px;
    min-height: 690px;
  }
  .commit-anchor {
    top: 32px;
  }
  .dev {
    font-size: 64px;
  }
  .welcome {
    font-size: clamp(120px, 12vw, 166px);
  }
  .keycaps {
    margin-top: 18px;
  }
  .key {
    width: 110px;
    height: 110px;
    font-size: 90px;
  }
  .hero-sub {
    margin-top: 34px;
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .editor-art {
    top: 112px;
    width: 220px;
  }
  .skeleton-art {
    width: 225px;
    top: 84px;
  }
  .comment-art {
    top: 420px;
    width: 248px;
    left: 48px;
  }
  .sticky-art {
    top: 416px;
    width: 170px;
    height: 158px;
    right: 60px;
  }
  .sticky-art p {
    font-size: 23px;
  }
  .hero-bottom {
    bottom: 18px;
  }
  .hero-bottom p {
    font-size: 9px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding-inline: 32px;
  }
  .header::after {
    left: 32px;
    right: 32px;
  }
  .beta-status {
    font-size: 9px;
    padding-inline: 10px;
  }
  .nav-pill a {
    padding-inline: 14px;
  }
  .brand-name {
    font-size: 13px;
  }
  .brand-mark img {
    width: 36px;
    height: 36px;
  }
  .hero {
    min-height: 780px;
    padding-top: 118px;
  }
  .hero-bottom {
    left: 32px;
    right: 32px;
  }
  .dev {
    font-size: 68px;
  }
  .welcome {
    font-size: 15vw;
  }
  .key {
    width: 112px;
    height: 112px;
    font-size: 90px;
  }
  .hero-sub {
    margin-top: 48px;
    font-size: 18px;
  }
  .artifact {
    transform: scale(0.8);
  }
  .editor-art {
    left: -16px;
    top: 148px;
    transform: rotate(-6deg) scale(0.72);
    transform-origin: left top;
  }
  .skeleton-art {
    right: 12px;
    top: 133px;
    transform: rotate(-4deg) scale(0.72);
    transform-origin: right top;
  }
  .comment-art {
    left: 14px;
    top: 510px;
    transform: rotate(4deg) scale(0.72);
    transform-origin: left top;
  }
  .sticky-art {
    right: 24px;
    top: 512px;
    transform: rotate(-5deg) scale(0.72);
    transform-origin: right top;
  }
  .hero-bottom p {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .cursor-agent {
    left: 16%;
    top: 47%;
  }
  .cursor-owner {
    left: 72%;
    top: 59%;
  }
  .cursor-you {
    left: 83%;
    top: 38%;
  }
  .product-heading {
    gap: 32px;
  }
  .product-heading .section-lede {
    font-size: 17px;
  }
  .product-callouts {
    gap: 24px;
  }
  .product-callouts h3 {
    font-size: 18px;
  }
  .history,
  .studio {
    gap: 48px;
  }
  .step-preview {
    height: 220px;
  }
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .studio-intro {
    font-size: 22px;
  }
  .footer-wordmark {
    font-size: 13.2vw;
  }
}
@media (max-width: 900px) {
  .beta-status {
    display: none;
  }
  .nav-pill {
    left: auto;
    right: 176px;
    transform: none;
  }
  .hero {
    padding-top: 108px;
    min-height: 780px;
  }
  .welcome {
    font-size: 15vw;
  }
  .dev {
    font-size: 64px;
  }
  .key {
    width: 103px;
    height: 103px;
    font-size: 82px;
  }
  .hero-sub {
    margin-top: 45px;
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 28px;
  }
  .editor-art {
    top: 160px;
    transform: rotate(-6deg) scale(0.58);
  }
  .skeleton-art {
    top: 146px;
    transform: rotate(-4deg) scale(0.58);
  }
  .comment-art {
    top: 490px;
    transform: rotate(4deg) scale(0.6);
  }
  .sticky-art {
    top: 495px;
    transform: rotate(-5deg) scale(0.6);
  }
  .hero-bottom {
    bottom: 30px;
  }
  .hero-bottom p {
    max-width: 340px;
    text-align: right;
    line-height: 1.6;
  }
  .product-heading {
    grid-template-columns: 1fr;
  }
  .product-heading h2 {
    max-width: 650px;
  }
  .product-heading .section-lede {
    padding: 0;
    max-width: 580px;
    font-size: 18px;
  }
  .product-frame {
    margin-top: 40px;
  }
  .product-callouts {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .product-callouts article {
    max-width: 650px;
  }
  .product-callouts h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .product-callouts p {
    font-size: 14px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
  }
  .step-copy {
    margin: 0;
  }
  .step-preview {
    height: 230px;
  }
  .history,
  .studio {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .timeline {
    max-width: 650px;
  }
  .studio-body {
    max-width: 600px;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .footer-wordmark {
    font-size: 12.7vw;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding-inline: 24px;
  }
  .header {
    height: 80px;
    gap: 12px;
  }
  .header::after {
    left: 24px;
    right: 24px;
  }
  .brand {
    gap: 9px;
  }
  .brand-mark {
    gap: 3px;
  }
  .brand-mark img {
    width: 31px;
    height: 31px;
  }
  .brand-name {
    font-size: 12px;
  }
  .brand-name > span {
    font-size: 8px;
    letter-spacing: 2.5px;
    margin-top: 4px;
  }
  .header .button.small {
    font-size: 12px;
    gap: 8px;
    min-height: 40px;
    padding: 10px 15px;
  }
  .nav-pill {
    display: none;
  }
  .hero {
    padding-top: 96px;
    padding-bottom: 34px;
    min-height: 830px;
  }
  .commit-anchor {
    top: 30px;
  }
  .commit-capsule {
    padding: 4px;
    min-height: 32px;
  }
  .commit-chip {
    font-size: 11px;
    padding: 5px 12px;
  }
  .capsule-copy,
  .capsule-arrow {
    display: none;
  }
  .dev {
    font-size: 52px;
    letter-spacing: -2.8px;
  }
  .welcome {
    font-size: 17vw;
    letter-spacing: -0.065em;
    margin-top: 9px;
  }
  .keycaps {
    gap: 8px;
    margin-top: 24px;
  }
  .key {
    width: 66px;
    height: 68px;
    border-radius: var(--radius-md);
    font-size: 54px;
    padding-bottom: 5px;
    letter-spacing: -2px;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 30px;
    letter-spacing: -0.3px;
  }
  .hero-sub br {
    display: none;
  }
  .hero-sub {
    max-width: 310px;
    margin-inline: auto;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 23px auto 0;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 44px;
  }
  .hero-actions .email {
    font-size: 12px;
  }
  .hero-aura {
    inset: 80px 0 390px;
    filter: blur(22px);
    opacity: 0.65;
  }
  .editor-art {
    top: 578px;
    left: 50%;
    width: 270px;
    transform: translateX(-50%) scale(0.84);
    transform-origin: center top;
  }
  .comment-art,
  .skeleton-art,
  .sticky-art,
  .hero-bottom,
  .cursor-owner {
    display: none;
  }
  .cursor-codex {
    left: 18%;
    top: 83%;
  }
  .cursor-agent {
    left: 12%;
    top: 67%;
    animation-duration: 7.3s;
  }
  .cursor-you {
    display: block;
    left: 74%;
    top: 73%;
  }
  .cursor > img {
    width: 23px;
    height: 26px;
  }
  .cursor > span {
    font-size: 10px;
    padding: 4px 9px;
    margin-left: 15px;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 16px;
    letter-spacing: 1.4px;
  }
  h2 {
    font-size: 37px;
  }
  .product-heading {
    gap: 24px;
  }
  .product-heading .section-lede {
    font-size: 16px;
    line-height: 1.6;
  }
  .product-frame {
    margin-top: 32px;
  }
  .product-link {
    border-radius: var(--radius-lg);
  }
  .zoom-hint {
    right: 8px;
    bottom: 8px;
    font-size: 9px;
    padding: 5px 9px;
    opacity: 1;
    transform: none;
  }
  .product-callouts {
    margin-top: 32px;
    gap: 28px;
  }
  .product-callouts article {
    gap: 12px;
  }
  .product-callouts h3 {
    font-size: 18px;
  }
  .product-callouts p {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .section-heading .section-lede {
    font-size: 16px;
  }
  .steps {
    margin-top: 36px;
    gap: 36px;
  }
  .step {
    display: block;
  }
  .step-preview {
    height: 220px;
    border-radius: var(--radius-lg);
  }
  .step-copy {
    margin-top: 20px;
    gap: 12px;
  }
  .step h3 {
    font-size: 20px;
  }
  .step p {
    max-width: none;
    font-size: 14px;
  }
  .history {
    gap: 40px;
  }
  .history-intro .section-lede {
    font-size: 16px;
  }
  .history-intro > .text-link {
    margin-top: 24px;
  }
  .timeline {
    padding-left: 6px;
  }
  .timeline li {
    padding-left: 23px;
    padding-bottom: 36px;
  }
  .timeline-meta {
    font-size: 9px;
  }
  .timeline h3 {
    font-size: 20px;
  }
  .timeline p {
    font-size: 13px;
  }
  .studio {
    gap: 28px;
  }
  .studio-intro {
    font-size: 22px;
  }
  .principles {
    gap: 20px;
    margin-top: 28px;
  }
  .studio-body > .text-link {
    margin-top: 28px;
  }
  .invitation {
    padding-top: 0;
    padding-bottom: 64px;
  }
  .invitation-inner {
    padding: 48px 20px;
  }
  .invitation-label {
    font-size: 9px;
    gap: 6px;
    letter-spacing: -0.3px;
  }
  .invitation h2 {
    font-size: 39px;
  }
  .invitation h2 br {
    display: none;
  }
  .invitation p {
    font-size: 14px;
  }
  .invitation .button {
    font-size: 14px;
  }
  .invitation-email {
    font-size: 11px;
  }
  .footer {
    padding-bottom: 24px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding-top: 24px;
  }
  .footer-top p {
    font-size: 12px;
    margin-left: auto;
    max-width: 200px;
  }
  .footer-top > .text-link {
    font-size: 12px;
  }
  .footer-mark img {
    width: 30px;
    height: 30px;
  }
  .footer-wordmark {
    font-size: 12.7vw;
    padding-top: 32px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.5;
    padding-top: 20px;
  }
  .footer-bottom > span:nth-child(2) {
    margin-left: auto;
  }
  .footer-bottom > a {
    width: 100%;
    padding-top: 8px;
  }
  .commit-popover {
    padding: 14px 12px;
    max-height: calc(100dvh - 150px);
    overflow: auto;
  }
  .popover-header p {
    font-size: 8px;
  }
  .mini-timeline {
    margin-top: 12px;
  }
  .mini-timeline li {
    grid-template-columns: 47px 1fr auto;
    gap: 5px;
    font-size: 9px;
  }
  .history-date {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding-inline: 20px;
  }
  .header::after {
    left: 20px;
    right: 20px;
  }
  .brand-name {
    font-size: 11px;
  }
  .brand-mark img {
    width: 27px;
    height: 27px;
  }
  .header .button.small {
    padding-inline: 12px;
  }
  .hero {
    min-height: 810px;
  }
  .key {
    width: 58px;
    height: 61px;
    font-size: 48px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .editor-art {
    top: 558px;
  }
  .cursor-owner {
    left: 73%;
    top: 73%;
  }
  .invitation-label {
    font-size: 8px;
  }
  .footer-top p {
    max-width: 165px;
    font-size: 11px;
  }
}
/* Keep the same native navigation available on phones and narrow tablets. */
@media (max-width: 960px) {
  .beta-status { display: none; }
}
@media (max-width: 760px) {
  .header {
    height: 132px;
    padding-block: 16px;
    flex-wrap: wrap;
    align-content: center;
    gap: 12px 24px;
  }
  .nav-pill {
    display: flex;
    position: static;
    transform: none;
    order: 3;
    flex: 0 0 100%;
  }
  .nav-pill a {
    flex: 1;
    min-height: 40px;
    padding-inline: 12px;
    text-align: center;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .commit-capsule,
  .commit-popover,
  .comment-art,
  .skeleton-art {
    background: var(--bg-surface);
    backdrop-filter: none;
  }
  .hero-aura {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .cursor {
    will-change: auto;
  }
  .key:hover,
  .key:focus-visible,
  .key:active,
  .key.pressed {
    transform: none;
    box-shadow: 0 8px 0 var(--border-strong);
  }
  .key:last-child:hover,
  .key:last-child:focus-visible,
  .key:last-child:active,
  .key:last-child.pressed {
    transform: rotate(5deg);
  }
  .button:hover,
  .button:active {
    transform: none;
  }
  .shimmer::after {
    transform: none;
    opacity: 0.35;
  }
  .reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}
