/* Card Guide — modal in site palette (#101522, #1c5cff, #17c694) */
#cg-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 21, 34, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
#cg-overlay.cg-open {
  opacity: 1;
  pointer-events: auto;
}
#cg-card {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(16, 21, 34, 0.08);
  box-shadow: 0 30px 90px rgba(48, 65, 99, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: #101522;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
#cg-overlay.cg-open #cg-card {
  transform: translateY(0) scale(1);
}
.cg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 0;
}
.cg-head-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cg-head-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  font-size: 14px;
  background: linear-gradient(135deg, #1c5cff, #17c694);
  box-shadow: 0 8px 24px rgba(28, 92, 255, 0.25);
}
.cg-close {
  border: none;
  background: rgba(16, 21, 34, 0.06);
  cursor: pointer;
  color: #586174;
  padding: 8px;
  border-radius: 999px;
  line-height: 0;
  transition: background 0.15s, color 0.15s;
}
.cg-close:hover {
  background: rgba(28, 92, 255, 0.12);
  color: #101522;
}
.cg-steps {
  display: flex;
  gap: 6px;
  padding: 18px 24px 0;
  align-items: center;
}
.cg-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  white-space: nowrap;
}
.cg-step.cg-active {
  color: #101522;
}
.cg-step.cg-done {
  color: #0f9d7a;
}
.cg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cg-step.cg-active .cg-dot {
  background: #1c5cff;
  box-shadow: 0 0 0 3px rgba(28, 92, 255, 0.2);
}
.cg-step.cg-done .cg-dot {
  background: #17c694;
}
.cg-sep {
  flex: 1;
  height: 1px;
  background: rgba(16, 21, 34, 0.1);
  min-width: 10px;
}
.cg-panel {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.cg-panel.cg-panel-active {
  display: flex;
}
.cg-body {
  padding: 24px 24px 0;
  flex: 1;
}
.cg-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.cg-desc {
  font-size: 0.95rem;
  color: #586174;
  line-height: 1.65;
  margin: 0 0 18px;
}
.cg-fe {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cg-fe li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 650;
}
.cg-fe-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(28, 92, 255, 0.1);
  color: #1c5cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.cg-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.cg-card-opt {
  position: relative;
  border: 2px solid rgba(16, 21, 34, 0.1);
  border-radius: 20px;
  padding: 12px 10px 14px;
  cursor: pointer;
  text-align: center;
  font: inherit;
  background: rgba(246, 248, 252, 0.5);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cg-card-opt:hover {
  border-color: rgba(28, 92, 255, 0.45);
}
.cg-card-opt.cg-selected {
  border-color: #1c5cff;
  background: rgba(238, 244, 255, 0.95);
  box-shadow: 0 12px 32px rgba(28, 92, 255, 0.12);
}
.cg-card-opt.cg-selected .cg-card-check {
  opacity: 1;
}
.cg-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c5cff, #17c694);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.cg-card-preview {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 1.58;
  max-height: 128px;
}
/* In-modal cards — same visual language as .page_cardPreview__lT3UG (no bitmaps) */
.cg-card-face {
  position: relative;
  box-sizing: border-box;
  min-height: 108px;
  height: 100%;
  padding: 11px 12px 10px;
  border-radius: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.cg-card-face__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-radial-gradient(
    circle at 78% 118%,
    transparent 0 10px,
    rgba(255, 255, 255, 0.035) 10px 11px
  );
  pointer-events: none;
}
.cg-card-face--aurora {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(135deg, #0b1220, #1c5cff 52%, #17c694);
  box-shadow: 0 14px 32px rgba(28, 92, 255, 0.28);
}
.cg-card-face--midnight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, #05070d, #101522 48%, #1e2d4d);
  box-shadow: 0 14px 32px rgba(16, 21, 34, 0.38);
}
.cg-card-face__top,
.cg-card-face__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  font-weight: 800;
  opacity: 0.9;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.cg-card-face__chip {
  width: 34px;
  height: 24px;
  margin-top: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe9a7, #c99627);
  position: relative;
  z-index: 1;
}
.cg-card-face__fill {
  flex: 1;
  min-height: 2px;
}
.cg-card-face__pan {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}
.cg-card-face__bottom {
  margin-top: 4px;
  font-size: 7px;
  opacity: 0.82;
}
.cg-card-label {
  font-size: 0.85rem;
  font-weight: 850;
}
.cg-virtual {
  text-align: center;
  margin: 0 0 6px;
}
.cg-virtual button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #647084;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}
.cg-virtual button:hover {
  color: #1c5cff;
}
.cg-success {
  text-align: center;
  padding: 8px 0;
}
.cg-success-ic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #1c5cff, #17c694);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(28, 92, 255, 0.28);
}
.cg-note {
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: center;
  margin: 12px 0 0;
}
.cg-foot {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cg-btn-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  background: #101522;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(16, 21, 34, 0.22);
  transition: transform 0.1s, filter 0.15s;
  font-family: inherit;
}
.cg-btn-primary:hover {
  filter: brightness(1.06);
}
.cg-btn-primary:active {
  transform: scale(0.98);
}
.cg-btn-secondary {
  width: 100%;
  border: 1px solid rgba(16, 21, 34, 0.12);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 850;
  color: #101522;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.cg-btn-secondary:hover {
  background: #f6f8fc;
  border-color: rgba(16, 21, 34, 0.2);
}
body.cg-modal-open {
  overflow: hidden;
}

/* Hero: main CTA — same as page_primaryButton, larger */
.page_heroMainCta__wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}
.page_heroMainCta__btn.page_primaryButton__VVtg1 {
  max-width: min(100%, 440px);
  width: 100%;
  min-height: 56px;
  padding: 0 36px;
  font-size: 17px;
}
@media (min-width: 641px) {
  .page_heroMainCta__btn.page_primaryButton__VVtg1 {
    min-height: 62px;
    font-size: 19px;
    max-width: min(100%, 500px);
    padding: 0 52px;
  }
}

/* Cookie: desktop only; actions */
.page_cookieBanner__Cb8s6 .cg-cookie-bar-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
.page_cookieBanner__Cb8s6 .cg-cookie-close {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.page_cookieBanner__Cb8s6 .cg-cookie-close:hover {
  background: rgba(255, 255, 255, 0.1);
}
.page_cookieBanner__Cb8s6 .cg-cookie-accept {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  color: #101522;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.page_cookieBanner__Cb8s6 .cg-cookie-accept:hover {
  filter: brightness(1.06);
}
