@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0f1b2d;
  --ink-2: #16273f;
  --paper: #f7f8fa;
  --white: #fff;
  --rule: #d9dee5;
  --slate: #4a5565;
  --steel: #8a97ab;
  --copper: #d44b17;
  --copper-deep: #a63a0e;
  --copper-light: #e8946a;
  --error: #a12a12;
  --max: 1200px;
  --gutter: 24px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

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

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 3px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
header.site { border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.word { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.labs { margin-left: 0.26em; }
nav ul { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; color: var(--slate); font-size: 0.95rem; transition: color 0.15s; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: var(--ink); font-weight: 600; border: 1px solid var(--ink); padding: 8px 16px; border-radius: 3px; transition: background 0.15s, color 0.15s; }
nav a.nav-cta:hover { background: var(--ink); color: var(--white); }

/* Buttons and links */
.button {
  display: inline-block; background: var(--ink); color: var(--white); text-decoration: none;
  font: 600 1rem/1 var(--font); padding: 16px 24px; border: 0; border-radius: 3px; cursor: pointer;
  transition: background 0.15s;
}
.button:hover { background: var(--ink-2); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--copper); padding-bottom: 2px; transition: border-color 0.15s, color 0.15s; }
.arrow-link:hover { color: var(--copper-deep); border-color: var(--copper-deep); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 104px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
h1 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; max-width: 15ch; }
.hero-sub { margin-top: 28px; font-size: 1.2rem; line-height: 1.55; color: var(--slate); max-width: 52ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-art { aspect-ratio: 4 / 3; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 86% 0, 100% 14%, 100% 100%, 0 100%); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 56px; align-items: baseline; margin-bottom: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; }
.section-head p { color: var(--slate); font-size: 1.15rem; max-width: 52ch; }

/* Products */
.products { border-top: 2px solid var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding-block: 40px; border-bottom: 1px solid var(--rule); align-items: center; }
.product-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 86%); }
.meta { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
h3 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin-top: 10px; }
.product-lede { font-size: 1.2rem; font-weight: 500; margin-top: 8px; }
.product-body p:not(.meta):not(.product-lede) { color: var(--slate); margin-top: 14px; max-width: 56ch; }
.product-body .arrow-link { display: inline-block; margin-top: 22px; }

/* Approach */
.band { background: var(--ink); color: #e9edf3; }
.band h2, .band h3 { color: var(--white); }
.band .section-head p { color: #b5c0d0; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.principles > div { border-top: 1px solid #2c4770; padding-top: 24px; }
.principles h3 { font-size: 1.25rem; margin-top: 0; }
.principles p { margin-top: 12px; color: #b5c0d0; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.privacy-lead { font-size: 1.5rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; margin: 20px 0 28px; }
.commitments > div { padding-block: 22px; border-top: 1px solid var(--rule); }
.commitments > div:first-child { border-top: 2px solid var(--ink); }
.commitments dt { font-weight: 600; font-size: 1.1rem; }
.commitments dd { color: var(--slate); margin-top: 6px; max-width: 54ch; }

/* Contact */
.contact { background: var(--white); border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid > div > p { margin-top: 20px; color: var(--slate); font-size: 1.15rem; max-width: 40ch; }
form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 0.95rem; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #aab3c0; border-radius: 3px; padding: 12px 14px; width: 100%;
}
textarea { resize: vertical; min-height: 140px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--error); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-weight: 500; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="sent"] { color: var(--ink); }

/* Footer */
footer.site { border-top: 1px solid var(--rule); padding-block: 36px; font-size: 0.95rem; color: var(--slate); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Long-form pages (privacy, 404) */
.doc { padding-block: clamp(40px, 6vw, 88px); }
.doc-body { max-width: 68ch; }
.doc h1 { max-width: none; font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); }
.doc .updated { margin-top: 12px; color: var(--slate); font-family: var(--mono); font-size: 0.85rem; }
.doc h2 { font-size: 1.4rem; letter-spacing: -0.015em; margin: 40px 0 10px; }
.doc p { color: var(--slate); margin-top: 12px; }
.doc a { color: var(--ink); text-decoration-color: var(--copper); text-underline-offset: 3px; }
body.plain-reply main { max-width: 34rem; margin: 15vh auto; padding: 0 var(--gutter); }

@media (max-width: 960px) {
  .hero-grid, .privacy-grid, .contact-grid, .section-head { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 560px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .section-head { gap: 12px; }
}
@media (min-width: 961px) {
  /* Let the hero plate run off the right edge of the page. */
  .hero-art { margin-right: calc((min(var(--max), 100vw - 2 * var(--gutter)) - 100vw) / 2); }
}
@media (max-width: 640px) {
  .product { grid-template-columns: minmax(0, 1fr); padding-block: 32px; }
  .product-art img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  nav ul { gap: 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero-art { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
