:root {
  color-scheme: light;
  --green: #047631;
  --deep: #082b19;
  --lime: #62df12;
  --orange: #f58a07;
  --ink: #102018;
  --muted: #4f6557;
  --line: #cad9cc;
  --paper: #f5faf1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--green); }
.site-header { border-bottom: 1px solid #a8c0ac; background: white; }
.header-inner, .content, .footer-inner { width: min(100% - 32px, 960px); margin: 0 auto; }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--deep); font-weight: 850; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-nav { display: flex; gap: 18px; align-items: center; }
.site-nav a { color: var(--muted); font-size: .86rem; font-weight: 750; text-decoration: none; }
.content { padding: 64px 0 80px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
h1, h2 { color: var(--deep); }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.02; }
.lede { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.updated { display: inline-block; margin-top: 20px; padding: 7px 10px; border-left: 3px solid var(--orange); background: white; color: var(--muted); font-size: .78rem; font-weight: 700; }
.document { margin-top: 48px; border-top: 1px solid var(--line); }
.document section { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); gap: 42px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.document h2 { margin: 0; font-size: 1.25rem; }
.document p, .document li { color: var(--muted); line-height: 1.7; }
.document p { margin: 0 0 14px; }
.document ul, .document ol { margin: 0; padding-left: 20px; }
.document li + li { margin-top: 8px; }
.callout { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--lime); background: white; }
.callout strong { display: block; margin-bottom: 5px; color: var(--deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 6px; background: var(--green); color: white; font-size: .86rem; font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid var(--green); background: transparent; color: var(--green); }
.site-footer { background: var(--deep); color: #d8e6d9; }
.footer-inner { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 20px; font-size: .78rem; }
.footer-inner a { color: white; }
.auth-callback-shell { display: grid; min-height: 100dvh; place-items: center; padding-top: 32px; padding-bottom: 32px; }
.auth-callback-card { width: min(100%, 560px); padding: clamp(28px, 7vw, 54px); border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 22px 60px rgba(8,43,25,.12); text-align: center; }
.auth-callback-card > img { width: 112px; height: auto; margin-bottom: 24px; }
.auth-callback-card h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
.auth-callback-card .lede { margin-right: auto; margin-left: auto; }
.auth-callback-card [data-state="error"] { color: #9c2f16; }
.auth-callback-button { width: 100%; margin-top: 24px; }
.auth-callback-help { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.auth-callback-support { display: inline-block; margin-top: 18px; font-size: .82rem; font-weight: 750; }

@media (max-width: 700px) {
  .header-inner { min-height: 66px; }
  .brand span { display: none; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: .78rem; }
  .content { padding: 42px 0 60px; }
  h1 { font-size: 2.35rem; }
  .lede { font-size: .98rem; }
  .document section { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
}
