:root {
    --palladian:      #EEE9DF;
  --oatmeal:        #C9C1B1;
  --blue-fantastic: #2C3B4D;
  --abyssal:        #1B2632;
  --flame:          #FFB162;
  --truffle:        #A35139;
    --blocked:  #D32F2F;
  --flagged:  #F57F17;
  --allowed:  #2E7D32;
    --bg:              var(--palladian);
  --surface:         var(--palladian);
  --surface-alt:     #E2DDD3;
  --border:          var(--oatmeal);
  --text:            var(--abyssal);
  --text-muted:      #5a5047;
  --accent:          var(--flame);
  --accent-pressed:  var(--truffle);
  --link:            var(--blue-fantastic);
  --link-hover:      var(--truffle);
    --toolbar-bg:   var(--blue-fantastic);
  --toolbar-text: var(--palladian);
    --max-width:   960px;
  --gap:         4rem;
  --radius:      0.75rem;
  --ease:        0.15s ease;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:          var(--abyssal);
    --surface:     #243040;
    --surface-alt: #1f2a38;
    --border:      #2c3a4a;
    --text:        var(--palladian);
    --text-muted:  #a09486;
    --link:        var(--flame);
    --link-hover:  var(--palladian);
      }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
h1, h2, h3 { line-height: 1.2; }
a {
  color: var(--link);
  text-decoration: underline;
  transition: color var(--ease);
}
a:hover { color: var(--link-hover); }
img, svg { display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--gap) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  margin-bottom: 0.375rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.site-nav {
  background: var(--toolbar-bg);
  color: var(--toolbar-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  flex-shrink: 0;
}
.nav-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--toolbar-text);
  letter-spacing: -0.01em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-legal {
  color: var(--toolbar-text);
  opacity: 0.7;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity var(--ease);
}
.nav-legal:hover { opacity: 1; color: var(--toolbar-text); }
.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}
.nav-lang a, .nav-lang .lang-sep {
  color: var(--toolbar-text);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity var(--ease);
}
.nav-lang a:hover { opacity: 1; color: var(--toolbar-text); }
.nav-lang .lang-current { font-weight: 700; opacity: 1; color: var(--toolbar-text); }
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.hero h1 {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 1rem;
}
.hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--abyssal);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 2px 8px rgba(255, 177, 98, 0.35);
}
.btn-primary:hover {
  background: var(--accent-pressed);
  color: var(--palladian);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(163, 81, 57, 0.4);
}
.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.125rem;
  margin-top: 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-icon {
  font-size: 1.625rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.5rem; }
.how-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}
.how-table th,
.how-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.how-table thead th {
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  background: var(--surface-alt);
}
.how-table tbody tr:last-child td { border-bottom: none; }
.outcome-allowed { color: var(--allowed); font-weight: 700; }
.outcome-flagged { color: var(--flagged); font-weight: 700; }
.outcome-blocked { color: var(--blocked); font-weight: 700; }
.how-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.how-note-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}
.how-note-item strong { display: block; margin-bottom: 0.25rem; font-size: 0.9375rem; }
.how-note-item p { font-size: 0.875rem; color: var(--text-muted); }
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-fantastic);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.feature-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.privacy-section {
  background: var(--blue-fantastic);
  color: var(--palladian);
  padding: 4rem 0;
  text-align: center;
}
.privacy-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--palladian);
  margin-bottom: 0.625rem;
}
.privacy-section .section-sub {
  color: var(--palladian);
  opacity: 0.8;
  margin-bottom: 1.75rem;
}
.privacy-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.privacy-pills li {
  list-style: none;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(238, 233, 223, 0.35);
  border-radius: 2rem;
  font-size: 0.9rem;
  color: var(--palladian);
}
.privacy-note {
  font-size: 0.875rem;
  color: var(--palladian);
  opacity: 0.65;
}
.onboarding-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.onboarding-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--abyssal);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-top: 0.1rem;
}
.step-body h3 { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.2rem; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-list summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details[open] summary { color: var(--link); }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.site-footer {
  background: var(--abyssal);
  color: var(--palladian);
  padding: 2.5rem 0;
  font-size: 0.875rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--palladian);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--ease);
}
.footer-links a:hover { opacity: 1; color: var(--palladian); }
.footer-matomo {
  width: 100%;
  font-size: 0.8rem;
  color: var(--palladian);
  opacity: 0.45;
  margin-top: 0.5rem;
}
.footer-copy { opacity: 0.45; }
.legal-body h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.legal-body .legal-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 0.625rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1rem; }
.legal-body p,
.legal-body li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-body ul, .legal-body ol { padding-left: 1.5rem; margin-top: 0.5rem; }
.legal-body li + li { margin-top: 0.25rem; }
.legal-body p + p { margin-top: 0.75rem; }
.legal-body a { word-break: break-all; }
.legal-placeholder {
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: 0.25rem;
  padding: 0.1em 0.4em;
  font-family: monospace;
  font-size: 0.875em;
  color: var(--text);
}
@media (max-width: 768px) {
  :root { --gap: 2.75rem; }
  .hero { padding: 3.25rem 0 2.5rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .how-note { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 0.75rem; }
  .privacy-pills { flex-direction: column; align-items: center; }
}
