/* 99 Questions — brand styles */

:root {
  --navy: #1d355e;
  --navy-900: #13243f;
  --cream: #faf3e0;
  --cream-50: #fffdf7;
  --cream-200: #f1e6c5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "ss01", "ss02";
}

::selection {
  background: var(--navy);
  color: var(--cream);
}

/* Nav / footer wordmark — square card logo */
.brand-logo {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(29, 53, 94, 0.14);
}
.brand-logo--footer {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Nudge down slightly to hide a thin top-edge artifact on some exports */
  object-position: 50% 54%;
  display: block;
}

/* Hero gradient + subtle grain */
.hero-gradient {
  background:
    radial-gradient(
      1100px 500px at 50% -10%,
      rgba(29, 53, 94, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, var(--cream-50) 0%, var(--cream) 100%);
}

.hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(29, 53, 94, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}

/* "Inside the Box" two-column info layout */
.info-card {
  border: 1px solid rgba(250, 243, 224, 0.22);
  border-radius: 18px;
  padding: 28px 26px;
  background: rgba(250, 243, 224, 0.04);
}
.info-card__title {
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cream);
  margin: 0 0 18px;
}
.info-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.info-card__list li {
  position: relative;
  padding-left: 26px;
  color: rgba(250, 243, 224, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}
.info-card__list li::before {
  content: "✝";
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Lora", serif;
  color: rgba(250, 243, 224, 0.55);
  font-size: 0.95rem;
}

.inside-hero {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Plain card images (back + front) — no fake CSS frame */
.cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}
.card-img {
  display: block;
  width: 100%;
  max-width: min(520px, 88vw);
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.cards-row--showcase {
  margin-top: 8px;
}
@media (min-width: 768px) {
  .cards-row .card-img {
    max-width: 380px;
  }
}

/* Pillar cards */
.pillar-card {
  background: var(--cream-50);
  border: 1px solid rgba(29, 53, 94, 0.12);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -30px rgba(29, 53, 94, 0.35);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  font-family: "Lora", serif;
  font-size: 18px;
}

/* Audience cards */
.audience-card {
  background: rgba(250, 243, 224, 0.06);
  border: 1px solid rgba(250, 243, 224, 0.2);
  border-radius: 20px;
  padding: 26px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.audience-card:hover {
  background: rgba(250, 243, 224, 0.1);
  border-color: rgba(250, 243, 224, 0.35);
}
.audience-card__num {
  font-family: "Lora", serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(250, 243, 224, 0.55);
}

/* Category list */
.category-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(29, 53, 94, 0.18);
}
.category-row span {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(29, 53, 94, 0.55);
}

/* Steps */
.step-card {
  background: var(--cream-50);
  border: 1px solid rgba(29, 53, 94, 0.12);
  border-radius: 22px;
  padding: 32px;
  position: relative;
}
.step-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(29, 53, 94, 0.55);
}

/* Testimonials */
.testimonial {
  flex: 0 0 100%;
  padding: 0 8px;
}
.testimonial blockquote {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial figcaption {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(29, 53, 94, 0.6);
  text-transform: uppercase;
}

#carouselDots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(29, 53, 94, 0.2);
  transition: background 0.25s ease, width 0.25s ease;
}
#carouselDots button[aria-current="true"] {
  background: var(--navy);
  width: 22px;
}

/* FAQ */
.faq-item {
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Lora", serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: rgba(29, 53, 94, 0.6);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 4px 22px;
  color: rgba(29, 53, 94, 0.8);
  line-height: 1.65;
  max-width: 60ch;
}

/* App section — full device screenshot asset (frame included in image) */
.app-showcase {
  margin: 0;
  max-width: min(300px, 86vw);
}
.app-showcase img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 36px 56px rgba(0, 0, 0, 0.55));
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
