:root {
  --brand: #563440;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #fafafa;
  --card: #ffffff;
  --ring: rgba(17, 24, 39, 0.1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.5;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: 8px; transform: translateY(-200%);
  background: #fff; padding: 8px 10px; border-radius: 10px;
  box-shadow: 0 4px 10px var(--ring); text-decoration: none; color: var(--ink);
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand); color: #fff; border-bottom: 1px solid var(--ring);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 0;
}
.logo { font-weight: 800; color: #fff; text-decoration: none; }

.nav { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a:focus { text-decoration: underline; text-underline-offset: 3px; }

.hero { background: #fff; padding: 36px 0 18px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 0 0 6px; }
.hero .sub { margin: 0; color: var(--muted); }

.section { padding: 28px 0; }
.section h2 { margin: 0 0 16px; font-size: 20px; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px){ .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--card); border: 1px solid var(--ring);
  border-radius: 16px; padding: 16px; box-shadow: 0 2px 6px var(--ring);
}
.card-top { display: flex; gap: 14px; align-items: flex-start; }

.logo-img { width: 180px; height: 110px; object-fit: contain; display: block; }

.brand { margin: 0 0 4px; font-weight: 700; }
.meta { margin: 8px 0 0; font-size: 14px; color: var(--ink); }

.features { margin: 12px 0 0; padding: 0; list-style: none; }
.features li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: #10b981; margin-top: 1px; }

.terms { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.actions { margin-top: 14px; display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; font-weight: 700; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; transition: transform .1s, box-shadow .1s, opacity .1s;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 2px 8px var(--ring); }
.btn.primary:hover { opacity: .95; }
.btn.link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.rating { display: inline-flex; align-items: center; gap: 6px; }
.star { width: 16px; height: 16px; fill: #fbbf24; }
.star.dim { fill: #d1d5db; }
.score { font-size: 12px; color: var(--muted); }

.safety { display: flex; gap: 12px; align-items: center; }

.orgs { margin-top: 14px; display: grid; gap: 12px; }
@media (min-width: 640px) { .orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.org {
  display: flex; gap: 10px; align-items: center; padding: 12px;
  background: #fff; border: 1px solid var(--ring); border-radius: 12px;
  text-decoration: none; color: var(--ink);
}

.site-footer { border-top: 1px solid var(--ring); background: #fff; margin-top: 24px; color: var(--muted); font-size: 14px; }
.site-footer .container { padding: 18px 0; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; background: #ef4444; color: #fff; border-radius: 6px; margin-right: 8px; font-weight: 700;
}
