/* =========================
   SUNNY APP PAGE — /app/
   ========================= */

/* Hero */
.app-hero-band {
  background: linear-gradient(135deg, #0b3d52 0%, #0f5b7a 100%);
  padding: clamp(48px, 7vw, 96px) 0 0;
  overflow: hidden;
}

.app-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

@media (min-width: 780px) {
  .app-hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.app-hero-copy {
  padding-bottom: clamp(32px, 5vw, 64px);
}

.app-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.app-hero-band h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.app-hero-band .lead {
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

.app-hero-band .btn {
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}

.app-hero-band .btn:hover {
  background: rgba(255,255,255,.25);
  box-shadow: none;
}

.app-hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.app-hero-image img {
  display: block;
  max-width: 420px;
  width: 100%;
  /* Sits on the bottom edge — crops naturally into the next section */
  margin-bottom: -4px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.25));
}

@media (max-width: 779px) {
  .app-hero-image img {
    max-width: 260px;
  }
}

/* Features */
.app-features-band {
  padding: clamp(48px, 6vw, 80px) 0;
}

.app-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .app-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-feature-card {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
}

.app-feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.app-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .95rem;
}

/* Jeff connection */
.app-jeff-band {
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.app-jeff-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
}

.app-jeff-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--sand-border);
}

.app-jeff-line {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
}

/* Waitlist */
.app-waitlist-band {
  padding: clamp(56px, 7vw, 96px) 0;
}

.app-waitlist-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 780px) {
  .app-waitlist-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }
}

.app-waitlist-copy h2 {
  margin-bottom: 28px;
}

.app-waitlist-reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-waitlist-reason {
  padding-left: 16px;
  border-left: 3px solid var(--sand);
}

.app-waitlist-reason-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-waitlist-reason p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .95rem;
}

.app-form-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.app-form-wrap iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 480px;
}

.app-form-placeholder {
  padding: 40px 32px;
  text-align: center;
  color: var(--muted);
}

.app-privacy {
  margin-top: 14px;
  font-size: .88rem;
}

/* Mobile */
@media (max-width: 540px) {
  .app-jeff-inner {
    flex-direction: column;
    text-align: center;
  }
}
