@font-face {
  font-family: 'Patrick Hand';
  src: url('./assets/patrick-hand.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* Legal document: restrained native CSS, DESIGN_VARIANCE 3,
   MOTION_INTENSITY 1, VISUAL_DENSITY 5. Brand orange, 12px radius.
   Layers: sticky navigation 1, keyboard skip link 2. */
:root {
  color-scheme: light;
  --paper: #fcfcfb;
  --ink: #272632;
  --muted: #65616c;
  --accent: #ad461b;
  --tint: #fff3e9;
  --line: #e3dfe5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.75 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #f6cfb8; color: #272632; }
[hidden] { display: none !important; }
.page { max-width: 1216px; padding: 0 48px; margin: 0 auto; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font: 400 48px/1 'Patrick Hand', cursive; letter-spacing: -2px; text-decoration: none; }
.wordmark span { color: var(--accent); }
.back-link { color: var(--ink); text-decoration: none; font-size: 14px; }
.back-link span { margin-left: 12px; color: var(--accent); }
.skip-link { position: fixed; z-index: 2; top: 12px; left: 12px; background: var(--ink); color: var(--paper); padding: 10px 20px; border-radius: 12px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.intro { padding: 64px 0 36px; max-width: 840px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; margin: 0; }
.accent { color: var(--accent); }
.lead { max-width: 580px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.document-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 30px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.document-meta p { margin: 0; }
.print-button { border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; padding: 10px 0 10px 16px; white-space: nowrap; }
.print-button:hover { color: var(--accent); }
.print-button:active, .contact-button:active { transform: translateY(1px); }
.print-button span { margin-left: 8px; }
.document-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 72px; padding-top: 48px; }
.sidebar { align-self: start; position: sticky; top: 32px; font-size: 14px; }
.nav-title { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.sidebar nav a { color: var(--muted); display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--line); text-decoration: none; }
.sidebar nav a:hover, .sidebar nav a[aria-current="location"] { color: var(--accent); border-left-color: var(--accent); }
.sidebar-note { max-width: 170px; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 38px; }
.document-body { min-width: 0; max-width: 740px; padding-bottom: 60px; }
.plain-summary { background: var(--tint); padding: 28px 32px; border-radius: 12px; }
.plain-summary h2 { font-size: 24px; margin: 0 0 12px; }
.plain-summary p { font-size: 15px; margin: 0 0 12px; }
.plain-summary p:last-child { margin-bottom: 0; }
section { padding-top: 54px; scroll-margin-top: 18px; }
section + section { margin-top: 48px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; margin: 0 0 24px; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 650; margin: 32px 0 12px; }
p { margin: 0 0 18px; }
.document-body section p { color: var(--muted); }
strong { color: var(--ink); font-weight: 650; }
.contact-section p { max-width: 560px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; color: var(--paper); background: var(--accent); border-radius: 12px; font-size: 15px; font-weight: 600; padding: 14px 22px; margin-top: 6px; text-decoration: none; white-space: nowrap; }
.contact-button:hover { background: #923b17; }
.contact-number { margin-top: 14px; font-size: 13px; }
.updates { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.updates h3 { font-size: 15px; color: var(--ink); margin: 0 0 12px; }
.footer { padding: 28px 0 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
.footer a { color: var(--ink); text-decoration: none; }
.footer span { color: var(--accent); padding-left: 8px; }
@media (max-width: 1023px) {
  .document-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .page { padding: 0 32px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .page { padding: 0 22px; }
  .header { min-height: 82px; }
  .wordmark { font-size: 40px; }
  .back-link { font-size: 13px; }
  .intro { padding-top: 42px; padding-bottom: 28px; }
  .lead { font-size: 16px; max-width: 420px; }
  .document-meta { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 24px; }
  .print-button { padding: 6px 0; }
  .document-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .sidebar { position: static; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .nav-title { flex-basis: 100%; margin: 0 0 4px; }
  .sidebar nav a { border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 5px; font-size: 13px; }
  .sidebar-note { display: none; }
  .plain-summary { padding: 24px; }
  section { padding-top: 38px; }
  section + section { margin-top: 36px; }
  h3 { font-size: 17px; }
  .document-body { padding-bottom: 40px; }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #202025; --ink: #f0edf1; --muted: #c0bac6; --accent: #f0a077; --tint: #332925; --line: #44404a; }
  .contact-button { background: var(--accent); color: #242129; }
  .contact-button:hover { background: #f4b18f; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #171717; --muted: #333; --accent: #73300f; --line: #ccc; --tint: #faf6f1; }
  body { font-size: 10pt; line-height: 1.5; }
  .page { max-width: none; padding: 0; }
  .header { min-height: 60px; }
  .wordmark { font-size: 30px; }
  .back-link, .sidebar, .print-button, .footer a, .skip-link { display: none; }
  .intro { padding: 24px 0; }
  h1 { font-size: 30pt; }
  .lead { font-size: 11pt; }
  .document-layout { display: block; padding-top: 24px; }
  .document-body { max-width: none; padding-bottom: 0; }
  .plain-summary { padding: 16px; border: 1px solid var(--line); }
  section, section + section { padding-top: 22px; margin-top: 18px; }
  h2 { font-size: 19pt; margin-bottom: 12px; }
  h3 { font-size: 12pt; margin-top: 18px; }
  h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .contact-button, .contact-button:hover { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; }
  .document-meta { font-size: 9pt; padding-bottom: 16px; }
}
