@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  color-scheme: light;
  --background: #ffffff;
  --primary: #000000;
  --secondary: #666666;
  --tertiary: #aaaaaa;
  --divider: #e5e5e5;
  --dark-divider: #1f1f1f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--primary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 24px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.app-brand img {
  width: 28px;
  height: 28px;
}

.brand span,
.app-brand strong {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

nav,
.site-footer div {
  display: flex;
  gap: 24px;
}

nav a,
.site-footer,
.app-brand span,
.eyebrow,
figcaption,
.nav-item,
.pane-header span,
.sources,
.metadata-list p,
.feature-list p,
.copy-stack p {
  color: var(--secondary);
  font-size: 13px;
  line-height: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 40px;
  min-height: calc(100vh - 72px);
  align-items: stretch;
  padding: 40px;
  border-bottom: 1px solid var(--divider);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
}

.eyebrow {
  margin: 0 0 24px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--primary);
  font-size: 17px;
  line-height: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
}

.button.primary {
  background: var(--primary);
  color: var(--background);
}

.button.secondary {
  background: var(--background);
  color: var(--primary);
}

.product-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 640px;
  border: 1px solid var(--divider);
  background: var(--background);
}

.app-sidebar {
  padding: 24px 16px;
  border-right: 1px solid var(--divider);
}

.app-brand {
  min-height: 56px;
  margin-bottom: 20px;
}

.app-brand div {
  display: grid;
  gap: 2px;
}

.nav-item {
  display: block;
  padding: 12px 0 12px 12px;
  border-left: 1px solid transparent;
}

.nav-item.active {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 500;
}

.app-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pane-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--divider);
}

.chat-line {
  padding: 24px;
  border-bottom: 1px solid var(--divider);
  font-size: 17px;
  line-height: 26px;
}

.chat-line.user {
  color: var(--secondary);
}

.chat-line.assistant {
  flex: 1;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.sources span {
  padding: 8px 10px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  color: var(--primary);
}

.composer {
  margin: 16px;
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  color: var(--tertiary);
  font-size: 13px;
  line-height: 18px;
}

.split-section,
.list-section,
.screens-section,
.metadata-section {
  padding: 80px 40px;
  border-bottom: 1px solid var(--divider);
}

.split-section,
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p {
  margin: 0;
  color: var(--primary);
  font-size: 17px;
  line-height: 26px;
}

.section-heading {
  margin-bottom: 32px;
}

.feature-list,
.metadata-list {
  border-top: 1px solid var(--divider);
}

.feature-list article,
.metadata-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}

.feature-list article span {
  color: var(--tertiary);
  font-size: 13px;
  line-height: 18px;
}

.feature-list p,
.metadata-list p {
  margin: 6px 0 0;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
  border: 1px solid var(--divider);
  background: var(--background);
}

.screenshot-slot {
  display: grid;
  min-height: 520px;
  aspect-ratio: 9 / 16;
  place-items: center;
  border-bottom: 1px solid var(--divider);
  background:
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--primary);
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
}

figcaption {
  min-height: 92px;
  padding: 16px;
}

.metadata-list article {
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
}

.site-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
}

.site-footer p {
  margin: 0;
}

.text-link,
.metadata-list a,
.lead a {
  border-bottom: 1px solid var(--primary);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .product-shell {
    min-height: auto;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .screens-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 96px;
    padding: 0 20px;
  }

  nav {
    gap: 16px;
  }

  .hero,
  .split-section,
  .list-section,
  .screens-section,
  .metadata-section {
    padding: 40px 20px;
  }

  h1 {
    font-size: 48px;
  }

  .feature-list article,
  .metadata-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 20px;
  }
}
