/* ════════════════════════════════════════════════════
   Repped Labs — Shared Design System
   All Circle embed pages inherit from these tokens
   and component classes.
   ════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Space+Mono:wght@400;700&family=DM+Sans:wght@400;500;600&display=swap');


/* ══════════════════════════════════════
   TOKENS
   ══════════════════════════════════════ */

:root {
  /* color-scheme: dark; */

  /* ── Brand Colors ── */
  --near-black: #0e071c;           /* primary background */
  --purple:     #180e2a;           /* section / surface background */
  --surface2:   #21212e;           /* mid-surface — chips, badges, overlays */
  --cyan:       #67fcff;           /* accent — eyebrows, links, hover states */
  --off-white:  #f5f1ff;           /* primary text */
  --lime:       #ceff05;           /* primary accent — borders, CTAs, active states */
  --lime-mid:   #b8e804;           /* darker lime — hover states */
  --pink:       #ffcafd;           /* tertiary accent */
  --card-bg:    #0e071c;           /* card backgrounds (alias of near-black) */

  /* ── Typography ── */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  /* ── Opacity helpers ── */
  --muted-70: rgba(245, 241, 255, 0.70);
  --muted-60: rgba(245, 241, 255, 0.60);
  --muted-45: rgba(245, 241, 255, 0.45);
  --muted-30: rgba(245, 241, 255, 0.30);
  --muted-10: rgba(245, 241, 255, 0.10);
  --muted-06: rgba(245, 241, 255, 0.06);

  /* ── Tinted backgrounds ── */
  --lime-dim:    rgba(206, 255,   5, 0.08);
  --lime-border: rgba(206, 255,   5, 0.22);
  --cyan-pale:   rgba(103, 252, 255, 0.08);
  --pink-pale:   rgba(255, 202, 253, 0.10);

  /* ── Elevation ── */
  --shadow:    0 2px 16px rgba(0, 0, 0, 0.50);
  --shadow-md: 0 6px 32px rgba(0, 0, 0, 0.60);

  /* ── Radius ── */
  --r: 12px;
}


/* ══════════════════════════════════════
   RESET
   ══════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ══════════════════════════════════════
   BASE
   ══════════════════════════════════════ */

html {
  scroll-behavior: smooth;
  user-select: none;
}

html,
body {
  min-height: 100%;
  background: var(--near-black) !important;
  color: var(--off-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

code,
pre {
  user-select: text;
}

img {
  pointer-events: none;
}

@media print {

  html,
  body {
    display: none;
  }
}


/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 5rem;
}

footer {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--muted-06);
  background: var(--near-black);
}


/* ══════════════════════════════════════
   TYPOGRAPHY — HEADINGS
   ══════════════════════════════════════ */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
}

h1 {
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 0.15em;
}

/* Fade-in animation scoped to .page so it doesn't bleed into widget iframes */
.page h1 {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.35s;
}

/* Headline color helpers */
h1 .line-lime,
.hl-lime {
  color: var(--lime);
}

h1 .line-cyan,
.hl-cyan {
  color: var(--cyan);
}

h1 .line-white {
  color: var(--off-white);
  display: block;
}


/* ══════════════════════════════════════
   TYPOGRAPHY — LABELS & BODY
   ══════════════════════════════════════ */

/* Eyebrow — above hero headlines */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

/* Section eyebrow — above section titles */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

/* Section title */
.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--off-white);
  margin-bottom: 1rem;
}

/* Section body / subtitle */
.section-body {
  font-size: 1rem;
  color: var(--muted-60);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto;
}

/* Hero subtitle */
.sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted-60);
  line-height: 1.75;
  max-width: 560px;
  margin: 1.8rem auto 0;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.5s;
}


/* ══════════════════════════════════════
   DECORATIVE
   ══════════════════════════════════════ */

.divider {
  width: 48px;
  height: 3px;
  background: var(--lime);
  margin: 2.5rem auto;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.65s;
}


/* ══════════════════════════════════════
   FOOTER ELEMENTS
   ══════════════════════════════════════ */

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 255, 0.20);
  text-transform: uppercase;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--muted-30);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--cyan);
}


/* ══════════════════════════════════════
   CREDIBILITY STRIP
   ══════════════════════════════════════ */

.cred-block {
  width: 100%;
  background: var(--near-black);
  border-top: 3px solid var(--lime);
  border-bottom: 1px solid var(--muted-06);
  padding: 3rem 2.5rem;
}

.cred-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}

.cred-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cred-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
}

.cred-statement {
  font-size: 1rem;
  color: rgba(245, 241, 255, 0.80);
  line-height: 1.75;
  text-align: left;
}

.cred-awards {
  display: flex;
  align-items: center;
}

.cred-award {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 1.5rem;
}

.cred-award:first-child {
  padding-left: 0;
}

.cred-award-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--lime);
  line-height: 1;
}

.cred-award-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-45);
  line-height: 1.6;
}

.cred-divider {
  width: 1px;
  height: 48px;
  background: var(--muted-10);
  flex-shrink: 0;
}


/* ══════════════════════════════════════
   ACCORDION
   ══════════════════════════════════════ */

.accordion-section {
  width: 100%;
  padding: 0 2.5rem;
  background: var(--near-black);
}

.accordion {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--muted-10);
}

.acc-item {
  border-bottom: 1px solid var(--muted-10);
}

.acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  text-align: left;
  gap: 1rem;
}

.acc-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--off-white);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.acc-trigger:hover .acc-label,
.acc-trigger[aria-expanded="true"] .acc-label {
  color: var(--lime);
}

.acc-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--lime);
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.acc-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}

.acc-panel.open {
  max-height: 300px;
  padding-bottom: 1.2rem;
}

.acc-panel p {
  font-size: 1.2rem;
  color: var(--muted-60);
  line-height: 1.8;
  text-align: left;
}


/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */

.circle-card {
  background: var(--card-bg);
  border: 1px solid var(--muted-10);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.circle-card--open {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

.circle-card--upcoming {
  opacity: 0.55;
  border-color: var(--muted-10);
}

.circle-card:hover {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}


/* ══════════════════════════════════════
   BUTTONS & CTAs
   ══════════════════════════════════════ */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--lime);
  color: var(--near-black);
}

.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.btn-outline:hover {
  background: var(--lime);
  color: var(--near-black);
}

/* Legacy alias used in existing pages */
.btn-submit,
.join-teaser-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.25rem;
  background: var(--lime);
  color: var(--near-black);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover,
.join-teaser-cta:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════
   FORMS
   ══════════════════════════════════════ */

.form-block {
  width: 100%;
  max-width: 480px;
  margin-top: 2rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-45);
  margin-bottom: 1.2rem;
  display: block;
}


/* ══════════════════════════════════════
   CIRCLE EMBED OVERRIDES
   Force brand styles into Circle.so's
   injected form markup.
   ══════════════════════════════════════ */

.circle-wrap {
  width: 100%;
}

.circle-wrap>div,
.circle-wrap iframe,
.circle-wrap form {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.circle-wrap input[type="text"],
.circle-wrap input[type="email"],
.circle-wrap input[type="name"] {
  width: 100% !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--muted-10) !important;
  border-radius: 0 !important;
  color: var(--off-white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  padding: 0.9rem 1.1rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
}

.circle-wrap input:focus {
  border-color: var(--lime) !important;
}

.circle-wrap input::placeholder {
  color: rgba(245, 241, 255, 0.25) !important;
}

.circle-wrap label {
  font-family: var(--font-mono) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(245, 241, 255, 0.40) !important;
  margin-bottom: 0.4rem !important;
  display: block !important;
}

.circle-wrap button[type="submit"],
.circle-wrap input[type="submit"] {
  width: 100% !important;
  background: var(--lime) !important;
  color: var(--near-black) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.1rem 2rem !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  margin-top: 0.5rem !important;
  box-shadow: none !important;
}

.circle-wrap button[type="submit"]:hover,
.circle-wrap input[type="submit"]:hover {
  background: var(--cyan) !important;
}

.circle-wrap .circle-logo,
.circle-wrap .powered-by {
  display: none !important;
}

/* Circle platform overrides */
.space__gated.locked-pane {
  display: none;
}

html body [data-testid="paywall-checkout-left-column"] {
  background: var(--purple) !important;
}


/* ══════════════════════════════════════
   ANIMATION
   ══════════════════════════════════════ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger helpers — apply via class or inline style */
.anim-1 {
  animation-delay: 0.2s;
}

.anim-2 {
  animation-delay: 0.35s;
}

.anim-3 {
  animation-delay: 0.5s;
}

.anim-4 {
  animation-delay: 0.65s;
}

.anim-5 {
  animation-delay: 0.8s;
}

.anim-6 {
  animation-delay: 1.0s;
}


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .cred-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cred-award {
    padding: 0 0.8rem;
  }

  .cred-award-num {
    font-size: 1.8rem;
  }

  .accordion-section {
    padding: 0 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page main {
    padding: 2.5rem 1.5rem 4rem;
  }

  .join-teaser {
    padding: 4rem 1.5rem;
  }

  .email-section {
    padding: 4rem 1.5rem;
  }

  .video-section {
    padding: 2rem 1.5rem 3rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  main {
    padding: 2rem 1.5rem 4rem;
  }

  footer {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
