/* ==========================================
   Cekvara Design System
   Modern dark aesthetic, typography-driven, accessible
   ========================================== */

:root {
  --bg-primary: #0f0b24;
  --bg-secondary: #151033;
  --bg-card: #1b1540;
  --bg-card-hover: #241c55;
  --border-subtle: #2e2563;
  --border-focus: #9d87ff;

  --text-primary: #f5f3ff;
  --text-secondary: #aaa4cb;
  --text-muted: #7d76a3;

  --color-safe: #10b981;
  --color-safe-bg: rgba(16, 185, 129, 0.12);
  --color-safe-border: rgba(16, 185, 129, 0.3);

  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.12);
  --color-warning-border: rgba(245, 158, 11, 0.3);

  --color-danger: #f43f5e;
  --color-danger-bg: rgba(244, 63, 94, 0.12);
  --color-danger-border: rgba(244, 63, 94, 0.3);

  --color-neutral: #64748b;
  --color-neutral-bg: rgba(100, 116, 139, 0.12);
  --color-neutral-border: rgba(100, 116, 139, 0.3);

  --color-accent: #9d87ff;
  --color-accent-hover: #b9a6ff;
  --color-accent-bg: rgba(157, 135, 255, 0.16);

  --font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  padding-top: 65px;
}

/* Container */
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 11, 36, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 4px 14px -4px rgba(36, 25, 92, 0.55);
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-text span {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  height: 34px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px;
  flex-shrink: 0;
}

.lang-btn {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.lang-btn.active {
  background: var(--color-accent);
  color: #fff;
}

/* Privacy Shield Badge */
.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-safe-border);
  color: var(--color-safe);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* Hero Section */
.hero {
  padding: 56px 0 36px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-accent-bg);
  border: 1px solid rgba(139, 114, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: #b9a6ff;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* Input label & info control */
.input-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  position: relative;
}

.input-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Info (i) control button */
.info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
  position: relative;
}

.info-toggle:hover,
.info-toggle:focus-visible,
.info-toggle[aria-expanded="true"] {
  color: var(--color-accent);
}

.info-toggle:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.info-icon-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tooltip popover */
.info-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: max-content;
  max-width: min(285px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: auto;
}

.info-tooltip.is-visible {
  display: block;
}

.info-tooltip[hidden] {
  display: none !important;
}

.info-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: var(--arrow-x, 10px);
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  border-top-left-radius: 1px;
}

.info-tooltip-header {
  margin-bottom: 4px;
}

.info-tooltip-title {
  font-weight: 650;
  font-size: 12px;
  color: var(--text-primary);
  display: block;
}

.info-tooltip-desc {
  color: var(--text-secondary);
  font-size: 11.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.info-tooltip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-tooltip-list li {
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.tooltip-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.tooltip-code {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(139, 114, 255, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(139, 114, 255, 0.22);
}

/* Light theme support */
body.light-theme .info-tooltip {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

body.light-theme .info-tooltip::before {
  background: #ffffff;
  border-left-color: #cbd5e1;
  border-top-color: #cbd5e1;
}

body.light-theme .info-tooltip-title {
  color: #0f172a;
}

body.light-theme .info-tooltip-desc {
  color: #475569;
}

body.light-theme .info-tooltip-list li {
  color: #475569;
}

body.light-theme .tooltip-label {
  color: #334155;
}

body.light-theme .tooltip-code {
  background: #f3f0ff;
  color: #5638e0;
  border-color: #d9cfff;
}

/* Indonesian phone prefix */
.country-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-weight: 650;
  font-size: 13px;
}

.country-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

.country-code {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--color-accent);
  font-size: 10px;
  letter-spacing: .04em;
}

.search-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 72px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-mono);
  outline: none;
  transition: all 0.2s ease;
  min-width: 0;
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(139, 114, 255, 0.25);
  background: #221a4d;
}

.search-btn {
  height: 56px;
  padding: 0 28px;
  background: linear-gradient(135deg, #6a4ff0, #5638e0);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 48px;
  position: relative;
}

.search-btn-icon { width: 20px; height: 20px; }
.search-btn-spinner { width: 20px; height: 20px; display: none; }
.search-btn.is-loading .search-btn-icon { display: none; }
.search-btn.is-loading .search-btn-spinner { display: block; }

.search-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #8b72ff, #6a4ff0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(106, 79, 240, 0.35);
}

.search-btn:focus-visible {
  outline: 2px solid #b9a6ff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(139, 114, 255, 0.3);
}

.search-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.search-input:focus-visible {
  outline: none;
}

/* Quick Pick Chips */
.quick-picks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.chip-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  touch-action: manipulation;
  line-height: 1.2;
}

.chip-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: #8b72ff;
}

.quota-status {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.quota-status[hidden] {
  display: none;
}

.footer-links .quota-status {
  margin: 0;
}

/* Privacy Guarantee Banner */
.guarantee-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.guarantee-item {
  background: rgba(21, 16, 51, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.guarantee-item .icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.guarantee-item h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.guarantee-item p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Loading State */
.loading-box {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 32px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(139, 114, 255, 0.2);
  border-top-color: #8b72ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Result Card */
.result-card {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.phone-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.masked-display {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

.operator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.cache-badge {
  font-size: 12px;
  color: var(--text-muted);
}

/* Score Main Overview */
.score-overview {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  border: 1px solid var(--border-subtle);
}

.score-dial {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-dial svg {
  transform: rotate(-90deg);
  width: 110px;
  height: 110px;
}

.score-dial circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.dial-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.dial-value {
  stroke: var(--color-safe);
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1s ease, stroke 0.3s ease;
}

.dial-text {
  position: absolute;
  text-align: center;
}

.dial-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.dial-percent {
  font-size: 13px;
  color: var(--text-muted);
}

.score-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.score-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tag-safe {
  background: var(--color-safe-bg);
  border: 1px solid var(--color-safe-border);
  color: var(--color-safe);
}

.tag-warning {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning);
}

.tag-danger {
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: var(--color-danger);
}

.tag-neutral {
  background: var(--color-neutral-bg);
  border: 1px solid var(--color-neutral-border);
  color: var(--color-neutral);
}

/* Signal List */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.signal-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
}

.signal-pos .signal-icon {
  background: var(--color-safe-bg);
  color: var(--color-safe);
  border: 1px solid var(--color-safe-border);
}

.signal-neg .signal-icon {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid var(--color-danger-border);
}

.signal-neu .signal-icon {
  background: var(--color-neutral-bg);
  color: var(--color-neutral);
  border: 1px solid var(--color-neutral-border);
}

.signal-content {
  flex: 1;
}

.signal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.signal-title {
  font-size: 14px;
  font-weight: 600;
}

.signal-weight {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.weight-pos { color: var(--color-safe); background: var(--color-safe-bg); }
.weight-neg { color: var(--color-danger); background: var(--color-danger-bg); }
.weight-neu { color: var(--color-neutral); background: var(--color-neutral-bg); }

.signal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.signal-evidence {
  background: rgba(15, 11, 36, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  margin-top: 6px;
}

.evidence-title {
  font-weight: 600;
  color: #b9a6ff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2px;
}

.evidence-snippet {
  color: var(--text-muted);
  font-style: italic;
}

/* Citations & Sources */
.citations-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 28px;
}

.citation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.citation-item:last-child {
  border-bottom: none;
}

.citation-link {
  color: #b9a6ff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.citation-link:hover {
  text-decoration: underline;
}

/* Privacy Guarantee Box */
.privacy-notice {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--color-safe-border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Admin Drawer Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  padding: 16px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: min(620px, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.admin-unlock-btn {
  width: 100%;
  height: 42px;
  font-size: 14px;
}

.admin-unlock-btn[hidden] {
  display: none !important;
}

.modal-actions .search-btn {
  height: 42px;
  flex: 1;
  font-size: 14px;
  padding: 0 16px;
}

.modal-actions .chip-btn {
  height: 42px;
  padding: 0 16px;
  font-size: 13px;
  justify-content: center;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-field input, .form-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.checkbox-field span {
  font-size: 13px;
  line-height: 1.35;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
  border-color: var(--color-accent);
}

/* Icon system and theme controls */
.icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.brand-icon .icon-svg { width: 21px; height: 21px; color: #fff; }
.hero-tag .icon-svg, .section-title .icon-svg { color: var(--color-accent); }
.privacy-pill .icon-svg { width: 15px; height: 15px; }

.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.icon-button:hover { color: var(--text-primary); border-color: var(--color-accent); }
.icon-button .icon-moon { display: none; }

.chip-btn, .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-btn .icon-svg, .footer-links .icon-svg { width: 14px; height: 14px; }
.signal-icon .icon-svg { width: 19px; height: 19px; }
.evidence-title, .citation-link { display: inline-flex; align-items: center; gap: 6px; }
.evidence-title .icon-svg, .citation-link .icon-svg { width: 14px; height: 14px; }

body {
  background-image: radial-gradient(circle at 50% -15%, rgba(139, 114, 255, .13), transparent 35%);
  transition: background-color .25s ease, color .25s ease;
}

header { -webkit-backdrop-filter: blur(12px); }
.search-card, .result-card, .guarantee-item { backdrop-filter: blur(12px); }

body.light-theme {
  --color-accent: #6a4ff0;
  --color-accent-hover: #5638e0;
  --color-accent-bg: rgba(106, 79, 240, 0.1);
  --bg-primary: #f7f5ff;
  --bg-secondary: #ffffff;
  --bg-card: #faf9ff;
  --bg-card-hover: #f3f0ff;
  --border-subtle: #e4def8;
  --border-focus: #6a4ff0;
  --text-primary: #140e33;
  --text-secondary: #4f4870;
  --text-muted: #766f96;
  --color-safe-bg: rgba(5, 150, 105, .09);
  --color-safe-border: rgba(5, 150, 105, .28);
  --color-warning-bg: rgba(217, 119, 6, .1);
  --color-warning-border: rgba(217, 119, 6, .3);
  --color-danger-bg: rgba(225, 29, 72, .08);
  --color-danger-border: rgba(225, 29, 72, .25);
  --color-neutral-bg: rgba(100, 116, 139, .1);
  --color-neutral-border: rgba(100, 116, 139, .25);
  --shadow-card: 0 14px 38px -20px rgba(15, 23, 42, .24), 0 8px 16px -10px rgba(15, 23, 42, .12);
  background-image: radial-gradient(circle at 50% -20%, rgba(106, 79, 240, .12), transparent 35%);
}

body.light-theme header { background: rgba(247, 245, 255, .82); }
body.light-theme .hero h2 { background: linear-gradient(180deg, #140e33 0%, #4f4870 100%); -webkit-background-clip: text; }
body.light-theme .search-input:focus { background: #fff; }
body.light-theme .dial-bg { stroke: rgba(15, 23, 42, .1); }
body.light-theme .signal-evidence { background: #fff; }
body.light-theme .guarantee-item { background: rgba(255, 255, 255, .9); border-color: #e4def8; }
body.light-theme .guarantee-item p { color: #4f4870; }
body.light-theme .icon-button .icon-sun { display: none; }
body.light-theme .icon-button .icon-moon { display: block; }
body.light-theme .modal-close:hover { background: #f3f0ff; color: #140e33; }
body.light-theme .chip-btn { background: #f8fafc; border-color: #e4def8; color: #4f4870; }
body.light-theme .chip-btn:hover { background: #f3f0ff; border-color: #6a4ff0; color: #140e33; }
body.light-theme .footer-links a { background: #ffffff; border-color: #e4def8; color: #4f4870; }
body.light-theme .footer-links a:hover { color: #6a4ff0; border-color: #6a4ff0; }

/* Responsive */
@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 36px 0 24px;
  }
  .hero-tag {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 14px;
    max-width: 100%;
  }
  .hero h2 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .info-toggle {
    width: 28px;
    height: 28px;
  }
  .lang-btn {
    min-height: 30px;
  }
  .search-card {
    padding: 20px 16px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
  }
  .search-form {
    gap: 12px;
  }
  .input-group {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .input-wrap {
    width: 100%;
  }
  .country-prefix {
    left: 12px;
  }
  .search-input {
    height: 52px;
    padding: 0 14px 0 68px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }
  .search-btn {
    width: 100%;
    height: 50px;
    min-height: 48px;
    font-size: 15px;
    padding: 0 20px;
    border-radius: var(--radius-md);
  }
  .guarantee-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .guarantee-item {
    padding: 16px 14px;
    text-align: center;
  }
  .guarantee-item h4 {
    font-size: 14px;
  }
  .guarantee-item p {
    font-size: 12px;
    line-height: 1.45;
  }
  .result-card {
    padding: 20px 16px;
    margin-bottom: 28px;
    border-radius: var(--radius-md);
  }
  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .phone-meta {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }
  .masked-display {
    font-size: 22px;
    word-break: break-all;
  }
  .operator-badge {
    font-size: 12px;
    padding: 3px 10px;
    white-space: normal;
    line-height: 1.35;
    max-width: 100%;
  }
  .cache-badge {
    align-self: flex-start;
    font-size: 11.5px;
  }
  .score-overview {
    flex-direction: column;
    text-align: center;
    padding: 20px 14px;
    gap: 16px;
    margin-bottom: 20px;
  }
  .score-dial {
    margin: 0 auto;
    width: 96px;
    height: 96px;
  }
  .score-dial svg {
    width: 96px;
    height: 96px;
  }
  .dial-number {
    font-size: 26px;
  }
  .score-info {
    width: 100%;
    min-width: 0;
  }
  .score-info h3 {
    font-size: 18px;
    word-break: break-word;
  }
  .score-tag {
    font-size: 12px;
  }
  .section-title {
    font-size: 15px;
    margin-bottom: 14px;
  }
  .signal-list {
    gap: 10px;
    margin-bottom: 20px;
  }
  .signal-card {
    padding: 12px;
    gap: 10px;
  }
  .signal-icon {
    width: 26px;
    height: 26px;
  }
  .signal-content {
    min-width: 0;
  }
  .signal-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px 8px;
  }
  .signal-title {
    font-size: 13.5px;
    line-height: 1.35;
    word-break: break-word;
  }
  .signal-weight {
    font-size: 11px;
    padding: 2px 6px;
    white-space: nowrap;
  }
  .signal-desc {
    font-size: 12.5px;
    line-height: 1.45;
    word-break: break-word;
  }
  .signal-evidence {
    padding: 8px 10px;
    font-size: 11.5px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .evidence-title {
    font-size: 12px;
    word-break: break-word;
    white-space: normal;
    line-height: 1.35;
  }
  .evidence-snippet {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 11.5px;
  }
  .citations-box {
    padding: 14px 12px;
    margin-bottom: 20px;
  }
  .citation-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }
  .citation-link {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    font-size: 12.5px;
  }
  .privacy-notice {
    padding: 12px;
    gap: 10px;
    align-items: flex-start;
    font-size: 11.5px;
    line-height: 1.45;
  }
  .privacy-notice .icon-svg {
    margin-top: 2px;
    flex-shrink: 0;
  }
  footer {
    padding: 24px 0 32px;
  }
  .footer-links {
    gap: 10px;
  }
  .footer-links .quota-status {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  body {
    padding-top: 57px;
  }

  .nav-bar {
    min-height: 56px;
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .brand-icon .icon-svg {
    width: 18px;
    height: 18px;
  }
  .brand-text h1 {
    font-size: 16px;
  }
  .brand-text span {
    display: none;
  }
  .nav-actions {
    gap: 6px;
  }
  .privacy-pill {
    padding: 0;
    width: 34px;
    height: 34px;
    min-width: 34px;
    justify-content: center;
    border-radius: var(--radius-full);
  }
  /* hidden on screen, still read by screen readers */
  .privacy-pill-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  .quick-label {
    width: 100%;
    margin-bottom: 2px;
  }
  .quick-picks {
    gap: 8px 6px;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-content {
    padding: 18px 14px;
    max-height: calc(100dvh - 20px);
    border-radius: var(--radius-md);
  }
  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .modal-actions .search-btn,
  .modal-actions .chip-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  .search-card {
    padding: 16px 10px;
  }
  .result-card {
    padding: 16px 10px;
  }
  .country-prefix {
    left: 10px;
  }
  .search-input {
    padding-left: 62px;
    font-size: 16px;
  }
  .hero h2 {
    font-size: 22px;
  }
  .masked-display {
    font-size: 19px;
  }
  .modal-content {
    padding: 16px 10px;
  }
}

/* Privacy and terms pages */
.legal-page {
  width: 100%;
  max-width: 780px;
  padding-top: 56px;
  padding-bottom: 64px;
}

.legal-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-page h2 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 36px;
}

.legal-page section {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
}

.legal-page h3 {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-note {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

.legal-back-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  color: var(--color-accent);
}

.footer-links a[aria-current="page"] {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

@media (max-width: 540px) {
  .legal-page {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .legal-page h2 {
    font-size: 30px;
  }

  .legal-page section {
    padding: 18px 0;
  }

  .legal-page h3 {
    font-size: 16px;
  }

  .legal-page p {
    font-size: 14px;
    line-height: 1.65;
  }

  .legal-back-link {
    font-size: 12px;
  }
}

/* ---------- Cekvara brand ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin-wght.woff2") format("woff2");
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Wordmark: cek✓ara. The v is a check mark, drawn as thick as the letters */
.brand-text h1 {
  font-family: "Outfit", var(--font-family);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
}
.wordmark-check {
  width: 0.62em;
  height: 0.74em;
  margin: 0 0.015em;
  align-self: baseline;
  transform: translateY(0.02em);
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 4.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.light-theme .wordmark-check {
  stroke: #6a4ff0;
}
.brand-text span {
  margin-top: 3px;
}
@media (max-width: 600px) {
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-text h1 {
    font-size: 20px;
  }
}

/* The wordmark is a span inside .brand-text: keep the subtitle rules (.brand-text span) off it */
.brand-text .wordmark,
.brand-text .sr-only {
  margin: 0;
  font-size: inherit;
  color: inherit;
  white-space: nowrap;
}
.brand-text .wordmark {
  display: inline-flex;
  overflow: visible;
}
@media (max-width: 600px) {
  .brand-text .wordmark {
    display: inline-flex;
  }
}
/* Buttons and fields use the brand typeface too (the number field keeps its monospace) */
button,
select,
textarea {
  font-family: inherit;
}

/* The header lockup is the mark and the wordmark only; the tagline lives elsewhere */
.brand-text {
  display: flex;
  align-items: center;
}

/* Lockup proportions: the k of the wordmark reaches about 58% of the mark's height,
   and the gap is about a quarter of the mark */
.brand {
  gap: 9px;
}
.brand-text h1 {
  font-size: 27px;
  line-height: 1;
}
.brand-text .wordmark {
  transform: translateY(-1px); /* optical centre: the letters sit on x-height, not on the line box */
}
@media (max-width: 600px) {
  .brand {
    gap: 8px;
  }
  .brand-text h1 {
    font-size: 24px;
  }
}

/* A touch larger and bolder: the k now reaches about 60% of the mark */
.brand-text h1 {
  font-size: 29px;
  font-weight: 650;
}
.wordmark-check {
  stroke-width: 5;
}
@media (max-width: 600px) {
  .brand-text h1 {
    font-size: 26px;
  }
}

/* Round mark: a circle reads smaller than a square, so it is a little larger */
.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 50%;
}
@media (max-width: 600px) {
  .brand-mark {
    width: 35px;
    height: 35px;
  }
}

/* Hero tagline: lilac on the dark page, the deeper violet on the light page */
body.light-theme .hero-tag {
  color: #5638e0;
  border-color: rgba(106, 79, 240, 0.28);
}

/* Round mark sized to the wordmark: diameter about 1.3x the height of the k */
.brand-mark {
  width: 28px;
  height: 28px;
}
.brand {
  gap: 7px;
}
@media (max-width: 600px) {
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .brand {
    gap: 6px;
  }
}

/* When the result was checked, and "check again" */
.result-check {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.recheck-btn {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  cursor: pointer;
}
.recheck-btn:hover:not(:disabled) {
  border-color: currentColor;
}
.recheck-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.recheck-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}
/* the result header stacks at 680px: the date and "check again" then start on the left */
@media (max-width: 680px) {
  .result-check {
    justify-content: flex-start;
  }
}

/* What role the number plays on each source */
.evidence-role {
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.evidence-role.role-official,
.evidence-role.role-business {
  color: var(--color-safe);
}
.evidence-role.role-perpetrator {
  color: var(--color-danger);
}
.evidence-role.role-debt,
.evidence-role.role-spam,
.evidence-role.role-complaint {
  color: var(--color-warning);
}
.signal-sites {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* A summary line (not a source) inside a signal: plain text, not a link */
.evidence-title-plain {
  color: var(--text-secondary);
  cursor: default;
}

/* Light theme: source titles in the result were lilac on white and hard to read; use the deep violet */
body.light-theme .evidence-title,
body.light-theme .citation-link {
  color: #5236e0;
}
body.light-theme .evidence-title:hover,
body.light-theme .citation-link:hover {
  color: #3d24b8;
}

/* Readable status text (WCAG AA): the bright status colours stay for icons and fills; text uses deeper tones */
body.light-theme {
  --text-safe: #047857;
  --text-warning: #a14e05;
  --text-danger: #be123c;
  --text-neutral: #475569;
  --text-muted: #67608a;
}
body.light-theme .tag-safe,
body.light-theme .weight-pos,
body.light-theme .evidence-role.role-official,
body.light-theme .evidence-role.role-business { color: var(--text-safe); }
body.light-theme .tag-warning,
body.light-theme .evidence-role.role-debt,
body.light-theme .evidence-role.role-spam,
body.light-theme .evidence-role.role-complaint { color: var(--text-warning); }
body.light-theme .tag-danger,
body.light-theme .weight-neg,
body.light-theme .evidence-role.role-perpetrator { color: var(--text-danger); }
body.light-theme .tag-neutral,
body.light-theme .weight-neu { color: var(--text-neutral); }
body:not(.light-theme) .weight-neu,
body:not(.light-theme) .tag-neutral { color: #a9b3c6; }

/* Readable muted text in the dark theme, the privacy pill in the light theme, and the active language button */
body:not(.light-theme) { --text-muted: #9089bb; }
body.light-theme .privacy-pill-text { color: var(--text-safe); }
body:not(.light-theme) .lang-btn.active { background: #6a4ff0; color: #ffffff; }
body:not(.light-theme) .weight-neg,
body:not(.light-theme) .tag-danger { color: #fb7185; }

/* Signal icons: solid status tiles with a bold white glyph (white on these fills stays at 3:1 or more) */
.signal-pos .signal-icon,
.signal-neg .signal-icon,
.signal-neu .signal-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #ffffff;
  box-shadow: 0 6px 14px -8px var(--tile-shadow, rgba(0, 0, 0, .4)), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.signal-pos .signal-icon { background: #059669; --tile-shadow: rgba(5, 150, 105, .7); }
.signal-neg .signal-icon { background: #e11d48; --tile-shadow: rgba(225, 29, 72, .7); }
.signal-neu .signal-icon { background: #64748b; --tile-shadow: rgba(100, 116, 139, .6); }
.signal-icon .icon-svg { width: 18px; height: 18px; stroke-width: 2.6; color: #ffffff; }

/* The flag's white half needs an edge on light fields, or the flag reads as a red bar */
body.light-theme .country-flag { box-shadow: 0 0 0 1px rgba(23, 17, 58, .18); }

/* Keyboard focus for the small controls (language, footer links, legal back link) */
.lang-btn:focus-visible,
.footer-links a:focus-visible,
.legal-back-link:focus-visible {
  outline: 2px solid #b6a8ff;
  outline-offset: 2px;
}
body.light-theme .lang-btn:focus-visible,
body.light-theme .footer-links a:focus-visible,
body.light-theme .legal-back-link:focus-visible {
  outline-color: #5236e0;
}
/* every other button and link: a visible keyboard focus by default (zero specificity, so own styles win) */
:where(button, a, [tabindex]):focus-visible {
  outline: 2px solid #b6a8ff;
  outline-offset: 2px;
}
body.light-theme :where(button, a, [tabindex]):focus-visible {
  outline-color: #5236e0;
}
/* these links animate `all`; keep the outline out of it so it shows at once */
.lang-btn, .footer-links a, .legal-back-link, .chip-btn {
  transition-property: color, background-color, border-color, box-shadow, transform;
}
/* source links are tap targets on phones: at least 24px tall (WCAG 2.5.8) */
@media (max-width: 680px) {
  .evidence-title, .citation-link { min-height: 24px; }
}

/* Cloudflare Turnstile: a row under the number box, left-aligned with it, only while Cloudflare
   asks the visitor to interact; the widget itself is a fixed 300x65 iframe */
.turnstile-row { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.turnstile-row[hidden] { display: none; }
.turnstile-slot { flex: 0 0 auto; }
.turnstile-note { margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
@media (max-width: 680px) {
  .turnstile-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 404 page: big number, short line, one way back; centred in the viewport */
.notfound-page { min-height: calc(100vh - 230px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 24px; padding-bottom: 48px; }
.legal-page .notfound-code { margin: 0 0 4px; font-size: clamp(104px, 24vw, 176px); font-weight: 800; line-height: .88; letter-spacing: -.05em; color: #b9a6ff; }
body.light-theme .legal-page .notfound-code { color: #5236e0; }
.legal-page .notfound-text { margin: 0 0 28px; max-width: 44ch; }
.legal-page .notfound-cta { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; width: auto; padding: 0 22px; min-height: 48px; }
