:root {
  --ink: #050505;
  --text: #2d2d2d;
  --muted: #5c5c5c;
  --soft: #e4e4e4;
  --paper: #ffffff;
  --slot: #f7f7f7;
  --max: 860px;
  --header: 1248px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

a:hover {
  color: var(--ink);
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 24px 0 0;
  background: var(--paper);
}

.header-wrap {
  width: min(var(--header), calc(100vw - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--soft);
}

.brand {
  font-size: 14px;
  line-height: 24px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 650;
  color: var(--ink);
}

.nav a {
  white-space: nowrap;
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--soft);
}

.hero {
  padding-top: 56px;
  padding-bottom: 86px;
}

.prose {
  max-width: var(--max);
}

.kicker {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 13px;
  line-height: 22px;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(56px, 8vw, 82px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin-bottom: 30px;
}

h2 {
  color: var(--ink);
  font-size: 26px;
  line-height: 34px;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin-bottom: 30px;
}

.lead {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 900;
  max-width: 830px;
}

.muted {
  margin-top: 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 32px;
  font-weight: 500;
}

.prose p + p {
  margin-top: 28px;
}

.prose .strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 32px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.links-section h2,
.tech-section h2 {
  margin-bottom: 18px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--soft);
}

.logo-link,
.tech-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 28px;
  font-weight: 900;
}

.logo-link::after,
.tech-link::after {
  content: "↗";
  margin-left: auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
}

.logo-link img,
.tech-link img,
.custom-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex: 0 0 auto;
  background: var(--slot);
}

.logo-link img {
  border: 1px solid #e8e8e8;
}

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

.tech-link {
  min-height: 59px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  font-size: 18px;
}

.tech-link:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--soft);
}

.custom-icon {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .wrap,
  .header-wrap {
    width: min(var(--max), calc(100vw - 32px));
  }

  .site-header {
    padding-top: 20px;
  }

  .header-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .kicker {
    font-size: 12px;
    line-height: 20px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  h2 {
    font-size: 25px;
    line-height: 32px;
  }

  .lead {
    font-size: 26px;
  }

  .muted {
    font-size: 18px;
    line-height: 30px;
  }

  .prose .strong {
    font-size: 21px;
    line-height: 31px;
  }

  .link-row {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .logo-link {
    min-height: 54px;
    border-bottom: 1px solid var(--soft);
  }

  .logo-link:last-child {
    border-bottom: 0;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tech-link:nth-last-child(2) {
    border-bottom: 0;
  }
}
