@font-face {
  font-family: Karla;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/karla-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #1f2d4d;
  --paper: #fff;
  --muted: #526078;
  --rule: #d2d5db;
  --font: Karla, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.55;
  scrollbar-color: var(--ink) var(--paper);
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; text-wrap: balance; }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.page { width: min(100% - 96px, 1080px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); z-index: 2; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 30px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 29px; font-weight: 700; letter-spacing: -0.035em; }
.wordmark img { display: block; }
.masthead nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.masthead nav a { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.updates-link { font-weight: 600; }
.intro { padding-block: 76px 64px; }
h1 { font-size: clamp(40px, 4.8vw, 66px); letter-spacing: -0.04em; line-height: 1.04; }
.newsletter { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 36px; align-items: center; padding: 34px 36px; background: var(--ink); color: var(--paper); scroll-margin-top: 24px; }
.newsletter ::selection { color: var(--ink); background: var(--paper); }
.newsletter h2 { font-size: 29px; letter-spacing: -0.03em; }
.newsletter-copy > p { margin-top: 12px; max-width: 38ch; font-size: 16px; color: #e0e3e8; }
.subscribe-form { min-width: 0; }
.subscribe-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.form-row { display: flex; gap: 8px; }
input, button { border: 1px solid var(--paper); border-radius: 0; font: inherit; min-height: 50px; }
input { width: 100%; min-width: 0; padding: 11px 13px; background: var(--paper); color: var(--ink); caret-color: var(--ink); }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible { outline-color: var(--paper); }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 11px 14px; color: var(--paper); background: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
button:hover, button:active { color: var(--ink); background: var(--paper); }
button:disabled { opacity: 0.6; cursor: wait; }
.signup-status { margin-top: 11px; font-size: 13px; line-height: 1.5; color: #e0e3e8; }
.signup-status { border-top: 1px solid #8991a1; padding-top: 12px; }
.signup-status a { font-weight: 600; }
.signup-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; min-height: 0; overflow: hidden; }
.products { margin-top: 72px; scroll-margin-top: 30px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.section-heading h2, .maker h2 { font-size: 32px; letter-spacing: -0.03em; }
.section-heading > p { color: var(--muted); font-size: 15px; }
.product { display: grid; grid-template-columns: 0.85fr 1.55fr; gap: 48px; padding-block: 31px 34px; border-top: 1px solid var(--rule); }
.product h3 { font-size: 27px; letter-spacing: -0.025em; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.product-meta { font-size: 14px; color: var(--muted); }
.product-name .product-meta { margin-top: 8px; }
.product-detail > p { max-width: 65ch; font-size: 18px; }
.product-detail > .product-meta { margin-top: 8px; font-size: 14px; }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 19px; }
.product-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.product-links .secondary-link { color: var(--muted); font-size: 14px; font-weight: 400; }
.product-project { padding-bottom: 0; }
.maker { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 64px; margin-top: 72px; padding-block: 37px 50px; border-top: 1px solid var(--ink); }
.maker p { max-width: 57ch; margin-top: 16px; font-size: 17px; }
.maker-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-bottom: 3px; }
.maker-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; border-top: 1px solid var(--rule); padding-block: 24px 36px; font-size: 13px; color: var(--muted); }
.footer-brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.footer > a:last-child { display: inline-flex; align-items: center; gap: 8px; }
.footer > p { margin-right: auto; }

@media (max-width: 1000px) {
  .intro { padding-block: 58px 44px; }
  .newsletter { grid-template-columns: 1fr 1.1fr; gap: 28px; padding: 30px; }
  .newsletter h2 { font-size: 26px; }
  .form-row { flex-wrap: wrap; }
  .form-row input { flex: 1 1 190px; }
  .form-row button { flex: 1 1 auto; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 650px) {
  .page { width: calc(100% - 40px); }
  .masthead { flex-wrap: wrap; gap: 9px; padding-block: 19px 15px; }
  .wordmark { font-size: 26px; }
  .wordmark img { width: 36px; height: 36px; }
  .masthead nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 14px; }
  .masthead nav a { padding-block: 6px; }
  .intro { padding-block: 42px 34px; }
  h1 { font-size: clamp(36px, 7.8vw, 49px); }
  .newsletter { grid-template-columns: 1fr; gap: 22px; padding: 25px 22px; }
  .newsletter h2 { font-size: 27px; }
  .newsletter-copy > p { max-width: 40ch; margin-top: 10px; }
  .form-row { flex-direction: column; gap: 10px; }
  .form-row input, .form-row button { flex: auto; min-height: 50px; }
  .products { margin-top: 46px; }
  .section-heading { padding-bottom: 22px; }
  .section-heading h2, .maker h2 { font-size: 28px; }
  .product { grid-template-columns: 1fr; gap: 17px; padding-block: 25px 30px; }
  .product h3 { font-size: 26px; }
  .product-detail > p { font-size: 17px; }
  .product-links { gap: 15px 22px; margin-top: 17px; }
  .maker { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; padding-block: 29px 34px; }
  .maker p { margin-top: 13px; }
  .footer { flex-wrap: wrap; gap: 18px 22px; padding-block: 23px 28px; }
  .footer > p { flex-basis: calc(100% - 110px); margin: 0; }
  .footer > a:last-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Reading pages share the homepage's type, palette, and shell. */
.masthead nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.content-header { padding-block: 72px 46px; border-bottom: 1px solid var(--rule); }
.content-lead { max-width: 58ch; margin-top: 22px; font-size: 22px; line-height: 1.5; }
.reading-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 64px; padding-block: 42px 64px; }
.contents { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.contents a { padding-block: 3px; }
.reading-content { min-width: 0; max-width: 70ch; font-size: 18px; line-height: 1.65; }
.reading-content section { scroll-margin-top: 28px; }
.reading-content section + section { margin-top: 46px; }
.reading-content h1, .reading-content h2 { margin-bottom: 18px; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.reading-content p + p { margin-top: 18px; }
.feature-list { margin: 0; padding-left: 22px; }
.feature-list li + li { margin-top: 10px; }
.feature-list li::marker { color: var(--ink); }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--rule); padding-block: 22px; }
.history-date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.history h3 { margin-bottom: 10px; font-size: 23px; letter-spacing: -0.02em; }
.history p { font-size: 17px; }

@media (max-width: 800px) {
  .reading-layout { grid-template-columns: 1fr; gap: 30px; }
  .contents { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
}

@media (max-width: 650px) {
  .content-header { padding-block: 42px 30px; }
  .content-lead { margin-top: 18px; font-size: 20px; }
  .reading-layout { padding-block: 26px 42px; }
  .reading-content { font-size: 17px; }
  .reading-content h1, .reading-content h2 { font-size: 28px; }
  .reading-content section + section { margin-top: 36px; }
  .history li { grid-template-columns: 1fr; gap: 8px; }
}
