:root {
  --forest-950: #0d3028;
  --forest-900: #163f34;
  --forest-700: #2d6756;
  --ivory-50: #fffdf8;
  --ivory-100: #f7f3eb;
  --ink: #17372f;
  --muted: #6c756f;
  --line: #ded9cd;
  --clay: #c7865d;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: #f2eee5; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(circle at 78% 12%, rgba(255,255,255,.8), transparent 38%), #f2eee5;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--forest-900); color: var(--ivory-50); }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  max-width: 820px; margin: 0 auto; padding: 22px clamp(20px, 5vw, 32px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 5px 12px rgba(22,63,52,.18); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 600; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--forest-900); text-decoration: underline; }

main { max-width: 820px; margin: 0 auto; padding: 8px clamp(20px, 5vw, 32px) 72px; }

.breadcrumb { margin: 0 0 26px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 7px; }

.eyebrow { display: block; color: var(--clay); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

h1 {
  margin: 14px 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 5.4vw, 50px); font-weight: 500; line-height: 1.06; letter-spacing: -.03em;
}
h2 {
  margin: 52px 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 3.4vw, 32px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em;
}
h3 { margin: 32px 0 8px; font-size: 19px; font-weight: 650; }
p { margin: 0 0 18px; }
.lead { font-size: 20px; line-height: 1.62; color: #2c4a41; }
a { color: var(--forest-700); text-underline-offset: 3px; }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }
li::marker { color: var(--clay); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 8px 0 12px; padding: 15px 28px;
  border-radius: 999px; border: 0;
  background: var(--forest-900); color: var(--ivory-50);
  font-size: 16px; font-weight: 650; text-decoration: none;
  box-shadow: 0 10px 26px rgba(22,63,52,.22);
}
.cta:hover, .cta:focus-visible { background: var(--forest-950); }
.cta-note { margin: 0 0 8px; font-size: 14px; color: var(--muted); }

.panel {
  margin: 30px 0; padding: 24px clamp(20px, 3.5vw, 30px);
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255,255,255,.62);
}
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { margin-top: 0; }

.panel--dark { border-color: transparent; background: var(--forest-900); color: rgba(255,255,255,.78); }
.panel--dark h2, .panel--dark h3, .panel--dark strong { color: var(--ivory-50); }
.panel--dark .cta { background: #f3d1b8; color: var(--forest-950); box-shadow: none; }
.panel--dark .cta-note { color: rgba(255,255,255,.6); }

.note { border-left: 3px solid var(--clay); background: rgba(199,134,93,.07); border-radius: 0 14px 14px 0; }

.steps { margin: 26px 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; margin: 0 0 12px; padding: 16px 20px 16px 60px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 16px;
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--forest-900); color: var(--ivory-50);
  font-size: 13px; font-weight: 700;
}
.steps strong { display: block; }

.table-wrap { overflow-x: auto; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

details { padding: 16px 18px; border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 650; font-size: 17px; }
details summary::marker { color: var(--clay); }
details p { margin: 12px 0 0; }
details p:last-child { margin-bottom: 0; }

.site-footer {
  max-width: 820px; margin: 0 auto; padding: 30px clamp(20px, 5vw, 32px) 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; font-weight: 600; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }

:focus-visible { outline: 3px solid rgba(199,134,93,.55); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
