/* ==========================================
   Legitness — Design System v2
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:        #0d1b3e;
  --navy-mid:    #152248;
  --navy-light:  #1e3163;
  --green:       #00b37a;
  --green-dark:  #009966;
  --green-light: #e6f7f1;
  --amber:       #f59e0b;
  --amber-light: #fffbeb;
  --red:         #e63946;
  --red-light:   #fef2f2;
  --cream:       #f8f7f4;
  --grey-100:    #f3f4f6;
  --grey-200:    #e5e7eb;
  --grey-400:    #9ca3af;
  --grey-600:    #4b5563;
  --text:        #0d1b3e;
  --text-muted:  #6b7280;
  --white:       #ffffff;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm: 0 1px 3px rgba(13,27,62,0.06), 0 1px 2px rgba(13,27,62,0.04);
  --shadow:    0 4px 12px rgba(13,27,62,0.08), 0 2px 4px rgba(13,27,62,0.04);
  --shadow-lg: 0 16px 40px rgba(13,27,62,0.12), 0 4px 12px rgba(13,27,62,0.06);
  --shadow-xl: 0 24px 64px rgba(13,27,62,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ==========================================
   Layout
   ========================================== */

.container        { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: 800px;  margin: 0 auto; padding: 0 24px; }

/* ==========================================
   Header
   ========================================== */

.site-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { display: block; }
.logo span { color: var(--green); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  padding: 8px 36px 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  width: 210px;
  outline: none;
  transition: all 0.2s;
}

.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.header-search input:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  width: 250px;
}

.header-search-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  padding: 0;
  display: flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}

/* ==========================================
   Hero — Homepage
   ========================================== */

.hero {
  background: var(--navy);
  padding: 80px 24px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Green glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,179,122,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,179,122,0.15);
  color: #34d399;
  border: 1px solid rgba(0,179,122,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  position: relative;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-search-wrap {
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

.hero-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 20px 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.hero-search input::placeholder { color: var(--grey-400); }

.hero-search-btn {
  background: var(--green);
  border: none;
  padding: 14px 26px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 0 14px 14px 0;
}

.hero-search-btn:hover { background: var(--green-dark); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.hero-stat-num   { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-200);
  overflow: hidden;
  z-index: 50;
  display: none;
}

.search-results.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
  transition: background 0.1s;
  text-decoration: none;
  color: var(--text);
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cream); }

.search-result-name   { font-weight: 600; font-size: 0.95rem; font-family: var(--font-display); }
.search-result-domain { font-size: 0.78rem; color: var(--grey-400); margin-top: 1px; }

.search-result-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.badge-legit   { background: var(--green-light); color: var(--green-dark); }
.badge-caution { background: var(--amber-light); color: #b45309; }
.badge-avoid   { background: var(--red-light); color: var(--red); }

.search-no-results { padding: 18px; text-align: center; color: var(--grey-400); font-size: 0.875rem; }

/* ==========================================
   Trust Score — SVG Arc
   ========================================== */

.trust-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-score-arc {
  position: relative;
  width: 130px;
  height: 130px;
}

.trust-score-arc svg {
  transform: rotate(-90deg);
}

.arc-bg   { fill: none; stroke: var(--grey-200); stroke-width: 9; }
.arc-fill { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1); }
.arc-fill.score-legit   { stroke: var(--green); }
.arc-fill.score-caution { stroke: var(--amber); }
.arc-fill.score-avoid   { stroke: var(--red); }

.trust-score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trust-score-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.trust-score-num.score-legit   { color: var(--green-dark); }
.trust-score-num.score-caution { color: var(--amber); }
.trust-score-num.score-avoid   { color: var(--red); }

.trust-score-max   { font-size: 0.7rem; color: var(--grey-400); font-weight: 500; margin-top: 1px; }
.trust-score-label { font-size: 0.72rem; color: var(--grey-400); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

/* ==========================================
   Verdict Banner
   ========================================== */

.verdict-banner {
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border: 1.5px solid;
}

.verdict-banner.verdict-legit   { background: var(--green-light); border-color: #6ee7b7; }
.verdict-banner.verdict-caution { background: var(--amber-light); border-color: #fcd34d; }
.verdict-banner.verdict-avoid   { background: var(--red-light);   border-color: #fca5a5; }

.verdict-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }

.verdict-text h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.verdict-text p { font-size: 0.875rem; opacity: 0.85; line-height: 1.5; }

.verdict-legit   .verdict-text h2 { color: #065f46; }
.verdict-caution .verdict-text h2 { color: #78350f; }
.verdict-avoid   .verdict-text h2 { color: #7f1d1d; }

/* ==========================================
   Brand Hero
   ========================================== */

.brand-hero {
  background: var(--navy);
  padding: 32px 0 0;
  position: relative;
  overflow: hidden;
}

.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.brand-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding-bottom: 36px;
  position: relative;
}

.brand-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.75px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.brand-hero-domain { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin-bottom: 16px; }

.brand-hero-quick { display: flex; flex-wrap: wrap; gap: 8px; }

.brand-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 4px 11px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================
   Page Layout
   ========================================== */

.page-body { padding: 32px 0 72px; background: var(--cream); }

.page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.side-col { position: sticky; top: 80px; }

/* ==========================================
   Cards
   ========================================== */

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3 .card-icon { font-size: 1rem; }

/* ==========================================
   Check List
   ========================================== */

.check-list { display: flex; flex-direction: column; gap: 11px; }

.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.55; }

.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 1px;
}

.check-icon.pass { background: var(--green-light); color: var(--green-dark); }
.check-icon.fail { background: var(--red-light); color: var(--red); }
.check-icon.warn { background: var(--amber-light); color: #b45309; }

/* ==========================================
   Info Table
   ========================================== */

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--grey-100); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 10px 0; font-size: 0.855rem; vertical-align: top; }
.info-table td:first-child { color: var(--grey-400); font-weight: 500; width: 140px; padding-right: 12px; }
.info-table td:last-child  { font-weight: 600; color: var(--text); }

/* ==========================================
   Trust Bar
   ========================================== */

.trust-bar-wrap { margin-bottom: 8px; }

.trust-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.trust-bar-label .font-bold { font-weight: 700; color: var(--text); }

.trust-bar-track {
  height: 7px;
  background: var(--grey-100);
  border-radius: 4px;
  overflow: hidden;
}

.trust-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.trust-bar-fill.score-legit   { background: linear-gradient(90deg, #059669, #00b37a); }
.trust-bar-fill.score-caution { background: linear-gradient(90deg, #d97706, #f59e0b); }
.trust-bar-fill.score-avoid   { background: linear-gradient(90deg, #dc2626, #e63946); }

/* ==========================================
   Sidebar
   ========================================== */

.vpn-widget {
  background: linear-gradient(145deg, #0a0e1a 0%, #0f1b36 100%);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--white);
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.vpn-widget h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.vpn-widget p  { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 16px; }
.vpn-logo      { font-size: 1.5rem; margin-bottom: 12px; }

.vpn-btn {
  display: block;
  background: linear-gradient(135deg, #C0392B, #e10a6e);
  color: var(--white);
  text-align: center;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}

.vpn-btn:hover { opacity: 0.9; }

.report-widget {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
  text-align: center;
}

.report-widget .report-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.report-widget h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.report-widget p  { font-size: 0.78rem; color: var(--grey-400); margin-bottom: 14px; line-height: 1.5; }

.report-widget ul { text-align: left; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.report-widget ul li {
  font-size: 0.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.report-widget ul li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 0.75rem; flex-shrink: 0; }

.report-btn {
  display: block;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}

.report-btn:hover { background: var(--navy-light); }

.ad-slot {
  background: var(--grey-100);
  border: 1px dashed var(--grey-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--grey-400);
  font-size: 0.72rem;
  margin-bottom: 16px;
}

/* ==========================================
   Brand Cards
   ========================================== */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.brand-card {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 14px;
  transition: all 0.15s;
  text-decoration: none;
}

.brand-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-1px); }
.brand-card-name  { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--navy); margin-bottom: 4px; }
.brand-card-score { font-size: 0.75rem; color: var(--grey-400); }
.brand-card-score strong { font-weight: 700; }

.score-legit   strong { color: var(--green-dark); }
.score-caution strong { color: var(--amber); }
.score-avoid   strong { color: var(--red); }

/* ==========================================
   Homepage Sections
   ========================================== */

.section { padding: 64px 0; }
.section-alt { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 44px; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-header p { color: var(--grey-400); font-size: 0.95rem; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 16px 22px;
  text-decoration: none;
  transition: all 0.15s;
}

.category-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.category-icon { font-size: 2.2rem; margin-bottom: 12px; }
.category-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.category-count { font-size: 0.75rem; color: var(--grey-400); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.step {}

.step-num {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p  { font-size: 0.875rem; color: var(--grey-400); line-height: 1.65; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.stat-num   { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: var(--grey-400); }

/* ==========================================
   Page Hero (inner pages)
   ========================================== */

.page-hero {
  background: var(--navy);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  position: relative;
}

.page-hero p { color: rgba(255,255,255,0.55); font-size: 1rem; max-width: 520px; position: relative; }

/* ==========================================
   Breadcrumb
   ========================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  padding: 14px 0;
  flex-wrap: wrap;
  position: relative;
}

.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { opacity: 0.3; }

/* ==========================================
   Modal
   ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,62,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px);
  transition: transform 0.2s;
  position: relative;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.modal p  { font-size: 0.875rem; color: var(--grey-400); margin-bottom: 22px; line-height: 1.5; }

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: var(--grey-100);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--grey-400);
  line-height: 1;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.modal-close:hover { background: var(--grey-200); color: var(--text); }

/* ==========================================
   Forms
   ========================================== */

.form-group { margin-bottom: 18px; }

.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; color: var(--text); font-family: var(--font-display); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,62,0.08);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); }
.btn-green   { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }

/* ==========================================
   Notices
   ========================================== */

.notice {
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.845rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.notice-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.notice-warn    { background: var(--amber-light); border: 1px solid #fcd34d; color: #78350f; }
.notice-success { background: var(--green-light); border: 1px solid #6ee7b7; color: #065f46; }

/* ==========================================
   Footer
   ========================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.84rem; line-height: 1.65; max-width: 260px; margin-top: 14px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.855rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.77rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================
   Filter buttons
   ========================================== */

.filter-btn {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-600);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ==========================================
   Skip link
   ========================================== */

.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--navy); color: var(--white);
  padding: 8px 16px; border-radius: 4px;
  font-size: 0.875rem; z-index: 999;
  transition: top 0.15s;
}
.skip-link:focus { top: 8px; }

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .side-col  { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-mid);
    padding: 12px 16px; gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .site-header .container { position: relative; }
  .hero { padding: 56px 20px 64px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-score-arc { width: 110px; height: 110px; }
}

/* ==========================================
   Utility
   ========================================== */

.font-bold { font-weight: 700; }
.text-green { color: var(--green-dark); }
.text-amber { color: var(--amber); }
.text-red   { color: var(--red); }
.text-grey  { color: var(--grey-400); }
.mb-0 { margin-bottom: 0 !important; }
