@import url('/fonts.css');

:root {
  /* neutrals — shared across the family */
  --background: 45 33% 95%;
  --foreground: 167 16% 11%;
  --card: 48 100% 99%;
  --card-foreground: 167 16% 11%;
  --muted: 75 12% 94%;
  --muted-foreground: 163 7% 38%;
  --border: 120 7% 86%;
  --sidebar: 60 15% 92%;
  --sidebar-hover: 108 10% 89%;
  --sidebar-active: 150 20% 89%;
  --sidebar-foreground: 163 14% 22%;

  /* healthctl action color */
  --primary: 166 56% 24%;
  --primary-foreground: 48 100% 99%;
  --brand-accent: 166 56% 24%;
  --focus: 167 48% 33%;

  /* shared status scale */
  --status-success: 166 55% 20%;
  --status-warning: 40 86% 30%;
  --status-info: 199 49% 31%;
  --status-neutral: 163 7% 38%;
  --destructive: 3 53% 35%;

  --elevation-1: 0 1px 2px 0 hsl(216 28% 9% / 0.08);
  --elevation-2: 0 8px 22px -14px hsl(216 28% 9% / 0.35);
  --elevation-3: 0 22px 60px -30px hsl(216 28% 9% / 0.45);

  /* shape, motion, density */
  --radius-control: 0.375rem;
  --radius-panel: 0.5rem;
  --motion-fast: 160ms;
  --motion-base: 220ms;
  --density: 1.25rem;

  /* type */
  --font-sans: 'Sora Variable', Sora, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Syne Variable', Syne, 'Sora Variable', Sora, ui-sans-serif, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --text-caption: 0.75rem;
  --text-data: 0.875rem;
  --text-body: 1rem;
  --text-lede: 1.1875rem;
  --text-title: 1.125rem;
  --text-heading: 1.5rem;
  --text-display: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --text-hero: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);

  /* layout */
  --max: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: 165 17% 7%;
    --foreground: 45 22% 93%;
    --card: 160 16% 10%;
    --card-foreground: 45 22% 93%;
    --muted: 156 13% 15%;
    --muted-foreground: 156 7% 70%;
    --border: 156 10% 22%;
    --sidebar: 165 18% 8%;
    --sidebar-hover: 160 16% 12%;
    --sidebar-active: 159 18% 16%;
    --sidebar-foreground: 156 7% 70%;
    --primary: 162 46% 69%;
    --primary-foreground: 167 36% 9%;
    --brand-accent: 162 46% 69%;
    --focus: 171 77% 64%;
    --status-success: 158 64% 52%;
    --status-warning: 32 95% 54%;
    --status-info: 218 100% 77%;
    --status-neutral: 207 12% 65%;
    --destructive: 0 100% 71%;
    --elevation-1: 0 1px 2px 0 hsl(220 40% 2% / 0.5);
    --elevation-2: 0 12px 30px -18px hsl(220 40% 2% / 0.8);
    --elevation-3: 0 28px 70px -34px hsl(220 40% 2% / 0.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --background: 165 17% 7%;
  --foreground: 45 22% 93%;
  --card: 160 16% 10%;
  --card-foreground: 45 22% 93%;
  --muted: 156 13% 15%;
  --muted-foreground: 156 7% 70%;
  --border: 156 10% 22%;
  --sidebar: 165 18% 8%;
  --sidebar-hover: 160 16% 12%;
  --sidebar-active: 159 18% 16%;
  --sidebar-foreground: 156 7% 70%;
  --primary: 162 46% 69%;
  --primary-foreground: 167 36% 9%;
  --brand-accent: 162 46% 69%;
  --focus: 171 77% 64%;
  --status-success: 158 64% 52%;
  --status-warning: 32 95% 54%;
  --status-info: 218 100% 77%;
  --status-neutral: 207 12% 65%;
  --destructive: 0 100% 71%;
  --elevation-1: 0 1px 2px 0 hsl(220 40% 2% / 0.5);
  --elevation-2: 0 12px 30px -18px hsl(220 40% 2% / 0.8);
  --elevation-3: 0 28px 70px -34px hsl(220 40% 2% / 0.9);
  color-scheme: dark;
}

/* ------------------------------------------------------------- base ---- */
*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "rlig" 1, "calt" 1;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-family: var(--font-display); font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: var(--text-display); }
h3 { font-size: var(--text-title); font-weight: 600; }
strong { font-weight: 600; color: hsl(var(--foreground)); }
code, kbd, .mono { font-family: var(--font-mono); font-size: 0.9em; }
::selection { background: hsl(var(--primary) / 0.25); }
:focus-visible { outline: 2px solid hsl(var(--focus)); outline-offset: 2px; border-radius: 4px; }
* { scrollbar-width: thin; scrollbar-color: hsl(var(--border)) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: hsl(var(--border)); border: 3px solid transparent; background-clip: content-box; border-radius: 8px; }
table { font-variant-numeric: tabular-nums; }
.tabular, .num { font-variant-numeric: tabular-nums; }
.num { font-family: var(--font-mono); }
.muted { color: hsl(var(--muted-foreground)); }
.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; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; position: relative; }
.skip { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 100; transform: translateY(-200%); padding: 0.5rem 0.75rem; border-radius: var(--radius-control); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 500; }
.skip:focus { transform: none; }

/* typographic primitives shared with the family */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-caption); font-weight: 600; color: hsl(var(--muted-foreground)); }
.eyebrow .num { color: hsl(var(--brand-accent)); font-weight: 500; }
.eyebrow .chip { margin-left: 0.125rem; }
.lede { font-size: var(--text-lede); line-height: 1.55; color: hsl(var(--muted-foreground)); max-width: 40rem; }
.lede strong { color: hsl(var(--foreground)); }
.intro { color: hsl(var(--muted-foreground)); max-width: 44rem; margin-top: 0.875rem; font-size: 1.0625rem; }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; display: grid; gap: 0.75rem; }
.section-head h2 { margin-top: 0.125rem; }
.note { color: hsl(var(--muted-foreground)); font-size: var(--text-caption); }

/* ---------------------------------------------------------- controls ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.5rem; padding: 0 1rem; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius-control);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1; cursor: pointer;
  box-shadow: var(--elevation-1);
  transition: color var(--motion-fast), background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), filter var(--motion-fast);
}
.btn:hover { filter: brightness(1.08); }
.btn:active { filter: brightness(0.94); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--focus)); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn.secondary { background: hsl(var(--foreground) / 0.03); color: hsl(var(--foreground)); border-color: hsl(var(--border)); box-shadow: none; }
.btn.secondary:hover { filter: none; border-color: hsl(var(--brand-accent) / 0.6); color: hsl(var(--brand-accent)); }
.btn.ghost { background: transparent; color: hsl(var(--foreground)); box-shadow: none; }
.btn.ghost:hover { filter: none; background: hsl(var(--foreground) / 0.05); }
.btn.icon { width: 2.25rem; min-height: 2.25rem; padding: 0; }
.btn.lg { min-height: 2.75rem; padding: 0 1.25rem; font-size: 1rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.375rem; max-width: 100%;
  padding: 0.125rem 0.5rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-control);
  background: hsl(var(--muted) / 0.6); color: hsl(var(--foreground));
  font-family: var(--font-mono); font-size: var(--text-caption); line-height: 1.4;
  transition: border-color var(--motion-fast), color var(--motion-fast);
}
a.chip:hover { border-color: hsl(var(--brand-accent) / 0.6); color: hsl(var(--brand-accent)); }
.chip.accent { border-color: hsl(var(--brand-accent) / 0.4); color: hsl(var(--brand-accent)); background: hsl(var(--primary) / 0.08); }
.chip.warning { border-color: hsl(var(--status-warning) / 0.4); color: hsl(var(--status-warning)); background: hsl(var(--status-warning) / 0.1); }
.chip.plain { font-family: var(--font-sans); font-weight: 500; }

.status { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 1.5rem; font-size: var(--text-caption); font-weight: 500; line-height: 1; color: hsl(var(--muted-foreground)); }
.status::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; flex: none; }
.status.accent { color: hsl(var(--brand-accent)); }
.status.success { color: hsl(var(--status-success)); }
.status.warning { color: hsl(var(--status-warning)); }
.status.info { color: hsl(var(--status-info)); }
.status.foreground { color: hsl(var(--foreground)); }

kbd { font-family: var(--font-mono); font-size: 0.625rem; padding: 0.125rem 0.375rem; border: 1px solid hsl(var(--border)); border-radius: 0.25rem; color: hsl(var(--muted-foreground)); }

/* ------------------------------------------------------------ panels ---- */
.card { border: 1px solid hsl(var(--border)); border-radius: var(--radius-panel); background: hsl(var(--card)); color: hsl(var(--card-foreground)); padding: var(--density); box-shadow: none; transition: border-color var(--motion-base); }
.card:hover { border-color: hsl(var(--brand-accent) / 0.4); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: hsl(var(--muted-foreground)); font-size: var(--text-data); line-height: 1.55; }
.card .glyph { width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--primary) / 0.1); color: hsl(var(--brand-accent)); }
.card .glyph svg { width: 1.125rem; height: 1.125rem; }

.panel { border: 1px solid hsl(var(--border)); border-radius: var(--radius-panel); background: hsl(var(--card)); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 0.75rem; min-height: 2.5rem; padding: 0 0.875rem; border-bottom: 1px solid hsl(var(--border)); font-family: var(--font-mono); font-size: var(--text-caption); color: hsl(var(--muted-foreground)); }
.panel-bar .status { margin-left: auto; }
.panel-body { padding: 1rem 1.125rem; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.85; color: hsl(var(--muted-foreground)); overflow-x: auto; }
.panel-body .t { color: hsl(var(--muted-foreground) / 0.75); }
.panel-body .k { color: hsl(var(--brand-accent)); }
.panel-body .i { color: hsl(var(--status-info)); }
.panel-body .w { color: hsl(var(--status-warning)); }
.panel-body .f { color: hsl(var(--foreground)); }
.panel-body .ok { color: hsl(var(--status-success)); }

/* ------------------------------------------------------------ header ---- */
.studiobar { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 0.375rem var(--gutter); background: hsl(var(--sidebar)); border-bottom: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); font-size: var(--text-caption); font-weight: 500; line-height: 1.4; text-align: center; transition: color var(--motion-fast); }
.studiobar:hover { color: hsl(var(--foreground)); }
.studiobar strong { color: hsl(var(--foreground)); }
.studiobar-mark { width: 0.8125rem; height: 0.8125rem; flex: none; color: hsl(var(--foreground)); }
.studiobar-more { display: inline-flex; align-items: center; gap: 0.625rem; white-space: nowrap; }
.studiobar-more::before { content: ""; width: 1px; height: 0.75rem; background: hsl(var(--border)); }
@media (max-width: 45em) { .studiobar-more { display: none; } }

/* the status strip: one line, the family's caution tint, links to the status block */
.announce { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 0.5rem var(--gutter); background: hsl(var(--status-warning) / 0.1); border-bottom: 1px solid hsl(var(--status-warning) / 0.25); color: hsl(var(--foreground)); font-size: var(--text-data); line-height: 1.4; text-align: center; transition: background-color var(--motion-fast); }
.announce:hover { background: hsl(var(--status-warning) / 0.16); }
.announce strong { color: hsl(var(--status-warning)); }
.announce .ad { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: hsl(var(--status-warning)); flex: none; }
.announce .ar { color: hsl(var(--brand-accent)); }
@media (max-width: 35em) { .announce { font-size: var(--text-caption); } }

header.site { position: sticky; top: 0; z-index: 30; background: hsl(var(--card) / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid hsl(var(--border)); }
header.site nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; color: hsl(var(--foreground)); }
.mark { width: 1.75rem; height: 1.75rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: 0 0 0 1px hsl(var(--primary) / 0.2); }
.mark svg { width: 1rem; height: 1rem; }
.mark.lg { width: 3rem; height: 3rem; } .mark.lg svg { width: 1.75rem; height: 1.75rem; }
.navlinks { display: flex; align-items: center; gap: 1.375rem; color: hsl(var(--muted-foreground)); font-size: var(--text-data); font-weight: 500; }
.navlinks a { transition: color var(--motion-fast); }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: hsl(var(--foreground)); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu { display: none; }
.theme-toggle .sun, .theme-toggle .moon { width: 1rem; height: 1rem; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
@media (max-width: 64em) {
  .menu { display: inline-flex; }
  .navlinks { position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1rem; background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); box-shadow: var(--elevation-2); }
  header.site.nav-open .navlinks { display: flex; }
  .navlinks a { padding: 0.75rem 0; border-bottom: 1px solid hsl(var(--border)); }
  .navlinks a:last-child { border-bottom: 0; }
  .nav-actions .btn:not(.icon):not(.menu) { display: none; }
}

/* ------------------------------------------------------------- bands ---- */
section.band { padding: clamp(4rem, 8vw, 6rem) 0; border-bottom: 1px solid hsl(var(--border)); }
section.band.alt { background: hsl(var(--card) / 0.6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 56em) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 40em) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.feature-list { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.feature { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.75rem; }
.feature .arrow { color: hsl(var(--brand-accent)); font-family: var(--font-mono); padding-top: 0.125rem; }
.feature h3 { margin-bottom: 0.25rem; }
.feature p { color: hsl(var(--muted-foreground)); font-size: var(--text-data); line-height: 1.55; }

.cta-row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.chips + .chips { margin-top: 0.625rem; }

footer.site { border-top: 1px solid hsl(var(--border)); background: hsl(var(--sidebar)); padding: 2.5rem 0; color: hsl(var(--muted-foreground)); font-size: var(--text-data); }
.foot { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.foot-links { display: flex; gap: 1.125rem; flex-wrap: wrap; }
.foot-links a { transition: color var(--motion-fast); }
.foot-links a:hover { color: hsl(var(--foreground)); }
.foot .legal { flex-basis: 100%; margin: 0; font-size: var(--text-caption); color: hsl(var(--muted-foreground)); }

.hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid hsl(var(--border)); background: radial-gradient(70% 60% at 100% 0%, hsl(var(--primary) / 0.08), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.25rem; justify-items: start; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy h1 .em { color: hsl(var(--brand-accent)); }
.hero-copy .cta-row { margin-top: 0.25rem; }
.hero-copy .note { margin-top: -0.5rem; }
@media (max-width: 64em) { .hero-grid { grid-template-columns: 1fr; } .hero-copy h1 { max-width: 16ch; } .radar { max-width: 28rem; margin-inline: auto; } }
section[id], video[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.hero { padding-block: clamp(3rem, 7vw, 6.5rem); }
.hero-copy h1 { max-width: 11ch; }
.case-board { margin: 0; min-width: 0; padding: clamp(1rem, 3.2vw, 3rem); border: 1px solid hsl(var(--border)); border-radius: var(--radius-panel); background-color: hsl(var(--primary) / .055); background-image: radial-gradient(hsl(var(--primary) / .21) .9px, transparent .9px); background-size: 15px 15px; }
.sheet { position: relative; margin: .25rem .25rem 1.25rem; border: 1px solid hsl(var(--brand-accent) / .27); border-radius: 5px; background: hsl(var(--card)); padding: clamp(1rem, 2vw, 1.625rem); box-shadow: 5px 6px 0 -1px hsl(var(--card)), 5px 6px 0 0 hsl(var(--brand-accent) / .24), var(--elevation-2); }
.sheet-head { display: flex; align-items: center; gap: .55rem; padding-bottom: 1rem; border-bottom: 1px solid hsl(var(--border)); }
.sheet-head strong { font-family: var(--font-display); font-size: 1rem; }
.paper-mark { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; background: hsl(var(--primary) / .09); border-radius: 5px; color: hsl(var(--brand-accent)); }
.paper-mark svg { width: 1.45rem; }
.case-id, .case-label { font-family: var(--font-mono); font-size: .72rem; }
.case-id { margin-left: auto; color: hsl(var(--muted-foreground)); }
.case-label { display: block; color: hsl(var(--brand-accent)); margin-bottom: .35rem; }
.case-line { padding-block: .95rem; border-bottom: 1px solid hsl(var(--border)); }
.case-line:last-child { padding-bottom: 0; border: 0; }
.case-line blockquote { margin: 0; font-weight: 550; font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.case-line p, .result-row { font-size: var(--text-data); }
.result-row { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.result-row span { padding: .1rem .5rem; border: 1px solid hsl(var(--border)); font-family: var(--font-mono); border-radius: 4px; }
.case-board figcaption { color: hsl(var(--muted-foreground)); font-size: var(--text-caption); }
.case-board figcaption a, .text-link, .film-frame a, .prose a { color: hsl(var(--brand-accent)); text-decoration: underline; text-underline-offset: .2em; }
.walkthrough-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.walk-copy h2, .installs h3 { margin-top: .45rem; }
.chapters { list-style: none; padding: 0; margin: 1.25rem 0; border-top: 1px solid hsl(var(--border)); }
.chapters li { border-bottom: 1px solid hsl(var(--border)); }
.chapters a { display: flex; align-items: center; gap: 1rem; padding: .56rem 0; font-size: var(--text-data); }
.chapters a:hover { color: hsl(var(--brand-accent)); }
.chapters time { font: .78rem var(--font-mono); color: hsl(var(--brand-accent)); }
.film-frame { align-self: center; border-radius: var(--radius-panel); border: 1px solid hsl(var(--border)); overflow: hidden; background: hsl(var(--card)); box-shadow: var(--elevation-2); }
.film-frame video { width: 100%; aspect-ratio: 16/9; background: #193e38; }
.film-frame p { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; padding: .7rem 1rem; font-size: var(--text-caption); color: hsl(var(--muted-foreground)); }
.installs .card { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); }
.installs .cta-row { margin-top: 1.25rem; }
.installs pre { margin: 1rem 0; padding: .85rem; border-radius: var(--radius-control); color: hsl(var(--foreground)); background: hsl(var(--muted)); overflow-x: auto; font-size: .82rem; }
.installs .text-link, .walk-copy .text-link { font-size: var(--text-data); }
.detail p, .prose p, .prose li { color: hsl(var(--muted-foreground)); }
.detail p, .detail .text-link { display: block; margin-top: 1rem; }
.prose { max-width: 48rem; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.prose .lede, .prose p { margin-top: 1rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.55rem; }
.prose li { margin-block: .55rem; }
@media (max-width: 64em) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 1.5rem; }
  .hero-copy h1 { max-width: 11ch; }
}
@media (max-width: 49em) {
  .hero-grid, .walkthrough-grid { grid-template-columns: 1fr; }
  .case-board { width: 100%; max-width: 36rem; }
  .hero-copy h1 { max-width: 13ch; }
}
@media (max-width: 23em) { .case-id { font-size: .63rem; } .case-board { padding: .6rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
