/* Lupa landing page: component styles layered on top of style.css's
   shared tokens. Loaded only by index.html; privacy.html/terms.html stay on
   the lighter base sheet. */

body.landing {
  overflow-x: hidden;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--lp-bd);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.nav-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--lp-tx);
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-wordmark .mascot {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  color: var(--lp-tx2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--lp-tx);
}

@media (max-width: 42rem) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 14px;
  font-family: "Satoshi", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--lp-hl-pressed);
  color: var(--lp-on-hl);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  color: var(--lp-tx);
  border-color: var(--lp-bd);
}

.btn-ghost:hover {
  background: var(--lp-sf);
}

.btn-sm {
  height: 2.5rem;
  padding: 0 1.1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 6rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 56rem) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 0 3.5rem;
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Satoshi", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-hl-pressed);
  background: var(--lp-peach-soft);
  border: 1px solid var(--lp-peach-soft-bd);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.eyebrow .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--lp-hl-pressed);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--lp-tx2);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--lp-tx2);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stat b {
  display: block;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--lp-tx2);
}

/* ---------- Hero visual: a stylized result-card mockup, not a screenshot ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(19rem, 100%);
  border-radius: 34px;
  background: var(--lp-sf);
  border: 1px solid var(--lp-bd);
  box-shadow: 0 24px 60px -20px var(--lp-shadow), 0 2px 8px var(--lp-shadow);
  padding: 0.9rem;
  transform: rotate(1.5deg);
}

.phone-screen {
  border-radius: 24px;
  background: var(--lp-bg);
  padding: 1.25rem 1.1rem 1.4rem;
  overflow: hidden;
}

.phone-photo {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--lp-hl-pressed) 55%, var(--lp-sf)) 0%,
    color-mix(in srgb, var(--lp-ac) 45%, var(--lp-bg)) 100%
  );
  margin-bottom: 1rem;
  position: relative;
}

.phone-mascot {
  position: absolute;
  bottom: -1px;
  right: 0.9rem;
  width: 3.4rem;
  height: 3.4rem;
  opacity: 0.9;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--lp-bd);
}

.phone-row:last-of-type {
  border-bottom: none;
}

.phone-row-name {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 0.98rem;
}

.phone-row-reason {
  font-size: 0.78rem;
  color: var(--lp-tx2);
  margin-top: 0.15rem;
}

.chip {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.75rem;
}

.chip-likely {
  background: var(--lp-peach-soft);
  color: var(--lp-hl-pressed);
  border: 1px solid var(--lp-peach-soft-bd);
}

.chip-possible {
  background: var(--lp-ac-soft);
  color: var(--lp-tx2);
  border: 1px solid var(--lp-bd);
}

.phone-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lp-sf);
  border: 1px solid var(--lp-bd);
  border-radius: 999px;
  padding: 0.5rem 0.85rem 0.5rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px var(--lp-shadow);
}

.phone-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--lp-hl-pressed);
}

.badge-checks {
  top: -0.75rem;
  left: -1.25rem;
  transform: rotate(-4deg);
}

@media (max-width: 26rem) {
  .badge-checks {
    left: -0.5rem;
  }
}

.badge-map {
  bottom: 1.5rem;
  right: -1.5rem;
  transform: rotate(3deg);
}

@media (max-width: 26rem) {
  .badge-map {
    right: -0.25rem;
  }
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--lp-bd);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-ac);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--lp-tx2);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 62rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 34rem) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--lp-sf);
  border: 1px solid var(--lp-bd);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
}

.step-num {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--lp-hl-pressed);
  margin-bottom: 0.9rem;
}

.step h3 {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.9rem;
  color: var(--lp-tx2);
  margin: 0;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--lp-sf);
  border: 1px solid var(--lp-bd);
  border-radius: 20px;
  padding: 1.75rem;
  grid-column: span 3;
}

.feature.wide {
  grid-column: span 4;
}

.feature.narrow {
  grid-column: span 2;
}

@media (max-width: 56rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .feature,
  .feature.wide,
  .feature.narrow {
    grid-column: span 1;
  }
}

@media (max-width: 34rem) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-peach-soft);
  color: var(--lp-hl-pressed);
  margin-bottom: 1.1rem;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature h3 {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.92rem;
  color: var(--lp-tx2);
  margin: 0;
}

/* ---------- Editorial / SEO copy section ---------- */

.editorial {
  max-width: 42rem;
}

.editorial p {
  font-size: 1.02rem;
  color: var(--lp-tx2);
  margin-bottom: 1.1rem;
}

.editorial strong {
  color: var(--lp-tx);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 42rem;
}

.faq-item {
  border-bottom: 1px solid var(--lp-bd);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.35rem 0;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--lp-tx);
  cursor: pointer;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--lp-tx2);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq-q .plus::before {
  left: 0.15rem;
  right: 0.15rem;
  top: 50%;
  height: 2px;
  transform: translateY(-1px);
}

.faq-q .plus::after {
  top: 0.15rem;
  bottom: 0.15rem;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
}

.faq-item[open] .faq-q .plus::after {
  transform: translateX(-1px) rotate(90deg) scaleY(0);
}

.faq-a {
  margin: -0.4rem 0 1.5rem;
  color: var(--lp-tx2);
  font-size: 0.95rem;
  max-width: 38rem;
}

.faq-a a {
  color: var(--lp-hl-pressed);
}

/* ---------- Final CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--lp-bd);
  padding: 5rem 0;
  text-align: center;
}

.cta-band .mascot {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 auto 0.75rem;
  max-width: 26ch;
}

.cta-band p {
  color: var(--lp-tx2);
  max-width: 34ch;
  margin: 0 auto 2rem;
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--lp-bd);
  padding: 3rem 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--lp-tx2);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--lp-tx);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--lp-tx2);
}

/* ---------- Mascot breathing ---------- */

.mascot-breathe {
  animation: breathe 3s ease-in-out infinite alternate;
}

@keyframes breathe {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-3%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-breathe {
    animation: none;
  }
}
