/* Hallmark · shape: app screen · genre: atmospheric · theme: custom
 * paper: oklch(96.8% 0.008 178) · accent: oklch(42% 0.115 172) · display: Hepta Slab · body: Hanken Grotesk
 * nav: floating spatial ornament · signature: optical glass windows, depth ornaments & classroom plate · states: loading, empty, error, offline
 * axes: light/slab-serif/chromatic-teal · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · weakest: R, enforced reduced-motion across CSS & View Transitions plus fixed spatial horizon canvas */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html {
  scrollbar-color: var(--color-muted) var(--color-paper);
  scroll-padding-top: var(--space-3xl);
  font-family: var(--font-body);
}
body {
  margin: 0;
  min-block-size: 100dvh;
  background-color: var(--color-paper);
  background-image: linear-gradient(180deg, var(--color-env-zenith) 0%, var(--color-paper) 52%, var(--color-env-horizon) 100%);
  background-attachment: fixed;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--color-accent);
}
::selection {
  background: var(--color-accent-tint);
  color: var(--color-ink);
}
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-synthesis: none;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
p, li {
  margin: 0;
  text-wrap: pretty;
}
p:not([class]) {
  max-width: 65ch;
}
:where(a, code, pre) {
  overflow-wrap: anywhere;
}
img, svg, video {
  max-inline-size: 100%;
}
img, video {
  block-size: auto;
  display: block;
}
[hidden] {
  display: none !important;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
:where(button, select, textarea, input:not([type="checkbox"], [type="radio"]), [role="button"], [role="tab"], nav a) {
  min-block-size: max(var(--target-size), 40px);
  min-inline-size: var(--target-size);
}
.num, .figure, td.num {
  font-variant-numeric: tabular-nums;
}
.visually-hidden, .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 60rem) {
  :root { --gutter: 24px; }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --gap-columns: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
