/* ==========================================================================
   Seduced AI Editorial — Design System
   Dark neutral surfaces, violet/pink accents, black-and-yellow warnings.
   WCAG AA contrast targets. Mobile-first.
   ========================================================================== */

:root {
  --bg: #09090b;
  --surface: #15141a;
  --surface-2: #201d29;
  --text: #f8f7fb;
  --muted: #b8b3c3;
  --brand: #a855f7;
  --brand-strong: #7e22ce;
  --accent: #ec4899;
  --warning: #facc15;
  --warning-text: #111111;
  --border: #34303e;
  --success: #22c55e;
  --danger: #ef4444;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --article-width: 760px;
  --wide-width: 1120px;
  --radius: 10px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--warning);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--warning);
  color: var(--warning-text);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--warning-text);
}

/* ---------- Layout containers ---------- */
.container { max-width: var(--wide-width); margin: 0 auto; padding: 0 1rem; }
.article-column { max-width: var(--article-width); margin: 0 auto; padding: 0 1rem; }

/* ---------- 18+ adults-only strip (black & yellow) ---------- */
.adults-only-strip {
  background: var(--warning);
  color: var(--warning-text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.4;
}
.adults-only-strip strong { font-weight: 800; }

.adults-only-notice {
  background: #111111;
  color: var(--warning);
  border: 2px solid var(--warning);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

/* ---------- Header & nav ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.site-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo .logo-mark { color: var(--brand); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.menu-toggle {
  display: none;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.55rem 0.8rem;
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
}

/* ---------- CTA buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  min-height: 44px;
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-strong), var(--accent));
  color: #ffffff;
}
.btn-primary:hover { filter: brightness(1.12); color: #ffffff; }
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--text); }

.cta-disclosure {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ---------- Disclosure / notices ---------- */
.affiliate-disclosure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 1.25rem 0;
}

.safety-notice, .consent-notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--danger);
  border-radius: 6px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.consent-notice { border-left-color: var(--warning); }

.income-notice {
  background: #111111;
  border: 2px solid var(--warning);
  color: var(--warning);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-weight: 600;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.25rem 0 0.5rem;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- Article typography ---------- */
.article-body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
}
.article-body h2, .article-body h3, .article-body h4,
h1, .h1 {
  font-family: var(--font-ui);
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 90px;
}
h1, .h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); font-weight: 800; margin: 0.5rem 0 1rem; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin: 2.25rem 0 0.75rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.15rem;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 0 6px 6px 0;
  color: var(--muted);
  font-style: italic;
}
.article-body strong { color: var(--text); }
.article-body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}

.reviewed-date {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: var(--font-ui);
}

.quick-answer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  border-radius: 6px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

/* ---------- Tables (scrollable on mobile) ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.table-wrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.table-wrap caption {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 700;
  background: var(--surface-2);
  caption-side: top;
}
.table-wrap th, .table-wrap td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-wrap thead th {
  background: var(--surface-2);
  font-weight: 700;
  white-space: nowrap;
}
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }

/* ---------- Cards & grids ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { margin-top: 0; }
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 1.5rem 0;
}
.card .card-link { font-weight: 600; font-family: var(--font-ui); }

/* Verdict / summary card */
.verdict-card {
  background: var(--surface);
  border: 1px solid var(--brand-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.verdict-card dl { display: grid; gap: 0.6rem; margin: 0; grid-template-columns: 1fr; }
.verdict-card dt { font-weight: 700; font-family: var(--font-ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand); }
.verdict-card dd { margin: 0 0 0.5rem; color: var(--text); }
@media (min-width: 640px) {
  .verdict-card dl { grid-template-columns: 1fr 1fr; }
}

/* Pros & cons */
.pros-cons { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.pros { border-top: 3px solid var(--success); }
.cons { border-top: 3px solid var(--danger); }
.pros h3, .cons h3 { margin-top: 0; font-size: 1.05rem; }
.pros ul, .cons ul { margin-bottom: 0; padding-left: 1.25rem; }

/* Trust row */
.trust-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 1.5rem 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.trust-row .trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  color: var(--muted);
}
.trust-row .trust-item strong { color: var(--text); display: block; }

/* ---------- Table of contents ---------- */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.toc h2 { margin: 0 0 0.5rem; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { margin-bottom: 0.3rem; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--surface);
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-family: var(--font-ui);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 1.15rem 1rem; color: var(--muted); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Related articles ---------- */
.related-articles { margin: 2.5rem 0; }
.related-articles h2 { font-family: var(--font-ui); }

/* ---------- Hero ---------- */
.hero {
  padding: 2.5rem 0 1.5rem;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(50% 70% at 10% 10%, rgba(236, 72, 153, 0.10), transparent 55%);
}
.hero .kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-family: var(--font-ui);
}
.hero .lede { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer h2 { font-size: 0.95rem; color: var(--text); margin: 0 0 0.6rem; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.83rem;
}
.footer-warning {
  background: var(--warning);
  color: var(--warning-text);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

/* ---------- Utilities ---------- */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-pad { padding: 2rem 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
