:root {
  --bg: #f5f4f0;
  --text: #171717;
  --text-soft: #3b3b37;
  --muted: #65655f;
  --line: #d7d5cf;
  --max-width: 1180px;
  --gutter: 24px;
  --column-gap: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
dd {
  text-wrap: pretty;
}

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

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1;
  padding: 12px 16px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  margin: 0 auto;
}

/* One column for headings and product details, two for content and screens. */

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  gap: 24px var(--column-gap);
  align-items: start;
}

.split > * {
  min-width: 0;
}

/* Navigation */

header {
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s ease;
}

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

/* Introduction */

.hero {
  padding: 64px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.hero h1 {
  max-width: 17.5em;
  margin: 0;
  font-size: clamp(36px, 2.4vw + 22px, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 38em;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Sections */

section {
  border-top: 1px solid var(--line);
  padding: 64px 0;
  scroll-margin-top: 16px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 0.6vw + 21px, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading {
  align-items: baseline;
  margin-bottom: 40px;
}

.section-note {
  max-width: 36em;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.prose {
  max-width: 38em;
}

.prose p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
}

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

/* Products: details on the left, real screens on the right. */

.product {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.product:first-child {
  padding-top: 0;
  border-top: 0;
}

.product:last-child {
  padding-bottom: 0;
}

.product-name {
  margin: 0;
  font-size: clamp(22px, 0.3vw + 20px, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-type {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.product-status {
  color: var(--text);
  font-weight: 500;
}

.product-description {
  max-width: 34em;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
}

.product-meta {
  margin: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.product-link:hover {
  text-decoration-thickness: 2px;
}

.product-showcase {
  margin: 0;
  scroll-margin-top: 16px;
}

.product-showcase--portrait {
  max-width: 280px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 24px;
}

.product-gallery .product-showcase {
  min-width: 0;
}

.product-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.product-showcase figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* How we use Claude */

.build-list {
  display: grid;
  gap: 24px;
  max-width: 38em;
  margin: 0;
}

.build-list dt {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.build-list dd {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Contact */

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.contact-link:hover {
  text-decoration-thickness: 2px;
}

/* Footer */

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

/* Policy pages */

.policy {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 80px;
}

.policy h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 1.6vw + 24px, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.policy-updated {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}

.policy section {
  padding: 0;
  margin-top: 40px;
  border: 0;
}

.policy h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.policy p {
  line-height: 1.75;
}

.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 40px;
}

/* Responsive */

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .product {
    padding: 40px 0;
  }

  .product-description {
    max-width: 38em;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

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

  .hero-copy {
    margin-top: 16px;
    font-size: 17px;
  }

  section {
    padding: 48px 0;
  }

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

  .product {
    padding: 36px 0;
  }

  .product-description,
  .prose p,
  .build-list dd {
    font-size: 16px;
  }

  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-showcase figcaption {
    font-size: 12px;
  }

  .contact-link {
    font-size: 19px;
  }

  .footer-inner {
    padding: 16px 0;
  }

  .policy {
    padding-top: 40px;
    padding-bottom: 64px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-links a {
    transition: none;
  }
}
