/* ── OCD Welcome Modal ───────────────────────────────────────── */

#ocd-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 45, 32, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ocd-fade-in 0.25s ease;
}

@keyframes ocd-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#ocd-modal {
  background: #F5F0E8;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
  animation: ocd-slide-up 0.28s ease;
}

@keyframes ocd-slide-up {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Header */
.ocd-modal-header {
  background: #1B3A2D;
  padding: 20px 24px 18px;
  text-align: center;
}

.ocd-modal-wordmark {
  font-family: var(--font-heading, 'Lora', Georgia, serif);
  font-size: 35px;
  font-weight: 700;
  color: #F5F0E8;
  line-height: 1;
  letter-spacing: -0.01em;
}

.ocd-modal-wordmark em {
  color: #C8935A;
  font-style: italic;
}

.ocd-modal-tagline {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 16px;
  letter-spacing: 0.22em;
  color: rgba(245, 240, 232, 0.45);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Close button */
#ocd-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(245, 240, 232, 0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
#ocd-modal-close:hover { color: #F5F0E8; }

/* Body */
.ocd-modal-body {
  padding: 18px 24px 0;
}

.ocd-modal-headline {
  font-family: var(--font-heading, 'Lora', Georgia, serif);
  font-size: 20px;
  font-weight: 700;
  color: #1C2B22;
  line-height: 1.4;
  margin: 0 0 8px;
  text-align: center;
}

.ocd-modal-desc {
  font-size: 20px;
  line-height: 1.65;
  color: #4a5045;
  margin: 0 0 16px;
  text-align: center;
}

/* Stat cards */
.ocd-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ocd-stat-card {
  background: #1B3A2D;
  border-radius: 8px;
  padding: 14px 12px 12px;
  text-align: center;
}

.ocd-stat-number {
  font-family: var(--font-heading, 'Lora', Georgia, serif);
  font-size: 35px;
  font-weight: 700;
  color: #C8935A;
  line-height: 1;
  margin-bottom: 6px;
}

.ocd-stat-desc {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.45;
  text-transform: uppercase;
}

/* Checklist */
.ocd-checklist-label {
  font-family: var(--font-heading, 'Lora', Georgia, serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #1C2B22;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ocd-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 0.5px solid #d4cfc6;
  padding-top: 14px;
}

.ocd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 20px;
  color: #3a3a30;
  line-height: 1.5;
  margin-bottom: 7px;
}
.ocd-checklist li:last-child { margin-bottom: 0; }

.ocd-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: #2E5C45;
  margin-top: 8px;
}

.ocd-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 10px;
  border-right: 1.5px solid #F5F0E8;
  border-bottom: 1.5px solid #F5F0E8;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Signup */
.ocd-signup-area {
  padding: 0 24px;
}

.ocd-signup-label {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #8a8a7a;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.ocd-subscribe-form {
  display: flex;
  gap: 6px;
  margin-bottom: 7px;
}

.ocd-email-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  font-size: 16px;
  border: 0.5px solid #b8b3aa;
  border-radius: 5px;
  background: #fff;
  color: #1C2B22;
  outline: none;
  font-family: var(--font-body, 'IBM Plex Serif', Georgia, serif);
}

.ocd-email-input:focus {
  border-color: #2E5C45;
}

.ocd-btn-sub {
  height: 38px;
  padding: 0 16px;
  background: #1B3A2D;
  color: #F5F0E8;
  border: none;
  border-radius: 5px;
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 16px;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
}

.ocd-btn-sub:hover {
  background: #2E5C45;
}

.ocd-modal-note {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 14px;
  color: #a0a090;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Dismiss row */
.ocd-dismiss-row {
  border-top: 0.5px solid #d4cfc6;
  padding: 12px 24px 14px;
  background: #ede9e0;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ocd-dismiss-label {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7a7a6a;
  text-transform: uppercase;
}

#ocd-modal-dismiss {
  font-family: var(--font-mono, 'DM Mono', 'Courier New', monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #1C2B22;
  background: transparent;
  border: 0.5px solid #2E5C45;
  border-radius: 5px;
  padding: 7px 14px;
  cursor: pointer;
  text-transform: uppercase;
}

#ocd-modal-dismiss:hover {
  background: #1B3A2D;
  color: #F5F0E8;
}

/* Mobile */
@media (max-width: 480px) {
  .ocd-stat-cards { grid-template-columns: 1fr 1fr; }
  #ocd-modal { border-radius: 8px; }
  .ocd-signup-area .subscribe-form { flex-direction: column; }
  .ocd-signup-area .subscribe-form input[type="email"],
  .ocd-signup-area .subscribe-form button { width: 100%; }
}