/*
 * ProtoConsent browser extension
 * Copyright (C) 2026 ProtoConsent contributors
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * For more details see <https://www.gnu.org/licenses/>.
 */

:root {
  --pc-bg-light: #dbeafe;
  --pc-blue: #1e3a8a;
  --pc-body-bg: #f3f4f6;
  --pc-text-main: #111827;
  --pc-muted: #6b7280;
  --pc-border: #e5e7eb;
  --pc-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pc-text-main);
  background-color: var(--pc-body-bg);
}

a {
  color: var(--pc-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

header {
  padding: 12px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--pc-bg-light);
  border: 1px solid var(--pc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--pc-blue);
  font-weight: 600;
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-blue);
}

.header-link {
  font-size: 13px;
  color: var(--pc-muted);
}

main {
  flex: 1;
}

.hero {
  background-color: var(--pc-white);
  border-radius: 12px;
  border: 1px solid var(--pc-border);
  padding: 24px 20px 22px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--pc-text-main);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--pc-muted);
  margin: 0 0 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-meta {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: var(--pc-bg-light);
  padding: 0.75rem 1.5rem;
}

.hero-meta-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--pc-blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--pc-bg-light);
  color: var(--pc-blue);
  font-size: 13px;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--pc-blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background-color: var(--pc-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  text-decoration: none;
}

.btn-secondary {
  font-size: 12px;
  color: var(--pc-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-footnote {
  font-size: 13px;
  color: var(--pc-muted);
  margin-top: 8px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 780px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--pc-white);
  border-radius: 10px;
  border: 1px solid var(--pc-border);
  padding: 18px 16px 16px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pc-muted);
}

.card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 8px;
}

.card ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

.card li {
  margin-bottom: 4px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pill {
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--pc-bg-light);
  color: var(--pc-blue);
  font-size: 13px;
  border: 1px solid rgba(30, 58, 138, 0.12);
}

.audience-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--pc-border);
}

.audience-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-muted);
  margin-bottom: 4px;
}

footer {
  border-top: 1px solid var(--pc-border);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--pc-muted);
}

.footer-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}

.footer-links a {
  color: var(--pc-muted);
}
