.cco-overlay[hidden] {
  display: none;
}

.cco-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cco-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, 0.58);
  backdrop-filter: blur(6px);
}

.cco-modal {
  position: relative;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(14, 34, 71, 0.26);
  border: 1px solid rgba(31, 73, 180, 0.08);
  overflow: hidden;
}

.cco-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 45, 103, 0.08);
  color: #123067;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cco-head {
  padding: 34px 34px 18px;
  background:
    radial-gradient(circle at top right, rgba(0, 180, 221, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(244, 248, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
}

.cco-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #4468b2;
  margin-bottom: 10px;
}

.cco-head h2 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 0.95;
  margin: 0 0 12px;
  color: #153a86;
}

.cco-head p {
  margin: 0;
  max-width: 44ch;
  color: oklch(44.6% 0.043 257.281);
}

.cco-body {
  padding: 0 34px 34px;
}

.cco-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.cco-card {
  background: linear-gradient(124deg, rgba(157, 173, 242, 0.12) 0%, rgba(149, 205, 222, 0.12) 100%);
  border: 1px solid rgba(31, 73, 180, 0.08);
  border-radius: 22px;
  padding: 18px 18px 16px;
}

.cco-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #163b87;
}

.cco-card p,
.cco-card a {
  margin: 0;
  color: #102446;
  text-decoration: none;
  font-weight: 600;
}

.cco-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7f9fc;
  color: oklch(44.6% 0.043 257.281);
  font-size: 14px;
}

.cco-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cco-action {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
}

.cco-action--primary {
  background: var(--grad);
  color: #fff;
}

.cco-action--secondary {
  background: rgba(18, 45, 103, 0.08);
  color: #102446;
}

html.cco-open {
  overflow: hidden;
}

@media only screen and (max-width: 700px) {
  .cco-head {
    padding: 28px 22px 16px;
  }

  .cco-body {
    padding: 0 22px 22px;
  }

  .cco-grid {
    grid-template-columns: 1fr;
  }

  .cco-action {
    width: 100%;
  }
}
