@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;0,7..72,700;1,7..72,400&display=swap');

:root {
  --forest: #1F3D2A;
  --forest-deep: #152A1D;
  --sand: #E8DFD0;
  --sand-light: #FBF8F2;
  --clay: #C47A4A;
  --clay-dark: #A86438;
  --moss: #6B8F71;
  --moss-light: #8FAE94;
  --ink: #2C2418;
  --muted: #5C5347;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --sidebar-w: 260px;
  --shadow: 0 4px 24px rgba(31, 61, 42, 0.08);
  --font-display: 'Literata', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-light);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-top: 0; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }

/* Age notice */
.age-notice {
  background: var(--forest-deep);
  color: var(--sand);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.age-notice span {
  display: inline-block;
  background: var(--clay);
  color: var(--white);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}

/* Shell layout */
.site-shell {
  display: flex;
  min-height: calc(100vh - 32px);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--forest);
  color: var(--sand);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem 1rem;
  text-decoration: none;
  color: var(--sand-light);
  border-bottom: 1px solid rgba(232, 223, 208, 0.12);
}

.sidebar-brand img { flex-shrink: 0; }

.sidebar-brand__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.sidebar-brand__text em {
  font-style: normal;
  color: var(--moss-light);
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-nav { padding: 1.25rem 0; flex: 1; }

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--sand);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--clay);
  color: var(--sand-light);
}

.sidebar-footer {
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.75rem;
  color: rgba(232, 223, 208, 0.6);
  border-top: 1px solid rgba(232, 223, 208, 0.12);
}

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 2.75rem;
  left: 1rem;
  z-index: 220;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--sand);
  border: 2px solid rgba(232, 223, 208, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible {
  background: #274d35;
  border-color: var(--clay);
  outline: none;
}

.sidebar-toggle__box {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.sidebar-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sand);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.sidebar-toggle__bar:nth-child(1) { top: 0; }
.sidebar-toggle__bar:nth-child(2) { top: 6px; }
.sidebar-toggle__bar:nth-child(3) { top: 12px; }

.sidebar-toggle[aria-expanded="true"] {
  border-color: var(--clay);
  background: #274d35;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(2) {
  opacity: 0;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 36, 24, 0.55);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.sidebar-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* Main column */
.main-column {
  flex: 1;
  min-width: 0;
}

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 60%, rgba(107, 143, 113, 0.15) 100%);
  border-bottom: 1px solid rgba(31, 61, 42, 0.08);
  padding: 2.5rem 2rem;
}

.hero__inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
  margin: 0 0 0.75rem;
}

.hero__title {
  margin: 0 0 1rem;
}

.hero__title span { color: var(--clay); }

.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(31, 61, 42, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
}

.tag--clay {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.hero__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 2.5rem 2rem;
}

.section--alt {
  background: var(--white);
  border-radius: var(--radius);
  margin: 0 2rem 2rem;
  box-shadow: var(--shadow);
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head p {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.affiliate-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(232, 223, 208, 0.5);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--clay);
  margin-bottom: 1.5rem;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--forest);
  color: var(--sand);
}

.trust-strip__item {
  text-align: center;
  padding: 0.75rem;
}

.trust-strip__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clay);
  display: block;
}

.trust-strip__label {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Timeline verdicts */
.verdict-timeline {
  position: relative;
  padding-left: 3rem;
}

.verdict-timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--moss), var(--sand));
}

.verdict-item {
  position: relative;
  margin-bottom: 2rem;
}

.verdict-item:last-child { margin-bottom: 0; }

.verdict-marker {
  position: absolute;
  left: -3rem;
  top: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--forest);
  color: var(--sand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border: 3px solid var(--sand-light);
  box-shadow: 0 0 0 2px var(--moss);
}

.verdict-card {
  background: var(--white);
  border: 1px solid rgba(31, 61, 42, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.verdict-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.verdict-card__logo {
  width: 72px;
  height: 44px;
  object-fit: contain;
  background: var(--sand-light);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.verdict-card__title {
  flex: 1;
  min-width: 140px;
}

.verdict-card__title h3 {
  margin: 0 0 0.25rem;
}

.verdict-card__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clay);
}

.rating-stars {
  color: var(--clay);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.verdict-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--moss);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.verdict-card__offer {
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.verdict-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.verdict-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--sand);
  border-radius: 999px;
  color: var(--muted);
}

.verdict-card__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.btn-cta {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--clay);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}

.btn-cta:hover {
  background: var(--clay-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-cta--outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-cta--outline:hover {
  background: var(--forest);
  color: var(--sand-light);
}

/* Methodology */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.method-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.method-steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
  counter-increment: step;
}

.method-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--moss);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Operator notes */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.note-panel {
  background: var(--sand-light);
  border: 1px solid rgba(31, 61, 42, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.note-panel h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.note-panel p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq-list { border-top: 1px solid rgba(31, 61, 42, 0.1); }

.faq-item { border-bottom: 1px solid rgba(31, 61, 42, 0.1); }

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
  cursor: pointer;
}

.faq-trigger::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--clay);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-trigger::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-answer { display: block; }

/* Safer CTA */
.safer-cta {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.safer-cta h2 { color: var(--sand-light); margin-bottom: 0.75rem; }

.safer-cta p { opacity: 0.9; max-width: 540px; margin: 0 auto 1.25rem; }

.safer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.safer-links a {
  color: var(--sand-light);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(232, 223, 208, 0.3);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.safer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(232, 223, 208, 0.85);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: var(--sand-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: rgba(232, 223, 208, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--clay); }

.footer-bottom {
  max-width: 820px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 223, 208, 0.12);
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--forest-deep);
  color: var(--sand);
  padding: 1rem 1.5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.cookie-btn--accept {
  background: var(--clay);
  color: var(--white);
}

.cookie-btn--decline {
  background: transparent;
  color: var(--sand);
  border: 1px solid rgba(232, 223, 208, 0.3);
}

/* Inner pages */
.page-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(31, 61, 42, 0.08);
}

.page-header h1 { margin: 0 0 0.5rem; }

.page-header p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

.page-content {
  padding: 2rem;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
}

.page-content h2:first-child { margin-top: 0; }

.prose { max-width: 680px; }

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(31, 61, 42, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--white);
}

.contact-form textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 900px) {
  .site-shell { flex-direction: column; }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(300px, 86vw);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.28);
    z-index: 210;
  }

  .sidebar.is-open { transform: translateX(0); }

  .sidebar-toggle { display: inline-flex; }

  .sidebar-nav a {
    padding: 0.9rem 1.25rem;
    font-size: 1.02rem;
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }

  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section--alt { margin: 0 1rem 1.5rem; }
  .content-wrap { padding: 1.5rem 1rem 2rem; }
}

@media (max-width: 480px) {
  .verdict-timeline { padding-left: 2.5rem; }
  .verdict-marker { left: -2.5rem; width: 1.85rem; height: 1.85rem; font-size: 0.65rem; }
  .trust-strip { grid-template-columns: 1fr; }
}
