/* SatPrep product pages (forked from SpaceSweep's). Builds on /styles.css (nav, wrap,
   type, theme) and swaps the accent to SatPrep's blue/mint. */
.sp {
  --sp-deep: #16244F;
  --sp-violet: #2944A0;
  --sp-purple: #4C78EC;
  --sp-teal: #78EBCC;
  --sp-blue: #4C9BFF;
  --accent: #2F4FB8;
  --accent-ink: #FFFFFF;
  --accent-soft: #E7ECFB;
  --sp-hero: linear-gradient(135deg, var(--sp-deep), var(--sp-violet) 55%, var(--sp-purple));
  --sp-action: linear-gradient(135deg, var(--sp-teal), var(--sp-blue));
  --paper: #F6F7FB;
  --tint: #ECEFF8;
  --line: #D9DEEC;
  --muted: #59607A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sp { --accent: #8FA8FF; --accent-ink: #0B1330; --accent-soft: #18224A; --paper: #0A0E1A; --surface: #121A2E; --tint: #0E1424; --line: #232D48; --muted: #9AA3C0; }
}
:root[data-theme="dark"] .sp { --accent: #8FA8FF; --accent-ink: #0B1330; --accent-soft: #18224A; --paper: #0A0E1A; --surface: #121A2E; --tint: #0E1424; --line: #232D48; --muted: #9AA3C0; }

.sp-banner {
  background: #FFE9A8; color: #4A3500; text-align: center; font: 500 0.875rem/1.4 var(--f-body);
  padding: 8px 16px;
}
.sp-banner code { font-family: var(--f-mono); }

/* Hero */
.sp-hero { position: relative; overflow: hidden; background: var(--sp-hero); color: #fff; padding-block: clamp(48px, 7vw, 96px) 0; }
.sp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 14%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 46%, rgba(255,255,255,.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 8%, rgba(255,255,255,.4) 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 80% 0%, rgba(120,235,204,.25), transparent 55%);
}
.sp-hero__inner { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; }
.sp-hero__icon { width: 112px; height: 112px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.sp-hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 14em; }
.sp-hero h1 span { background: var(--sp-action); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-hero .lede { color: rgba(255,255,255,.82); margin-inline: auto; }
.sp-hero .lede strong { color: #fff; }
.sp-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 600 1rem/1 var(--f-body); padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 0;
  background: var(--sp-action); color: #08243A; box-shadow: 0 12px 28px -12px rgba(76,155,255,.8);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sp-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(76,155,255,.9); }
.sp-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.sp-btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.sp-btn--plain { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.sp-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-meta { font: 500 var(--step--1)/1.4 var(--f-mono); color: rgba(255,255,255,.7); letter-spacing: .02em; }
.sp-shot { margin: 18px auto 0; max-width: 1040px; }
.sp-shot img { display: block; width: 100%; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 60px -10px rgba(0,0,0,.45); }

/* Sections */
.sp-section { padding-block: clamp(56px, 8vw, 104px); }
.sp-section--tint { background: var(--tint); }
.sp-head { display: grid; gap: 12px; text-align: center; justify-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.sp-head p { color: var(--muted); max-width: 38em; font-size: var(--step-1); }

.sp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.sp-feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sp-hero); color: #fff; }
.sp-feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-feature p { color: var(--muted); }

/* Pricing */
.sp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.sp-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: grid; gap: 14px; align-content: start; }
.sp-plan--best { border: 2px solid var(--accent); box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--accent) 70%, transparent); }
.sp-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font: 600 0.75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.sp-plan h3 { font-size: var(--step-1); }
.sp-price { font: 800 2.5rem/1 var(--f-display); letter-spacing: -0.03em; }
.sp-price small { font: 500 0.9375rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.sp-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.sp-plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.sp-plan .sp-btn { width: 100%; margin-top: 6px; }
.sp-free { text-align: center; color: var(--muted); margin-top: 22px; }
.sp-error { color: #C0392B; text-align: center; margin-top: 14px; min-height: 1.4em; }

/* FAQ */
.sp-faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.sp-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.sp-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.sp-faq details[open] summary::after { content: "–"; }
.sp-faq details p { color: var(--muted); margin-top: 10px; }

/* Final CTA */
.sp-final { background: var(--sp-hero); color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.sp-final h2 { margin-bottom: 18px; }

/* Thank-you / recover cards */
.sp-card { max-width: 560px; margin: clamp(40px, 8vw, 88px) auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 40px); display: grid; gap: 18px; text-align: center; }
.sp-card__icon { width: 80px; height: 80px; margin-inline: auto; }
.sp-card p { color: var(--muted); }
.sp-key { font: 500 clamp(1rem, 3.6vw, 1.35rem)/1.3 var(--f-mono); letter-spacing: .04em; background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 16px; word-break: break-all; user-select: all; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sp-steps { text-align: left; color: var(--muted); margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.sp-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-form input { flex: 1 1 220px; min-width: 0; font: 400 1rem/1 var(--f-body); padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.sp-spinner { width: 28px; height: 28px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: sp-spin .8s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .sp-features, .sp-plans { grid-template-columns: 1fr; }
  .sp-plan--best { order: -1; }
  .nav__links { display: none; }
}

[hidden] { display: none !important; }


/* SatPrep additions */
.sp-shots { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; max-width: 1080px; margin: 0 auto; }
.sp-shots img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(10,20,60,.55); }
.sp-shots figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; text-align: center; }
.sp-plans--two { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.sp-fine { color: var(--muted); font-size: .875rem; max-width: 46em; margin: 18px auto 0; text-align: center; }
@media (max-width: 860px) { .sp-shots, .sp-plans--two { grid-template-columns: 1fr; } }
