/* styles.css — seed: 338dbfedb33a779ba69689f6a145eb654aae9d008dae97d3b527c448297fd33a — archetype: editorial */
:root {
  --bg: #f6f8f4;
  --bg-elevated: #fafdfb;
  --border: hsla(143 18% 82% / 0.55);
  --text: #0a1f14;
  --muted: #3d5248;
  --link: hsl(143 72% 28%);
  --link-hover: hsl(143 76% 22%);
  --link-on-dark: #d4e8dc;
  --link-on-dark-hover: #f0faf3;
  --on-pitch-muted: #b8c9be;
  --accent: hsl(143 68% 36%);
  --accent-strong: hsl(143 72% 28%);
  --gold: #ffc93a;
  --danger: #e85d4c;
  --pitch: #0a1f14;
  --on-accent: #0a1f14;
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --max: 1120px;
  --shadow: 0 4px 24px hsla(var(--accent-h, 145) 30% 20% / 0.08);
}

/* Layout shell — :root injected by node 6d from palette agent */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body.theme-light {
  background-image: radial-gradient(ellipse 90% 60% at 50% -10%, hsla(var(--accent-h, 220) 60% 50% / 0.12), transparent);
}

body.theme-dark {
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, hsla(var(--accent-h, 220) 60% 50% / 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, hsla(var(--gold-h, 90) 60% 50% / 0.06), transparent);
}

a {
  color: var(--link, var(--accent-strong));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover, var(--accent-strong));
}

a.btn,
a.btn-primary {
  text-decoration: none;
}

.link-affiliate {
  color: var(--link, var(--accent-strong));
  font-weight: 700;
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display, var(--font));
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
  color: var(--pitch, #fff);
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
}

.age-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--pitch, var(--text));
  color: var(--gold, #fff);
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}

.nav-list a:not(.btn-primary) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:not(.btn-primary):hover,
.nav-list a[aria-current="page"] {
  color: var(--link, var(--accent-strong));
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--on-accent, #fff);
  box-shadow: 0 4px 20px hsla(var(--accent-h, 220) 60% 40% / 0.35);
}

.btn-primary:hover {
  color: var(--on-accent, #fff);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

main h1 {
  font-family: var(--font-display, var(--font));
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

section {
  margin: 1.75rem 0;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

section[data-role="hero"] {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-strong) 10%, var(--bg-elevated)),
    var(--bg-elevated)
  );
  padding: 1.75rem 1.5rem;
}

section[data-role="hero"] h2 {
  font-family: var(--font-display, var(--font));
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.section-body {
  color: var(--text);
}

.section-body a {
  color: var(--link, var(--accent-strong));
  font-weight: 600;
}

.section-body > *:first-child {
  margin-top: 0;
}

.section-body > *:last-child {
  margin-bottom: 0;
}

.section-body p {
  margin: 0.65rem 0;
}

.section-body ul,
.section-body ol {
  margin: 0.75rem 0;
  padding-left: 1.35rem;
}

.section-body li + li {
  margin-top: 0.35rem;
}

.section-body li::marker {
  color: var(--accent-strong);
}

section[data-role="navigation"] .section-body ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

section[data-role="navigation"] .section-body a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

section[data-role="navigation"] .section-body a:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

section[data-role="content"] {
  padding: 1.25rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
}

.md-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.95rem;
  background: var(--bg);
}

.md-table th,
.md-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.md-table th {
  background: color-mix(in srgb, var(--accent-strong) 8%, var(--bg-elevated));
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.md-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg-elevated) 70%, var(--bg));
}

.md-table tbody tr:last-child td {
  border-bottom: none;
}

.md-table a {
  font-weight: 600;
  color: var(--link, var(--accent-strong));
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card a {
  color: var(--link, var(--accent-strong));
  font-weight: 600;
}

.cross-links {
  margin: 2rem 0 0;
  padding: 1.15rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cross-links h2 {
  font-size: 1rem;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.cross-links ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
}

.cross-links li {
  margin-bottom: 0.4rem;
}

.cross-links a {
  color: var(--link, var(--accent-strong));
  font-weight: 600;
  text-decoration: underline;
}

.cross-links a:hover {
  color: var(--link-hover, var(--accent-strong));
}

.page-cta {
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.cta-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: none;
  background: var(--pitch, var(--text));
  color: var(--on-pitch-muted, #b8c9be);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
}

.site-footer__legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--bg) 12%, transparent);
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(120px, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-col p,
.footer-brand p {
  margin: 0 0 0.35rem;
  color: var(--on-pitch-muted, #b8c9be);
}

.footer-links a {
  color: var(--link-on-dark, #d4e8dc);
  text-decoration: underline;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--link-on-dark-hover, #f0faf3);
}

.footer-col ul,
.footer-brand p {
  margin-top: 0.35rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.site-footer .btn-primary {
  margin-top: 0.35rem;
  color: var(--on-accent, #fff);
}

.anchor-nav {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  padding: 0 1.25rem;
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0.75rem 1rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.anchor-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  color: var(--link, var(--accent-strong));
}

.faq-a p {
  margin: 0.5rem 0 0;
}

.footer-disclaimers {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: var(--on-pitch-muted, #b8c9be);
  opacity: 1;
}

.footer-disclaimers li + li {
  margin-top: 0.35rem;
}

details {
  margin: 0.5rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .age-badge {
    margin-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open .nav-list {
    display: flex;
  }
}
