:root {
  color-scheme: light;
  --ink: #252b32;
  --muted: #66717d;
  --line: #dde4e8;
  --page: #f5f7f8;
  --surface: #ffffff;
  --green: #4da800;
  --green-dark: #357900;
  --green-soft: #eff9e8;
  --amber: #9a5d00;
  --amber-soft: #fff5de;
  --red: #b42318;
  --red-soft: #fff0ee;
  --shadow: 0 18px 50px rgba(24, 39, 54, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--green-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--green); }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page,
.site-footer-inner {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.header-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-align: right;
}

.page { padding: 56px 0 40px; }

.document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document-hero {
  padding: 44px 48px 38px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f7fdf2 0%, #ffffff 68%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(32px, 5vw, 46px); }
h2 { margin-top: 38px; font-size: 23px; }
h3 { margin-top: 24px; font-size: 18px; }

.lead {
  max-width: 670px;
  margin: 18px 0 0;
  color: #4d5a65;
  font-size: 18px;
  line-height: 1.55;
}

.effective-date {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.document-body { padding: 4px 48px 48px; }
.document-body > :last-child { margin-bottom: 0; }

p { margin: 14px 0 0; }
ul, ol { margin: 14px 0 0; padding-left: 23px; }
li + li { margin-top: 7px; }

.notice {
  margin: 26px 0 0;
  padding: 17px 19px;
  border: 1px solid #cbe6b8;
  border-radius: 14px;
  background: var(--green-soft);
  color: #33551f;
}

.notice strong { color: #244516; }

.notice-warning {
  border-color: #efd58e;
  background: var(--amber-soft);
  color: #704300;
}

.notice-warning strong { color: #5e3700; }

.notice-danger {
  border-color: #f1bcb7;
  background: var(--red-soft);
  color: #81231d;
}

.notice-danger strong { color: #671a15; }

.request-card {
  margin: 28px 0 0;
  padding: 26px;
  border: 1px solid #bfe0a7;
  border-radius: 16px;
  background: #f7fdf3;
}

.request-card h2 { margin-top: 0; }
.request-card p { max-width: 610px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--green);
  box-shadow: inset 0 -3px 0 rgba(33, 93, 0, 0.25);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button:hover { background: #5bb80c; color: #fff; }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #1c7ed6; outline-offset: 3px; }

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.request-actions .button { margin-top: 0; }

.button-secondary {
  background: #fff;
  border: 1px solid var(--green);
  box-shadow: none;
  color: var(--green-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.button-secondary:hover { background: var(--green-soft); color: var(--green-dark); }

.request-address {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.placeholder {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff1c8;
  color: #714900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 700;
}

.details-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 15px;
}

.details-table th,
.details-table td {
  padding: 13px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.details-table th {
  width: 34%;
  background: #f8fafb;
  color: #47545f;
  font-weight: 750;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.legal-nav a { font-weight: 700; }

.site-footer {
  padding: 2px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .header-inner,
  .page,
  .site-footer-inner { width: min(100% - 28px, 860px); }
  .header-inner { min-height: 64px; }
  .header-label { display: none; }
  .page { padding-top: 26px; }
  .document { border-radius: 15px; }
  .document-hero { padding: 32px 24px 27px; }
  .document-body { padding: 2px 24px 32px; }
  .lead { font-size: 16px; }
  h2 { font-size: 21px; }
  .request-card { padding: 20px; }
  .details-table { display: block; overflow-x: auto; }
  .site-footer-inner { display: block; }
  .site-footer-inner span + span { display: block; margin-top: 5px; }
}
