*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .container { padding: 0 24px; } }

/* Vercel-style hairline frame: sections stack inside a bordered column */
.frame { max-width: var(--container); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 1247px) { .frame { border-left: 0; border-right: 0; } }
.section { position: relative; border-top: 1px solid var(--line); padding: 72px 16px; }
@media (min-width: 760px) { .section { padding: 112px 48px; } }
.section--tight { padding-top: 48px; padding-bottom: 48px; }

/* "+" marks where hairlines cross */
.plus { position: absolute; width: 17px; height: 17px; pointer-events: none; color: var(--line-strong); }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; }
.plus::before { left: 8px; top: 0; width: 1px; height: 17px; }
.plus::after { top: 8px; left: 0; height: 1px; width: 17px; }
.plus--tl { top: -9px; left: -9px; }
.plus--tr { top: -9px; right: -9px; }
@media (max-width: 1247px) { .plus { display: none; } }

.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; }
.h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; }
.h3 { font-size: 20px; letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.stack > * + * { margin-top: var(--gap, 16px); }

.skip-link { position: absolute; left: 8px; top: -48px; z-index: 1000; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
