/* Varyk site styles. The design rules behind every value are in docs/design-guidelines.md. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader-Italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens: paper (light) by default, dark when the reader asks for it ---------- */
:root {
  --bg: #EFEBE2;
  --alt: #E8E3D8;
  --code: #E4DFD3;
  --line: #D2CCBE;
  --ink: #1A2321;
  --body: #283130;
  --muted: #55605C;
  --faint: #7A7E78;
  --accent: #23705F;       /* verdigris: Varyk, actions, links */
  --on-accent: #F6F3EC;
  --red: #9C2A26;          /* red oxide: Rust, and what the compiler writes; marks only, never text */
  --mark: #F1D8D1;
  --strip: #E9D6D0;
  --strip-ink: #3A1D19;
  --tile: #E4DFD3;

  --serif: "Newsreader", ui-serif, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 90rem;
  --gutter: clamp(1rem, 6.6vw, 6rem);
  --measure: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1211;
    --alt: #151918;
    --code: #121615;
    --line: #2D3432;
    --ink: #EEEAE0;
    --body: #DCD9D2;
    --muted: #B3AFA7;
    --faint: #7D7A74;
    --accent: #5FBFAE;
    --on-accent: #0B1211;
    --red: #BF3B33;
    --mark: #3B1917;
    --strip: #2A1716;
    --strip-ink: #EBCFC6;
    --tile: #1B201F;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.05; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.15; margin: 3rem 0 0.75rem; }
h3 { font-size: 1.125rem; line-height: 1.35; margin: 2rem 0 0.5rem; }
h1 em, h2 em { color: var(--accent); }
p, ul, ol, table, dl { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--ink); }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink); }

code, pre { font-family: var(--mono); }
code { font-size: 0.88em; }
:not(pre) > code { background: var(--code); color: var(--ink); padding: 0.1em 0.3em; border-radius: 3px; }
pre {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--code);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  tab-size: 4;
}
pre code { font-size: inherit; display: block; }
/* What the compiler writes for you: red oxide as a mark, the text stays ink. */
mark { background: var(--mark); color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); padding: 0 1px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 2; padding: 0.75rem 1rem; background: var(--bg); color: var(--ink); }
.skip:focus { left: 1rem; }

/* ---------- The mark ---------- */
.vk-tile, .vk-hole { fill: var(--tile); }
.vk-rust { fill: var(--red); }
.vk-varyk { fill: var(--accent); }
.vk-in-big, .vk-big { transform-box: view-box; transform-origin: 26.94px 38.73px; }
.vk-in-small, .vk-small { transform-box: view-box; transform-origin: 46.06px 16.27px; }
/* On load the pair turns for 4.5 s and rests two teeth on, looking exactly as drawn (8 : 6 teeth). */
@keyframes vk-in-big { to { transform: rotate(90deg); } }
@keyframes vk-in-small { to { transform: rotate(-120deg); } }
@keyframes vk-cw { to { transform: rotate(360deg); } }
@keyframes vk-ccw { to { transform: rotate(-360deg); } }
.vk-in-big { animation: vk-in-big 4.5s cubic-bezier(0.3, 0.7, 0.4, 1) both; }
.vk-in-small { animation: vk-in-small 4.5s cubic-bezier(0.3, 0.7, 0.4, 1) both; }
/* While hovered it keeps turning, and stops where it is when the pointer leaves. */
.vk-big { animation: vk-cw 18s linear infinite paused; }
.vk-small { animation: vk-ccw 13.5s linear infinite paused; }
.brand:hover .vk-big, .brand:hover .vk-small { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .vk-in-big, .vk-in-small, .vk-big, .vk-small { animation: none; }
}

/* ---------- Header ---------- */
.strip { background: var(--strip); color: var(--strip-ink); font-size: 0.9375rem; line-height: 1.5; }
.strip p { margin: 0 auto; padding-block: 0.7rem; }
.strip strong { color: inherit; }

.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2.5rem; min-height: 5rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4375rem;
  letter-spacing: -0.045em;
  line-height: 1;
  padding: 0.5rem 0;
}
.brand:hover { color: var(--ink); }
.site-head .vk-mark { width: 2.25rem; height: 2.25rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 1.75rem; flex: 1; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 0.6rem 0; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.site-head .gh { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; padding: 0.6rem 0; }
.site-head .gh .icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
@media (max-width: 63.99rem) {
  .site-head .wrap { gap: 0 1.5rem; }
  .site-head .gh { margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; gap: 0 1.25rem; padding-bottom: 0.5rem; }
}

/* ---------- Pages ---------- */
main { display: block; }
.doc { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 4.5rem; font-size: 1.125rem; }
.doc > * { max-width: var(--measure); }
.doc > .panes, .doc > .cols, .doc > table { max-width: 76rem; }
.doc pre { font-size: 0.875rem; }
.note, .meta { color: var(--muted); font-size: 0.9375rem; }

.panes { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0 0.75rem; }
@media (min-width: 48rem) { .panes { grid-template-columns: 1fr 1fr; } }
.panes > * { min-width: 0; }
.panes h3, .panes h4 { font-family: var(--mono); font-weight: 400; font-size: 0.9375rem; color: var(--muted); margin: 0 0 0.4rem; }
.panes pre { margin: 0; }

.pages { list-style: none; padding: 0; }
.pages li { padding: 1rem 0; margin: 0; border-top: 1px solid var(--line); }
.pages a { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; text-decoration: none; }
.pages a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.pages p { margin: 0.25rem 0 0; color: var(--muted); font-size: 1rem; }
.posts time { color: var(--muted); font-size: 0.9375rem; display: block; }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (min-width: 80rem) { .hero .wrap { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); gap: 4rem; } }
.eyebrow { color: var(--muted); margin: 0 0 1.5rem; }
.hero h1 { font-size: clamp(2.75rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 2rem; }
.hero h1 > span { display: block; }
.hero h1 > span:first-child {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.lead { font-size: 1.1875rem; line-height: 1.6; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0 0 2.25rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.125rem;
  padding: 0 1.4rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}
.button:hover { color: var(--on-accent); filter: brightness(1.08); }
.actions a:not(.button) { font-weight: 600; }
.install { margin: 0; max-width: 24rem; }
.install span { display: block; color: var(--muted); font-size: 0.9375rem; }
.install code {
  display: block;
  padding: 0.55rem 0;
  background: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 1rem;
  user-select: all;
}
.install code::before { content: "$ "; color: var(--faint); }

/* The figure: Varyk beside the Rust it becomes. */
.compare { margin: 0; min-width: 0; }
.compare-panes { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--code); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
@media (min-width: 48rem) { .compare-panes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pane { min-width: 0; }
.pane + .pane { border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .pane + .pane { border-top: 0; border-left: 1px solid var(--line); } }
.pane-head { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.875rem; }
.pane-head::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--accent); }
.pane-rust::before { background: var(--red); }
.compare pre { margin: 0; border: 0; border-radius: 0; background: none; padding: 1.1rem 1.25rem 1.4rem; font-size: 0.875rem; }
/* The hero figure has one pane: a service as Varyk writes it. */
.compare-panes.compare-single { grid-template-columns: minmax(0, 1fr); }
figcaption { margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.fig { font-family: var(--serif); font-style: italic; font-size: 1.1em; color: var(--ink); margin-right: 0.3rem; }
figcaption strong { font-weight: 400; color: var(--ink); background: var(--mark); box-shadow: inset 0 -2px 0 var(--red); padding: 0 2px; }

/* ---------- Home: numbered bands ---------- */
.band {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  border-top: 1px solid var(--line);
}
/* Bands alternate starting on --alt, so the first contrasts with the hero and the last with the footer.
   Counted among bands only, so the hero section does not shift the rhythm. */
.band:nth-child(odd of .band) { background: var(--alt); }
/* Engines without the "of S" syntax (before 2023): the hero is the first section, so even sections are the same bands. */
@supports not selector(:nth-child(odd of .band)) {
  .band:nth-of-type(even) { background: var(--alt); }
}
.band::before { content: attr(data-num) "\2002" attr(data-label); display: block; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.25rem; color: var(--muted); }
@media (min-width: 64rem) {
  .band { display: grid; grid-template-columns: 13rem minmax(0, 1fr); column-gap: 3rem; align-content: start; }
  .band > * { grid-column: 2; }
  .band::before { content: attr(data-num); grid-column: 1; grid-row: 1; margin: 0; font-size: 3.5rem; line-height: 1; color: var(--faint); }
  .band::after { content: attr(data-label); grid-column: 1; grid-row: 2; align-self: start; margin-top: 0.75rem; font-weight: 600; color: var(--ink); }
}
.band h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 1.5rem; max-width: 20em; }
.band > p { max-width: var(--measure); font-size: 1.125rem; }

/* 02 and 03: an ordered list as a pipeline, one step per entry, the entry's leading bold text as the step.
   `flow` (Cargo underneath: .vr, .rs facade, crates.io) and `changes` (source to binary) both use it. */
.band-flow ol, .band-changes ol { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
.band-flow li, .band-changes li { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; position: relative; }
.band-flow li > strong:first-child, .band-changes li > strong:first-child { display: block; margin-bottom: 0.8rem; padding: 0.8rem 1rem; border: 1px solid var(--line); font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; font-style: italic; color: var(--ink); }
.band-flow li > strong:first-child code, .band-changes li > strong:first-child code { background: none; padding: 0; font-size: 1rem; font-style: normal; }
.band-flow li:first-child > strong code, .band-changes li:first-child > strong code { color: var(--accent); }
.band-flow ol + p, .band-changes ol + p { margin-top: 2.5rem; }
/* The step where rustc checks the program is marked in red oxide. */
.band-changes li:nth-child(4) > strong { border-color: var(--red); }
@media (min-width: 64rem) {
  .band-flow ol, .band-changes ol { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2.25rem; }
  .band-flow li:not(:last-child)::after, .band-changes li:not(:last-child)::after { content: "→"; position: absolute; top: 0.95rem; right: -1.6rem; color: var(--faint); }
}

/* 03: how it works: the borrowing figure first, then Rust beside Varyk, then the pipeline. */
.band-changes .compare { margin: 0.5rem 0 2.5rem; }
.band-changes table { display: table; border-top: 1px solid var(--ink); font-size: 1rem; margin-top: 1rem; }
.band-changes th { font-weight: 400; color: var(--muted); font-size: 0.9375rem; padding: 0.9rem 1.25rem; }
.band-changes th:last-child { color: var(--accent); }
.band-changes td { padding: 1.4rem 1.25rem; vertical-align: middle; }
.band-changes th:first-child, .band-changes td:first-child { padding-left: 0; }
.band-changes td:first-child { width: 36%; color: var(--muted); font-size: 0.9375rem; }
.band-changes td:first-child strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; line-height: 1.3; margin-bottom: 0.25rem; }
.band-changes td code { background: none; padding: 0; font-size: 1rem; white-space: nowrap; }
.band-changes td:nth-child(2) code { color: var(--muted); }
.band-changes td:last-child { background: var(--code); }
/* On phones each row stacks: the idea, then the Rust line, then the Varyk line. */
@media (max-width: 47.99rem) {
  .band-changes table, .band-changes tbody, .band-changes tr, .band-changes td { display: block; width: auto; }
  .band-changes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .band-changes tr { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
  .band-changes td { border: 0; padding: 0.35rem 0; }
  .band-changes td:first-child { width: auto; padding-bottom: 0.6rem; }
  .band-changes td:nth-child(2), .band-changes td:last-child { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.5rem 0.75rem; }
  .band-changes td:nth-child(2)::before, .band-changes td:last-child::before { flex: 0 0 3rem; font-size: 0.875rem; color: var(--muted); }
  .band-changes td:nth-child(2)::before { content: "Rust"; }
  .band-changes td:last-child::before { content: "Varyk"; color: var(--accent); }
  .band-changes td code { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
}

/* 04: who it is for. */
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin: 1rem 0 0; }
@media (min-width: 56rem) {
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .cols > div { padding: 0 2rem; }
  .cols > div:first-child { padding-left: 0; }
  .cols > div + div { border-left: 1px solid var(--line); }
}
.cols h3 { margin: 0 0 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.cols ul { list-style: none; padding: 0; margin: 0; }
.cols li { position: relative; padding-left: 1.4rem; margin-bottom: 0.8rem; font-size: 1rem; line-height: 1.55; }
.cols li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7rem; height: 1px; background: var(--accent); }

/* 01: what you get, then the batteries under a `###`. */
.band-get ul { list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 3.5rem; }
@media (min-width: 48rem) { .band-get ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band-get li { margin: 0; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.55; }
.band-get li > strong:first-child { display: block; margin-bottom: 0.4rem; font-family: var(--serif); font-weight: 500; font-size: 1.4375rem; line-height: 1.25; }
.band-get h3 { margin: 2.5rem 0 0.5rem; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.2; }

/* 05: the roadmap, one gear per milestone. */
.band-road ol { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 64rem) { .band-road ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; } }
.band-road li { position: relative; margin: 0; padding-top: 3.5rem; font-size: 1rem; line-height: 1.55; }
.band-road li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--line);
  -webkit-mask: var(--gear) center / contain no-repeat;
  mask: var(--gear) center / contain no-repeat;
}
/* `done` in the band's front matter: completed milestones are solid verdigris, the next one faded while it is under way. */
.band-road[data-done="1"] li:nth-child(-n + 1)::before,
.band-road[data-done="2"] li:nth-child(-n + 2)::before,
.band-road[data-done="3"] li:nth-child(-n + 3)::before,
.band-road[data-done="4"] li:nth-child(-n + 4)::before,
.band-road[data-done="5"] li:nth-child(-n + 5)::before,
.band-road[data-done="6"] li:nth-child(-n + 6)::before,
.band-road[data-done="7"] li:nth-child(-n + 7)::before,
.band-road[data-done="8"] li:nth-child(-n + 8)::before,
.band-road[data-done="9"] li:nth-child(-n + 9)::before,
.band-road[data-done="10"] li:nth-child(-n + 10)::before { background: var(--accent); }
.band-road[data-done="0"] li:nth-child(1)::before,
.band-road[data-done="1"] li:nth-child(2)::before,
.band-road[data-done="2"] li:nth-child(3)::before,
.band-road[data-done="3"] li:nth-child(4)::before,
.band-road[data-done="4"] li:nth-child(5)::before,
.band-road[data-done="5"] li:nth-child(6)::before,
.band-road[data-done="6"] li:nth-child(7)::before,
.band-road[data-done="7"] li:nth-child(8)::before,
.band-road[data-done="8"] li:nth-child(9)::before,
.band-road[data-done="9"] li:nth-child(10)::before,
.band-road[data-done="10"] li:nth-child(11)::before { background: var(--accent); opacity: 0.45; }
@media (min-width: 64rem) {
  .band-road li:not(:last-child):not(:nth-child(3n))::after { content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -2.25rem; height: 1px; background: var(--line); }
}
.band-road li > strong:first-child { display: block; margin-bottom: 0.4rem; font-weight: 400; font-size: 0.9375rem; color: var(--muted); }
.band-road[data-done="1"] li:nth-child(-n + 1) > strong:first-child,
.band-road[data-done="2"] li:nth-child(-n + 2) > strong:first-child,
.band-road[data-done="3"] li:nth-child(-n + 3) > strong:first-child,
.band-road[data-done="4"] li:nth-child(-n + 4) > strong:first-child,
.band-road[data-done="5"] li:nth-child(-n + 5) > strong:first-child,
.band-road[data-done="6"] li:nth-child(-n + 6) > strong:first-child,
.band-road[data-done="7"] li:nth-child(-n + 7) > strong:first-child,
.band-road[data-done="8"] li:nth-child(-n + 8) > strong:first-child,
.band-road[data-done="9"] li:nth-child(-n + 9) > strong:first-child,
.band-road[data-done="10"] li:nth-child(-n + 10) > strong:first-child { color: var(--accent); }
:root { --gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cmask id='m'%3E%3Crect width='64' height='64' fill='white'/%3E%3Ccircle cx='32' cy='32' r='7.6' fill='black'/%3E%3C/mask%3E%3Cg mask='url(%23m)'%3E%3Ccircle cx='32' cy='32' r='20'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(22.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(67.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(112.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(157.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(202.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(247.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(292.5 32 32)'/%3E%3Crect x='27.5' y='5' width='9' height='9' rx='1.2' transform='rotate(337.5 32 32)'/%3E%3C/g%3E%3C/svg%3E"); }

/* 06: get started. */
.band-start pre { max-width: 36rem; }

/* ---------- Footer ---------- */
.site-foot { background: var(--alt); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 3rem; font-size: 1rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 64rem) { .foot-top { grid-template-columns: 25rem minmax(0, 1fr); gap: 5rem; } }
.site-foot .vk-mark { width: 2.5rem; height: 2.5rem; }
.site-foot .brand { font-size: 1.625rem; }
.foot-tag { font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; color: var(--ink); margin: 1rem 0 0.75rem; }
.foot-tag em { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (min-width: 48rem) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-cols h2 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin: 0 0 0.6rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 0; }
.footer-cols a { display: inline-block; padding: 0.3rem 0; color: var(--body); text-decoration: none; }
.footer-cols a:hover { color: var(--accent); }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.foot-legal p { margin: 0 0 0.4rem; }
.foot-legal a { color: var(--muted); }
