:root {
  --paper: #F4EFEC;
  --ink: #1F2322;
  --ink-soft: #5F6361;
  --rule: #DFD8D2;
  --rule-strong: #CFC6BF;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(19px, 16px + 0.35vw, 21px) / 1.4 var(--serif);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.2vw, 40px);
}

h1,
h2,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol { list-style: none; }

p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.16em;
  transition: color 180ms ease, background-color 180ms ease;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 1.5px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.arrow {
  flex: none;
  width: 22px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 180ms ease;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
}

.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration-line: none;
}

.links {
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.links a {
  color: var(--ink-soft);
  text-decoration-line: none;
  transition: color 180ms ease;
}

.links a:hover,
.links a[aria-current="page"] { color: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration-line: none;
}

.pill:hover { background: #3E4542; color: var(--paper); }

.pill:focus-visible { outline-color: var(--ink); }

.pill-outline:hover { background: var(--rule); color: var(--ink); }

.pill-outline {
  background: transparent;
  color: var(--ink);
}

.menu { display: none; }

.menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -11px;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker { display: none; }

.menu summary svg {
  width: 22px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu nav {
  position: absolute;
  top: 68px;
  right: 0;
  left: 0;
  padding: 8px clamp(20px, 3.2vw, 40px) 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.menu nav a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  text-decoration-line: none;
}

/* Page heads */

.page-head { padding-top: clamp(56px, 9vh, 96px); }

h1 {
  max-width: 16em;
  font-family: var(--sans);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  max-width: 30em;
  margin-top: 20px;
  font-size: clamp(21px, 17px + 0.5vw, 24px);
  line-height: 1.34;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-actions { margin-bottom: 8px; }

/* Home */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 27vw, 320px);
  gap: 56px;
  align-items: center;
  padding-top: clamp(56px, 11vh, 112px);
}

.home-hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
}

.mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.pen {
  stroke-dasharray: 1.1 1.1;
  stroke-dashoffset: 1.1;
  animation: draw 1500ms cubic-bezier(0.5, 0.05, 0.3, 1) 300ms forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.backed {
  margin-top: clamp(48px, 8vh, 80px);
  font-family: var(--sans);
  font-size: 15px;
}

.home-news { margin-top: clamp(48px, 7vh, 72px); }

.home-news h2 {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
}

.home-news .news { margin-top: 0; }

.backed span {
  margin-right: 10px;
  color: var(--ink-soft);
}

.roles a {
  display: grid;
  column-gap: 24px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
  text-decoration-line: none;
}

.roles a:hover .arrow { transform: translateX(3px); }

.roles strong {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Sections */

.band {
  display: grid;
  grid-template-columns: 220px minmax(0, 680px);
  column-gap: 24px;
  margin-top: clamp(48px, 7vh, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.band h2 {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.band > div > p + p { margin-top: 0.7em; }

.rows > li {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  column-gap: 1em;
  margin-bottom: 1.15em;
}

.rows > li:last-child { margin-bottom: 0; }

.rows > li > span { color: var(--ink-soft); }

.rows p + p { margin-top: 0.3em; }

.list li + li { margin-top: 0.45em; }

/* Product milestones */

.milestones > li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}

.milestones > li:first-child { padding-top: 0; border-top: 0; }

.milestone-date {
  padding-top: 3px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
}

.milestones h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Team */

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
  margin-top: clamp(40px, 6vh, 64px);
}

.people li {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.person-profile {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 4px;
  color: var(--ink);
  text-decoration-line: none;
}

.person-profile:hover { color: var(--ink-soft); }

.person-profile img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rule);
}

.people h2 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.role {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
}

/* Careers */

.job-head .back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: 15px;
  text-decoration-line: none;
}

.job-meta {
  margin-top: 16px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
}

.job-list {
  list-style: disc;
  padding-left: 1.1em;
}

.job-list li + li { margin-top: 0.6em; }

.job-section { scroll-margin-top: 100px; }

.roles a {
  grid-template-columns: minmax(0, 1fr) 22px;
  padding-block: 14px;
}

.roles li:first-child a { padding-top: 0; }

.roles strong { grid-column: 1; }

.roles span {
  grid-column: 1;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
}

.roles .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* News */

.news {
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--rule);
}

.news li {
  display: grid;
  grid-template-columns: 160px 120px minmax(0, 1fr);
  column-gap: 24px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}

.news time,
.news span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
}

/* Footer */

.site-footer {
  margin-top: clamp(72px, 12vh, 120px);
  padding-block: 44px 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 150px 190px;
  gap: 32px 24px;
}

.footer-grid > .brand { align-self: start; }

.footer-grid h2 {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.footer-grid div a,
.footer-grid div span {
  display: block;
  padding-block: 4px;
}

.footer-grid div a { text-decoration-line: none; }

.footer-grid div a:hover { color: var(--ink-soft); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  color: var(--ink-soft);
}

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

.footer-legal-links a {
  margin: -12px -6px;
  padding: 12px 6px;
}

/* Phones and small tablets */

@media (max-width: 900px) {
  .links,
  .bar > .pill { display: none; }

  .menu { display: block; }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 40px;
  }

  .home-hero .mark {
    grid-row: 1;
    width: 132px;
  }

  .band {
    grid-template-columns: minmax(0, 1fr);
  }

  .band h2 { margin-bottom: 10px; }

  .rows > li { column-gap: 0.6em; }

  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .news li { display: block; }

  .news span::before { content: " · "; }

  .news a { display: block; margin-top: 2px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid > .brand { grid-column: 1 / -1; }
}

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

  .milestones > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pen {
    stroke-dashoffset: 0;
    animation: none;
  }

  a,
  .arrow,
  .links a { transition: none; }
}
