html,
body {
  background: #fff;
  color: #0f172a;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

p {
  letter-spacing: -0.01em;
  word-spacing: -0.03em;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.app-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.10);
  min-width: 0;
}

.problem-section {
  position: relative;
  z-index: 3;
  padding-bottom: 0;
}

.problem-cards-wrap {
  position: relative;
  margin-top: 3.25rem;
  margin-bottom: -7rem;
  z-index: 4;
}

.problem-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 2rem 1.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #f6f5f3;
  box-shadow: 0 18px 42px -28px rgba(15, 23, 42, 0.22);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
}

.problem-card::after {
  content: none;
}

.problem-card:hover,
.problem-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.26);
  border-color: rgba(203, 213, 225, 0.95);
}

.foundation-card {
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.foundation-card:hover,
.foundation-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.26);
  border-color: rgba(203, 213, 225, 0.95);
}

.foundation-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.foundation-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.foundation-icon--rose {
  color: #e11d48;
}

.foundation-icon--amber {
  color: #d97706;
}

.foundation-icon--sky {
  color: #0284c7;
}

.problem-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.problem-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.problem-icon--coral {
  color: #dc2626;
}

.problem-icon--sky {
  color: #0369a1;
}

.problem-icon--violet {
  color: #6d28d9;
}

.problem-icon--green {
  color: #166534;
}

.phone-frame {
  --pf-w: min(260px, 80vw);
  width: var(--pf-w);
  aspect-ratio: 300 / 620;
  border: 2px solid rgba(1, 132, 25, 0.12);
  border-radius: clamp(2rem, 4vw, 2.5rem);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.35);
  background: #fff;
  position: relative;
  isolation: isolate;
}

.phone-notch {
  display: none;
}

.phone-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  z-index: 40;
}

.phone-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: transform 180ms ease, background 180ms ease;
}

.phone-dot[aria-current="true"] {
  background: #018419;
  transform: scale(1.08);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  transition: opacity 500ms ease;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 260px;
}

.faq-icon {
  transition: transform 180ms ease;
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
}

.section-heading-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.section-heading-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.soft-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
