/* ─── Tokens ────────────────────────────────────────────── */
:root {
  --c-yellow:   #F5C000;
  --c-red:      #E82535;
  --c-black:    #0D0D0D;
  --c-white:    #FFFFFF;
  --c-coral:    #FA4654;   /* card footer + sign-up btn */
  --c-input:    #EFC3C8;   /* dusty-rose input */

  /* Horizontal gutter — used by every section for consistent edges */
  --gutter: clamp(32px, 6vw, 96px);
}

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

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--c-yellow);
  background-image: url(images/page-bg.png);
  position: relative;
  overflow-x: hidden;
  background-size: cover;
  background-position: center;
}

/* ─── SVG network-graph background ─────────────────────── */
/* Placed as a fixed layer so it fills the whole page */
#bg-graph {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

/* Every sectional element floats above the bg */
body > * { position: relative; z-index: 1; }

.page-wrap {
  overflow-x: hidden;
}

/* ─── LOGO / NAV ────────────────────────────────────────── */
.site-nav {
  padding: clamp(10px, 1.8vh, 22px) var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.5px;
  color: var(--c-black);
  text-transform: uppercase;
}

/* Red pill/badge containing a white heart – replaces the "O" in LOVE */
.logo-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-red);
  color: var(--c-white);
  /* pill shape: wider than tall */
  width: 1.55em;
  height: 1.15em;
  border-radius: 5px;
  margin: 0 2px;
  position: relative;
  top: -0.04em;
  flex-shrink: 0;
}

.logo-img {
  width: clamp(160px, 16vw, 240px) !important;
  margin-top: clamp(6px, 1.2vh, 20px);
}

.logo-heart::before {
  content: '♥';
  font-size: 0.72em;
  line-height: 1;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height:clamp(100px, 18vh, 185px);
  display: flex;
  align-items: center;
  overflow: hidden;
  transform: rotate(-10deg);
  padding-left: 7%;
  margin-left: -5%;
  width: 120%;
  margin-top: -6.5%;
  margin-bottom: clamp(12px, 2.5vh, 40px);
  background-color: #ffffff;
}

/* White diagonal sash */
.hero::before {
  content: '';
  position: absolute;
  /* tall enough so the rotated rect covers the full section width */
  inset: -60% -20%;
  background: var(--c-white);
  transform: rotate(-7deg) translateY(-12%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4px, 1vh, 10px) 50px;
}

.hero-headline {
  font-weight: 800;
  font-style: italic;
  /* min(vw, vh) keeps it from outgrowing short screens */
  font-size: clamp(2rem, min(5.5vw, 6vh), 5rem);
  line-height: 0.9;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--c-black);
  margin-bottom: 0;
}

.hero-headline .accent { color: var(--c-red); }

/* ─── CARDS ─────────────────────────────────────────────── */
.cards-section {    
  padding: clamp(10px, 5vh, 75px) var(--gutter) clamp(14px, 3.5vh, 35px);
}

.feature-card {
  border-radius: 18px;
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border-bottom: 30px;
}

/* ── image placeholder ── */
.card-media {
  aspect-ratio: 4 / 1.9;
  background-color: #FB6B76;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 30px;
  border-radius: 30px 30px 0px 0px;
  /* cap image area relative to viewport height */
  max-height: clamp(120px, 22vh, 220px);
}

.card-media img {
  display: block;
  max-width: 106%;
  margin-top: -65px;
}

/* dashed border guide */
.card-media::after {
  content: 'Image placeholder';
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(0,0,0,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.28);
  pointer-events: none;
}

/* when an <img> is present, hide the dashed guide */
.card-media:has(img)::after { display: none; }

/* ── coral text block ── */
.card-body-coral {
  background-color: var(--c-coral);
  padding: clamp(14px, 2vh, 22px) 26px clamp(16px, 2.2vh, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.5vh, 6px);
  border-radius: 0px 0px 30px 30px;
}

.card-title-main {
  font-weight: 800;
  font-size: clamp(1.1rem, min(2.4vw, 2.2vh), 1.75rem);
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 0;
}

.card-sub {
  font-weight: 800;
  font-size: clamp(0.9rem, min(1.7vw, 1.8vh), 1.35rem);
  color: var(--c-white);
  line-height: 1.25;
  opacity: 0.95;
  margin-top: 2px;
  margin-bottom: 0;
}

.card-desc {
  font-weight: 400;
  font-size: clamp(0.82rem, min(1.4vw, 1.6vh), 1.1rem);
  color: var(--c-white);
  opacity: 0.85;
  line-height: 1.3;
  margin-top: 2px;
  margin-bottom: 0;
}

/* ─── CTA STRIP ─────────────────────────────────────────── */
.cta-section {
  /* yellow matches the page — white lives inside the card */
  padding: 0 var(--gutter) clamp(12px, 2.5vh, 32px);
}

/* White rounded card that aligns with the three columns above */
.cta-card {
  background-color: var(--c-white);
  border-radius: 20px;
  padding: clamp(14px, 2.5vh, 36px) clamp(24px, 3vw, 48px);
}

.cta-headline {
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-black);
  white-space: nowrap;
  margin-bottom: 0px;
}

@media (max-width: 575.98px) {
  .cta-headline { white-space: normal; }
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.waitlist-input-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 220px;
  max-width: 360px;
  position: relative;
}

#form-msg {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-red);
  min-height: 1.2em;
  margin: 5px 6px 0;
  line-height: 1.3;
  position: absolute;
  top: 60px;
}

.waitlist-input {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  background-color: var(--c-input);
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  color: var(--c-black);
  width: 100%;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.waitlist-input::placeholder { color: rgba(0,0,0,0.40); }

.waitlist-input:focus {
  background-color: #e8adb4;
  box-shadow: 0 0 0 3px rgba(232,37,53,0.18);
}

.waitlist-btn {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  background-color: var(--c-coral);
  color: var(--c-white);
  border: none;
  border-radius: 50px;
  padding: 14px 38px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.waitlist-btn:hover  { background-color: #d94560; }
.waitlist-btn:active { transform: scale(0.97); }


.cta-section, .cards-section{
  max-width: 1420px;
  margin: auto;
}

.embed-fillout{
  max-height: 155px;
}

/* ─── Responsive ────────────────────────────────────────── */

@media (min-width: 1400px) {
  .hero{
    margin-bottom: clamp(100px, 4.5vh, 101px);
  }
  .card-media img{
    width: 95%;
  }
}

@media (max-width: 1400px) {
  .card-media{
    max-height: none;
  }
  .card-media img{
    margin-top: 0px;
  }
  .hero{
    margin-bottom: clamp(60px, 4.5vh, 101px);
  }
}
@media (max-width: 1345px) {
  .embed-fillout {
    max-height: 140px;
  }
}
@media (max-width: 980px) {
  .hero-headline {
    font-size: clamp(2rem, min(8vw, 6.5vh), 3.8rem);
  }
  .hero{
    margin-bottom: clamp(60px, 4.5vh, 101px);
  }
}
@media (max-width: 767.98px) {
  .cta-card { 
    text-align: center; 
  }
  .waitlist-form { 
    justify-content: center; 
  }
  .waitlist-input { 
    max-width: 100%; 
  }
  .cards-section .d-flex.pe-3, .cards-section .d-flex.p3-3 {
      padding-left: 0px;
      padding-right: 0px;
  }
  .hero{
    margin-bottom: 50px;
  }
}
@media (max-width: 520px) {
  .hero-headline {
    font-size: clamp(1.8rem, min(10vw, 6vh), 2.8rem);
  }
  .hero-inner{
      padding: 5px 30px 0px 30px;
  }
  .hero{
      min-height: clamp(200px, 40vw, 250px);
  }

  .logo-img{
    width: 200px !important;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .cards-section{
    max-width: 87.5%;
  }
  .card-par{
    margin-bottom: 20px;
  }
}