:root {
  color-scheme: dark;
  --bg: #14171c;
  --surface: #1b1f26;
  --border: #2a2e36;
  --text: #e7e9ec;
  --text-muted: #838a96;
  --added: #4e9a5a;
  --removed: #b65550;
  --signal: #e8a33d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(20, 23, 28, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.path-line,
.terminal-tab,
.diff-block,
.cli-steps,
.claim-form,
.build-line,
.phone-url,
.page-block span,
.fee-note,
.comment-block,
.form-note {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 62px 0;
}

.path-line {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.04;
}

h2 {
  margin: 18px 0 16px;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
}

.hero-subtitle,
.section-copy p:not(.path-line) {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.62;
}

.claim-form {
  display: flex;
  width: min(560px, 100%);
  margin-top: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.claim-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  outline: none;
  padding: 16px;
  font-size: 13px;
}

.claim-form input::placeholder {
  color: var(--text-muted);
}

.cta-button {
  border: 0;
  background: var(--signal);
  color: #161006;
  padding: 0 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cta-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cta-button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.build-line:focus-visible {
  outline: 2px solid var(--added);
  outline-offset: -2px;
}

.nav-links a:focus-visible,
.brand:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.terminal-window {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.traffic-lights span:first-child {
  background: var(--removed);
}

.traffic-lights span:last-child {
  background: var(--added);
}

.terminal-tab {
  color: var(--text-muted);
  font-size: 13px;
}

.diff-block,
.comment-block {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.75;
}

.removed {
  color: var(--removed);
}

.added {
  color: var(--added);
}

.neutral {
  color: var(--text);
}

.cli-steps {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 18px 24px 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.product-section,
.proof-section {
  padding: 86px 0;
}

.build-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 340px;
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.build-lines {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.build-log {
  align-self: start;
}

.build-line {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  border: 0;
  background: var(--surface);
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
}

.build-line span {
  color: var(--added);
  font-weight: 700;
}

.build-line em {
  color: var(--text-muted);
  font-style: normal;
}

.build-line.active {
  background: #1d2a22;
}

.phone-frame {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #11151a;
  padding: 12px;
}

.phone-url {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  padding: 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.phone-url strong {
  color: var(--text);
}

.creator-page {
  padding: 22px 12px 8px;
}

.creator-page > img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.creator-page h3,
.creator-page > p {
  margin: 0;
  text-align: center;
}

.creator-page h3 {
  font-size: 22px;
}

.creator-page > p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.page-block {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  opacity: 0.64;
}

.page-block.active {
  border-color: var(--added);
  opacity: 1;
}

.page-block span {
  color: var(--added);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-block small {
  color: var(--text-muted);
  line-height: 1.45;
}

.page-block > b {
  justify-self: end;
  color: var(--text);
}

.mini-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.mini-input em,
.mini-input b {
  padding: 9px;
  font-style: normal;
  font-size: 12px;
}

.mini-input em {
  color: var(--text-muted);
}

.mini-input b {
  background: var(--added);
  color: #071108;
}

.pricing-section,
.footer-cta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #11151a;
  padding: 86px 0;
}

.pricing-grid,
.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(460px, 1fr);
  gap: 48px;
  align-items: center;
}

.pricing-diff .diff-block {
  font-size: 14px;
}

.fee-note {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.comment-block {
  color: var(--text-muted);
}

.footer-cta-inner h2 {
  margin-bottom: 0;
}

.footer-cta .claim-form {
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-block: 48px;
}

.thanks-window {
  width: min(760px, 100%);
}

.thanks-copy {
  padding: 34px;
}

.thanks-copy h1 {
  margin-top: 18px;
}

.thanks-copy p:not(.path-line) {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.62;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--added);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  text-decoration: none;
}

.text-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(360px, calc(100% - 40px));
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-color: var(--removed);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 920px) {
  .hero,
  .pricing-grid,
  .footer-cta-inner {
    grid-template-columns: 1fr;
  }

  .build-demo {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 380px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 62px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    padding: 44px 0 58px;
  }

  .claim-form {
    display: grid;
  }

  .claim-form input {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .cta-button {
    min-height: 52px;
  }

  .diff-block,
  .comment-block {
    padding: 18px;
    font-size: 13px;
  }

  .build-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-section,
  .proof-section,
  .pricing-section,
  .footer-cta {
    padding: 58px 0;
  }

  .footer {
    display: grid;
  }
}
