:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-raised: #f1f5f9;
  --border: #cbd5e1;
  --border-focus: #047857;
  --accent: #047857;
  --accent-hover: #065f46;
  --accent-glow: rgba(4, 120, 87, 0.15);
  --danger: #be123c;
  --danger-bg: #fff1f2;
  --danger-border: #fecdd3;
  --warning: #92400e;
  --success: #047857;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --text: #0f172a;
  --text-muted: #334155;
  --text-dim: #475569;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: #ffffff;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Full-bleed section background bands */
.band {
  width: 100%;
  box-sizing: border-box;
}
.band-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}
.band-inner--wide {
  max-width: min(1560px, 96vw);
}

/* Band backgrounds (Sober, mature palette: off-white, light gray, soft beige + subtle diagonal stripes) */
.band-header {
  background: #ffffff;
  padding: 24px 0 32px 0;
  border-bottom: 1px solid #e7e5e4;
}

/* Clean solid light rose for hazard exposure (Zero oblique lines) */
.band-risk {
  background: #fff5f5;
  padding: 36px 0;
  border-bottom: 1px solid #fecdd3;
}
/* Celebratory Festive Success Band (All 6 checks compliant) */
.band-success {
  background-color: #ecfdf5;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20 L24 24 M24 20 L20 24' stroke='%2310b981' stroke-width='2' stroke-linecap='round' opacity='0.25'/%3E%3Ccircle cx='60' cy='30' r='2.5' fill='%23f59e0b' opacity='0.3'/%3E%3Cpolygon points='90,15 93,22 100,22 94,26 97,33 90,28 83,33 86,26 80,22 87,22' fill='%2310b981' opacity='0.2'/%3E%3Cpath d='M15 75 Q25 65 35 75 T55 75' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' opacity='0.25'/%3E%3Ccircle cx='85' cy='70' r='3' fill='%2310b981' opacity='0.25'/%3E%3Cpolygon points='30,100 32,105 38,105 33,108 35,114 30,110 25,114 27,108 22,105 28,105' fill='%23f59e0b' opacity='0.22'/%3E%3Cpath d='M95 95 L102 102 M102 95 L95 102' stroke='%2310b981' stroke-width='2' stroke-linecap='round' opacity='0.25'/%3E%3C/svg%3E");
  background-repeat: repeat;
  border-bottom: 1px solid #a7f3d0;
  padding: 34px 0;
}
.success-card-content {
  display: flex;
  align-items: center;
  gap: 22px;
}
.success-badge-icon {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid #a7f3d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.12);
  flex-shrink: 0;
}
.success-main-info {
  flex: 1;
  min-width: 0;
}
.success-title {
  color: #065f46 !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.success-desc {
  color: #047857;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 820px;
  margin-bottom: 12px;
}
.success-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.success-pill-tag {
  background: #ffffff;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 3px 12px;
  box-shadow: 0 1px 3px rgba(4, 120, 87, 0.08);
}
@media (max-width: 640px) {
  .success-card-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .success-title {
    font-size: 18px !important;
  }
}
/* Clean solid light gray */
.band-checks {
  background: #f4f6f8;
  padding: 36px 0;
  border-bottom: 1px solid #e2e8f0;
}
/* Clean solid soft beige (Zero oblique lines) */
.band-cookies {
  background: #faf8f5;
  padding: 36px 0;
  border-bottom: 1px solid #e7e5e4;
}
/* Off-White Section (Clean, no saturated cyan) */
.band-trackers {
  background: #ffffff;
  padding: 32px 0;
  border-bottom: 1px solid #e7e5e4;
}
/* Light Gray Neutral Comparator (No loud green) */
.band-comparator {
  background: #f4f6f8;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}
/* Soft Beige Fines Gazette */
.band-fines {
  background: #fcfbf9;
  padding: 36px 0;
  border-bottom: 1px solid #e7e5e4;
}
.band-footer {
  margin-top: auto;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 32px 0;
  border-bottom: none;
  width: 100%;
}
.footer-info {
  text-align: center;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.6;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  text-decoration: none;
}
.brand-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.brand span { color: var(--accent); }
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-select {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.lang-select:focus {
  border-color: var(--accent);
}
.hero { text-align: center; margin-bottom: 2rem; }
.hero h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 12px;
}
.hero p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}
.search-section {
  max-width: 680px;
  width: 100%;
  margin: 0 auto 2rem auto;
}
.domain-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 12px;
}
.meta-item strong {
  color: #0f172a;
  font-weight: 700;
}
.meta-item svg {
  color: #64748b;
  flex-shrink: 0;
}
.audit-section {
  margin-bottom: 28px;
  width: 100%;
}
/* Section 2: Hazard Penalty Risk */

/* Section 3: Technical Blueprint Checklist (6 Checks) */

/* Section 4: Forensic Cookies Inventory Ledger */

/* Section 5: External Trackers & Telemetry Radar */

/* Section 6: Recommended CMP Comparator Marketplace */

/* Section 7: Judicial Fines Gazette */

/* Initial Search Section */
.section-head {
  margin-bottom: 12px;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.45;
}
.report-hero-panel {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
  box-shadow: none;
}
.feat-label-full { display: inline; }
.feat-label-short { display: none; }
.jur-estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.jur-estimate-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.jur-estimate-value {
  font-size: 26px;
  font-weight: 700;
  color: #be123c;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 760px) {
  }
.risk-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  text-align: center;
}
.jur-title-select {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  outline: none;
  cursor: pointer;
  max-width: 100%;
  transition: border-color 0.2s;
}
.jur-title-select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.risk-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.risk-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.risk-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-width: 0;
}
.risk-box-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin: 0;
}
@media (max-width: 640px) {
  .risk-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.risk-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.risk-badge--BAJO {
  background: #f1f5f9;
  color: #334155;
}
.risk-badge--MEDIO {
  background: #fef3c7;
  color: #92400e;
}
.risk-badge--ALTO {
  background: #ffe4e6;
  color: #9f1239;
}
.risk-badge--EXTREMO {
  background: #9f1239;
  color: #fff1f2;
}
.risk-metric {
  font-size: 14px;
  color: #0f172a;
  margin: 0;
}
.risk-note {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.jur-notes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jur-note {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}
.jur-note a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.check-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}


/* Forensic Risk Band (Full-Bleed Solid Rose Background) */.risk-action-block {
  flex-shrink: 0;
}
.btn-resolve {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-resolve:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
}
.risk-disclaimer-bar {
  background: transparent;
  border-top: none;
  padding: 0;
  margin-top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.disclaimer-icon {
  flex-shrink: 0;
  color: #94a3b8;
}
.report-panel {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.search-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.search-box {
  display: flex;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.input-url {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 15px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
}
.btn-scan {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-scan:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-scan:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.spinner-box {
  text-align: center;
  padding: 40px 20px;
}
.spinner-ring {
  width: 52px;
  height: 52px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  margin: 0 auto 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-steps {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 500px;
  margin: 18px auto 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.step-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
  flex-shrink: 0;
}

  /* Mobile checks-list adjustments */
  .checks-list {
    margin: 12px 0 20px 0;
    border-radius: 10px;
  }
  .check-item {
    padding: 13px 14px;
  }
  .check-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
  .check-title {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .check-explanation {
    padding-left: 0;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.45;
  }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cache-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.pill-success {
  background: var(--success-bg);
  color: #065f46;
  border: 1px solid var(--success-border);
}
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
/* Grouped Cookies Inventory Table */
.cookie-inventory-group {
  margin-top: 20px;
}
.cookie-inventory-group:first-child {
  margin-top: 10px;
}
.cookie-group-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-group-title--danger {
  color: #9f1239;
}
.cookie-group-title--tech {
  color: #1e293b;
}
.cookies-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  width: 100%;
}
.cookies-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.cookies-table th {
  background: #f8fafc;
  padding: 11px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cookies-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text);
}
.cookies-table tr:last-child td {
  border-bottom: none;
}
.cookies-table tr:hover td {
  background: #fafbfd;
}
.cookie-name-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.cookie-provider-cell {
  font-weight: 600;
  color: #1e293b;
  font-size: 12.5px;
  white-space: nowrap;
}
.cookie-purpose-cell {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
  min-width: 240px;
  max-width: 440px;
}
.cookie-cat-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
}
.cookie-cat--marketing {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.cookie-cat--analytics {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.cookie-cat--necessary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.cookie-declared-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cookie-declared--yes {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.cookie-declared--no {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.cookie-duration-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.cookie-domain-badge {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.chip {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip-danger {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.chip-tech {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.chip-network {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}


/* 6 Compliance Checks List Styles */
.checks-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  margin: 14px 0 24px 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.check-item {
  padding: 15px 18px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}
.check-item:last-child {
  border-bottom: none;
}
.check-item--failed {
  background: #fffdfd;
}
.check-item--passed {
  background: #ffffff;
}
.check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.check-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.check-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}
.check-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.check-badge--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.check-badge--ko {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.check-explanation {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 26px;
}

/* CodyHouse Products Comparison Matrix Table */
.comparator-section {
  margin-top: 36px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  width: 100%;
}
.comparator-header {
  margin-bottom: 20px;
  text-align: left;
}
.comparator-header h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 6px;
}
.comparator-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cd-comparison-container {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin-top: 14px;
}
.cd-comparison-table {
  display: flex;
  position: relative;
  width: 100%;
}
.cd-features-col {
  flex: 0 0 170px;
  width: 170px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  z-index: 5;
  position: sticky;
  left: 0;
  box-shadow: 4px 0 12px rgba(15, 23, 42, 0.04);
}
.cd-products-wrapper {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.cd-products-track {
  display: flex;
  width: 100%;
  min-width: max-content;
}
.cd-product-col {
  flex: 1 1 175px;
  min-width: 175px;
  border-right: 1px solid #f1f5f9;
  text-align: center;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: background 0.15s ease;
}
.cd-product-col:hover {
  background: #fafbfd;
}
.cd-product--featured {
  background: #f0fdf4 !important;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  position: relative;
  z-index: 3;
}
.cd-cell {
  padding: 0 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
}
.cd-cell--header {
  height: 90px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.cd-product--featured .cd-cell--header {
  background: #f0fdf4;
}
.cd-features-col .cd-cell--header {
  background: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  color: #0f172a;
  justify-content: flex-start;
  padding-left: 18px;
}
.cd-features-col .cd-cell,
.cd-features-col .cd-cell--price,
.cd-features-col .cd-cell--topic {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-left: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.cd-features-col .cd-cell--score {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}
.cd-cell--score {
  height: 64px;
  justify-content: center;
  gap: 2px;
  background: #fafbfd;
}
.cd-product--featured .cd-cell--score {
  background: #e6f7ec;
}
.cd-cell--price {
  height: 60px;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
}
.cd-cell--topic {
  height: 62px;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}
.cd-cell--action {
  height: 66px;
  justify-content: center;
  border-bottom: none;
}
.cd-features-col .cd-cell--action {
  border-bottom: none;
}
.cd-score-num {
  font-size: 22px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: #0f172a;
}
.cd-score--featured {
  color: var(--accent);
}
.cd-score-max {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
}
.cd-prod-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  margin-bottom: 5px;
}
.cd-prod-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.cd-price-val {
  font-size: 16px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #0f172a;
}
.cd-price-period {
  font-size: 11px;
  color: var(--text-muted);
}
.cd-topic-points {
  font-size: 12px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.points--high { color: #047857; }
.points--mid { color: #b45309; }
.points--low { color: #be123c; }
.cd-topic-verdict {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.cd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.cd-btn--featured {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
}
.cd-btn--featured:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cd-btn--referral {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid var(--border);
}
.cd-btn--referral:hover {
  background: var(--surface-raised);
  border-color: #cbd5e1;
}
  .fines-section {
  margin-top: 36px;
  width: 100%;
}
.fines-header {
  text-align: left;
  margin-bottom: 20px;
}
.fines-header h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 6px;
}
.fines-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px 0;
}
.fines-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #334155;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fines-filter-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.fines-filter-btn.active {
  background: #ecfdf5;
  color: #065f46;
  border-color: var(--accent);
  font-weight: 700;
}
.fines-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 680px;
}
.fines-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.fine-row {
  display: grid;
  grid-template-columns: 32px 1fr 100px 115px 105px 115px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
  font-size: 13.5px;
}
.fine-row:hover {
  background: #f8fafc;
}
.fine-row:last-child {
  border-bottom: none;
}
.fine-entity {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
}
.fine-flag {
  font-size: 18px;
}
.fine-authority {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.authority-link {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.authority-link:hover {
  color: #065f46;
}
.fine-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.fine-badge {
  background: var(--danger-bg);
  color: #9f1239;
  border: 1px solid var(--danger-border);
  padding: 4px 10px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}
.fine-action {
  text-align: right;
  white-space: nowrap;
}
.fine-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.fine-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
.footer-info {
  text-align: center;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}
.hidden { display: none !important; }

/* Mobile Optimizations (Responsive Layout & Touch-Friendly UI) */
@media (max-width: 640px) {
  body {
    padding: 0;
    margin: 0;
  }
  .band {
    padding: 24px 0;
  }
  .band-inner {
    padding: 0 16px;
  }
  .section-card {
    padding: 16px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .risk-card-body {
    padding: 18px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .risk-metric-amount {
    font-size: 24px;
  }
  .btn-resolve {
    width: 100%;
    justify-content: center;
  }
  .risk-disclaimer-bar {
    padding: 0;
    align-items: flex-start;
  }
  .card-title {
    font-size: 16px;
  }
  .card-subtitle {
    font-size: 12.5px;
  }
  .container {
    max-width: 100%;
  }
  .top-nav {
    padding: 8px 14px;
    margin-bottom: 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  }
  .brand {
    font-size: 15px;
    font-weight: 800;
    gap: 6px;
  }
  .brand-mark {
    width: 8px;
    height: 8px;
  }
  .lang-select {
    padding: 5px 10px;
    font-size: 13px;
    max-width: 130px;
  }
  .hero {
    margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .search-section {
    margin-bottom: 1.5rem;
  }
  .search-box {
    flex-direction: column;
    padding: 6px;
    gap: 6px;
    border-radius: 12px;
  }
  .input-url {
    font-size: 16px; /* Prevents iOS Safari auto-zoom */
    padding: 10px 12px;
  }
  .btn-scan {
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 15px;
    border-radius: 8px;
  }
  .progress-steps {
    padding: 14px;
    margin: 14px auto 0 auto;
    gap: 8px;
  }
  .step-item {
    font-size: 12.5px;
    gap: 10px;
  }
  .report-panel {
    padding: 0;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile checks-list adjustments */
  .checks-list {
    margin: 12px 0 20px 0;
    border-radius: 10px;
  }
  .check-item {
    padding: 13px 14px;
  }
  .check-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
  .check-title {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .check-explanation {
    padding-left: 0;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  .report-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .report-title {
    font-size: 19px;
    line-height: 1.25;
    word-break: break-all;
  }
  .status-pill {
    font-size: 11px;
    padding: 5px 12px;
  }
  .risk-strip {
    padding: 12px 14px;
    margin-bottom: 16px;
  }
  .risk-strip h3 {
    font-size: 14px;
    line-height: 1.35;
  }
  .risk-strip p {
    font-size: 13px;
    line-height: 1.45;
  }
  .section-subhead {
    font-size: 11px;
    margin: 20px 0 8px 0;
  }
  .violation-title {
    font-size: 14px;
    line-height: 1.35;
  }
  .violation-desc {
    font-size: 13px;
    line-height: 1.45;
  }
  .chips-container {
    gap: 6px;
    margin-top: 8px;
  }
  .chip {
    font-size: 11px;
    padding: 4px 8px;
    max-width: 100%;
    word-break: break-all;
  }
  .comparator-section {
    margin-top: 26px;
    padding-top: 20px;
  }
  .comparator-header h2 {
    font-size: 18px;
  }
  .comparator-header p {
    font-size: 13px;
  }
  .feat-label-full { display: none; }
  .feat-label-short { display: inline; }
  .cd-comparison-container {
    border-radius: 10px;
    margin-top: 8px;
  }
  .cd-features-col {
    flex: 0 0 84px;
    width: 84px;
    box-shadow: 2px 0 6px rgba(15, 23, 42, 0.05);
  }
  .cd-features-col .cd-cell,
  .cd-features-col .cd-cell--price,
  .cd-features-col .cd-cell--topic {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 6px;
    padding-right: 4px;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
  }
  .cd-features-col .cd-cell--header {
    padding-left: 6px;
    font-size: 11px;
  }
  .cd-product-col {
    flex: 0 0 118px;
    width: 118px;
  }
  .cd-cell--header {
    padding: 8px 6px;
  }
  .cd-prod-badge {
    font-size: 8.5px;
    padding: 1px 4px;
    margin-bottom: 2px;
  }
  .cd-prod-name {
    font-size: 11.5px;
    line-height: 1.2;
  }
  .cd-score-num {
    font-size: 16px;
  }
  .cd-score-max {
    font-size: 10px;
  }
  .cd-price-val {
    font-size: 13.5px;
  }
  .cd-price-period {
    font-size: 9.5px;
  }
  .cd-cell--topic {
    padding: 8px 6px;
  }
  .cd-topic-points {
    font-size: 11px;
  }
  .cd-topic-verdict {
    font-size: 9.5px;
    line-height: 1.2;
  }
  .cd-cell--action {
    padding: 8px 6px;
  }
  .cd-btn {
    padding: 5px 8px;
    font-size: 10.5px;
    border-radius: 6px;
  }
  .fines-section {
    margin-top: 28px;
  }
  .fines-header h2 {
    font-size: 18px;
  }
  .fines-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 10px 0 14px 0;
    scrollbar-width: none;
  }
  .fines-filters::-webkit-scrollbar {
    display: none;
  }
  .fines-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 12px;
  }
  .fines-table {
    border-radius: 10px;
  }
  .fine-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    grid-template-areas:
      "flag entity badge"
      ". auth date"
      ". link link";
    row-gap: 6px;
    column-gap: 8px;
    align-items: center;
    padding: 12px 14px;
  }
  .fine-flag {
    grid-area: flag;
    align-self: start;
    font-size: 18px;
    padding-top: 1px;
  }
  .fine-entity {
    grid-area: entity;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
  }
  .fine-badge {
    grid-area: badge;
    align-self: start;
    font-size: 12px;
    padding: 3px 8px;
  }
  .fine-authority {
    grid-area: auth;
    font-size: 12px;
  }
  .fine-date {
    grid-area: date;
    font-size: 11.5px;
    white-space: nowrap;
    text-align: right;
    color: #64748b;
  }
  .fine-action {
    grid-area: link;
    margin-top: 2px;
    text-align: left;
  }
  .fine-link {
    font-size: 12px;
    font-weight: 700;
  }
  .footer-info {
    font-size: 12px;
    margin-top: 2rem;
    padding: 0 10px;
  }
}


/* ==========================================================================
   Legal Documents & Regulatory Views (.band-legal, .legal-article)
   ========================================================================== */
.band-legal-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 36px 0 32px 0;
}
.legal-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.legal-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
  transition: color 0.15s ease;
}
.legal-back-link:hover {
  color: #065f46;
  text-decoration: underline;
}
.legal-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
}
.legal-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.legal-hero-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 20px;
}
.legal-toc-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.legal-toc-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.legal-toc-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #047857;
}

.band-legal-body {
  background: #ffffff;
  padding: 44px 0 80px 0;
}
.legal-article-container {
  max-width: 860px;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 38px;
  scroll-margin-top: 24px;
}
.legal-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-section-number {
  color: #047857;
  font-size: 15px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}
.legal-paragraph {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 14px;
}
.legal-paragraph strong {
  color: #0f172a;
}
.legal-paragraph a {
  color: #047857;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-paragraph a:hover {
  color: #065f46;
}

/* Key-Value Structured Metadata Grid */
.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.legal-meta-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.legal-meta-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}
.legal-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}

/* Callout Card for Disclaimers and Warnings */
.legal-callout-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #047857;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
}
.legal-callout-card.alert-callout {
  border-left-color: #be123c;
  background: #fff5f5;
  border-color: #fecdd3;
}
.legal-callout-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.legal-callout-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Styled Table for Cookies & Technical Criteria */
.legal-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  width: 100%;
}
.legal-table-fullbleed {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  box-sizing: border-box;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.legal-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  line-height: 1.5;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Styled List */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.legal-list-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}
.legal-list-item::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #047857;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 640px) {
  .legal-hero-title {
    font-size: 23px;
  }
  .band-legal-hero {
    padding: 24px 0 20px 0;
  }
  .band-legal-body {
    padding: 28px 0 50px 0;
  }
  .legal-meta-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FAQ Section (.band-faq) - Linear Succession with <hr> Dividers
   ========================================================================== */
.band-faq {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 56px 0;
}
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  padding: 24px 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item:last-child {
  padding-bottom: 0;
}
.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-answer {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}
.faq-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0;
  width: 100%;
}

/* Risk result: centered column, same width and alignment as the search section */
#res-risk-box .section-head {
  text-align: center;
}
#res-risk-box .risk-summary .jur-notes,
#res-risk-box .risk-summary .risk-action-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#res-risk-box .risk-note,
#res-risk-box .jur-note {
  text-align: center;
}
#res-risk-box .risk-summary .risk-disclaimer-bar {
  justify-content: center;
  text-align: center;
  align-items: flex-start;
  max-width: 560px;
  width: auto;
}
