/* Contact — a white panel floating on a full-bleed light gradient, mirroring
 * the brokerage connect page (static/css/stocks.css): the logo badge on white,
 * a tinted stage holding a frosted card with the team address, then the copy
 * and the action. Light-only, like the rest of the marketing site.
 */

.ct-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 7.5rem 1.25rem 4rem;

  background:
    radial-gradient(58% 44% at 22% 4%, rgba(199, 222, 253, 0.72), transparent 72%),
    radial-gradient(46% 40% at 84% 12%, rgba(226, 220, 255, 0.6), transparent 72%),
    radial-gradient(70% 55% at 50% 108%, rgba(214, 232, 250, 0.55), transparent 74%),
    linear-gradient(180deg, #f7f9fe 0%, #eef3fb 46%, #f6f8fd 100%);
}

/* White panel carrying the whole composition, floating on the gradient. */
.ct-shell {
  width: 100%;
  max-width: 26rem;
  overflow: hidden;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 28px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 30px 66px -30px rgba(30, 58, 138, 0.26);
}

/* ── Logo badge ───────────────────────────────────────────────── */

.ct-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 1.5rem) 1rem clamp(1.125rem, 3.5vw, 1.375rem);
}

.ct-lockup__badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 10px 22px -14px rgba(30, 58, 138, 0.28);
}

.ct-lockup__badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ── Glass stage ──────────────────────────────────────────────── */

.ct-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0.75rem;
  padding: clamp(1.75rem, 6vw, 2.25rem) clamp(1rem, 4vw, 1.5rem);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(165deg, #f3f7fd 0%, #e9effb 55%, #dfe8f8 100%);
}

/* Faint specks under the card — the reference's dusting of light. */
.ct-stage__dust {
  position: absolute;
  inset: auto 0 0.5rem 0;
  height: 20%;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 22% 30%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.5px 1.5px at 41% 68%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 63% 22%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 60%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 52% 88%, rgba(255, 255, 255, 0.7), transparent);
}

/* ── Frosted address card ─────────────────────────────────────── */

.ct-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 20rem);
  padding: 0.9rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 50px -22px rgba(30, 58, 138, 0.3);
  animation: ct-float 7s ease-in-out infinite;
  will-change: transform;
}

/* Blue hairline across the top edge. */
.ct-card__beam {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.ct-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.14);
  color: #2563eb;
}

.ct-card__icon svg {
  width: 16px;
  height: 16px;
}

.ct-card__id {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.0625rem;
  text-align: left;
}

.ct-card__kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #94a3b8;
}

.ct-card__email {
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Copy affordance, sitting flush at the card's right edge. */
.ct-copy {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.ct-copy:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
}

.ct-copy svg {
  width: 15px;
  height: 15px;
}

.ct-copy[data-copied="true"] {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
}

/* ── Copy + action ────────────────────────────────────────────── */

.ct-body {
  padding: clamp(1.5rem, 5vw, 1.875rem) clamp(1.25rem, 5vw, 1.875rem) clamp(1.75rem, 6vw, 2.125rem);
}

.ct-title {
  margin: 0;
  font-size: clamp(1.4375rem, 5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #0f172a;
}

.ct-sub {
  margin: 0.4rem auto 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
}

.ct-cta {
  width: min(100%, 14rem);
  height: 2.875rem;
  margin-top: 1.5rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.5);
}

.ct-note {
  margin: 0.875rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── Minimal footer line under the panel ──────────────────────── */

.ct-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.ct-foot a {
  color: #64748b;
  text-decoration: none;
}

.ct-foot a:hover {
  color: #0f172a;
}

/* ── Motion ───────────────────────────────────────────────────── */

@keyframes ct-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-card {
    animation: none;
  }
}

/* Blur off means the glass needs its own opaque body to stay legible. */
@media (prefers-reduced-transparency: reduce) {
  .ct-card {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
