/* Hallmark · v2.0.0 · deal: manual · theme: custom utilitarian letter · genre: editorial · shape: letter · job: inform · signature: the plain statement of personal use */
/* Critique: a short typographic letter, warm paper and one copper mark, no marketing chrome. */
/* waive: no theme draw — headless two-page policy site, words only, no third-party assets, no JS */

:root {
  color-scheme: light dark;
  --bg: oklch(0.97 0.012 75);
  --ink: oklch(0.27 0.025 55);
  --muted: oklch(0.42 0.02 55);
  --accent: oklch(0.48 0.11 55);
  --accent-hover: oklch(0.40 0.12 55);
  --border: oklch(0.27 0.025 55 / 0.14);
  --focus: oklch(0.48 0.11 55);
  --mark-fill: oklch(0.48 0.11 55);
  --mark-lens: oklch(0.97 0.012 75);
  --font: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.1875rem);
  --font-small: clamp(0.875rem, 0.82rem + 0.2vw, 0.9375rem);
  --lead-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --title-size: clamp(2rem, 1.4rem + 2.2vw, 3.15rem);
  --line: 1.55;
  --measure: 38rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gap: 1.25rem;
  --radius: 1rem;
  --radius-in: 0.65rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.20 0.018 55);
    --ink: oklch(0.94 0.015 80);
    --muted: oklch(0.80 0.02 75);
    --accent: oklch(0.82 0.10 65);
    --accent-hover: oklch(0.90 0.08 70);
    --border: oklch(0.94 0.015 80 / 0.16);
    --focus: oklch(0.82 0.10 65);
    --mark-fill: oklch(0.82 0.10 65);
    --mark-lens: oklch(0.20 0.018 55);
  }
}

html, body {
  overflow-x: clip;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: var(--line);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.skip {
  position: absolute;
  inset: 0.6rem auto auto 0.6rem;
  transform: translateY(-200%);
  padding: 0.4rem 0.7rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-in);
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.site-header,
.site-footer {
  border-color: var(--border);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.site-footer {
  border-top-width: 1px;
  margin-top: auto;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  min-width: 0;
  overflow-wrap: break-word;
}

.brand svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.brand .roof {
  fill: var(--mark-fill);
}

.brand .lens {
  fill: var(--mark-lens);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: var(--font-small);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

main {
  padding-block: clamp(2.25rem, 6vw, 4.5rem);
  flex: 1;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: var(--title-size);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

.lead {
  margin: 0 0 1.5rem;
  font-size: var(--lead-size);
  line-height: 1.4;
  text-wrap: pretty;
  max-width: 28em;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.05em;
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  min-width: 0;
}

.prose ul {
  padding-left: 1.15em;
}

.prose li {
  margin: 0 0 0.35rem;
}

.effective {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: var(--font-small);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
  border-radius: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

a:active {
  color: var(--accent-hover);
}

a:focus-visible,
.brand:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-small);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
