/*
 * Wojciech Rzepka — personal site stylesheet (no framework, no Tailwind).
 * Colors follow the Peak Warden Color Standard: three-tier token architecture,
 * semantic names describing role (never appearance), theme carried by scope
 * (:root = light, html.dark = dark) and never by the token name.
 * Typeface: Inter (self-hosted), via --font-sans.
 */

/* ----------------------------------------------------------- Inter font */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/Inter-Light.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Inter-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/Inter-ExtraBold.woff2') format('woff2'); }

/* ---------------------------------------------------------------- tokens
 * Peak Warden Color Standard — three-tier token architecture.
 * Tier 1 (primitives, --color-*): raw, theme-agnostic hues.
 * Tier 2 (semantic, bare names): the day-to-day palette; theme lives in scope
 *   (:root = light, html.dark = dark) — never in the name.
 */

:root {
  /* ================================================= Tier 1 — Primitives */

  /* Neutral — cool blue-tinted ramp, white -> near-black navy (surfaces & borders) */
  --color-neutral-0: #FFFFFF;
  --color-neutral-50: #FEFEFE;
  --color-neutral-75: #FDFDFE;
  --color-neutral-100: #FCFCFE;
  --color-neutral-150: #FAFAFD;
  --color-neutral-175: #F4F5FA;
  --color-neutral-200: #EDEEF7;
  --color-neutral-250: #E7E8F4;
  --color-neutral-300: #E0E1F1;
  --color-neutral-350: #CCCDE0;
  --color-neutral-700: #212847;
  --color-neutral-750: #1B2533;
  --color-neutral-800: #131B29;
  --color-neutral-850: #111927;
  --color-neutral-870: #0B111F;
  --color-neutral-900: #060C17;
  --color-neutral-925: #040813;
  --color-neutral-950: #030712;

  /* Slate — content ramp (text) */
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-800: #1f2937;
  --color-slate-900: #111827;

  /* Brand */
  --color-brand-400: #1A8DA8; /* dark-mode accent hover (lighten toward) */
  --color-brand-500: #147187; /* the accent, both themes */
  --color-brand-600: #0E5A6A; /* light-mode accent hover (darken) */

  /* Categorical palette */
  --color-gray-100: #e5e5e5;
  --color-gray-300: #c5c5c5;
  --color-gray-600: #959595;
  --color-gray-900: #4b4b4b;

  --color-red-300: #FF6B6B;
  --color-red-500: #C41E3A;
  --color-red-700: #8B0000;

  --color-green-300: #90EE90;
  --color-green-500: #50C878;
  --color-green-700: #006400;

  --color-blue-300: #4D73B6;
  --color-blue-500: #1C50B7;
  --color-blue-700: #14387F;

  --color-yellow-300: #FABC0C;
  --color-yellow-500: #E49B0F;
  --color-yellow-700: #B8860B;

  --color-teal-300: #4DA6A6;
  --color-teal-500: #006666;
  --color-teal-700: #003D3D;

  /* ================================================= Tier 2 — Semantic */

  /* Surfaces */
  --surface: var(--color-neutral-50);          /* page canvas */
  --surface-subtle: var(--color-neutral-100);  /* alt sections, footers, muted panels */
  --surface-raised: var(--color-neutral-150);  /* cards, modals, dropdowns, code */
  --surface-inset: var(--color-neutral-75);    /* inputs, wells (recessed) */
  --surface-hover: var(--color-neutral-200);   /* hover fill on rows / menu items */
  --surface-active: var(--color-neutral-250);  /* active / selected nav or row */

  /* Text */
  --content: var(--color-slate-900);           /* headings, strong text */
  --content-secondary: var(--color-slate-800); /* body copy */
  --content-muted: var(--color-slate-600);     /* labels, captions */
  --content-disabled: var(--color-slate-500);  /* placeholder, disabled, meta */
  --on-accent: var(--color-neutral-0);         /* text/icons on accent fills */

  /* Borders */
  --line: var(--color-neutral-250);        /* borders, dividers, gridlines */
  --line-strong: var(--color-neutral-300); /* footer border, deepest divider */

  /* Brand */
  --accent: var(--color-brand-500);        /* primary action, links, emphasis */
  --accent-hover: var(--color-brand-600);  /* darkens on light */

  /* Status */
  --success: var(--color-green-700);
  --warning: var(--color-yellow-700);
  --danger: var(--color-red-500);
  --info: var(--color-blue-700);

  /* Utility */
  --focus: var(--color-gray-900);              /* keyboard focus ring */
  --scroll-track: var(--color-neutral-175);
  --scroll-thumb: var(--color-neutral-350);

  --font-sans: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
}

html.dark {
  /* Semantic tokens flip; Tier-1 primitives are inherited unchanged. */

  /* Surfaces */
  --surface: var(--color-neutral-950);
  --surface-subtle: var(--color-neutral-925);
  --surface-raised: var(--color-neutral-900);
  --surface-inset: var(--color-neutral-850);
  --surface-hover: var(--color-neutral-870);
  --surface-active: var(--color-neutral-850);

  /* Text */
  --content: var(--color-neutral-75);
  --content-secondary: var(--color-slate-200);
  --content-muted: var(--color-slate-300);
  --content-disabled: var(--color-slate-400);
  --on-accent: var(--color-neutral-75);

  /* Borders */
  --line: var(--color-neutral-800);
  --line-strong: var(--color-neutral-750);

  /* Brand — accent is constant across themes; hover LIGHTENS on the dark canvas */
  --accent: var(--color-brand-500);
  --accent-hover: var(--color-brand-400);

  /* Status — lighter shades stay legible on the near-black canvas */
  --success: var(--color-green-500);
  --warning: var(--color-yellow-500);
  --danger: var(--color-red-300);
  --info: var(--color-blue-300);

  /* Utility */
  --focus: var(--color-gray-300);
  --scroll-track: var(--color-neutral-900);
  --scroll-thumb: var(--color-neutral-700);
}

/* ----------------------------------------------------------------- base */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.1px;
  color: var(--content-secondary);
  background-color: var(--surface);
}

.layout { min-height: 100vh; display: flex; flex-direction: column; }

.container {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main.container { flex: 1; padding-top: 2.5rem; padding-bottom: 4rem; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Theme-swapped asset pairs (logos, etc.) */
html.dark .logo-light { display: none; }
html:not(.dark) .logo-dark { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 0.75rem; }
::-webkit-scrollbar-track { background-color: var(--scroll-track); }
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 9999px;
}
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.25rem;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--content);
  border-radius: 0.4rem;
  transition: color 0.15s ease;
}

.brand-wordmark:hover { color: var(--accent); }

.header-actions { display: inline-flex; align-items: center; gap: 0.4rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background-color: transparent;
  color: var(--content-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover { background-color: var(--surface-hover); color: var(--content); }
.theme-toggle:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }
.theme-toggle svg { display: block; }
html.dark .icon-moon { display: none; }
html:not(.dark) .icon-sun { display: none; }

/* --------------------------------------------------------------- hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2rem 0 1rem;
}

.hero-avatar {
  height: 8rem;
  width: 8rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-title {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--content);
  line-height: 1.05;
}

.hero-role {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-lede {
  margin: 0.4rem 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--content-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .hero-avatar { height: 9rem; width: 9rem; }
  .hero-title { font-size: 3.2rem; }
}

/* Buttons — accent (primary) + neutral, per the color standard */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease-out;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }

.btn-accent {
  color: var(--on-accent);
  background-color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.btn-accent:focus-visible { box-shadow: 0 0 0 2px var(--accent-hover); }

.btn-neutral {
  color: var(--content-secondary);
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
}
.btn-neutral:hover { background-color: var(--surface-hover); color: var(--content); }

/* --------------------------------------------------------------- bio */
.bio {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--content-secondary);
}
.bio p { margin: 0 0 1rem; }
.bio p:last-child { margin-bottom: 0; }

/* Highlighter link — the growing accent marker under the text (per the brief).
   Persistent thin bar at rest, sweeps to a full highlighter on hover/focus. */
.mark-link {
  color: var(--content);
  font-weight: 600;
  background-image: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 42%, transparent),
    color-mix(in srgb, var(--accent) 42%, transparent));
  background-size: 100% 0%;       /* no marker at rest */
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.04em;
  transition: background-size 0.35s ease;
}
.mark-link:hover,
.mark-link:focus-visible {
  background-size: 100% 0.32em;   /* highlighter grows bottom-to-top on hover */
  outline: none;
}

/* --------------------------------------------------- contact icon row */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 2.25rem auto 0;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 44rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--content-muted);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background-color: var(--surface-raised);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.contact-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  background-color: var(--surface-hover);
}
.contact-icon:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }
.contact-icon svg { width: 1.55rem; height: 1.55rem; }

/* --------------------------------------------------------- section head */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 3.5rem 0 1.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--content-muted);
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--content);
}

.section-lede {
  margin: 0.35rem auto 0;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--content-secondary);
}

/* ------------------------------------------------------- ability cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  background-color: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  border-color: var(--accent);
}

.info-card-thumb {
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.6rem;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.7);
  transition: filter 0.2s ease;
}
.info-card:hover .info-card-thumb { filter: grayscale(0); }

.info-card-body { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }

.info-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--content);
}

.info-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--content-secondary);
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  width: fit-content;
}
.info-card-link:hover { color: var(--accent-hover); text-decoration: underline; }
.info-card-link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); border-radius: 0.2rem; }
.info-card-link svg { transition: transform 0.15s ease; }
.info-card-link:hover svg { transform: translateX(2px); }

/* ------------------------------------------------------- product cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  background-color: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  border-color: var(--accent);
}

.product-card:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-logo { height: 1.6rem; width: auto; }

.product-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--content);
}
.product-wordmark img { height: 1.6rem; width: 1.6rem; }

.product-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--content-muted);
  background-color: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 9999px;
}

.product-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--content-secondary);
}

.visit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.visit-cta svg { transition: transform 0.15s ease; }
.product-card:hover .visit-cta { color: var(--accent-hover); text-decoration: underline; }
.product-card:hover .visit-cta svg { transform: translateX(2px); }

/* ----------------------------------------------------------- footer */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--line-strong);
  background-color: var(--surface-subtle);
  color: var(--content);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li { list-style: none; }

@media (min-width: 768px) { .footer-links { flex-direction: row; } }

.footer-links a {
  width: fit-content;
  color: var(--content-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-links a:hover { text-decoration: underline; color: var(--accent); }
.footer-links a:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }

.footer-copy { display: flex; align-items: center; justify-content: center; }
.site-footer p { margin: 0; font-size: 0.875rem; text-align: center; color: var(--content-muted); }

/* ---------------------------------------------- legal pages (privacy/terms) */
.squares {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--line-strong);
}
.squares::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 100%);
  height: 40vh;
  background-image:
    linear-gradient(currentColor 2px, transparent 2px),
    linear-gradient(90deg, currentColor 2px, transparent 2px);
  background-size: 150px 150px;
  background-position: right 0 top 0;
  -webkit-mask-image: linear-gradient(to top right, transparent 0%, rgba(0,0,0,.2) 22%, rgba(0,0,0,.62) 55%, #000 100%);
  mask-image: linear-gradient(to top right, transparent 0%, rgba(0,0,0,.2) 22%, rgba(0,0,0,.62) 55%, #000 100%);
}

.legal-page { position: relative; z-index: 1; }

.legal-head {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.legal-head h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--content);
}
@media (min-width: 768px) {
  .legal-head { border-left-width: 6px; padding-left: 1.1rem; }
  .legal-head h1 { font-size: 2.25rem; }
}

.legal { color: var(--content-secondary); font-size: 1rem; line-height: 1.7; }
.legal > p:first-child { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 600; color: var(--content-secondary); }
.legal h2 { margin: 1rem 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--content); }
.legal h2:first-of-type { margin-top: 0.5rem; }
.legal p { margin: 0 0 0.5rem; }
.legal strong { color: var(--content); font-weight: 600; }
.legal a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.legal a:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }
.legal > p:last-child { margin: 1rem 0 0; color: var(--content-muted); }

/* ----------------------------------------------------------------- prose */
/* Generic article styling (blog content). */
.prose { font-size: 1rem; line-height: 1.75; color: var(--content-secondary); }
.prose h1, .prose h2, .prose h3, .prose h4 {
  border-bottom: 2px solid var(--accent);
  color: var(--content);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin: 2rem 0 0.7rem;
}
.prose h1 { font-size: 1.45rem; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; border-bottom-width: 1px; border-bottom-color: var(--line); color: var(--content-secondary); margin-top: 1.6rem; }
.prose h4 { font-size: 1rem; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.3rem; }
.prose strong { color: var(--content); font-weight: 600; }
.prose blockquote { margin: 1.2rem 0; padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid var(--accent); color: var(--content-muted); }
.prose img { max-width: 100%; height: auto; border-radius: 0.6rem; }
.prose hr { margin: 2rem 0; border: none; border-top: 1px solid var(--line); }
.prose code { font-size: 0.85em; padding: 0.15rem 0.4rem; background-color: var(--surface-raised); border: 1px solid var(--line); border-radius: 0.3rem; }
.prose pre { padding: 1rem; overflow-x: auto; background-color: var(--surface-raised); color: var(--content); border: 1px solid var(--line-strong); border-radius: 0.6rem; }
.prose pre code { padding: 0; background: none; border: none; color: inherit; }

/* ------------------------------------------------------------ generic list */
.page-head { margin: 0.5rem 0 1.75rem; }
.page-head h1 { margin: 0; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.5px; color: var(--content); }
.page-lede { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--content-muted); }

.simple-list { display: flex; flex-direction: column; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.simple-list a { font-size: 1.1rem; font-weight: 600; color: var(--content); }
.simple-list a:hover { color: var(--accent); }
.empty-state { padding: 3rem 0; text-align: center; color: var(--content-muted); }
