/* Shared styles for the policy and help pages (the home page keeps its own inline CSS). Same tokens as index.html. */
:root {
  --navy: #0a6a4a; --navy-soft: #e2f5ec; --paper: #f3f6f4; --paper-edge: #dfe7e2;
  --ink: #0f1a15; --ink-soft: #56665e; --amber: #f29d0c; --green: #0e9f6e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

header.site { padding: 18px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav a { margin-left: 20px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
nav a:hover, nav a[aria-current="page"] { color: var(--navy); }
@media (max-width: 560px) { nav a.opt { display: none; } nav a { margin-left: 14px; } }

.page { padding: 8px 0 72px; }
.doc { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--paper-edge); border-radius: 18px; padding: 40px 44px; }
@media (max-width: 640px) { .doc { padding: 26px 20px; border-radius: 14px; } }
.eyebrow { display: inline-block; background: var(--navy-soft); color: var(--navy); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 8px; color: var(--navy); letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; color: var(--navy); }
.doc h3 { font-size: 17px; margin: 22px 0 6px; color: var(--navy); }
.doc p, .doc li { color: #2b3a33; font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }
.doc code { background: var(--navy-soft); color: var(--navy); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.callout { background: var(--navy-soft); border: 1px solid #c7ebdb; border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.callout p { margin: 0; color: #124b36; }
.related { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--paper-edge); font-size: 15px; color: var(--ink-soft); }
.related a { font-weight: 700; margin-right: 14px; white-space: nowrap; }

/* Help hub */
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 22px 0 8px; }
.topic { display: block; background: var(--paper); border: 1px solid var(--paper-edge); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; }
.topic:hover { border-color: var(--navy); }
.topic strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.topic span { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
details { background: #fff; border: 1px solid var(--paper-edge); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--ink-soft); }
.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.contact-box { background: var(--paper); border: 1px solid var(--paper-edge); border-radius: 14px; padding: 18px 20px; margin-top: 28px; }
.contact-box p { margin: 0; }

footer.site { background: var(--navy); color: #d4f5e6; padding: 40px 0; font-size: 15px; }
footer.site a { color: #fff; }
footer.site .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer.site .fine { margin-top: 24px; font-size: 13px; color: #9ed9c0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Inline call-to-action button inside guides */
.btn-inline { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 12px; margin: 4px 14px 4px 0; }
.btn-inline:hover { background: #085a3f; }
.btn-inline:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
