/* =============================================================
   DESIGN SYSTEM: Editorial Minimalism
   Palette: Off-white #FAFAF8 | Near-black #1A1A1A | Amber oklch(0.52 0.15 60)
   Typography: DM Serif Display (headings) + Inter (body)
   ============================================================= */

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

:root {
  --bg: oklch(0.99 0.003 85);
  --fg: oklch(0.14 0.005 60);
  --amber: oklch(0.52 0.15 60);
  --amber-dark: oklch(0.44 0.15 60);
  --border: oklch(0.88 0.005 60);
  --muted: oklch(0.55 0.01 60);
  --muted-light: oklch(0.40 0.008 60);
  --hero-bg: linear-gradient(180deg, oklch(0.97 0.004 80) 0%, oklch(0.99 0.003 85) 100%);
  --footer-bg: oklch(0.14 0.005 60);
  --footer-banner-bg: oklch(0.20 0.008 60);
  --footer-border: oklch(0.28 0.008 60);
  --radius: 0.375rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.page-wrap {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .page-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .page-wrap { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ── Header ── */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .page-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  color: var(--fg);
}
.logo .amber { color: var(--amber); }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--fg); margin: 4px 0; border-radius: 2px;
  transition: 0.2s;
}
.mobile-nav {
  display: none;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.5rem 0;
  font-size: 0.9rem; color: var(--fg);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 639px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* Offer header (product pages — no nav, logo non-clickable) */
.offer-header {
  background: white;
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
}
.offer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1;
  user-select: none;
  color: var(--fg);
}
.offer-logo .amber { color: var(--amber); }

/* ── CTA Button ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--amber);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: 100%;
  transition: background 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: var(--amber-dark); }
.btn-cta.large { font-size: clamp(0.9rem, 2.5vw, 1.1rem); padding: 0.9rem 1.75rem; }

/* ── Section label ── */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Hero grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr auto; }
}

.hero-image-wrap { display: none; }
@media (min-width: 1024px) {
  .hero-image-wrap { display: block; }
}

/* ── Stars ── */
.stars { display: flex; gap: 2px; }
.star { font-size: 14px; color: var(--amber); }
.star.empty { color: oklch(0.80 0.01 60); }

/* ── Feature list ── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem 2rem;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.5;
}
.feature-list li::before {
  content: "✓";
  color: oklch(0.55 0.14 145);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Pros/Cons grid ── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}
.pros-card, .cons-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.pros-card h3 { color: oklch(0.45 0.14 145); margin-bottom: 0.75rem; font-size: 0.95rem; }
.cons-card h3 { color: oklch(0.50 0.20 25); margin-bottom: 0.75rem; font-size: 0.95rem; }
.pros-list, .cons-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pros-list li, .cons-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.85rem; color: var(--muted-light); line-height: 1.5;
}
.pros-list li::before { content: "✓"; color: oklch(0.55 0.14 145); font-weight: 700; flex-shrink: 0; }
.cons-list li::before { content: "✗"; color: oklch(0.50 0.20 25); font-weight: 700; flex-shrink: 0; }

/* ── Testimonials grid ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.testimonial-card blockquote {
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.6;
  margin: 0.5rem 0;
  font-style: italic;
}
.testimonial-name { font-size: 0.78rem; font-weight: 600; color: var(--fg); }
.testimonial-loc { font-size: 0.72rem; color: var(--muted); }

/* ── Risk disclaimer ── */
.risk-box {
  background: oklch(0.97 0.008 80);
  border: 1px solid oklch(0.85 0.02 70);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.risk-box.compact { padding: 0.6rem 0.9rem; }
.risk-icon { color: oklch(0.60 0.12 70); flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }
.risk-box p {
  font-size: 0.78rem;
  color: oklch(0.45 0.01 60);
  line-height: 1.55;
  margin: 0;
}
.risk-box.compact p { font-size: 0.72rem; }
.risk-box strong { color: oklch(0.38 0.008 60); }

/* ── Guarantee badge ── */
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.guarantee-badge .shield { color: var(--amber); }

/* ── Section headings ── */
.section-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--fg);
  margin-bottom: 1.25rem;
}

/* ── Info card (sidebar) ── */
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.7;
}
.info-card p { margin: 0; }
.info-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

/* ── Page content grid (2/3 + 1/3) ── */
.page-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .page-content-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ── Page hero (gradient header for info pages) ── */
.page-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

/* ── Footer ── */
footer {
  background: var(--footer-bg);
  color: white;
  margin-top: auto;
}
.footer-banner {
  background-color: var(--footer-banner-bg);
  border-bottom: 1px solid var(--footer-border);
}
.footer-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
  color: oklch(0.72 0.01 60);
  padding: 1rem 0;
}
.footer-banner strong { color: oklch(0.85 0.01 60); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}
.footer-brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.footer-brand-name .amber { color: var(--amber); }
.footer-brand-desc {
  font-size: 0.8rem;
  color: oklch(0.60 0.008 60);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.55 0.008 60);
  margin-bottom: 0.75rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.82rem;
  color: oklch(0.65 0.008 60);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: oklch(0.85 0.01 60); }
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  margin-top: 0;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-copyright { font-size: 0.75rem; color: oklch(0.50 0.008 60); }
.footer-disclaimer { font-size: 0.7rem; color: oklch(0.45 0.008 60); line-height: 1.5; }

/* ── Dark CTA section ── */
.dark-cta {
  background: oklch(0.14 0.005 60);
  padding: 2.5rem 0;
}
.dark-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.dark-cta p {
  font-size: 0.9rem;
  color: oklch(0.68 0.008 60);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 440px;
}
.dark-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Utility ── */
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.text-muted-light { color: var(--muted-light); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-center { text-align: center; }
.min-h-screen { min-height: 100vh; }
.flex-1 { flex: 1; }
.border-bottom { border-bottom: 1px solid var(--border); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.faq-a { font-size: 0.9rem; color: var(--muted-light); line-height: 1.65; }

/* ── Legal page ── */
.legal-section { margin-bottom: 2rem; }
.legal-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0.75rem 0 0.4rem;
}
.legal-section p {
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.legal-section ul {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.75;
}
.legal-last-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── Contact cards ── */
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.contact-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.contact-card p { font-size: 0.875rem; color: var(--muted-light); line-height: 1.6; }
.contact-card a { color: var(--amber); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ── Cookie table ── */
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 1rem 0; }
.cookie-table th {
  background: oklch(0.96 0.002 60);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--fg);
  border: 1px solid var(--border);
}
.cookie-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted-light);
  vertical-align: top;
}

/* ── Home hero ── */
.home-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3.5rem;
}
.home-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.home-hero p {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.75;
  max-width: 480px;
}

/* ── Trust signals ── */
.trust-bar {
  padding: 2rem 0;
  border-bottom: 1px solid oklch(0.92 0.005 60);
}
.trust-items { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (min-width: 640px) { .trust-items { gap: 2.5rem; } }
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.trust-item .icon { color: var(--amber); font-size: 1rem; }
.trust-item span { font-size: 0.85rem; font-weight: 500; color: var(--muted-light); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease-out forwards; }

/* ── Additional classes for static pages ── */

/* flex layout helpers */
.flex-col-layout { display: flex; flex-direction: column; }

/* legal h2 alias */
.legal-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: #1A1A1A;
  margin-bottom: 0.75rem;
}

/* legal subsection */
.legal-subsection {
  padding-left: 1rem;
  border-left: 2px solid oklch(0.88 0.005 60);
  margin-bottom: 0.75rem;
}
.legal-subsection-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.35rem;
}

/* contact cards grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-card-icon {
  color: oklch(0.52 0.15 60);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.contact-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(0.52 0.01 60);
  margin-bottom: 0.35rem;
}
.contact-card-link {
  font-size: 0.85rem;
  color: oklch(0.52 0.15 60);
  font-weight: 500;
  text-decoration: none;
}
.contact-card-link:hover { text-decoration: underline; }

/* cookie table alt row */
.cookie-table .alt-row td { background: oklch(0.98 0.002 60); }
.cookie-table .cookie-type { font-weight: 600; color: #1A1A1A; white-space: nowrap; }

/* amber helper */
.amber { color: oklch(0.52 0.15 60); }

/* =============================================
   FAQ ACCORDION (details/summary)
   ============================================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.faq-details {
  border-bottom: 1px solid var(--border);
}
.faq-details:last-child {
  border-bottom: none;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A1A;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; }

.faq-summary:hover {
  background: oklch(0.97 0.004 80);
}

.faq-summary::after {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}

.faq-details[open] > .faq-summary::after {
  transform: rotate(180deg);
}

.faq-details[open] > .faq-summary {
  background: oklch(0.97 0.004 80);
  color: oklch(0.40 0.12 60);
}

.faq-body {
  padding: 0.875rem 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  background: #fff;
}
