:root {
  color-scheme: light;
  --about-paper: #f4f1e9;
  --about-ink: #171816;
  --about-muted: #5d615d;
  --about-rule: #c9c9c0;
  --about-accent: #5e538e;
  --about-deep: #222423;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--about-paper);
  color: var(--about-ink);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.about-header,
.about-footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-header {
  min-height: 76px;
  border-bottom: 1px solid var(--about-rule);
}

.about-brand,
.about-footer .brand-lockup { color: var(--about-ink); }

.about-brand .brand-wordmark,
.about-footer .brand-wordmark { height: 24px; }

.about-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
}

.about-nav a { text-decoration: none; }
.about-nav a:hover,
.about-nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.about-nav__primary {
  padding: 8px 13px;
  border: 1px solid var(--about-ink);
  border-radius: 3px;
}

main {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.about-hero {
  padding: clamp(76px, 11vw, 142px) 0 clamp(68px, 9vw, 112px);
  max-width: 940px;
}

.about-eyebrow {
  margin: 0 0 16px;
  color: var(--about-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 7.2vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.about-lede {
  max-width: 68ch;
  margin: 28px 0 0;
  color: var(--about-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.about-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--about-rule);
  border-radius: 3px;
  text-decoration: none;
}

.about-button:hover,
.about-button:focus-visible { border-color: var(--about-ink); }

.about-button--primary {
  border-color: var(--about-ink);
  background: var(--about-ink);
  color: #fff;
}

.about-button--primary:hover,
.about-button--primary:focus-visible { background: var(--about-accent); }

.about-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 8vw, 104px);
  padding: 42px 0 88px;
  border-top: 1px solid var(--about-rule);
}

.about-section__intro h2,
.about-boundary h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.about-section__intro > p:last-child {
  margin: 18px 0 0;
  color: var(--about-muted);
}

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

.about-card {
  padding-top: 16px;
  border-top: 2px solid var(--about-ink);
}

.about-card__number {
  color: var(--about-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.about-card h3 {
  margin: 25px 0 10px;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-card p,
.about-boundary__copy p { margin: 0; color: var(--about-muted); }

.about-boundary {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 8vw, 104px);
  padding: 48px;
  background: var(--about-deep);
  color: #f7f5ef;
}

.about-boundary .about-eyebrow { color: #c7b7ee; }
.about-boundary__copy { display: grid; gap: 16px; }
.about-boundary__copy p { color: #cbcfc9; }
.about-boundary code { color: #fff; }

.about-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 56px 0 88px;
}

.about-next a {
  display: grid;
  min-height: 126px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--about-rule);
  text-decoration: none;
}

.about-next a:hover,
.about-next a:focus-visible { border-color: var(--about-ink); }
.about-next a > span:first-child { color: var(--about-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.about-next strong { grid-column: 1 / -1; font-size: 1.03rem; font-weight: 600; line-height: 1.35; }
.about-next a > span:last-child { grid-column: 2; grid-row: 1; align-self: start; }

.about-footer {
  min-height: 76px;
  border-top: 1px solid var(--about-rule);
  color: var(--about-muted);
  font-size: 0.83rem;
}

@media (max-width: 760px) {
  .about-header,
  .about-footer,
  main { width: min(100% - 36px, 620px); }
  .about-nav { gap: 12px; font-size: 0.8rem; }
  .about-nav a:first-child { display: none; }
  .about-section,
  .about-boundary { grid-template-columns: 1fr; gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-card h3 { margin-top: 14px; }
  .about-boundary { padding: 28px 22px; }
  .about-next { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .about-header { min-height: 66px; gap: 12px; }
  .about-nav { gap: 10px; }
  .about-nav a:nth-child(2) { max-width: 118px; }
  .about-nav__primary { padding: 7px 9px; }
  .about-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 0; }
}
