/* NFDG LLC site.css — design system per WEBSITE_BUILD_PROMPT.md section 3 (locked) */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1C1C1A;
  --olive: #3A3F2E;
  --rust: #7A4A2B;
  --rust-bright: #A8693E;
  --panel: #EDEBE3;
  --paper: #F6F4EC;
  --muted: #6A6A5E;
  --rule: #9A9A8E;
  --on-dark: #F6F4EC;
}
:root.dark, body.dark {
  --ink: #ECEAE2;
  --olive: #B9C2A4;
  --rust: #C98A57;
  --rust-bright: #C98A57;
  --panel: #26261F;
  --paper: #171712;
  --muted: #A6A496;
  --rule: #4A4A40;
  --on-dark: #ECEAE2;
}
@media (prefers-color-scheme: dark) {
  body:not(.light) {
    --ink: #ECEAE2; --olive: #B9C2A4; --rust: #C98A57; --rust-bright: #C98A57;
    --panel: #26261F; --paper: #171712; --muted: #A6A496; --rule: #4A4A40; --on-dark: #ECEAE2;
  }
}

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

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
h2 { font-size: 1.9rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--rust); font-weight: 600; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust-bright); outline-offset: 2px; }

.btn {
  display: inline-block; padding: 0.875rem 1.75rem; border: none; border-radius: 10px;
  font: inherit; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none;
  transition: filter 0.15s ease;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--olive); border: 2px solid var(--rule); }
.btn-ghost:hover { border-color: var(--olive); text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.rule-bar { height: 3px; background: var(--rust); width: 64px; margin-top: 0.25rem; margin-bottom: 1.5rem; }
.muted { color: var(--muted); }

/* Header */
header.site { background: var(--ink); position: sticky; top: 0; z-index: 100; }
body.dark header.site, header.site { border-bottom: 3px solid var(--rust); }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; gap: 1rem; }
.logo { color: var(--on-dark); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.02em; text-decoration: none; }
.logo small { display: block; font-weight: 400; font-size: 0.62rem; color: var(--rule); letter-spacing: 0.06em; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--on-dark); font-weight: 600; text-decoration: none; opacity: 0.85; }
.nav-links a:hover, .nav-links a:focus { opacity: 1; text-decoration: underline; }
#theme-toggle { background: transparent; color: var(--rule); border: 1px solid var(--rule); border-radius: 999px; padding: 0.3rem 0.7rem; cursor: pointer; }

/* Sections */
section { padding: 3.5rem 0; }
.alt { background: var(--panel); }

/* Hero */
.hero { text-align: center; padding: 4.5rem 0 4rem; }
.hero .kicker { color: var(--rust); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 0.8rem; }
.hero .tagline { font-size: 1.25rem; color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.product-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; }
.product-card.featured { border: 2px solid var(--rust); }
.product-card img { width: 100%; border-radius: 8px; margin-bottom: 1rem; border: 1px solid var(--rule); }
.product-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 800; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--panel); color: var(--olive); border: 1px solid var(--rule); }
.product-badge.paid { color: var(--rust); border-color: var(--rust); }
.product-price { font-size: 1.3rem; font-weight: 900; color: var(--rust); margin-bottom: 1rem; }
.product-card .btn { width: 100%; margin-top: auto; }
.product-card p { color: var(--muted); }

/* Feature list */
.checks { list-style: none; margin-top: 1rem; }
.checks li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; color: var(--muted); }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--rust); font-weight: 800; }

/* Footer */
footer.site { background: var(--ink); color: var(--on-dark); padding: 2.2rem 0; text-align: center; }
footer.site p { margin-bottom: 0.5rem; }
footer.site a { color: var(--rust-bright); }
.footer-links { display: flex; gap: 1.8rem; justify-content: center; margin: 0.8rem 0; flex-wrap: wrap; list-style: none; }
.footer-compliance { color: var(--rule); font-size: 0.82rem; font-style: italic; max-width: 46rem; margin: 0.8rem auto 0; }
.footer-copyright { color: var(--rule); font-size: 0.85rem; margin-top: 0.9rem; border-top: 1px solid var(--rule); padding-top: 0.9rem; }

/* Skip link */
.skip-link { position: absolute; top: -48px; left: 0; background: var(--rust); color: #fff; padding: 0.75rem 1rem; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 0; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .header-content { flex-direction: column; gap: 0.6rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
}

/* --- utilities + brand-mark mode swap (added 2026-06-12, EDA) --- */
.mt-15 { margin-top: 1.5rem; }
.maxw { max-width: 46rem; }
.mark-dark { display: none; }
@media (prefers-color-scheme: dark) {
  body:not(.light) .mark-light { display: none; }
  body:not(.light) .mark-dark { display: inline-block; }
}
body.dark .mark-light { display: none; }
body.dark .mark-dark { display: inline-block; }
.wordmark-hero { width: 320px; max-width: 80vw; height: auto; }
