:root {
  color-scheme: dark;
  --bg: #101213;
  --text: #edece8;
  --muted: #a7adb0;
  --accent: #b2d6e5;
  --line: #303638;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--bg); }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--accent); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 30px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 35px; line-height: 1; font-weight: 650; letter-spacing: -2px; }
.wordmark-dot { color: var(--accent); }
nav { display: flex; gap: 30px; align-items: center; font-size: 13px; }
nav a { color: var(--muted); padding-block: 10px; transition: color 160ms ease; }
nav a:hover, nav a:last-child { color: var(--text); }
nav span { margin-left: 5px; color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 88px 82px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; letter-spacing: 1.3px; text-transform: uppercase; }
.small-line { display: inline-block; width: 16px; height: 1px; background: var(--accent); }
h1 { max-width: 730px; margin-top: 25px; font-size: clamp(40px, 4.7vw, 64px); line-height: 1.1; letter-spacing: -2.7px; font-weight: 450; text-wrap: balance; }
h1 span { color: var(--accent); }
.hero-description { max-width: 440px; margin-top: 25px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 29px; padding: 16px 19px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 550; border: 1px solid var(--text); border-radius: 3px; transition: background 160ms ease, border-color 160ms ease; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button span { font-size: 18px; line-height: 1; }
.hero-note { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.hero-art { padding: 22px 0 0; width: 100%; max-width: 340px; justify-self: end; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art svg circle { stroke: #69777d; fill: var(--bg); }
.diagram-muted { stroke: #536066; stroke-width: 1; }
.diagram-main { stroke: var(--accent); stroke-width: 1.5; }
.diagram-fine { stroke: #252d30; stroke-width: 1; }
.hero-art .diagram-point { stroke: var(--accent); fill: var(--accent); }
.diagram-node { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.art-caption { display: block; text-align: right; padding-right: 22px; margin-top: -12px; color: var(--muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.3px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 80px; border-top: 1px solid var(--line); padding-block: 62px; }
h2 { margin-top: 18px; font-size: clamp(28px, 3vw, 38px); font-weight: 450; line-height: 1.2; letter-spacing: -1.1px; }
h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.2px; line-height: 1.5; }
.application-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 18px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.application-row:first-child { padding-top: 0; }
.row-number, .step-index { color: var(--accent); font: 11px/24px ui-monospace, SFMono-Regular, Consolas, monospace; }
.application-row p, .step p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 460px; }
.section-note { margin-top: 21px; color: var(--muted); font-size: 12px; line-height: 1.75; max-width: 470px; }
.step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 18px; padding-bottom: 25px; }
.step:last-of-type { padding-bottom: 0; }
.about-copy { max-width: 490px; font-size: 17px; line-height: 1.75; }
.about-copy p + p { margin-top: 17px; }
.about-copy p:nth-child(2) { color: var(--muted); font-size: 15px; }
.about-copy .aside { color: var(--muted); font-size: 12px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; padding-block: 62px; border-block: 1px solid var(--line); }
.contact p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 360px; }
.contact-action { justify-self: end; }
.email-link { display: inline-flex; align-items: center; gap: 35px; padding-block: 10px; border-bottom: 1px solid var(--accent); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.8px; color: var(--accent); }
.email-link:hover { color: var(--text); }
.email-link span { font-size: 24px; }
.contact-note { display: block; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 27px; font-size: 11px; color: var(--muted); }
.footer-brand { font-size: 13px; color: var(--text); }
.not-found { min-height: 100svh; display: flex; flex-direction: column; gap: 100px; padding-block: 40px; }
.not-found h1 { margin-block: 18px 24px; }
.body-copy { color: var(--muted); line-height: 1.7; max-width: 460px; }
.quiet-link { display: block; width: fit-content; margin-top: 24px; color: var(--accent); }
@media (min-width: 1500px) { .hero { padding-block: 92px; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; padding-block: 64px; }
  h1 { font-size: 43px; letter-spacing: -1.8px; }
  .section-grid { gap: 42px; }
  .contact { gap: 30px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; }
  .wordmark { font-size: 31px; }
  nav { gap: 17px; font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 48px 38px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.9px; }
  h1 { font-size: clamp(35px, 9.3vw, 48px); letter-spacing: -1.5px; max-width: 490px; margin-top: 23px; }
  .hero-description { font-size: 15px; margin-top: 22px; }
  .button { gap: 24px; padding: 15px 17px; max-width: 100%; }
  .hero-art { max-width: 170px; padding-top: 0; margin-top: -4px; }
  .art-caption { font-size: 8px; padding-right: 10px; margin-top: -8px; }
  .section-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px; }
  h2 { font-size: 30px; margin-top: 14px; }
  h3 { font-size: 16px; }
  .section-heading h2 br { display: none; }
  .about-copy { font-size: 16px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 40px; }
  .contact-action { justify-self: start; min-width: 0; }
  .email-link { font-size: clamp(24px, 7.5vw, 32px); gap: 25px; }
  .site-footer { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding-block: 24px; }
  .site-footer span:nth-child(2) { text-align: right; }
  .site-footer span:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
