/* ==========================================================================
   $CALESTO token band — extra CSS, injected after the site's own stylesheets.
   Written against the site's own design tokens (Inter, wire-ink/white,
   wire-muted #8a8a8a, wire-fill #141414, hairline rgba(255,255,255,.1),
   rounded-[25px] cards, white pill buttons).
   ========================================================================== */

/* ---- state helpers used by /calesto.js (the framework bundle is stripped) -- */
.cx-show { opacity: 1 !important; pointer-events: auto !important; translate: 0 0 !important; scale: 1 !important; }
/* the navbar scrim fades in on scroll — opacity only, it must never eat clicks */
.cx-scrim { opacity: 1 !important; }
[role="menu"][aria-label="Discover features"].cx-show { translate: -50% 0 !important; }
.cx-open { grid-template-rows: 1fr !important; }
.cx-dialog.cx-show > div:last-child { transform: none !important; }
.cx-hidden { display: none !important; }

/* ---- section shell -------------------------------------------------------- */
.cx-section {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  box-sizing: border-box;
}
@media (min-width: 768px) { .cx-section { padding: 0 24px; } }

.cx-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cx-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.04px;
  color: rgba(255, 255, 255, .5);
}
.cx-title {
  margin: 0;
  font-size: clamp(2.125rem, 1rem + 4.5vw, 2.8125rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.cx-sub {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.55;
  color: #8a8a8a;
}

/* ---- three utility cards -------------------------------------------------- */
.cx-rail { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .cx-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cx-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 0.5px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: #141414;
  padding: 26px 24px 28px;
}
.cx-card__n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .38);
}
.cx-card h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.cx-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #8a8a8a; }

/* ---- contract address card ------------------------------------------------ */
.cx-ca {
  position: relative;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, .1);
  border-radius: 25px;
  background: #0a0a0a;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cx-ca::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(1200px 620px at 0% 0%, #000, transparent 88%);
  -webkit-mask-image: radial-gradient(1200px 620px at 0% 0%, #000, transparent 88%);
}
.cx-ca > * { position: relative; }
.cx-ca__top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cx-ca__eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: rgba(255, 255, 255, .45); }
.cx-ca__status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #8a8a8a;
}
.cx-ca__status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: #05df72;
  box-shadow: 0 0 0 3px rgba(5, 223, 114, .13);
}
.cx-ca__well {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 0.5px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #141414;
  padding: 12px 12px 12px 16px;
}
.cx-ca__addr {
  flex: 1 1 260px;
  min-width: 0;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .58);
  overflow-wrap: anywhere;
  user-select: all;
}
.cx-ca__addr.is-live { color: #fff; }
.cx-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
.cx-btn:hover:not(:disabled) { transform: scale(1.02); }
.cx-btn:active:not(:disabled) { transform: scale(.98); }
/* locked: a ghost control, so "Copy CA — unlocks at launch" never reads as a
   live action that silently does nothing */
.cx-btn:disabled {
  background: transparent;
  color: rgba(255, 255, 255, .52);
  border: 0.5px solid rgba(255, 255, 255, .16);
  cursor: not-allowed;
}
.cx-ca__note { margin: 0; font-size: 13px; line-height: 1.55; color: #8a8a8a; max-width: 640px; }
.cx-ca__links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cx-xlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}
.cx-xlink:hover { opacity: .7; }

/* ---- facts grid ----------------------------------------------------------- */
.cx-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 700px) { .cx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cx-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cx-fact dt { font-size: 11px; font-weight: 600; letter-spacing: 1.04px; color: rgba(255, 255, 255, .52); margin: 0; }
.cx-fact dd { margin: 0; font-size: 14.5px; color: #fff; }
.cx-fine { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .46); max-width: 760px; }

/* ---- nav / footer entries added by the build ------------------------------ */
.cx-nav-cta { font-weight: 600; }
