/* CardSnap MTG — site-specific styles (layered on shared/site.css) */

.nav__brand img { border-radius: 8px; }

/* ---------- Hero (card flat-lay behind a dark scrim) ---------- */

.hero-band {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(13,13,13,.35), rgba(13,13,13,.58) 70%, rgba(13,13,13,.5) 100%),
    linear-gradient(180deg, rgba(13,13,13,.42), rgba(13,13,13,.72) 80%, var(--black)),
    url(/assets/hero-flatlay-1600.jpg) center 30% / cover no-repeat;
}
@media (min-width: 1600px) {
  .hero-band {
    background:
      radial-gradient(ellipse at 70% 40%, rgba(13,13,13,.35), rgba(13,13,13,.58) 70%, rgba(13,13,13,.5) 100%),
      linear-gradient(180deg, rgba(13,13,13,.42), rgba(13,13,13,.72) 80%, var(--black)),
      url(/assets/hero-flatlay.jpg) center 30% / cover no-repeat;
  }
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  min-height: min(calc(100svh - 62px), 860px);
  padding-block: clamp(70px, 10vw, 120px);
}
.hero__title { font-size: clamp(40px, 4.4vw, 64px); font-weight: 900; }
.hero__title em { font-style: normal; color: var(--lilac); }
.hero__lede { max-width: 560px; margin: 28px 0 36px; font-size: clamp(18px, 2vw, 21px); color: rgba(244,238,251,.8); }
.hero__note { margin: 22px 0 0; font-size: 15px; color: var(--text-muted); }
.hero__text > * { opacity: 0; animation: fade-up 1s var(--ease-out) forwards; }
.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
.hero__text > :nth-child(5) { animation-delay: 0.32s; }
.hero__icon {
  justify-self: center;
  width: min(280px, 70vw);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 120px -20px rgba(217,184,255,.45);
  opacity: 0;
  animation: fade-up 1.1s var(--ease-out) 0.25s forwards, float 7s ease-in-out 1.4s infinite alternate;
}
@keyframes float { to { transform: translateY(-14px) rotate(-2deg); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__icon { width: 160px; justify-self: start; order: -1; }
}

.apple { width: 15px; height: 18px; margin-top: -3px; }

/* ---------- Precision matching ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.split .section__head { margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; color: rgba(244,238,251,.86); }
.checks li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lilac-soft);
  color: var(--lilac);
  font-size: 14px;
  font-weight: 700;
}
.illustration { margin: 0; text-align: center; }
.illustration svg { width: min(280px, 70vw); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.7)) drop-shadow(0 0 60px rgba(217,184,255,.2)); }
.illustration figcaption { margin-top: 18px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature grid ---------- */

.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards--4 { grid-template-columns: minmax(0, 1fr); } }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--lilac-soft);
  color: var(--lilac);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; }

/* ---------- Screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.9);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.shots img:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -25px rgba(0,0,0,.9), 0 0 60px -20px rgba(217,184,255,.4); }
.shots li:nth-child(even) { margin-top: 40px; }
@media (max-width: 860px) {
  .shots {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 12px;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 min(62vw, 240px); scroll-snap-align: center; }
  .shots li:nth-child(even) { margin-top: 0; }
}

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

.step .card__icon { margin-bottom: 0; }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.step__top .card__num { margin: 0; }
.step svg.step__art { display: block; width: 100%; height: auto; margin-bottom: 22px; border-radius: 16px; }

/* ---------- "New" feature badge ---------- */

.card--new { position: relative; }
.new-badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--lilac-line);
  background: var(--lilac-soft);
  color: var(--lilac);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; }
.plan h3 { font-size: 22px; margin-bottom: 14px; }
.plan__price { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.plan__per { margin: 10px 0 24px !important; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.plan li::before { content: ""; width: 18px; height: 1.5px; background: var(--lilac); flex: none; }
.plan .btn { align-self: flex-start; }
.plan--featured {
  background: linear-gradient(160deg, #241C30, var(--black-2) 70%);
  border-color: var(--lilac-line);
  box-shadow: 0 0 100px -40px rgba(217,184,255,.5);
}
.plan__badge {
  position: absolute;
  top: 28px; right: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Download band ---------- */

.download {
  background:
    linear-gradient(180deg, rgba(13,13,13,.82), rgba(13,13,13,.9)),
    url(/assets/hero-flatlay-1600.jpg) center 30% / cover no-repeat;
}
.cta p { margin: -12px auto 36px; max-width: 560px; color: rgba(244,238,251,.8); font-size: clamp(17px, 1.8vw, 20px); }
.cta h2 { font-size: clamp(40px, 7vw, 88px); }

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

.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.footer__brand img { width: 26px; height: 26px; border-radius: 7px; }

/* Android early-access note under the App Store button */
.cta .android-note { margin: 40px auto 0; max-width: 560px; font-size: 16px; color: var(--text-muted); }
.cta .android-note strong { color: var(--text); }
.cta .android-note a { overflow-wrap: anywhere; }
