/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-hairline);
  box-shadow: var(--shadow-float-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__logo img {
  height: 40px;
  width: 40px;
  border-radius: 11px;
  display: block;
}

.site-header__wordmark {
  font-size: 21px;
  color: var(--color-ink);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  box-shadow: var(--shadow-float-sm);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.site-header__cta:hover {
  background: var(--color-orange);
  box-shadow: var(--shadow-chain);
  transform: translateY(-1px);
}

.site-header__cta:active {
  transform: scale(0.96);
}

/* ===== Hero ===== */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.hero__eyebrow {
  margin-top: 16px;
}

.hero__headline {
  font-size: clamp(44px, 6.2vw, 72px);
  line-height: 1.02;
  margin-top: 10px;
  color: var(--color-ink);
}

.hero__subhead {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--color-brown);
  max-width: 46ch;
}

.hero__disclaimer {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--color-muted);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 820px;
  height: 640px;
  transform: translate(-50%, -50%);
  background-image: url("../assets/brand/hero-splash.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 46% 48% at 50% 50%, black 0%, black 35%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 46% 48% at 50% 50%, black 0%, black 35%, transparent 74%);
  z-index: 0;
  pointer-events: none;
}

.hero__phone-wrap {
  position: relative;
  width: 260px;
  z-index: 1;
}

.hero__phone-tilt {
  transform: rotate(5deg);
  transform-origin: center;
}

/* ===== Marquee ===== */
.marquee-section {
  padding-block: 40px;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}

.marquee-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.marquee-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee--secondary {
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 8px;
}

/* ===== Generic section rhythm ===== */
.section {
  padding-block: var(--section-pad-y);
}

.section--tint {
  background: var(--color-cream);
}

.section--dark {
  background: var(--color-ink);
  color: #ffffff;
}

.section__head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head + .phone-row,
.section__head + .problem-grid {
  margin-top: 0;
}

.section__headline {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  margin-top: 10px;
  color: var(--color-ink);
}

.section__headline--light {
  color: #ffffff;
}

.container--narrow {
  max-width: 760px;
}

/* ===== Problem grid ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== Phone row (section 5) ===== */
.phone-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
}

.phone-row__item {
  text-align: center;
}

.phone-row__item figcaption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-row__item figcaption strong {
  font-family: var(--font-display);
  font-size: 14px;
}

.phone-row__item figcaption span {
  font-size: 13px;
  color: var(--color-faint);
}

/* ===== Split (two-column) sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__body {
  margin-top: 16px;
  color: var(--color-brown);
  max-width: 46ch;
}

.split__visual {
  display: flex;
  justify-content: center;
}

/* ===== Real-life grid ===== */
.reallife-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--color-hairline);
}

/* ===== CTA section ===== */
.section--cta {
  background: linear-gradient(160deg, #78350f 0%, #5c2a0c 100%);
  color: #ffffff;
}

.cta__inner {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.cta__inner .eyebrow {
  color: #ffd8ad;
}

.cta__subhead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.waitlist-form--cta {
  margin-top: 28px;
  margin-inline: auto;
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 48px;
  padding-bottom: 24px;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__wordmark {
  font-size: 20px;
  color: #ffffff;
}

.site-footer__brand p {
  margin-top: 10px;
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.site-footer__links a {
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__copyright {
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .problem-grid,
  .reallife-grid {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split__visual {
    order: -1;
  }

  .flow-card__steps {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-step__arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .phone-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .site-header__inner {
    height: 56px;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }
}
