/* Hallmark · macrostructure: Long Document (title-page opening) · tone: austere · anchor hue: heather 335 */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.65;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

h1, h2, p, ul { margin: 0; }

a {
  color: var(--color-heather);
  text-decoration-line: underline;
  text-decoration-color: var(--color-heather-soft);
  text-decoration-thickness: var(--rule-hair);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}

a:hover { text-decoration-color: currentColor; }

a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-paper);
  transform: translateY(-200%);
}

.skip:focus-visible { transform: none; }

.title-page {
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  text-align: center;
}

.mark {
  width: 4.5rem;
  height: 4.5rem;
}

.title-page h1 {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  min-width: 0;
}

.descriptor {
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.title-page::after {
  content: "";
  width: var(--rule-hair);
  height: clamp(3rem, 10vh, 6rem);
  margin-top: var(--space-lg);
  background: var(--color-heather-soft);
}

.document {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
}

.document section + section::before {
  content: "\2042";
  display: block;
  margin: var(--space-2xl) 0;
  text-align: center;
  color: var(--color-heather-soft);
  font-size: var(--text-lg);
  line-height: 1;
}

.document h2 {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.document p + p,
.document p + ul,
.document ul + p { margin-top: var(--space-md); }

.criteria {
  list-style: none;
  padding: 0;
}

.criteria li {
  position: relative;
  padding-left: var(--space-lg);
}

.criteria li + li { margin-top: var(--space-xs); }

.criteria li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--color-heather);
}

.colophon {
  border-top: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  text-align: center;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-colophon);
}

.colophon .mark {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: var(--space-sm);
}

.colophon p + p { margin-top: var(--space-2xs); }

.colophon .company { color: var(--color-ink); }

.missing .title-page { min-height: 100vh; min-height: 100svh; }

.missing .title-page::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
