/* Tested Consumer Guide — magazine homepage clone */
:root {
  --sky-1: #0EA5E9;
  --sky-2: #0284C7;
  --text: #4A5568;
  --ink: #1A1F2C;
  --page: #F5F7FA;
  --card: #fff;
  --rule: #E2E8F0;
  --primary: #3a5f95;
  --header-h: 56px;
  --wide: 1200px;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --chrome: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* SECTION: HEADER */
.site-header { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.header-inner { max-width: var(--wide); margin: 0 auto; height: var(--header-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-link { display: block; padding: 10px 14px; color: var(--primary); font-family: var(--chrome); font-size: 15px; font-weight: 500; border-radius: 4px; }
.nav-link:hover { background: #fafbfc; }
.menu-toggle { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; }
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle span { transition: .15s ease; }

/* SECTION: HERO */
.hero { background: linear-gradient(135deg, var(--sky-1) 0%, var(--sky-2) 100%); color: #fff; text-align: center; padding: 88px 24px 96px; }
.hero h1 { margin: 0 0 16px; font-size: 56px; line-height: 1.15; font-weight: 700; color: #fff; }
.hero .subtitle { margin: 0 0 16px; font-size: 22px; font-weight: 600; }
.hero .tagline { margin: 0 auto; max-width: 720px; font-size: 18px; opacity: .95; }

/* SECTION: STATS */
.stats { background: #fff; }
.stats-inner { max-width: var(--wide); margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.stat h3 { margin: 0 0 6px; color: var(--ink); font-size: 18px; }
.stat p { margin: 0; font-size: 14px; }

/* SECTION: REVIEW PROCESS */
.section { padding: 72px 20px; }
.section-inner { max-width: var(--wide); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-title { margin: 0 0 12px; font-size: 40px; line-height: 1.2; color: var(--ink); font-weight: 700; }
.section-description { margin: 0; font-size: 18px; }
.process-carousel { position: relative; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(15, 23, 42, .08); }
.process-card { display: none; }
.process-card.active { display: block; }
.process-card-image { width: 100%; height: 320px; object-fit: cover; }
.process-card-body { padding: 28px 32px 20px; text-align: center; }
.process-card-number { width: 36px; height: 36px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--sky-1), var(--sky-2)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.process-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 24px; }
.process-card p { margin: 0; }
.process-indicators { display: flex; justify-content: center; gap: 8px; padding: 8px 0 24px; }
.indicator { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; border: 0; cursor: pointer; padding: 0; }
.indicator.active { background: var(--sky-2); }

/* SECTION: CATEGORIES */
.category-section { padding-top: 24px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--wide); margin: 0 auto; }
.category-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 32px 16px; text-align: center; }
.category-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.category-card h4 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; }

/* SECTION: TESTING PHILOSOPHY */
.trust { background: linear-gradient(160deg, #1e3a5f 0%, #0f2744 55%, #1a365d 100%); color: #fff; padding: 72px 20px; }
.trust .section-title, .trust .section-description { color: #fff; }
.trust .section-description { opacity: .85; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--wide); margin: 0 auto; }
.trust-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 28px 24px; }
.trust-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.trust-card h3 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.trust-card p { margin: 0; color: rgba(255,255,255,.85); }

/* SECTION: CTA */
.cta { text-align: center; padding: 80px 20px; }
.cta h2 { margin: 0 0 12px; font-size: 36px; color: var(--ink); }
.cta p { margin: 0 auto 28px; max-width: 560px; }
.cta-button { display: inline-block; background: linear-gradient(135deg, var(--sky-1), var(--sky-2)); color: #fff; font-weight: 600; padding: 14px 32px; border-radius: 9999px; box-shadow: 0 8px 20px rgba(2, 132, 199, .28); }
.cta-button:hover { color: #fff; filter: brightness(1.05); }

/* SECTION: FOOTER */
.site-footer { background: #fff; border-top: 1px solid var(--rule); }
.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 32px 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 24px; justify-content: center; }
.footer-nav a { color: var(--primary); font-family: var(--chrome); font-size: 14px; font-weight: 500; }
.fineprint { margin: 0; max-width: 680px; font-size: 12.5px; color: #8a8f9e; }
.fineprint a { color: #4a5063; text-decoration: underline; }
.copyright { margin: 0; font-size: 13px; color: #8a8f9e; }
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border: none; background: var(--primary); color: #fff; border-radius: 50%; cursor: pointer; opacity: 0; pointer-events: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(10,26,61,.18); z-index: 50; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* Legal interiors */
.legal-hero { background: linear-gradient(135deg, var(--sky-1), var(--sky-2)); color: #fff; text-align: center; padding: 64px 20px; }
.legal-hero h1 { margin: 0 0 12px; font-size: 42px; color: #fff; }
.legal-hero p { margin: 0 auto; max-width: 640px; opacity: .95; }
.legal-body { max-width: 800px; margin: 0 auto; padding: 48px 20px 72px; }
.legal-body h2 { color: var(--ink); font-size: 26px; margin: 36px 0 12px; }
.legal-body h3 { color: var(--ink); }
.legal-body p { margin: 0 0 16px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 24px; margin: 20px 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.stat-box { background: #fff; border-radius: 12px; padding: 24px; text-align: center; border: 1px solid var(--rule); }
.stat-number { font-size: 28px; font-weight: 700; color: var(--sky-2); }
.stat-label { font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.value-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 20px; }
.value-card h3 { margin: 8px 0; color: var(--ink); }
.mission-box { background: #fff; border-left: 4px solid var(--sky-1); padding: 20px 24px; margin: 24px 0; border-radius: 0 12px 12px 0; }
.warn { background: #fff7ed; border-left: 4px solid #f59e0b; padding: 16px 20px; border-radius: 6px; color: #92400e; }
.contact-list, .contact-warning-list { padding-left: 20px; list-style: disc; margin: 12px 0; }
.contact-warning-box { background: #fef2f2; border-radius: 8px; padding: 16px 20px; margin-top: 16px; }
.email { font-weight: 600; color: var(--ink); }

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .stats-inner, .stats-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 30px; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 56px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); max-height: 0; overflow: hidden; }
  .site-nav.open { max-height: 280px; }
  .nav-menu { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .nav-link { padding: 12px 20px; }
  .process-card-image { height: 200px; }
}
