/* ============================================================
   Well Spotted! — marketing site
   Palette pulled from the app itself:
     deep red   #5c0000 / #650000  (app chrome)
     near-black #140505            (backgrounds)
     gold       #c48f41            (accents)
     cream      #f5ead9            (text on dark)
   ============================================================ */

:root {
  --red: #650000;
  --red-deep: #42060a;
  --red-glow: #8e1414;
  --bg: #140505;
  --bg-soft: #1d0808;
  --card: #241010;
  --gold: #c48f41;
  --gold-bright: #e3b264;
  --cream: #f5ead9;
  --cream-dim: #cfbfa8;
  --ink: #1c1210;
  --line: rgba(196, 143, 65, 0.22);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg { flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #2a1204;
  box-shadow: 0 6px 24px rgba(196, 143, 65, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(227, 178, 100, 0.45);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(196, 143, 65, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(20, 5, 5, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 143, 65, 0.12);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { border-radius: 9px; }
.brand-name { font-size: 1.15rem; font-weight: 900; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; color: var(--cream-dim); }
.nav-links a:hover { color: var(--gold-bright); }
.nav .btn { margin-left: 8px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 40px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 130%;
  background:
    radial-gradient(ellipse 55% 45% at 30% 40%, rgba(134, 8, 8, 0.5), transparent 65%),
    radial-gradient(ellipse 45% 40% at 75% 30%, rgba(196, 143, 65, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.lede {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 34em;
  margin-bottom: 0;
}
.hero-copy .lede:not(.lede-punch) { margin-bottom: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; margin-bottom: 24px; }
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.92rem;
  color: var(--cream-dim);
}
.hero-meta strong { color: var(--cream); }

/* phone trio — sized relative to the container so rotation never clips */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.15;
  margin: 0 auto;
}
.phone {
  position: absolute;
  width: 45%;
  aspect-ratio: 392 / 696;
  border-radius: 8.5%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(196, 143, 65, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-a { left: 5%;  top: 7%;  transform: rotate(-7deg); z-index: 3; }
.phone-b { left: 28%; top: 16%; transform: rotate(3deg);  z-index: 2; }
.phone-c { left: 48%; top: 8%;  transform: rotate(9deg);  z-index: 1; }
.phone-a:hover, .phone-b:hover, .phone-c:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 5; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-top: 10px; }
}

/* ---------- strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--red-deep), var(--bg-soft));
  padding: 34px 24px;
  text-align: center;
}
.strip p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-style: italic;
  color: var(--gold-bright);
  max-width: 40em;
  margin: 0 auto;
}

/* ---------- sections ---------- */
.section-head {
  text-align: center;
  max-width: 46em;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--cream-dim); font-size: 1.05rem; }

.features { padding: 96px 0 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.hero-platform {
  font-size: .85em;
  opacity: .75;
  align-self: center;
  white-space: nowrap;
}

/* Official Apple App Store badge — per Apple marketing guidelines:
   - preferred black badge used unmodified (border is part of artwork)
   - clear space: keep padding around badge; no scaling beyond 10% */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.appstore-badge:hover { transform: translateY(-2px); opacity: .92; }
.appstore-badge img { display: block; }
.appstore-badge-sm img { width: 190px; height: auto; }
.appstore-badge-lg img { width: 291px; height: auto; }

.lede-punch {
  font-size: .9em;
  opacity: .85;
  margin-top: 2px;
  margin-bottom: 0;
}
.hero-copy .lede:not(.lede-punch) {
  margin-bottom: 10px;
}
.hero-cta {
  margin-top: 16px;
}

.feature {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(196, 143, 65, 0.5); }
.feature-icon { font-size: 1.9rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--gold-bright); }
.feature p { font-size: 0.97rem; color: var(--cream-dim); }

/* ---------- how it works ---------- */
.how { padding: 70px 0 90px; }
.steps {
  list-style: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
}
.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 10px; }
.steps p { font-size: 0.97rem; color: var(--cream-dim); }

/* ---------- gallery ---------- */
.gallery { padding: 40px 0 90px; }
.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 900px) { .gallery-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-track { grid-template-columns: 1fr; } }
.gallery figure {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  position: relative;
}
.gallery img { width: 100%; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(20, 5, 5, 0.82);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ---------- cta ---------- */
.cta {
  padding: 90px 24px 110px;
  text-align: center;
  position: relative;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(134, 8, 8, 0.35), transparent 70%),
    linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 60px 40px;
}
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.cta p { color: var(--cream-dim); margin-bottom: 30px; }
.cta-note { font-size: 0.88rem !important; color: var(--cream-dim) !important; margin-top: 18px !important; margin-bottom: 0 !important; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #0e0303;
  padding: 54px 24px 34px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { font-size: 0.92rem; color: var(--cream-dim); margin-top: 4px; }
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.95rem;
  color: var(--cream-dim);
  padding: 4px 0;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-base {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid rgba(196, 143, 65, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(207, 191, 168, 0.65);
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
}