/* Inter, self-hosted (latin and latin-ext subsets, SIL Open Font License) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* VPC Atlas landing. Plain CSS, no framework. Light theme only. */
:root {
  --bg: #FFFFFF;
  --surface: #F6F8FA;
  --ink: #1F2328;
  --muted: #59636E;
  --line: #D0D7DE;
  --accent: #0A5BD8;
  --accent-ink: #0848A8;
  --ok: #1A7F37;
  --code-bg: #F6F8FA;
  --code-ink: #1F2328;
  --code-muted: #59636E;
  --focus: #0A5BD8;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --section-space: 64px;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --section-space: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(100% - 32px, 1100px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a, .lang a { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.site-nav a:hover, .lang a:hover { color: var(--ink); }
.lang ul { display: flex; gap: 4px; }
.lang a { display: block; padding: 6px 10px; border-radius: 6px; border: 1px solid transparent; }
.lang a[aria-current="true"] { color: var(--ink); border-color: var(--line); }
@media (min-width: 820px) { .site-nav { display: block; } }

/* Hero, on white */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 40px; padding-block: 48px var(--section-space); }
.hero-copy { min-width: 0; max-width: 36rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badges li {
  font: 400 .75rem/1 var(--mono); color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -.025em;
  text-wrap: balance;
}
.subline { margin-top: 20px; font-size: 1.1875rem; line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 6px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.hero-meta { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero .install { margin-top: 28px; }

.frame {
  min-width: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 35, 40, .08);
}
.frame-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: #F6F8FA; border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #AFB8C1; }
.frame-bar span { margin-left: 10px; font: 400 .75rem/1 var(--mono); color: var(--muted); }
.frame a { display: block; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; background: #fff; }
/* Image links sit inside overflow:hidden boxes; an outside focus ring would be clipped */
.card .shot:focus-visible, .frame a:focus-visible, .render a.shot:focus-visible { outline-offset: -3px; }

/* Repo card */
.repo-card {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  justify-self: start; max-width: 100%;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  color: var(--ink);
}
.repo-card:hover { text-decoration: none; background: var(--surface); }
.repo-card svg { flex: none; color: var(--muted); }
.repo-name { display: inline-flex; align-items: center; gap: 10px; font: 600 .9375rem/1.2 var(--mono); color: var(--accent-ink); }
.repo-card:hover .repo-name { text-decoration: underline; }
.repo-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 .8125rem/1.4 var(--mono); color: var(--muted); }

@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; padding-top: 72px; }
}

/* Sections */
.section { padding-block: var(--section-space); }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(1.625rem, 3.2vw, 2.125rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: clamp(28px, 4vw, 44px); text-wrap: balance;
}

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
}
.card .shot { display: block; border-bottom: 1px solid var(--line); background: #fff; }
.card .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.card-body { padding: 24px; }
.card h3 { font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Steps */
.steps { display: grid; gap: 40px; counter-reset: step; }
.step { display: grid; gap: 16px; counter-increment: step; min-width: 0; }
.step-head::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 8px;
  font: 400 .8125rem/1 var(--mono); color: var(--muted);
}
.step h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 46rem; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
}

/* Code blocks, light */
pre {
  margin: 0; padding: 16px 18px; background: var(--code-bg); color: var(--code-ink);
  border: 1px solid var(--line); border-radius: 8px;
  font: 400 .875rem/1.7 var(--mono);
  overflow-x: auto; tab-size: 2; max-width: 100%;
}
pre[data-label]::before {
  content: attr(data-label); display: block; margin-bottom: 12px;
  font: 400 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--code-muted);
  user-select: none; -webkit-user-select: none;
}
pre code { font: inherit; white-space: pre; }
pre .c { color: var(--code-muted); }
code:not(pre code) { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: .08em .35em; }

/* Renders */
.renders-intro { max-width: 40rem; color: var(--muted); margin: calc(-1 * clamp(12px, 2vw, 24px)) 0 clamp(28px, 4vw, 40px); }
.renders { display: grid; gap: 28px; }
@media (min-width: 760px) { .renders { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.render { min-width: 0; }
.render a.shot { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.render img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top left; }
.render figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .9375rem; }
.render figcaption strong { font-weight: 600; }
.render figcaption a { font-weight: 600; white-space: nowrap; }

/* Manifesto */
.manifesto { counter-reset: tenet; border-top: 1px solid var(--line); }
.manifesto li {
  counter-increment: tenet;
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 6px 12px;
  padding-block: 24px; border-bottom: 1px solid var(--line);
}
.manifesto li::before {
  content: counter(tenet, decimal-leading-zero);
  grid-row: 1 / span 2;
  font: 400 .8125rem/1.9 var(--mono); color: var(--muted);
}
.manifesto h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.manifesto p { grid-column: 2; color: var(--muted); max-width: 44rem; }
@media (min-width: 900px) {
  .manifesto li { grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding-block: 28px; align-items: start; }
  .manifesto li::before { grid-row: auto; }
  .manifesto p { grid-column: auto; }
}

/* What it reads */
.reads { display: grid; gap: 28px; }
@media (min-width: 900px) { .reads { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; } .reads > div:first-child { grid-column: 1 / -1; } }
.reads dt { font: 400 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .9375rem; line-height: 1.3; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--surface);
}

/* Who */
.bio { display: grid; gap: 24px; align-items: start; }
.bio-text { min-width: 0; }
.bio-text p { font-size: 1.0625rem; line-height: 1.7; max-width: 42rem; }
.bio-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: .9375rem; font-weight: 600; }
.bio-text .btn { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: .9375rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-bottom: 20px; }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-row strong { color: var(--ink); font-weight: 600; }
.footer-row .lic { font-family: var(--mono); font-size: .8125rem; }
.legal { max-width: 46rem; font-size: .8125rem; line-height: 1.6; }

/* 404 */
.not-found { padding-block: 96px 64px; }
