:root {
  color-scheme: light;
  --walnut: #1b0e0a;
  --walnut-deep: #0d0705;
  --leather: #5c281c;
  --leather-light: #7a3927;
  --leather-edge: #2b100b;
  --paper: #fffaf0;
  --parchment: #f3e7c8;
  --parchment-deep: #ddc797;
  --ink: #29251d;
  --ink-muted: #625b4d;
  --forest: #285344;
  --forest-dark: #183a30;
  --brass: #9a6d22;
  --brass-light: #f2d990;
  --outline: #aa9870;
  --focus: #126f86;
  --shadow: 0 24px 70px rgb(0 0 0 / 42%), 0 3px 10px rgb(0 0 0 / 28%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--walnut-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 24% 12%, rgb(139 73 45 / 22%), transparent 34rem),
    repeating-linear-gradient(92deg, transparent 0 28px, rgb(255 255 255 / 1.5%) 29px 30px),
    linear-gradient(135deg, var(--leather-edge), var(--walnut) 45%, var(--walnut-deep));
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 40% 20%,
    rgb(255 255 255 / 1.4%) 0 1px,
    transparent 1px 7px
  );
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

a {
  color: var(--forest-dark);
  font-weight: 700;
  text-decoration-color: rgb(40 83 68 / 45%);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
summary:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  color: white;
  background: var(--forest-dark);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100% - 2rem, 66rem);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #f9ebc5;
  font-family: var(--serif);
  font-size: 1.02rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #f0d38a;
  border-radius: 50%;
  color: var(--walnut);
  background: radial-gradient(circle at 35% 30%, #f6dfa2, #b27c2d 67%, #644114);
  box-shadow: 0 4px 10px rgb(0 0 0 / 42%);
  font-family: var(--sans);
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.nav-links a {
  color: #f4e3b2;
  font-size: 0.9rem;
  text-decoration-color: transparent;
}

.nav-links a[aria-current="page"] {
  color: white;
  text-decoration-color: var(--brass-light);
}

.page-shell {
  position: relative;
  width: min(100% - 2rem, 66rem);
  margin: 0 auto 2.5rem;
  overflow: hidden;
  border: 1px solid #d1b97f;
  border-radius: 0.7rem 1.15rem 1.15rem 0.7rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 33px, rgb(92 40 28 / 2.5%) 34px),
    radial-gradient(circle at 16% 8%, rgb(255 255 255 / 80%), transparent 30rem),
    var(--parchment);
  box-shadow: var(--shadow);
}

.page-shell::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.7rem;
  background: linear-gradient(90deg, rgb(80 44 23 / 28%), rgb(255 255 255 / 18%), transparent);
  content: "";
  pointer-events: none;
}

.hero {
  padding: clamp(2.4rem, 7vw, 5.5rem) clamp(1.25rem, 7vw, 5.6rem) clamp(2rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--outline);
  background: linear-gradient(180deg, rgb(255 252 243 / 72%), transparent);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #3b2a1b;
  font-family: var(--serif);
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lede {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.effective-date {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid #b99c5d;
  border-radius: 999px;
  color: #4f3b22;
  background: rgb(242 227 181 / 72%);
  font-size: 0.84rem;
  font-weight: 750;
}

.content {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 7vw, 4rem) clamp(3rem, 7vw, 5.5rem);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 3.25rem;
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: 0.6rem;
  background: var(--outline);
}

.summary-item {
  min-height: 8.25rem;
  padding: 1.15rem;
  background: rgb(255 250 240 / 82%);
}

.summary-item strong,
.summary-item span {
  display: block;
}

.summary-item strong {
  margin-bottom: 0.35rem;
  color: var(--forest-dark);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.summary-item span {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section + .section {
  margin-top: 3.1rem;
  padding-top: 3rem;
  border-top: 1px solid rgb(129 118 93 / 48%);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
}

h3 {
  margin: 1.75rem 0 0.45rem;
  font-size: 1.2rem;
}

p,
li {
  max-width: 70ch;
}

p {
  margin: 0.75rem 0;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.65rem;
}

.plain-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 1.55rem;
}

.plain-list li::before {
  position: absolute;
  top: 0.64rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--forest);
  border-radius: 50%;
  content: "";
}

.callout {
  margin: 1.75rem 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 0.3rem solid var(--brass);
  border-radius: 0 0.4rem 0.4rem 0;
  background: rgb(255 252 243 / 78%);
}

.callout p {
  margin: 0;
}

.steps {
  margin: 1.25rem 0 0;
  padding: 0;
  counter-reset: support-step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 2.8rem;
  padding-left: 3.5rem;
  counter-increment: support-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #8c672b;
  border-radius: 50%;
  color: #3b2a1b;
  background: radial-gradient(circle at 35% 30%, #f7e2a6, #c6984e);
  content: counter(support-step);
  font-weight: 800;
  box-shadow: 0 3px 8px rgb(59 42 27 / 18%);
}

.steps li + li {
  margin-top: 1.35rem;
}

.contact-block {
  margin-top: 1.3rem;
  padding: 1.25rem;
  border: 1px solid var(--outline);
  border-radius: 0.6rem;
  background: rgb(255 250 240 / 78%);
}

.contact-block p:first-child {
  margin-top: 0;
}

.contact-token {
  display: inline-block;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border: 1px dashed #8b342f;
  border-radius: 0.3rem;
  color: #64251f;
  background: #fff5e4;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgb(129 118 93 / 48%);
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 44rem) {
  .site-header,
  .page-shell {
    width: min(100% - 1rem, 66rem);
  }

  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .summary-band {
    grid-template-columns: 1fr;
  }

  .summary-item {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .skip-link {
    display: none;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
}
