/* Landing page (logged-out marketing) — genuinely standalone from the
   rest of the app's 640px phone-width container (see $fullWidth in
   layouts/app.blade.php). Every color/type token below is drawn
   directly from :root in app.css — nothing new invented, this is the
   same brand, given room to actually breathe at desktop width. */

/* ---------- Shared small utilities (page-scoped, not global —
   confirmed these were never defined in app.css itself, only in this
   page's own stylesheet, same as before this redesign) ---------- */

.eyebrow {
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marigold-deep);
  margin-bottom: 10px;
  display: block;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-on-ink { background: var(--marigold); color: var(--ink); }
.legal-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--charcoal-soft);
}
.legal-links a { color: inherit; text-decoration: underline; }

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

.lp-hero {
  position: relative;
  background: var(--ink);
  padding: 72px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-hero__radar-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.lp-hero__radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(140vw, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  pointer-events: none;
}
.lp-hero__radar-svg { width: 100%; height: 100%; }

.lp-radar-ring {
  fill: none;
  stroke: var(--marigold);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: 300px 300px;
  animation: lp-radar-pulse 4.5s ease-out infinite;
}
.lp-radar-ring--2 { stroke: var(--leaf); animation-delay: 1.5s; }
.lp-radar-ring--3 { animation-delay: 3s; }

@keyframes lp-radar-pulse {
  0%   { transform: scale(0.4); opacity: 0.5; }
  70%  { opacity: 0.08; }
  100% { transform: scale(2.2); opacity: 0; }
}

.lp-radar-center { fill: var(--marigold); }

.lp-radar-point circle { fill: var(--paper); opacity: 0.85; }
.lp-radar-point {
  transform-origin: center;
  animation: lp-point-breathe 3.2s ease-in-out infinite;
}
.lp-radar-point--a { animation-delay: 0.2s; }
.lp-radar-point--b { animation-delay: 1.1s; }
.lp-radar-point--c { animation-delay: 0.6s; }
.lp-radar-point--d { animation-delay: 1.8s; }
.lp-radar-point--e { animation-delay: 2.3s; }

@keyframes lp-point-breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-radar-ring,
  .lp-radar-point { animation: none; opacity: 0.5; }
}

.lp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}

.lp-hero__wordmark {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  color: var(--paper);
}

.lp-hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  /* marigold, not marigold-deep — the deep variant reads correctly on
     the light paper background it was designed for, but loses real
     contrast against dark ink; the brighter value is what the rest of
     this hero already uses for the same reason (radar center, CTA). */
  color: var(--marigold);
  margin: 18px 0 4px;
}

.lp-hero__positioning {
  font-size: 0.95rem;
  color: rgba(251, 247, 239, 0.6);
  margin: 0 0 8px;
}

.lp-hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--paper);
  margin: 28px 0 18px;
  letter-spacing: -0.01em;
}

.lp-hero__lede {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(251, 247, 239, 0.72);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.lp-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.lp-btn-ghost-on-ink {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(251, 247, 239, 0.28);
}
.lp-btn-ghost-on-ink:hover { border-color: var(--paper); }

/* ---------- Floating differentiator strip ---------- */
/* Overlaps the hero's bottom edge deliberately — the one place this
   page borrows a genuinely premium-site technique: a card row that
   breaks out of its own section, anchoring the transition between the
   dark hero and the light page below rather than just stacking flatly. */

.lp-diff-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  transform: translateY(48px);
  margin-bottom: -48px;
}
.lp-diff-strip__item {
  background: var(--paper-raised);
  padding: 26px 20px;
}
.lp-diff-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(242, 169, 59, 0.14);
  color: var(--marigold-deep);
  margin-bottom: 12px;
}
.lp-diff-strip__item h4 { font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin: 0 0 4px; }
.lp-diff-strip__item p { font-size: 13.5px; margin: 0; color: var(--charcoal-soft); line-height: 1.4; }

/* ---------- General section rhythm ---------- */

.lp-section {
  padding: 96px 20px 64px;
}
.lp-section--paper { background: var(--paper); }
.lp-section__inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.lp-section__inner--narrow { max-width: 640px; }

.lp-section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  max-width: 720px;
  margin: 0 auto 16px;
}
.lp-section__lede {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Buy / sell split ---------- */

.lp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
  text-align: left;
}
.lp-split__side { padding: 8px; }
.lp-split__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lp-split__side--buy .lp-split__tag { background: rgba(46, 158, 91, 0.14); color: var(--leaf); }
.lp-split__side--sell .lp-split__tag { background: rgba(242, 169, 59, 0.16); color: var(--marigold-deep); }
.lp-split__side h3 { font-size: 1.5rem; margin: 0 0 12px; }
.lp-split__side p { color: var(--charcoal-soft); line-height: 1.6; margin: 0 0 16px; }
.lp-split__link { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--marigold); padding-bottom: 2px; }

/* ---------- Feature split (Live & moving / Wallet / Escrow) ---------- */

.lp-feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.lp-feature-split__phone { display: flex; justify-content: center; }
.lp-split__link:hover { color: var(--marigold-deep); }
.lp-split__divider { display: none; }

/* ---------- App download band ---------- */

.lp-app-band {
  background: var(--ink-soft);
  padding: 80px 20px;
}
.lp-app-band__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.lp-app-band__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--paper);
  margin: 8px 0 16px;
}
.lp-app-band__lede { color: rgba(251, 247, 239, 0.7); line-height: 1.6; margin: 0 0 28px; max-width: 460px; }
.lp-app-band__note { font-size: 13px; color: rgba(251, 247, 239, 0.5); margin: 14px 0 0; }

.lp-store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(251, 247, 239, 0.22);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}
.lp-store-badge--live {
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.lp-store-badge--live:hover {
  border-color: rgba(251, 247, 239, 0.4);
  background: rgba(251, 247, 239, 0.06);
}

.lp-app-band__phone { display: flex; justify-content: center; }
.lp-phone-mock {
  position: relative;
  width: 200px;
  height: 400px;
  border-radius: 32px;
  background: var(--ink);
  border: 6px solid rgba(251, 247, 239, 0.14);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.lp-phone-mock__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lp-phone-mock__notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: rgba(251, 247, 239, 0.14);
  border-radius: 0 0 12px 12px;
}

/* ---------- Privacy card ---------- */

.lp-privacy-card {
  background: var(--paper-raised);
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
  text-align: left;
  box-shadow: var(--shadow-card);
}
.lp-privacy-card p { margin: 0; color: var(--charcoal-soft); line-height: 1.6; }
.lp-privacy-card a { color: var(--ink); }

/* ---------- Final CTA + footer ---------- */

.lp-cta-band {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 24px;
  padding: 56px 24px;
  text-align: center;
}
.lp-cta-band h2 { color: var(--paper); margin-bottom: 10px; }
.lp-cta-band p { color: rgba(251, 247, 239, 0.72); margin: 0 0 24px; }

.lp-footer {
  padding: 56px 20px 40px;
  text-align: center;
}

/* ---------- Focus states (quality floor) ---------- */

.lp-hero__ctas a:focus-visible,
.lp-split__link:focus-visible,
.lp-cta-band a:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 3px;
}

/* ---------- Responsive: tablet & up ---------- */

@media (min-width: 720px) {
  .lp-diff-strip { grid-template-columns: repeat(4, 1fr); }
  .lp-split { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .lp-split__divider { display: block; width: 1px; background: var(--line); align-self: stretch; }
  .lp-app-band__inner { grid-template-columns: 1.1fr 0.9fr; }
  .lp-feature-split { grid-template-columns: 1fr 1fr; }
  .lp-feature-split--reverse .lp-feature-split__phone { order: -1; }
}

/* ---------- Responsive: desktop ---------- */

@media (min-width: 1040px) {
  .lp-hero { padding-top: 96px; }
  .lp-hero__headline { font-size: 4.2rem; }
  .lp-section { padding: 120px 40px 80px; }
  .lp-app-band { padding: 100px 40px; }
}
