:root {
  --glitch-50: #fafafa;
  --glitch-100: #f2f2f2;
  --glitch-200: #e3e3e3;
  --glitch-400: #b1b4b1;
  --glitch-700: #5a5e5a;
  --glitch-800: #484b48;
  --glitch-900: #2f312f;
  --glitch-950: #202220;
  --cyan: #53eafd;
  --cyan-dark: #0891b2;
  --acid: #c4ff3f;
  --hot: #ff4fd8;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--glitch-50);
  background: var(--glitch-950);
  font-family: var(--font-sans);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

code,
pre {
  font-family: var(--font-mono);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 56px);
  background: rgba(32, 34, 32, 0.92);
  border-bottom: 1px solid var(--glitch-800);
  backdrop-filter: blur(12px);
}

.brand-wrap,
.brand {
  display: flex;
  align-items: center;
}

.brand-wrap {
  gap: 8px;
  min-width: 0;
}

.brand {
  gap: 14px;
  min-width: 0;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 70px;
  height: auto;
}

.brand-by {
  margin-left: -6px;
  color: var(--glitch-400);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

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

.brand-by a:hover {
  color: var(--glitch-50);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--glitch-200);
  font-weight: 650;
}

nav a {
  padding: 10px 12px;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  min-height: min(860px, calc(100vh - 84px));
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 64px) 44px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(83, 234, 253, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 250, 250, 0.05) 1px, transparent 1px),
    var(--glitch-950);
  background-size: 42px 42px, 42px 42px, auto;
}

.hero-noise {
  position: absolute;
  inset: auto -12vw -22vw auto;
  z-index: -1;
  width: min(68vw, 780px);
  aspect-ratio: 1;
  border: 2px solid rgba(83, 234, 253, 0.5);
  transform: rotate(-8deg);
  background:
    repeating-linear-gradient(90deg, rgba(250, 250, 250, 0.09) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(0deg, rgba(255, 79, 216, 0.12) 0 2px, transparent 2px 22px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: 660px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--cyan-dark);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--glitch-50);
  font-size: 92px;
  line-height: 0.88;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: 58px;
  line-height: 0.96;
  font-weight: 900;
}

.lede {
  max-width: 580px;
  color: var(--glitch-200);
  font-size: 26px;
  line-height: 1.24;
  font-weight: 650;
}

.alpha {
  display: inline-block;
  margin: 4px 0 26px;
  padding: 8px 12px;
  color: var(--glitch-950);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 900;
  transform: rotate(-1deg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  font-size: 18px;
  font-weight: 800;
}

.button-primary {
  color: var(--glitch-950);
  background: var(--cyan);
  border-color: var(--cyan);
}

.button-primary:hover {
  background: var(--glitch-50);
  border-color: var(--glitch-50);
}

.button-ghost {
  color: var(--glitch-50);
  background: transparent;
  border-color: var(--glitch-700);
}

.button-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 820px;
}

.ascii-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 980 / 180;
  margin-bottom: 22px;
  border: 1px solid var(--glitch-800);
  background: var(--glitch-950);
  object-fit: contain;
}

.terminal-surface {
  width: 100%;
  border: 1px solid var(--glitch-700);
  background: #0f100f;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--glitch-800);
  color: var(--glitch-400);
  font-family: var(--font-mono);
  font-size: 13px;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  background: var(--glitch-700);
}

.terminal-bar span:nth-child(1) {
  background: var(--hot);
}

.terminal-bar span:nth-child(2) {
  background: var(--acid);
}

.terminal-bar span:nth-child(3) {
  background: var(--cyan);
}

.terminal-bar strong {
  margin-left: 6px;
  font-weight: 700;
}

pre {
  margin: 0;
  padding: clamp(18px, 4vw, 32px);
  overflow-x: auto;
  color: var(--glitch-50);
  font-size: 18px;
  line-height: 1.6;
}

.section-copy {
  min-width: 0;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 64px);
}

.band-light {
  color: var(--glitch-950);
  background: var(--glitch-50);
}

.band-dark {
  color: var(--glitch-50);
  background: var(--glitch-950);
  border-top: 1px solid var(--glitch-800);
  border-bottom: 1px solid var(--glitch-800);
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.install-note {
  max-width: 580px;
  color: var(--glitch-800);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 650;
}

.command-strip {
  display: grid;
  gap: 0;
  border: 1px solid var(--glitch-950);
  background: var(--glitch-950);
}

.command-strip code {
  display: block;
  padding: 20px clamp(16px, 4vw, 28px);
  color: var(--glitch-50);
  border-bottom: 1px solid var(--glitch-800);
  font-size: 23px;
  white-space: nowrap;
  overflow-x: auto;
}

.command-strip code:last-child {
  border-bottom: 0;
  color: var(--cyan);
}

.status-band {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  color: var(--glitch-50);
  background:
    linear-gradient(90deg, rgba(83, 234, 253, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 250, 250, 0.06) 1px, transparent 1px),
    #151715;
  background-size: 42px 42px, 42px 42px, auto;
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--glitch-800);
}

.status-band h2 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 72px);
}

.status-band p:last-child {
  max-width: 960px;
  margin-bottom: 0;
  color: var(--glitch-200);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 650;
}

.status-band code {
  color: var(--acid);
  font-weight: 900;
}

.status-band .command-strip {
  max-width: 1120px;
  margin-top: 28px;
  border-color: var(--glitch-800);
}

.shots-band {
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 64px);
  color: var(--glitch-50);
  background: var(--glitch-950);
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--glitch-800);
}

.shots-band .section-copy {
  max-width: 900px;
  margin-bottom: 28px;
}

.shots-band .section-copy p:last-child {
  color: var(--glitch-200);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 650;
}

.shots-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.shots-grid a {
  display: block;
  border: 1px solid var(--glitch-700);
  background: #0f100f;
}

.shots-grid a:hover {
  border-color: var(--cyan);
}

.shots-grid img {
  width: 100%;
  height: auto;
}

.feature-stack {
  display: grid;
  gap: 0;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 5vw, 64px);
  background: var(--glitch-950);
}

.feature-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--glitch-800);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row.invert {
  color: var(--glitch-950);
  background: var(--glitch-50);
  margin-inline: calc(clamp(20px, 5vw, 64px) * -1);
  padding-inline: clamp(20px, 5vw, 64px);
}

.feature-number {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 82px;
  line-height: 0.85;
  font-weight: 900;
}

.feature-row.invert .feature-number {
  color: var(--hot);
}

.feature-row p {
  max-width: 820px;
  margin-bottom: 0;
  color: inherit;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 560;
}

.feature-row code {
  color: var(--cyan);
  font-weight: 800;
}

.feature-row a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.feature-row a:hover {
  color: var(--acid);
}

.feature-row.invert code {
  color: var(--cyan-dark);
}

.stack-note {
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 64px);
  color: var(--glitch-950);
  background: var(--acid);
  border-top: 1px solid var(--glitch-950);
  border-bottom: 1px solid var(--glitch-950);
}

.stack-note h2 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.stack-note p:last-child {
  max-width: 960px;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 650;
}

.stack-note .eyebrow {
  color: var(--cyan-dark);
}

.stack-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.stack-note a:hover {
  color: var(--cyan-dark);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--glitch-950);
  background: var(--glitch-50);
  font-family: var(--font-mono);
  font-size: 14px;
}

footer a:hover {
  color: var(--cyan-dark);
}

.shot-page {
  min-height: 100vh;
  color: var(--glitch-50);
  background:
    linear-gradient(90deg, rgba(83, 234, 253, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 250, 250, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(255, 79, 216, 0.14), transparent 30%),
    var(--glitch-950);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.shot-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 100vh;
  padding: 44px;
}

.shot-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.shot-title img {
  width: 82px;
  flex: 0 0 auto;
}

.shot-title h1 {
  margin-bottom: 6px;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.88;
}

.shot-title .eyebrow,
.shot-title p:last-child {
  margin-bottom: 0;
}

.shot-title p:last-child {
  color: var(--glitch-200);
  font-size: 22px;
  font-weight: 750;
}

.shot-terminal-card,
.shot-phone,
.shot-pairing {
  border: 1px solid var(--glitch-700);
  background: #0f100f;
  box-shadow: 14px 14px 0 rgba(83, 234, 253, 0.16);
}

.shot-terminal-card {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  min-width: 0;
}

.shot-terminal-card pre {
  padding: 30px 34px 22px;
  font-size: clamp(19px, 1.5vw, 26px);
  line-height: 1.36;
  white-space: pre-wrap;
}

.shot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 34px 28px;
}

.shot-badges span {
  padding: 8px 10px;
  color: var(--glitch-950);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
}

.shot-phone {
  grid-column: 2;
  grid-row: 2 / 4;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 14px 14px 0 rgba(255, 79, 216, 0.16);
}

.shot-phone-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--glitch-800);
  font-size: 18px;
  font-weight: 900;
}

.shot-phone-top strong {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 13px;
}

.shot-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(83, 234, 253, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 250, 250, 0.04) 1px, transparent 1px),
    #171917;
  background-size: 28px 28px;
}

.shot-bubble {
  max-width: 82%;
  margin: 0;
  padding: 14px 16px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 760;
}

.shot-bubble small {
  color: var(--glitch-200);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.shot-bubble-agent {
  align-self: flex-start;
  color: var(--glitch-50);
  background: var(--glitch-900);
  border: 1px solid var(--glitch-700);
}

.shot-bubble-user {
  align-self: flex-end;
  color: var(--glitch-950);
  background: var(--cyan);
}

.shot-answer {
  color: var(--glitch-950);
  background: var(--acid);
}

.shot-answer small {
  color: var(--glitch-800);
}

.shot-compose {
  margin: 18px;
  padding: 14px 16px;
  color: var(--glitch-400);
  background: var(--glitch-950);
  border: 1px solid var(--glitch-800);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
}

.shot-pairing {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  color: var(--glitch-950);
  background: var(--glitch-50);
}

.shot-pairing h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.shot-pairing p {
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--glitch-800);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 650;
}

.shot-pairing strong {
  display: inline-block;
  padding: 8px 12px;
  color: var(--glitch-950);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 24px;
}

.qr-mock {
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--glitch-950) 0 0) 12px 12px / 32px 32px no-repeat,
    linear-gradient(var(--glitch-950) 0 0) 88px 12px / 32px 32px no-repeat,
    linear-gradient(var(--glitch-950) 0 0) 12px 88px / 32px 32px no-repeat,
    conic-gradient(from 90deg, var(--glitch-950) 25%, transparent 0) 0 0 / 22px 22px,
    repeating-linear-gradient(90deg, transparent 0 10px, var(--glitch-950) 10px 16px, transparent 16px 22px),
    var(--glitch-50);
  border: 10px solid var(--glitch-50);
  outline: 2px solid var(--glitch-950);
}

@media (max-width: 1499px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-inner {
    max-width: 760px;
  }

  .hero-visual {
    justify-self: start;
    max-width: 920px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-inner,
  .hero-visual,
  .lede,
  .section-copy {
    max-width: 100%;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  nav a {
    padding-inline: 8px;
  }

  .band {
    grid-template-columns: minmax(0, 1fr);
  }

  .shots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-noise {
    width: 84vw;
    inset: auto -28vw -28vw auto;
  }

  h1 {
    font-size: 88px;
  }

  h2 {
    font-size: 44px;
  }

  .lede {
    font-size: 22px;
  }

  pre {
    font-size: 15px;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-inner,
  .section-copy {
    width: min(326px, calc(100vw - 40px));
    max-width: min(326px, calc(100vw - 40px));
  }

  .hero-visual,
  .command-strip {
    width: min(350px, calc(100vw - 40px));
    max-width: min(350px, calc(100vw - 40px));
  }

  .lede {
    max-width: 100%;
  }

  .status-band h2,
  .status-band p:last-child,
  .feature-row > div:last-child,
  .stack-note h2,
  .stack-note p:last-child {
    width: min(326px, calc(100vw - 40px));
    max-width: min(326px, calc(100vw - 40px));
  }

  .brand > span {
    font-size: 18px;
  }

  .brand-by,
  .brand-by a {
    font-size: 11px;
  }

  .brand img {
    width: 58px;
  }

  nav {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 56px);
  }

  h2 {
    font-size: 36px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .lede {
    font-size: 20px;
  }

  pre {
    font-size: 13px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .command-strip code {
    font-size: 15px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .feature-number {
    font-size: 44px;
  }

  .feature-row p {
    font-size: 18px;
  }

  .stack-note p:last-child {
    font-size: 18px;
  }

  .status-band p:last-child {
    font-size: 18px;
  }

  .install-note {
    font-size: 18px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .terminal-bar strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shot-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    width: 100vw;
    overflow: hidden;
  }

  .shot-title {
    gap: 12px;
    overflow: hidden;
  }

  .shot-title img {
    width: 62px;
  }

  .shot-title h1 {
    font-size: 34px;
    white-space: nowrap;
  }

  .shot-title p:last-child {
    display: none;
  }

  .shot-phone {
    grid-column: 1;
    grid-row: auto;
    width: 350px;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
    border-radius: 22px;
    box-shadow: 8px 8px 0 rgba(255, 79, 216, 0.16);
  }

  .shot-terminal-card,
  .shot-pairing {
    display: none;
  }

  .shot-phone-top {
    padding: 18px 20px;
  }

  .shot-chat {
    padding: 20px;
    overflow: hidden;
  }

  .shot-bubble {
    max-width: 248px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .shot-bubble-user {
    align-self: flex-start;
    max-width: 210px;
    margin-left: 88px;
  }
}

@media (min-width: 1200px) {
  h2 {
    font-size: 68px;
  }

  .feature-number {
    font-size: 92px;
  }

  .feature-row p {
    font-size: 26px;
  }
}

@media (min-width: 1800px) {
  h1 {
    font-size: 108px;
  }
}

@media (min-width: 1960px) {
  .hero-visual {
    width: min(100%, 860px);
  }
}
