/* MithraHQ shared visual system, ported from the Lexington Vanta theme. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: oklch(0.988 0.005 85);
  --fg: oklch(0.22 0.035 265);
  --surface: oklch(0.962 0.008 85);
  --muted: oklch(0.935 0.012 85);
  --muted-fg: oklch(0.5 0.02 265);
  --border: oklch(0.88 0.012 85);
  --blue: oklch(0.519 0.1261 259.6);
  --mustard: oklch(0.747 0.1231 86.4);
  --coral: oklch(0.642 0.1541 41.2);
  --olive: oklch(0.55 0.08 130);
  --navy: oklch(0.22 0.035 265);
  --on-navy: oklch(0.95 0.01 85);
  --on-navy-muted: oklch(0.78 0.02 265);
  --paper: oklch(0.997 0.002 85);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, sans-serif;

  --radius: 0.75rem;
  --radius-panel: 1.5rem;
  --container: 85rem;
  --gutter: 1rem;
  color-scheme: light;
}

@media (min-width: 1024px) {
  :root { --gutter: 3rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
::selection { background: color-mix(in oklch, var(--mustard) 45%, transparent); color: var(--fg); }
html { accent-color: var(--blue); caret-color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--fg); color: var(--bg); padding: 0.625rem 1rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Type scale (Vanta Text sizes) */
.display-hero { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); }
.display-xl { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
.display-lg { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.display-md { font-size: 1.5rem; }
.display-sm { font-size: 1.25rem; }
.lede { font-size: 1.125rem; color: var(--muted-fg); max-width: 40rem; }
.small { font-size: 0.875rem; }
.muted { color: var(--muted-fg); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.75rem; padding-inline: 1.25rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover { background: var(--blue); border-color: var(--blue); color: var(--on-navy); }
.button-sm { height: 2.5rem; padding-inline: 1rem; font-size: 0.9375rem; }
.button-lg { height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; border-radius: 1rem; }
.button-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.button-ghost:hover { background: var(--muted); color: var(--fg); border-color: var(--border); }
.on-navy .button { background: var(--mustard); color: var(--navy); border-color: var(--mustard); }
.on-navy .button:hover { background: var(--on-navy); border-color: var(--on-navy); color: var(--navy); }
.on-navy .button-ghost { background: transparent; color: var(--on-navy); border-color: oklch(0.4 0.03 265); }
.on-navy .button-ghost:hover { background: oklch(0.28 0.035 265); color: var(--on-navy); }
.text-link { color: var(--blue); font-weight: 500; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklch, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 2rem; height: 4rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em;
}
.logo-mark { width: 3.375rem; height: 1rem; flex: none; }
.desktop-nav { display: none; gap: 1.75rem; margin-right: auto; }
.desktop-nav a, .nav-link {
  color: var(--muted-fg); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.desktop-nav a:hover, .nav-link:hover, .desktop-nav a[aria-current="page"] { color: var(--fg); }
.nav-actions { display: none; align-items: center; gap: 1.25rem; }
.menu-toggle {
  margin-left: auto; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--fg); cursor: pointer;
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }
.mobile-nav {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.5rem);
  display: grid; gap: 0.25rem; padding: 0.75rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-panel);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.button) {
  display: flex; align-items: center; min-height: 2.75rem; padding-inline: 0.75rem;
  border-radius: var(--radius); text-decoration: none; font-weight: 500;
}
.mobile-nav a:not(.button):hover { background: var(--muted); }
.mobile-nav-muted { color: var(--muted-fg); }
.mobile-nav .button { margin-top: 0.5rem; }
@media (min-width: 768px) {
  .desktop-nav, .nav-actions { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* Sections */
.section { padding-block: 4rem; }
.section-tight { padding-block: 2.5rem; }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; max-width: 46rem; }
.panel { background: var(--surface); border-radius: var(--radius-panel); padding: 1.5rem; }
@media (min-width: 768px) { .panel { padding: 2.5rem; } }
.panel-navy { background: var(--navy); color: var(--on-navy); }
.panel-navy .muted, .panel-navy .lede { color: var(--on-navy-muted); }
.divide-list { list-style: none; margin: 0; padding: 0; }
.divide-list > li { padding-block: 1.25rem; border-top: 1px solid var(--border); }
.divide-list > li:last-child { border-bottom: 1px solid var(--border); }
.panel-navy .divide-list > li { border-color: oklch(0.34 0.03 265); }

/* Brand shapes */
.shape { display: inline-block; flex: none; }
.shape-square { background: var(--blue); }
.shape-arch { background: var(--coral); border-radius: 999px 999px 0 0; }
.shape-circle { background: var(--mustard); border-radius: 999px; }

/* Code */
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; }
pre { overflow-x: auto; margin: 0; padding: 1.25rem; border-radius: var(--radius); background: oklch(0.17 0.03 265); color: var(--on-navy); line-height: 1.7; }
:not(pre) > code { background: var(--muted); padding: 0.1em 0.35em; border-radius: 0.3em; }

/* Prose (docs, security, changelog) */
.page-head { padding-block: 3.5rem 2rem; display: grid; gap: 1rem; }
.prose { max-width: 44rem; padding-bottom: 5rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.75rem; margin-top: 3rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 2rem; }
.footer-inner { padding-block: 3.5rem 2rem; display: grid; gap: 3rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 1.25rem; justify-items: start; }
.footer-line { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; max-width: 20rem; line-height: 1.2; }
.footer-links h2 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer-links a { display: inline-flex; min-height: 2.25rem; align-items: center; color: var(--muted-fg); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; color: var(--muted-fg); font-size: 0.875rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Icons */
.icon { width: 1.125rem; height: 1.125rem; flex: none; }

/* Home: the Sunday page */
.hero { padding-block: 2.5rem 3.5rem; overflow-x: clip; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.table { position: relative; padding: 1.5rem 0.5rem 1rem 1.25rem; }
.table-square {
  position: absolute; inset: 0 0 2.5rem 3.5rem;
  background: var(--blue); border-radius: var(--radius-panel);
}
.sheet {
  position: relative; display: grid; gap: 1rem;
  background: var(--paper); color: var(--fg);
  border-radius: 1.25rem; padding: 1.5rem;
  box-shadow: 0 1px 2px oklch(0.22 0.035 265 / 0.08), 0 1.5rem 3rem -1.25rem oklch(0.22 0.035 265 / 0.35);
  transform: rotate(-1.2deg);
  transform-origin: 30% 60%;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: sheet-settle 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes sheet-settle {
  from { transform: rotate(-3.5deg) translateY(0.75rem); box-shadow: 0 1px 2px oklch(0.22 0.035 265 / 0.08), 0 2.5rem 4rem -1.25rem oklch(0.22 0.035 265 / 0.45); }
}
.sheet:hover, .sheet:focus-within {
  transform: rotate(0deg) translateY(-0.25rem);
  box-shadow: 0 1px 2px oklch(0.22 0.035 265 / 0.08), 0 2rem 3.5rem -1.25rem oklch(0.22 0.035 265 / 0.4);
}
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.sheet-title { font-size: 1.625rem; }
.sheet-period { color: var(--muted-fg); font-size: 0.875rem; margin-top: 0.25rem; }
.sheet-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: color-mix(in oklch, var(--mustard) 32%, var(--paper));
  padding: 0.375rem 0.875rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
}
.status-dot { width: 0.625rem; height: 0.625rem; border-radius: 999px; background: oklch(0.62 0.13 80); }
.sheet-lead { color: var(--muted-fg); font-size: 0.9375rem; }
.sheet-label { font-family: var(--font-text); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; margin-top: 0.25rem; }
.sheet-list { list-style: none; margin: 0; padding: 0; counter-reset: pr; }
.sheet-list > li {
  position: relative; display: grid; gap: 0.25rem;
  padding: 1rem 0 1rem 2.25rem; border-top: 1px solid var(--border);
  counter-increment: pr;
}
.sheet-list > li::before {
  content: counter(pr); position: absolute; left: 0; top: 1rem;
  width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  border-radius: 0.375rem; background: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; font-variant-numeric: tabular-nums;
}
.sheet-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.sheet-list p { color: var(--muted-fg); font-size: 0.9375rem; line-height: 1.5; }
.sheet-list .sheet-next { color: var(--fg); }
.sheet-next span { font-weight: 600; margin-right: 0.25rem; }
.sheet-cite { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted-fg); }
.sheet-cite summary {
  display: inline-flex; align-items: center; gap: 0.375rem; min-height: 1.75rem;
  cursor: pointer; list-style: none; border-radius: 999px;
  text-decoration: underline dotted; text-underline-offset: 3px;
}
.sheet-cite summary::-webkit-details-marker { display: none; }
.sheet-cite summary::after {
  content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 200ms ease;
}
.sheet-cite[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.sheet-cite summary:hover { color: var(--fg); }
.sheet-cite ul { list-style: none; margin: 0.375rem 0 0; padding: 0.5rem 0.75rem; display: grid; gap: 0.25rem; background: var(--surface); border-radius: 0.625rem; color: var(--fg); }
.sheet-cite li::before { content: ""; display: inline-block; width: 0.375rem; height: 0.375rem; margin-right: 0.5rem; vertical-align: middle; border-radius: 1px; background: var(--blue); }
.sheet-only {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem;
  background: var(--navy); color: var(--on-navy-muted);
  border-radius: 0.875rem; padding: 0.875rem 1rem; font-size: 0.875rem;
}
.sheet-only b { color: var(--on-navy); font-family: var(--font-display); font-weight: 600; margin-right: 0.375rem; }
.sheet-demo { color: var(--on-navy); font-size: 0.75rem; font-weight: 500; padding: 0.15rem 0.5rem; border: 1px solid oklch(0.45 0.03 265); border-radius: 999px; }
@media (min-width: 640px) {
  .table { padding: 2.5rem 1.5rem 1.5rem 2.5rem; }
  .table-square { inset: 0 0 3.5rem 6rem; }
  .sheet { padding: 2rem 2.25rem; }
  .sheet-title { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 3rem 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; }
  .table { padding: 2.5rem 0 1.5rem 3rem; }
  .table-square { inset: 0 -1rem 3.5rem 9rem; }
  .sheet { gap: 0.875rem; padding: 1.75rem 2.25rem; }
  .sheet-list > li { padding-block: 0.875rem; }
  .sheet-list > li::before { top: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet:hover, .sheet:focus-within { transform: rotate(-1.2deg); }
}

/* Home: the family of apps */
.family { border-top: 1px solid var(--border); padding-block: 2.5rem; scroll-margin-top: 4rem; }
.family-inner { display: grid; gap: 1.5rem; }
.family-title { font-size: 1.5rem; }
.family-list { list-style: none; margin: 0; padding: 0; display: grid; }
.family-list a {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 0.75rem; row-gap: 0.125rem;
  padding-block: 1rem; border-top: 1px solid var(--border); text-decoration: none;
}
.family-list li:last-child a { border-bottom: 1px solid var(--border); }
.family-list .shape { width: 0.875rem; height: 0.875rem; align-self: center; transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1); }
.family-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.family-list span:last-child { grid-column: 2; color: var(--muted-fg); font-size: 0.9375rem; }
.family-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.family-list a:hover .shape { transform: scale(1.35); }
@media (min-width: 900px) {
  .family-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.2fr); align-items: center; gap: 3rem; }
  .family-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
  .family-list a, .family-list li:last-child a { border-bottom: 0; }
}

/* HealthTrends sample chart */
.ht-band { fill: color-mix(in oklch, var(--coral) 16%, transparent); }
.ht-line { fill: none; stroke: var(--navy); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ht-dot { fill: var(--navy); }

/* Home: app bands */
.app-band { padding-block: 4rem; border-top: 1px solid var(--border); }
.app-band-grid { display: grid; gap: 2.5rem; align-items: center; }
.app-band-text { display: grid; gap: 1.25rem; justify-items: start; max-width: 34rem; }
.app-name { display: flex; align-items: center; gap: 0.875rem; }
.app-name .shape { width: 1.75rem; height: 1.75rem; }
.app-summary { font-size: 1.125rem; }
.app-facts { width: 100%; }
.app-facts > li { padding-block: 0.875rem; color: var(--muted-fg); }
.app-band-square { background: var(--bg); }
.app-band-arch { background: var(--surface); }
.app-band-circle { background: var(--bg); }
@media (min-width: 1024px) {
  .app-band { padding-block: 6rem; }
  .app-band-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; }
  .app-band-grid.is-flipped > :first-child { order: 2; }
}
.screen-stack { position: relative; padding: 1.25rem 1.25rem 0; background: var(--blue); border-radius: var(--radius-panel); display: grid; gap: 1rem; overflow: hidden; }
.screen { margin: 0; }
.screen img { border-radius: 0.625rem 0.625rem 0 0; }
.screen figcaption { color: var(--on-navy); font-size: 0.8125rem; padding: 0.5rem 0.25rem 0.75rem; }
.screen-small { display: none; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2rem 1.25rem 0; background: var(--mustard); border-radius: 50% 50% var(--radius-panel) var(--radius-panel) / 18% 18% var(--radius-panel) var(--radius-panel); }
.phone { margin: 0; min-width: 0; }
.phone img { border-radius: 1.25rem 1.25rem 0 0; aspect-ratio: 0.62; object-fit: cover; object-position: top; width: 100%; }
.phone figcaption { color: var(--navy); font-size: 0.8125rem; padding: 0.5rem 0.25rem 0.75rem; }
.ht-panel { position: relative; display: grid; align-items: end; min-height: 22rem; padding: 1.5rem; background: var(--coral); border-radius: 999px 999px var(--radius-panel) var(--radius-panel); overflow: hidden; }
.ht-arch { display: none; }
.ht-sheet { background: var(--bg); border-radius: 1rem; padding: 1.25rem; display: grid; gap: 0.75rem; }
.ht-sheet-title { font-family: var(--font-display); font-weight: 600; }
.ht-sheet svg { width: 100%; height: 8rem; }

/* Home: trust panel */
.trust { display: grid; gap: 2rem; }
.trust-head { display: grid; gap: 1rem; max-width: 40rem; }
.trust-list > li { display: grid; gap: 0.25rem; }
.trust-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.trust-list span { color: var(--on-navy-muted); }
.trust-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 768px) {
  .trust-list > li { grid-template-columns: 14rem 1fr; gap: 2rem; }
}
@media (min-width: 1024px) {
  .trust { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 4rem; padding: 3.5rem; }
  .trust-head { align-self: start; }
  .trust-list { grid-row: span 2; }
  .trust-actions { align-self: end; }
}

/* Home: recent changes */
.section-top-flush { padding-top: 0; }
.recent { display: grid; gap: 1.5rem; }
.recent-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.recent-list > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.5rem; }
.recent-list time { color: var(--muted-fg); font-size: 0.9375rem; min-width: 7rem; font-variant-numeric: tabular-nums; }
.recent-title { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; margin-right: auto; }
.app-tag { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--muted-fg); }
.app-tag::before { content: ""; width: 0.625rem; height: 0.625rem; background: var(--blue); }
.app-tag-healthtrends::before { background: var(--coral); border-radius: 999px 999px 0 0; }
.app-tag-tinytots::before { background: var(--mustard); border-radius: 999px; }

/* Home: closing */
.closing { border-top: 1px solid var(--border); }
.closing-inner { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.closing-shapes .logo-mark { width: 6.75rem; height: 2rem; }
.closing .lede { margin-inline: auto; }

/* Apps page */
.app-rows { display: grid; padding-bottom: 4rem; }
.app-row { display: grid; gap: 2rem; padding-block: 3rem; border-top: 1px solid var(--border); scroll-margin-top: 5rem; }
.app-row-text { display: grid; gap: 1.25rem; justify-items: start; max-width: 36rem; }
.app-row-media { margin: 0; display: grid; gap: 0.5rem; align-content: start; }
.app-row-media img { border-radius: 1rem; border: 1px solid var(--border); }
.app-media-circle img { max-width: 18rem; }
.media-placeholder { display: grid; place-items: center; min-height: 16rem; background: var(--surface); border-radius: var(--radius-panel); }
.media-placeholder .shape { width: 6rem; height: 8rem; }
@media (min-width: 1024px) {
  .app-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; padding-block: 4rem; }
}

/* Changelog */
.changelog { margin-bottom: 5rem; }
.change { display: grid; gap: 0.75rem; }
.change-meta { display: flex; gap: 1rem; align-items: baseline; color: var(--muted-fg); font-size: 0.9375rem; }
.change-body { display: grid; gap: 0.5rem; }
.prose-flush { padding-bottom: 0; color: var(--muted-fg); }
@media (min-width: 768px) {
  .change { grid-template-columns: 14rem 1fr; gap: 2rem; }
  .change-meta { flex-direction: column; gap: 0.25rem; }
}
