/* Artyfact site. Palette: Projection Room (brand/README.md). */

@font-face {
  font-family: "Comfortaa";
  src: url("fonts/Comfortaa-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --blackout: #0e0f12;
  --screen: #f3f2ec;
  --beam: #ffc93c;
  --cue: #5b8cff;
  --stage: #2b2e35;

  --ground-2: #16181d;     /* a step up from Blackout */
  --rule: #2b2e35;
  --ink-2: #bcbab1;        /* secondary text on Blackout (9.6:1) */
  --ink-3: #93918a;        /* quiet labels on Blackout (5.9:1) */
  --cue-ink: #8eb0ff;      /* Cue Blue lifted for small text on Blackout */
  --on-beam: #0e0f12;
  --on-beam-2: #4b3a0c;    /* secondary text on Beam (7.6:1) */

  --display: "Comfortaa", ui-rounded, "Arial Rounded MT Bold", sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
  accent-color: var(--cue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blackout);
  color: var(--screen);
  font: 400 1.0625rem/1.6 var(--body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--beam); color: var(--on-beam); }
html { scrollbar-color: var(--stage) var(--blackout); }

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--cue-ink); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--screen); text-decoration-color: var(--beam); }
:focus-visible { outline: 2px solid var(--cue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; -webkit-text-stroke: 0.05em currentColor; paint-order: stroke fill; }
h1 { font-size: clamp(2.35rem, 1.3rem + 3.9vw, 4.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem); line-height: 1.1; }
h3 { font: 650 1.375rem/1.3 var(--body); letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

code, kbd, pre, .mono { font-family: var(--mono); font-size: 0.875em; }
code { background: var(--ground-2); border: 1px solid var(--rule); border-radius: 6px; padding: 0.08em 0.38em; color: var(--screen); overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
kbd {
  font-family: var(--body);
  font-weight: 600;
  display: inline-block;
  min-width: 2em;
  padding: 0.18em 0.5em 0.12em;
  border-radius: 7px;
  background: var(--stage);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--screen);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: var(--beam); color: var(--on-beam); border-radius: 8px; }
.skip:focus { left: 8px; }
.skip:hover, .skip:focus { color: var(--on-beam); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7em 1.3em 0.7em 1.1em;
  border-radius: 999px;
  border: 0;
  font: 650 1.0625rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, box-shadow 0.25s var(--ease-out);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn small { font-weight: 500; font-size: 0.8125rem; opacity: 0.78; }
.btn--beam { background: var(--beam); color: var(--on-beam); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.7); }
.btn--beam:hover { background: #ffd35f; color: var(--on-beam); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.8); }
.btn--dark { background: var(--blackout); color: var(--screen); box-shadow: 0 8px 20px -10px rgba(14, 15, 18, 0.7); }
.btn--dark:hover { background: #22252c; color: var(--screen); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--screen); box-shadow: inset 0 0 0 1.5px var(--stage); }
.btn--ghost:hover { color: var(--screen); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0.45em 1em 0.45em 0.85em; font-size: 0.9375rem; }

.arrow-link { display: inline-flex; align-items: center; gap: 0.35em; padding-block: 9px; font-weight: 600; text-decoration: none; }
.arrow-link svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- top bar */

.top { position: relative; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { width: 154px; max-width: none; height: auto; margin-left: -9px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.top nav a:not(.btn) { padding-block: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.9688rem; }
.top nav a:not(.btn):hover, .top nav a[aria-current="page"] { color: var(--screen); }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--beam); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
@media (max-width: 760px) {
  .top .wrap { min-height: 68px; }
  .brand img { width: 124px; margin-left: -7px; }
  .top nav .nav-extra { display: none; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  display: grid;
  --hero-gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 33rem) var(--hero-gap) minmax(0, calc(var(--max) - 33rem - var(--hero-gap))) minmax(0, 1fr);
  align-items: end;
  padding-block: clamp(20px, 2vw, 24px) clamp(40px, 6vw, 80px);
}
.hero-copy { grid-column: 2; padding-bottom: 8px; }
.hero-copy h1 { max-width: 12ch; }
.lede { margin-top: 1.4rem; max-width: 36rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; }
.lede strong { color: var(--screen); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2rem; }
.meta { margin-top: 1.25rem; color: var(--ink-3); font-size: 0.875rem; line-height: 1.6; }
.meta .item { white-space: nowrap; }
.meta .sep { padding-inline: 0.45em 0.2em; color: var(--ink-3); }
.meta a { color: var(--ink-2); }
.meta a:hover { color: var(--screen); }

.stage { grid-column: 4 / 6; position: relative; padding-top: clamp(84px, 9vw, 118px); }
.wall {
  position: relative;
  margin: 0;
  background: var(--beam);
  color: var(--on-beam);
  border-radius: 28px 0 0 28px;
  padding: clamp(18px, 2.6vw, 40px) clamp(18px, 4vw, 64px) clamp(16px, 2vw, 28px) clamp(18px, 2.6vw, 40px);
  animation: lights-up 1.2s var(--ease-out) both;
}
.buddy {
  position: absolute;
  bottom: calc(100% - 3px);
  right: clamp(48px, 16%, 180px);
  width: clamp(86px, 9vw, 128px);
  height: auto;
  animation: walk-on 1.4s var(--ease-out) 0.15s both;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blackout);
  box-shadow: 0 30px 50px -22px rgba(14, 15, 18, 0.55), 0 3px 10px rgba(14, 15, 18, 0.25), 0 0 0 1px rgba(14, 15, 18, 0.35);
}
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.wall-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; font-size: 0.9375rem; line-height: 1.45; }
.wall-caption p { color: var(--on-beam-2); flex: 1 1 18rem; }
.wall-caption kbd { background: rgba(14, 15, 18, 0.12); color: var(--on-beam); box-shadow: inset 0 -1.5px 0 rgba(14, 15, 18, 0.25); min-width: 1.8em; padding-block: 0.05em 0; }
.wall-caption a { white-space: nowrap; color: var(--on-beam); font-weight: 650; text-decoration-color: rgba(14, 15, 18, 0.45); }
.wall-caption a:hover { color: var(--on-beam); text-decoration-color: var(--on-beam); }
.wall :focus-visible { outline-color: var(--on-beam); }

.file-chip { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--on-beam); }
.file-chip svg { width: 22px; height: 22px; flex: none; }
.file-chip .name { min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.9rem; font-weight: 600; }
.file-chip .size { white-space: nowrap; font-weight: 500; color: var(--on-beam-2); font-size: 0.875rem; }

@keyframes lights-up {
  from { filter: brightness(0.32) saturate(0.6); }
  to { filter: none; }
}
@keyframes walk-on {
  from { transform: translateX(46px) rotate(4deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wall, .buddy { animation: none; }
  .btn, .btn:hover, .arrow-link:hover svg { transform: none; transition: none; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); row-gap: 8px; }
  .hero-copy { grid-column: 2; }
  .hero-copy h1 { max-width: 14ch; }
  .stage { grid-column: 2 / 4; padding-top: 92px; }
}
@media (max-width: 560px) {
  .stage { grid-column: 1 / 4; padding-top: 74px; }
  .wall { border-radius: 0; padding: 16px var(--gutter) 18px; }
  .buddy { width: 78px; right: 28px; }
  .wall-caption { font-size: 0.875rem; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(64px, 8vw, 112px); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 46rem; }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }

/* Why: folder versus file */
.versus { display: grid; grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3.5vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.tree { background: var(--ground-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px 24px; }
.tree h3, .packed h3 { font: 600 0.8125rem/1.3 var(--body); color: var(--ink-3); letter-spacing: 0.02em; }
.tree .files { list-style: none; margin: 14px 0 0; padding: 0; font-family: var(--mono); font-size: 0.875rem; }
.tree .files li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 6px 0; border-bottom: 1px dashed #24262c; }
.tree .files li:last-child { border-bottom: 0; }
.tree .files li span:last-child { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.tree .dir { color: var(--screen); font-weight: 600; }
.tree .indent { padding-left: 1.4em; }
.tree .remote span:first-child { color: var(--cue-ink); }
.tree .remote-label { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.problems { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.problems li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); font-size: 0.9688rem; line-height: 1.5; }
.problems svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-3); }
.problems strong { color: var(--screen); font-weight: 600; }

.pack-step { display: grid; justify-items: center; gap: 10px; color: var(--ink-3); }
.pack-step code { font-size: 0.8125rem; padding: 0.45em 0.7em; white-space: nowrap; }
.pack-step svg { width: 44px; height: 44px; color: var(--beam); }

.packed { position: relative; background: var(--screen); color: var(--on-beam); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.packed h3 { color: #5c5a52; }
.packed .file-chip { margin-top: 14px; }
.packed .file-chip svg { width: 30px; height: 30px; }
.packed .file-chip .name { font-size: 1rem; }
.packed p { margin-top: 14px; color: #3d3c37; font-size: 0.9688rem; line-height: 1.55; }
.packed ul { margin: 14px 0 0; padding-left: 1.1em; color: #3d3c37; font-size: 0.9375rem; line-height: 1.7; }
.packed li::marker { color: #b38a1c; }

@media (max-width: 860px) {
  .versus { grid-template-columns: minmax(0, 1fr); }
  .pack-step { grid-auto-flow: column; justify-content: start; align-items: center; }
  .pack-step svg { transform: rotate(90deg); width: 36px; height: 36px; }
}

/* How: the loop */
.loop { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.5vw, 36px); }
.loop li { position: relative; padding-top: 34px; }
.loop li::before {
  content: "";
  position: absolute;
  top: 7px; left: 0; right: calc(-1 * clamp(18px, 2.5vw, 36px));
  height: 2px;
  background: var(--stage);
}
.loop li:last-child::before { right: 0; }
.loop li::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blackout);
  box-shadow: inset 0 0 0 3px var(--cue);
}
.loop li:first-child::after { background: var(--cue); }
.loop h3 { font-family: var(--display); font-weight: 700; font-size: 1.625rem; letter-spacing: -0.01em; -webkit-text-stroke: 0.04em currentColor; paint-order: stroke fill; }
.loop p { margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; line-height: 1.55; }
.loop pre { margin: 14px 0 0; padding: 10px 12px; background: var(--ground-2); border: 1px solid var(--rule); border-radius: 10px; font-size: 0.78rem; line-height: 1.55; color: var(--screen); overflow-x: auto; white-space: pre; }
.loop pre .c { color: var(--ink-3); }
.loop-back { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink-3); font-size: 0.9375rem; }
.loop-back svg { width: 22px; height: 22px; color: var(--cue); flex: none; }
@media (max-width: 980px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .loop li:nth-child(2)::before { right: 0; }
}
@media (max-width: 600px) {
  .loop { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .loop li { padding: 0 0 32px 34px; }
  .loop li::before { top: 16px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .loop li:last-child::before { display: none; }
  .loop li:nth-child(2)::before { right: auto; }
  .loop li::after { top: 3px; }
}

/* Open: app and browser */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head img { width: 64px; height: 64px; flex: none; }
.app-head p { color: var(--ink-3); font-size: 0.9375rem; }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 28px; }
.facts div { border-top: 1px solid var(--rule); padding-top: 14px; }
.facts dt { font-weight: 650; }
.facts dd { margin: 6px 0 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.browser-side { background: var(--ground-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.browser-side p { margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; }
.keys { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: baseline; font-size: 0.9375rem; }
.keys dt { display: flex; gap: 6px; white-space: nowrap; }
.keys dd { margin: 0; color: var(--ink-2); }
.browser-side .foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 0.875rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Skill */
.skill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prompts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.prompts li { position: relative; padding: 14px 16px 14px 44px; background: var(--ground-2); border: 1px solid var(--rule); border-radius: 12px; font-size: 0.9688rem; line-height: 1.5; }
.prompts li::before { content: ">"; position: absolute; left: 17px; top: 13px; font-family: var(--mono); color: var(--beam); font-weight: 700; }
.skill h3 { margin-top: 28px; }
.skill h3:first-child { margin-top: 0; }
.note { margin-top: 18px; max-width: 46rem; padding: 14px 16px; border-radius: 12px; background: rgba(91, 140, 255, 0.09); border: 1px solid rgba(91, 140, 255, 0.28); color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.note strong { color: var(--screen); font-weight: 600; }
@media (max-width: 860px) {
  .skill { grid-template-columns: minmax(0, 1fr); }
}

/* Code blocks with a copy button */
.cmd { position: relative; margin-top: 14px; border-radius: 12px; background: var(--ground-2); border: 1px solid var(--rule); }
.cmd pre { margin: 0; padding: 14px 16px; padding-right: 76px; overflow-x: auto; font-size: 0.8438rem; line-height: 1.65; color: var(--screen); }
.cmd pre .p { color: var(--ink-3); user-select: none; }
.copy {
  position: absolute; top: 9px; right: 9px;
  min-height: 34px; padding: 6px 12px;
  border-radius: 8px; border: 0;
  background: var(--stage); color: var(--ink-2);
  font: 600 0.78rem/1 var(--body);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.copy:hover { background: #3a3e47; color: var(--screen); }
.copy[data-done] { color: var(--beam); }

/* ---------------------------------------------------------------- closing band */

.band { position: relative; margin-top: clamp(90px, 10vw, 130px); background: var(--beam); color: var(--on-beam); }
.band .buddy { animation: none; bottom: calc(100% - 3px); right: auto; left: max(var(--gutter), calc((100% - var(--max)) / 2)); width: clamp(84px, 8vw, 116px); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.band h2 { max-width: 14ch; }
.band p { margin-top: 14px; color: var(--on-beam-2); max-width: 34rem; }
.band .actions { display: grid; gap: 14px; justify-items: start; }
.band .actions p { margin: 0; font-size: 0.9375rem; }
.band a:not(.btn) { color: var(--on-beam); font-weight: 650; text-decoration-color: rgba(14, 15, 18, 0.45); }
.band a:not(.btn):hover { color: var(--on-beam); text-decoration-color: var(--on-beam); }
.band :focus-visible { outline-color: var(--on-beam); }
@media (max-width: 860px) {
  .band .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- footer */

.foot-bar { padding-block: 40px 48px; color: var(--ink-3); font-size: 0.875rem; }
.foot-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot-bar img { width: 116px; max-width: none; height: auto; margin-left: -7px; }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bar a { color: var(--ink-2); text-decoration: none; }
.foot-bar nav a { display: inline-block; padding-block: 10px; }
.foot-bar a:hover { color: var(--screen); text-decoration: underline; }
.foot-bar .credits { flex-basis: 100%; }
.foot-bar .credits a { text-decoration: underline; text-decoration-color: var(--stage); }

/* ---------------------------------------------------------------- install page */

.page-head { padding-block: clamp(24px, 4vw, 56px) 0; }
.page-head .lede { max-width: 40rem; }
.reqs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.reqs li { padding: 7px 14px; border-radius: 999px; background: var(--ground-2); border: 1px solid var(--rule); font-size: 0.9063rem; color: var(--ink-2); }
.reqs li strong { color: var(--screen); font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-weight: 600; }

.install { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.install-side { position: sticky; top: 24px; align-self: start; }
.install-side img { width: 88px; height: 88px; }
.install-side h2 { margin-top: 18px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.install-side p { margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; }
.install-side .buddy-side { width: 96px; height: auto; }
@media (max-width: 860px) {
  .install { grid-template-columns: minmax(0, 1fr); }
  .install-side { position: static; }
  .install-side img, .install-side .buddy-side { width: 64px; height: auto; }
}

.downloads { display: grid; gap: 12px; }
.dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ground-2);
  border: 1px solid var(--rule);
}
.dl .btn { grid-row: span 2; }
.dl p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.dl .sum { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); overflow-wrap: anywhere; }
.dl--main { background: #1b1a14; border-color: #4a3d16; }
@media (max-width: 600px) {
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl .btn { grid-row: auto; justify-self: start; }
}

.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 34px 56px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--stage);
  color: var(--screen);
  font: 700 1rem/1 var(--display);
}
.steps > li::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px; background: var(--rule); }
.steps > li:last-child::after { display: none; }
.steps h3 { padding-top: 4px; }
.steps p, .steps ul { margin-top: 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 62ch; }
.steps ul { padding-left: 1.15em; }
.steps ul li + li { margin-top: 6px; }
.steps .prompts { padding-left: 0; max-width: 40rem; }
.steps strong { color: var(--screen); font-weight: 600; }

/* The one block that goes away once the app is signed and notarized. */
.steps > li.unsigned {
  counter-increment: none;
  position: relative;
  margin: 0 0 34px 56px;
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  background: #1d1a10;
  border: 1px solid #5a4813;
}
.steps > li.unsigned::before, .steps > li.unsigned::after { content: none; }
.unsigned h3 { display: flex; align-items: flex-start; gap: 10px; padding-top: 0; }
.unsigned h3 svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--beam); }
.unsigned > p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }
.unsigned ol { margin: 14px 0 0; padding-left: 1.3em; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.unsigned ol li + li { margin-top: 8px; }
.unsigned ol li::marker { color: var(--beam); font-weight: 700; }
.unsigned strong { color: var(--screen); font-weight: 600; }
.unsigned .aside { margin-top: 18px; padding-top: 16px; border-top: 1px solid #3d3416; color: var(--ink-2); font-size: 0.9375rem; }
.unsigned .aside h4 { margin: 0; font: 650 1rem/1.4 var(--body); color: var(--screen); }
.unsigned .aside p { margin-top: 6px; }
.unsigned .cmd { background: var(--blackout); }
@media (max-width: 600px) {
  .steps > li.unsigned { margin-left: 0; padding: 18px 16px 20px; }
  .steps > li { padding-left: 50px; }
}

.after { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.after h3 { font-size: 1.0625rem; }
.after p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 700px) {
  .after { grid-template-columns: minmax(0, 1fr); }
}

.section-head .note { font-size: 0.9688rem; }
.skill .note { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .cmd pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
