/* Shared styles for the two static pages. The copied banner is self-contained. */
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #202520;
  background: #fafaf8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #5e665e;
  --line: #dfe3db;
  --green: #23653d;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.65; }
a { color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.banner-example a:focus-visible { outline-color: #75e39b; outline-offset: -4px; }
button, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #d1e8d6; color: #182e1f; }
.page { width: min(780px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.site-name { font-size: 14px; font-weight: 650; color: #202520; letter-spacing: -.2px; text-decoration: none; }
.site-header nav { font-size: 13px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(35px, 5vw, 48px); font-weight: 600; letter-spacing: -1.9px; line-height: 1.13; margin-bottom: 21px; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.35px; line-height: 1.4; margin-bottom: 0; }
.intro { padding: 50px 0 36px; }
.intro p { max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; min-width: 117px; border: 1px solid #202520; border-radius: 5px; background: #202520; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.5; }
.copy-button:hover { background: #354335; }
.copy-button:disabled { cursor: wait; opacity: .7; }
.instruction { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.instruction code { color: #343d33; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.code { display: block; width: 100%; height: 290px; min-height: 150px; padding: 19px 21px; resize: vertical; border: 1px solid var(--line); border-radius: 5px; background: #f0f2ed; color: #354435; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; tab-size: 2; scrollbar-color: #b4bfb0 #f0f2ed; }
.code-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 12px; font-size: 12px; }
.code-footer p { color: var(--muted); margin: 0; }
.code-footer a { white-space: nowrap; }
.copy-status { font-size: 12px; color: var(--green); margin: 8px 0 0; }
.copy-status:empty { display: none; }
.destination-note { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 24px; margin: 30px 0 0; max-width: none; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0 30px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer.home-footer { flex-wrap: wrap; row-gap: 10px; }
.author-credit { flex-basis: 100%; margin: 0; font-size: 11px; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 14px; background: #fff; border: 1px solid var(--green); }
.skip-link:focus { transform: none; }
.donation-intro { padding-bottom: 34px; }
.donation-flag { display: block; margin-bottom: 25px; }
.organizations { border-top: 1px solid var(--line); }
.organization { padding: 25px 0 26px; border-bottom: 1px solid var(--line); }
.organization h2 { margin-bottom: 9px; }
.abbreviation { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; white-space: nowrap; margin-left: 6px; }
.organization p { margin: 0 0 10px; max-width: 630px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.organization a { display: inline-block; padding: 3px 0; font-size: 14px; font-weight: 500; }
.donation-notes { margin-top: 27px; color: var(--muted); font-size: 13px; }
.donation-notes p { margin-bottom: 13px; }
.donation-notes .checked { font-size: 12px; margin: 21px 0 0; }
@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .site-header { padding: 24px 0; gap: 18px; }
  .site-header nav { font-size: 12px; }
  .intro { padding-top: 36px; padding-bottom: 30px; }
  h1 { font-size: 37px; letter-spacing: -1.4px; }
  .intro p { font-size: 15px; }
  h2 { font-size: 17px; }
  .section-heading { gap: 14px; }
  .copy-button { padding: 8px 10px; min-width: 108px; font-size: 11px; }
  .code { font-size: 11px; padding: 15px; height: 270px; }
  .code-footer { flex-wrap: wrap; gap: 6px 20px; font-size: 11px; }
  .destination-note { margin-top: 26px; }
  .site-footer { margin-top: 29px; padding: 22px 0 26px; font-size: 11px; gap: 16px; }
  .organization { padding: 23px 0; }
  .organization h2 { max-width: 340px; }
  .abbreviation { font-size: 11px; }
  .donation-notes { font-size: 12px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  h1 { font-size: 33px; }
  .site-name { font-size: 13px; }
  .site-header nav { font-size: 11px; }
  .section-heading h2 { max-width: 145px; }
}
