@import url('compliance.css');

:root {
  --charcoal: #1A1A1A;
  --charcoal-soft: #2C2C2C;
  --ivory: #F7F3EE;
  --ivory-warm: #EEE8DF;
  --amber: #C8963E;
  --amber-light: #E0B060;
  --amber-dark: #9E7228;
  --sage: #4A5C4E;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: #DDD6CC;
  --white: #FFFFFF;
  --section-alt: #F2EDE6;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 8, 5, 0.88);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.popup-box { background: var(--white); border-radius: 4px; max-width: 480px; width: 100%; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.5); }
.popup-header { background: var(--charcoal); padding: 28px 32px 24px; text-align: center; }
.popup-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border: 3px solid var(--amber); border-radius: 50%;
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--amber); margin-bottom: 16px;
}
.popup-header h2 { font-family: 'Playfair Display', serif; color: var(--ivory); font-size: 22px; font-weight: 700; }
.popup-body { padding: 28px 32px; }
.popup-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.popup-warning { background: #FFF5E6; border-left: 3px solid var(--amber); padding: 12px 16px; font-size: 13px; color: var(--text-secondary); margin: 16px 0; }
.popup-confirm-btn {
  display: block; width: 100%; background: var(--sage); color: var(--white);
  border: none; border-radius: 3px; padding: 15px 24px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 20px;
}
.popup-deny-btn {
  display: block; width: 100%; background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 3px; padding: 12px 24px;
  font-size: 13px; text-decoration: none; margin-top: 8px; text-align: center;
}

.trust-bar { background: var(--charcoal); padding: 10px 0; overflow: hidden; }
.trust-bar-inner { display: flex; animation: marquee 28s linear infinite; white-space: nowrap; }
.trust-bar-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 32px;
  font-size: 11px; font-weight: 500; color: rgba(247,243,238,.55);
  letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0;
}
.trust-bar-item .dot { width: 5px; height: 5px; background: var(--amber); border-radius: 50%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

header {
  background: var(--charcoal-soft); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(200,150,62,.2);
}
nav {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  color: var(--ivory); text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo-accent { color: var(--amber); }
.logo-icon {
  width: 32px; height: 32px; background: var(--amber); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--charcoal); font-family: 'Playfair Display', serif;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(247,243,238,.7); text-decoration: none; }
.nav-links a:hover { color: var(--amber); }
.nav-badge {
  background: var(--sage); color: var(--white); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 2px; letter-spacing: .05em; text-transform: uppercase;
}

.cwf-legal-breadcrumb {
  max-width: 800px; margin: 0 auto; padding: 20px 24px 0;
  font-size: 13px; color: var(--text-muted);
}
.cwf-legal-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.cwf-legal-breadcrumb a:hover { color: var(--amber-dark); }
.cwf-legal-breadcrumb span { margin: 0 8px; }

.cwf-legal-hero {
  background: var(--charcoal); padding: 48px 24px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.cwf-legal-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200,150,62,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cwf-legal-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.cwf-legal-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--amber-light);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.cwf-legal-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--ivory); line-height: 1.25;
}
.cwf-legal-hero h1 em { color: var(--amber); font-style: normal; }
.cwf-legal-hero p {
  margin-top: 16px; font-size: 15px; color: rgba(247,243,238,.65); line-height: 1.7; max-width: 600px; margin-left: auto; margin-right: auto;
}

.cwf-legal-wrap {
  max-width: 800px; margin: 0 auto; padding: 48px 24px 64px;
}
.cwf-legal-content section { margin-bottom: 40px; }
.cwf-legal-content h2 {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cwf-legal-content h3 {
  font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700;
  color: var(--charcoal); margin: 24px 0 10px;
}
.cwf-legal-content p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px;
}
.cwf-legal-content ul, .cwf-legal-content ol {
  margin: 12px 0 16px 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.8;
}
.cwf-legal-content li { margin-bottom: 8px; }
.cwf-legal-content a { color: var(--amber-dark); text-decoration: underline; text-underline-offset: 2px; }
.cwf-legal-content a:hover { color: var(--amber); }

.cwf-legal-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin: 28px 0;
}
.cwf-legal-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 24px 20px;
}
.cwf-legal-card-icon { font-size: 28px; margin-bottom: 12px; }
.cwf-legal-card h3 { margin: 0 0 8px; font-size: 16px; }
.cwf-legal-card p { font-size: 14px; margin-bottom: 0; }

.cwf-legal-alert {
  background: #FFF5E6; border-left: 3px solid var(--amber);
  padding: 16px 20px; border-radius: 0 4px 4px 0; margin: 24px 0;
}
.cwf-legal-alert p { margin-bottom: 0; font-size: 14px; }
.cwf-legal-alert strong { color: var(--charcoal); }

.cwf-legal-contact {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  padding: 24px; margin-top: 32px;
}
.cwf-legal-contact p { margin-bottom: 8px; font-size: 14px; }
.cwf-legal-updated { font-size: 13px; color: var(--text-muted); margin-top: 40px; font-style: italic; }

.cwf-reg-strip {
  background: var(--section-alt); border-top: 1px solid var(--border); padding: 36px 24px;
}
.cwf-reg-strip__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 20px;
}
.cwf-reg-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-soft); border: 1px solid rgba(26, 26, 26, .12); border-radius: 4px;
  padding: 14px 18px; min-height: 58px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cwf-reg-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,26,.08); border-color: var(--amber); }
.cwf-reg-tile img { display: block; max-height: 44px; object-fit: contain; }

footer { background: var(--charcoal); color: rgba(247,243,238,.6); padding: 48px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(247,243,238,.1); flex-wrap: wrap;
}
.footer-brand .logo { margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-links-col h4 {
  font-size: 11px; font-weight: 600; color: rgba(247,243,238,.4);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 13px; color: rgba(247,243,238,.6); text-decoration: none; }
.footer-links-col a:hover { color: var(--amber-light); }
.footer-legal { padding-top: 32px; }
.footer-legal-warning {
  background: rgba(158,78,58,.15); border: 1px solid rgba(158,78,58,.3);
  border-radius: 3px; padding: 20px 24px; margin-bottom: 24px;
}
.footer-legal-warning p { font-size: 13px; line-height: 1.8; color: rgba(247,243,238,.75); }
.footer-legal-warning a { color: var(--amber-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px;
}
.age-badge-footer {
  display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: rgba(247,243,238,.5);
}
.age-badge-footer span {
  width: 28px; height: 28px; border: 2px solid var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--amber);
}

@media (max-width: 900px) {
  .nav-links, .nav-badge { display: none; }
  .footer-top { flex-direction: column; gap: 28px; }
  .cwf-legal-wrap { padding: 32px 20px 48px; }
}
