:root {
  color: #f4f4f4;
  background: #050505;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  background: #050505;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(#101010 1px, transparent 1px),
    linear-gradient(90deg, #101010 1px, transparent 1px),
    #050505;
  background-size: 28px 28px;
}

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

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.hero {
  display: grid;
  gap: 12px;
  min-height: 34svh;
  align-content: center;
  border-bottom: 1px solid #2a2a2a;
}

.hero-logo {
  width: 48px;
  height: 48px;
  border: 1px solid #f4f4f4;
  background: #ffffff;
  box-shadow: 4px 4px 0 #2d5cff;
}

.eyebrow,
.links,
.try-head,
.tagline,
.legal {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.eyebrow {
  margin: 0;
  color: #8f8f8f;
  font-size: 12px;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(52px, 10vw, 128px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    4px 0 0 #2d5cff,
    -4px 0 0 #ffffff;
}

.tagline {
  max-width: 780px;
  margin: 2px 0 0;
  color: #f4f4f4;
  font-size: clamp(18px, 2.6vw, 34px);
  font-weight: 760;
  line-height: 1.05;
}

.pitch {
  padding: 54px 0;
}

.pitch p {
  max-width: 920px;
  margin: 0;
  color: #f1f1f1;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 720;
  line-height: 1.08;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 64px;
}

.ai-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: 40px;
  padding: 0 0 42px;
  border-bottom: 1px solid #2a2a2a;
}

.ai-connect h2 {
  margin: 8px 0;
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1;
}

.ai-connect p {
  max-width: 620px;
  margin: 0;
  color: #d7d7d7;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.35;
}

.ai-connect-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.ai-connect-actions a,
.ai-connect-actions code {
  border: 1px solid #f4f4f4;
  padding: 10px 12px;
  background: #050505;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  box-shadow: 4px 4px 0 #2d5cff;
}

.ai-connect-actions code {
  color: #cfcfcf;
  box-shadow: none;
}

.info-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid #f4f4f4;
  background: #080808;
  box-shadow: 7px 7px 0 #2d5cff;
}

.steps,
.features {
  margin: 24px 0 0;
  padding: 0;
}

.steps {
  display: grid;
  gap: 14px;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 720;
  line-height: 1.1;
  counter-increment: steps;
}

.steps li::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #f4f4f4;
  color: #050505;
  background: #ffffff;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  content: counter(steps, decimal-leading-zero);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.features li {
  border: 1px solid #3a3a3a;
  padding: 10px 12px;
  color: #f4f4f4;
  background: #111111;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(13px, 1.5vw, 16px);
}

.try {
  padding: 18px 0 56px;
}

.try-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #cfcfcf;
}

.try-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
}

.try-head a,
.links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f4f4f4;
  padding: 9px 11px;
  background: #050505;
  font-size: 13px;
  box-shadow: 4px 4px 0 #2d5cff;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.links a {
  min-height: 26px;
  gap: 5px;
  padding: 5px 8px;
  font-size: 11px;
  box-shadow: 2px 2px 0 #2d5cff;
}

.links svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.try-head a:hover,
.links a:hover {
  color: #050505;
  background: #ffffff;
  box-shadow: 2px 2px 0 #2d5cff;
  transform: translate(2px, 2px);
}

.app-frame {
  overflow: hidden;
  height: min(760px, 78svh);
  min-height: 560px;
  border: 1px solid #ffffff;
  background: #ffffff;
  box-shadow:
    0 0 0 1px #050505,
    10px 10px 0 #2d5cff;
}

.app-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.legal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 26px 0 34px;
  border-top: 1px solid #2a2a2a;
  color: #d7d7d7;
}

.legal h2,
.legal p {
  margin: 0;
}

.legal h2 {
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1;
}

.legal > div > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.legal-grid article {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #3a3a3a;
  background: #080808;
}

.legal-grid strong {
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
}

.legal-grid p {
  color: #cfcfcf;
  font-size: 12px;
  line-height: 1.4;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 24px 0 8px;
  border-top: 1px solid #2a2a2a;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 1180px);
    padding-top: 36px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-logo {
    width: 42px;
    height: 42px;
  }

  .pitch {
    padding: 40px 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    padding-bottom: 46px;
  }

  .ai-connect {
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 46px;
  }

  .ai-connect-actions {
    justify-items: stretch;
  }

  .info-card {
    min-height: auto;
  }

  .try-head {
    align-items: stretch;
    flex-direction: column;
  }

  .try-head a,
  .links a {
    text-align: center;
  }

  .app-frame {
    height: 680px;
    min-height: 680px;
  }

  .legal,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}
