@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. Tokens (light theme — dark theme overrides at the bottom)
   ========================================================================== */

:root {
  --page-bg:    #FAFAFA;
  --card-bg:    #E2E1DD;
  --text:       oklch(0.28 0.05  260);
  --text-muted: oklch(0.45 0.03  260);
  --text-faint: oklch(0.5  0.02  260);
  --num-muted:  oklch(0.8  0.01   90);
  --border:     oklch(0.88 0.008  90);
  --accent:     #B5BDC4;
}


/* ==========================================================================
   2. Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page-bg);
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* Privacy, terms, support pages */
body.policy {
  margin: auto;
  max-width: 900px;
  padding: 0 10vw;
}

a {
  color: var(--text-muted);
  text-decoration: underline;
}

a:hover {
  opacity: 0.85;
}

a.hero-cta,
a.nav-cta {
  text-decoration: none;
}

/* Logo swap — the dark copy is revealed in the dark-theme block */
.icon-dark,
.hero-dark {
  display: none;
}


/* ==========================================================================
   3. Animations
   ========================================================================== */

/* @keyframes floatA {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-14px); }
}

@keyframes floatB {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50%      { transform: rotate(5deg) translateY(-10px); }
} */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   4. Nav
   ========================================================================== */

.nav-pad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
}
body.policy nav.nav-pad {
  padding: 28px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: flex;
  align-items: center;
  background: var(--accent);
  color: oklch(0.15 0.01 265);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 100px;
}


/* ==========================================================================
   5. Hero
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 100px;
  animation: fadeUp 0.7s ease both;
}

/* .hero-copy-block {
  animation: fadeUp 0.7s ease both;
} */

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: 50px;
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero-copy {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 0 36px;
}

.hero-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-direction: column;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: oklch(0.15 0.01 265);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 100px;
}

.hero-sub {
  font-size: 13px;
  color: var(--text-faint);
}


/* --- Hero artwork ---------------------------------------------------------
   Two floating sleeves over a soft glow. Both are sized with min() so they
   shrink on narrow screens instead of overflowing.
   -------------------------------------------------------------------------- */

.hero-visual {
  position: relative;
  height: 560px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  max-width: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent));
  opacity: 0.2;
  filter: blur(100px);
} */

/* Back sleeve */
.hero-img-b {
  position: relative;
  width: min(250px, 46vw);
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4));
  /* animation: floatB 6s ease-in-out infinite;
  transform: rotate(5deg) translate(min(70px, 12vw), 40px); */
  transform: rotate(5deg);
  z-index: 2;
}

/* Front sleeve */
.hero-img-a {
  position: relative;
  width: min(240px, 42vw);
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.6));
  /* animation: floatA 6.5s ease-in-out infinite;
  transform: rotate(-4deg) translate(min(-70px, -12vw), -20px); */
  transform: rotate(-4deg);
}


/* ==========================================================================
   6. Sections
   ========================================================================== */

.section-pad {
  padding: 100px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.section-h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}


/* --- How it works --------------------------------------------------------- */

.how-section {
  background: var(--card-bg);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--num-muted);
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}

.step-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}


/* --- Credits -------------------------------------------------------------- */

.credits-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.credits-copy {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 15px;
}

.pill b {
  color: var(--text);
  font-weight: 700;
}


/* ==========================================================================
   7. Footer
   ========================================================================== */

.footer-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 32px 60px;
  text-align: center;
}

.footer-cta-h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.footer-cta-copy {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 36px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}


iframe.youtube {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 40px auto;
  border-radius: 16px;
}

/* ==========================================================================
   8. Small screens (<= 760px)
   ========================================================================== */

@media (max-width: 760px) {

  /* Nav — the CTA collapses to an icon-sized circle */
  .nav-pad {
    padding: 20px 20px;
  }

  .nav-cta {
    /* padding: 12px;
    width: 40px;
    height: 40px;
    justify-content: center; */
    display: none;
  }

  .nav-cta-text {
    display: none;
  }

  /* Hero — single column, artwork moved above the copy */
  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .hero-visual {
    order: -1;
    height: 340px;
  }

  .hero-h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }
  
  .hero-img-b {
    width: min(180px, 46vw);
  }
  
  .hero-cta-row {
    display: flex;
  }
  
  /* Front sleeve */
  .hero-img-a {
    width: min(160px, 42vw);
  }

  /* Sections */
  .section-pad {
    padding: 64px 20px;
  }

  .section-h2 {
    font-size: 28px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pill-row {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer-cta-h2 {
    font-size: 30px;
  }
}
@media (min-width: 1024px) {
  .hero-img-b {
    width: min(280px, 46vw);
  }
  
  /* Front sleeve */
  .hero-img-a {
    width: min(260px, 42vw);
  }
}


/* ==========================================================================
   9. Dark theme
   ========================================================================== */

@media (prefers-color-scheme: dark) {

  :root {
    --page-bg:    #1A1A1A;
    --card-bg:    #373F46;
    --text:       #F5F5F5;
    --text-muted: #C3CAD1;
    --text-faint: #A9B1B8;
    --num-muted:  #565F67;
    --border:     #4B545C;
    --accent:     #FFA733;
  }

  .icon-light,
  .hero-light {
    display: none;
  }

  .icon-dark {
    display: inline;
  }
  .hero-dark {
    display: block;
  }
}
