/* Payout Gap Check — local staging styles. No external fonts, JS, or trackers. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #122033;
  --muted: #2c3d52;
  --heading: #122033;
  --link: #0b4aa2;
  --link-hover: #083b82;
  --border: #d5dee8;
  --header-bg: #122033;
  --header-text: #ffffff;
  --placeholder-bg: #fff6d8;
  --placeholder-text: #5a3b00;
  --placeholder-border: #8a6914;
  --focus: #ffbf47;
  --max: 40rem;
  --header-offset: 7.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-offset);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--header-bg);
  color: var(--header-text);
  padding: 0.6rem 1rem;
  min-height: 44px;
  text-decoration: none;
  border-radius: 0 0 0.25rem 0.25rem;
}
.skip-link:focus {
  top: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid #0a1724;
}

.header-inner {
  width: min(52rem, calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.7rem 0;
}

.site-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.site-name a {
  color: var(--header-text);
  text-decoration: none;
}
.site-name a:hover { color: #ffffff; text-decoration: underline; }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.site-header nav a {
  color: #dbe4f0;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.1rem;
  font-size: 0.98rem;
}
.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

main { padding: 1.75rem 0 6rem; }
.hero { margin-bottom: 2.25rem; }

h1, h2, h3 {
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
}
h1 {
  font-size: 1.85rem;
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.4rem;
  margin: 0 0 0.85rem;
  padding-top: 0.35rem;
  border-top: 0;
}
h3 {
  font-size: 1.12rem;
  margin: 0 0 0.4rem;
}

section {
  margin: 0 0 2.25rem;
  padding: 0;
}

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}
li { margin: 0 0 0.7rem; }
li:last-child { margin-bottom: 0; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.placeholder {
  display: inline;
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  border: 1px dashed var(--placeholder-border);
  border-radius: 0.2rem;
  padding: 0.05rem 0.3rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 24rem) {
  .placeholder { white-space: normal; }
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1.1rem 1.15rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
}
.cta-block strong {
  font-size: 1.12rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 10rem;
  padding: 0.65rem 1.15rem;
  background: #fff6d8;
  color: var(--placeholder-text);
  border: 2px dashed var(--placeholder-border);
  border-radius: 0.35rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.faq-item {
  margin: 0 0 1.25rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 3.5rem;
  color: var(--muted);
  font-size: 1rem;
}
.footer-name {
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.5rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  background: var(--header-bg);
  color: var(--header-text);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgba(18, 32, 51, 0.25);
}
.back-to-top:hover { color: #ffffff; }

.page-404 {
  min-height: 50vh;
  padding-top: 2rem;
}
.page-404 h1 { max-width: none; }

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 1.6rem; }
  .header-inner,
  .site-footer .wrap {
    width: min(var(--max), calc(100% - 2rem));
  }
  /* Keep body text clear of the fixed Back to top button. */
  main .wrap {
    width: min(var(--max), calc(100% - 5.75rem));
    margin-left: 1rem;
    margin-right: 4.75rem;
  }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1720;
    --bg-alt: #172333;
    --text: #f3f6fa;
    --muted: #d3dbe6;
    --heading: #ffffff;
    --link: #8cb8ff;
    --link-hover: #c5d9ff;
    --border: #3a4b5e;
    --header-bg: #0a1018;
    --header-text: #ffffff;
    --placeholder-bg: #3d3110;
    --placeholder-text: #ffe9a8;
    --placeholder-border: #e0b94a;
    --focus: #ffbf47;
  }
  .site-header nav a { color: #dbe4f0; }
  .cta { background: #3d3110; color: #ffe9a8; }
}

@media print {
  .site-header, .back-to-top, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; }
  .placeholder, .cta {
    background: #fff;
    color: #000;
    border: 1px solid #000;
  }
  .cta-block, .site-footer, section { break-inside: avoid; }
}
