/* Landing page. Builds on style.css tokens (app colors and fonts). */

.home { background: var(--bg); overflow-x: hidden; }
.links a.cta-mini { background: var(--accent); color: #fff; }
.links a.cta-mini:hover { background: var(--accent-2); color: #fff; }

/* Hero */
.hero {
  max-width: 1120px; margin: 0 auto; padding: 56px 16px 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text);
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

.hero h1 {
  font-family: "Otterco Display", sans-serif; font-weight: 600;
  font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; margin: 20px 0 18px;
}
.accent { color: var(--accent); }
.hero-copy p { color: var(--subtle); font-size: 18px; max-width: 480px; margin: 0 0 28px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; scroll-margin-top: 100px; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff; padding: 12px 22px 12px 18px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(25,25,25,.18);
}
.store:hover { text-decoration: none; background: #000; }
.store span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 400; opacity: .8; }
.rating { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }

.hero-stack { position: relative; height: 560px; }
.hero-stack .s {
  position: absolute; width: 240px; border-radius: 28px;
  box-shadow: 0 30px 60px rgba(8,8,8,.25);
}
.s1 { left: 0; top: 60px; transform: rotate(-8deg); }
.s2 { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; width: 260px; }
.s3 { right: 0; top: 70px; transform: rotate(8deg); }

/* Stat strip */
.strip {
  max-width: 1120px; margin: 0 auto 72px; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.strip div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.strip strong { display: block; font-family: "Otterco Display", sans-serif; font-size: 32px; color: var(--accent); }
.strip span { color: var(--muted); font-size: 14px; }

/* Section heads */
.section-head { max-width: 1120px; margin: 0 auto 28px; padding: 0 16px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2, .final h2, .promise h2 {
  font-family: "Otterco Display", sans-serif; font-weight: 600;
  font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; margin: 8px 0 0;
}

/* Bento */
.features { margin-bottom: 80px; }
.bento {
  max-width: 1120px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 26px 26px 0; overflow: hidden; display: flex; flex-direction: column;
}
.tile h3 { font-family: "Otterco Display", sans-serif; font-weight: 600; font-size: 24px; margin: 6px 0 6px; }
.tile p { color: var(--subtle); margin: 0 0 20px; }
.tile img { width: 78%; margin: auto auto 0; border-radius: 22px 22px 0 0; display: block; aspect-ratio: 430 / 600; object-fit: cover; object-position: top; }
.num { font-size: 13px; font-weight: 600; color: var(--muted); }

.tile-wide { grid-column: span 2; flex-direction: row; gap: 24px; padding: 32px 32px 0; }
.tile-wide .tile-copy { flex: 1; align-self: center; padding-bottom: 32px; }
.tile-wide img { width: 42%; margin: 0; }
.tile.dark { background: #191919; border-color: #191919; color: #fff; }
.tile.dark p, .tile.dark .num { color: #B5BABD; }
.tile.accent-tile { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile.accent-tile p, .tile.accent-tile .num { color: rgba(255,255,255,.85); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }

/* Rail */
.more { margin-bottom: 80px; }
.rail {
  max-width: 1120px; margin: 0 auto; padding: 0 16px 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.rail figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 14px; }
.rail img { width: 100%; border-radius: 18px; display: block; aspect-ratio: 430 / 520; object-fit: cover; object-position: top; }
.rail figcaption { padding: 14px 6px 6px; color: var(--muted); font-size: 14px; }
.rail figcaption b { display: block; color: var(--text); font-size: 17px; font-weight: 600; }

/* Promise */
.promise { max-width: 1120px; margin: 0 auto 80px; padding: 0 16px; }
.promise-card {
  display: flex; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #FF3B63, #EE4D68); color: #fff;
  border-radius: 32px; padding: 40px;
}
.promise-card img { border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.2); flex-shrink: 0; }
.promise-card h2 { font-size: clamp(26px, 3.6vw, 36px); }
.promise-card p { margin: 10px 0 0; opacity: .92; }
.promise-card a { color: #fff; text-decoration: underline; }

.final { text-align: center; padding: 0 16px 80px; }
.final h2 { margin-bottom: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stack { height: 440px; }
  .hero-stack .s { width: 180px; }
  .s2 { width: 200px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .hero-stack { height: 360px; }
  .hero-stack .s { width: 140px; border-radius: 20px; }
  .s2 { width: 160px; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; flex-direction: column; padding: 26px 26px 0; }
  .tile-wide .tile-copy { padding-bottom: 0; }
  .tile-wide img { width: 78%; margin: 0 auto; }
  .rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .rail figure { scroll-snap-align: start; }
  .promise-card { flex-direction: column; text-align: center; padding: 28px; }
}
