@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  background: #d8d0c2;
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.55), transparent 30%),
    linear-gradient(135deg, #d5cab8, #e2ddd2 45%, #c9beaa);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

p {
  line-height: 1.72;
}

::selection {
  background: var(--accent);
  color: var(--paper-light);
}

:focus-visible {
  outline: 3px solid var(--annotation);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  margin-bottom: var(--space-3);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.page-number {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.synthetic-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.58rem;
  border: 1px solid currentColor;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption,
.source-line {
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.5;
}

.source-line {
  padding-top: 0.65rem;
  border-top: var(--rule);
  font-family: var(--mono);
}

.accent-word {
  color: var(--accent-deep);
}

.annotation-word {
  color: var(--annotation);
}

.rule-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: var(--rule);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  body {
    background: var(--paper);
  }

  p {
    line-height: 1.66;
  }
}
