/* Sun & Star product page: the app's night-ink and sun-gold look (tarot-app src/style.css, from the Meridian storybook).
   Scoped to body.sunstar so the rest of the site keeps its own colours. Loaded after site.css.
   Fonts: IM Fell English SC + Alegreya, Latin subsets, SIL OFL (licences in /assets/fonts/), self-hosted. */

@font-face { font-family: "IM Fell English SC"; src: url("/assets/fonts/im-fell-english-sc.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; src: url("/assets/fonts/alegreya.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; src: url("/assets/fonts/alegreya-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; src: url("/assets/fonts/alegreya-bold.woff2") format("woff2"); font-display: swap; }

body.sunstar {
  --bg: #0d0a12;
  --text: #f1eadb;
  --muted: #a99e89;
  --card: #1c1726;
  --line: #322a43;
  --accent: #ecd08a;
  --slate: #251f32;
  --amber: #e8c76a;
  --sol: #e8c76a;
  color-scheme: dark;
  background: radial-gradient(120% 60rem at 50% 0, #241d33 0%, #15111d 55%, #0d0a12 100%) fixed, #0d0a12;
  font-family: "Alegreya", Georgia, serif;
  font-size: 18px;
}

.sunstar h1, .sunstar h2 {
  font-family: "IM Fell English SC", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.sunstar h1 { font-size: 2.6rem; line-height: 1.05; }
.sunstar h2 { font-size: 1.55rem; margin-top: 2.6rem; }
.sunstar h1 .amp { color: var(--sol); }
.sunstar .lede { font-style: italic; color: #d6ccb7; }

.sunstar .hero img { border-radius: 24px; box-shadow: 0 0 0 1px rgba(232, 199, 106, 0.35), 0 10px 40px -10px rgba(232, 199, 106, 0.45); }
.sunstar .badge {
  background: transparent;
  color: var(--sol);
  border: 1px solid rgba(232, 199, 106, 0.5);
  font-family: "IM Fell English SC", Georgia, serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.sunstar .price { font-size: 1rem; }

.sunstar .banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.75rem 0 0;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Panels: warm ink with the lit gold top edge from the app. */
.sunstar .promises div {
  position: relative;
  background: linear-gradient(180deg, #1c1726, #15111d);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sunstar .promises div::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sol), transparent);
  opacity: 0.7;
}
.sunstar .promises b { font-family: "IM Fell English SC", Georgia, serif; font-weight: 400; font-size: 1.1rem; color: var(--sol); letter-spacing: 0.03em; }
.sunstar .promises span { color: #d6ccb7; }

/* Card strip: the same swipe row as the screenshots elsewhere on the site. */
.sunstar .deck figure {
  flex: none;
  width: 9.5rem;
  max-width: 42vw;
  margin: 0;
  scroll-snap-align: start;
}
.sunstar .deck img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(232, 199, 106, 0.3), 0 10px 28px -12px rgba(0, 0, 0, 0.8);
}
.sunstar .deck figcaption {
  margin-top: 0.45rem;
  font-family: "IM Fell English SC", Georgia, serif;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.sunstar .tiers th { font-family: "IM Fell English SC", Georgia, serif; font-weight: 400; font-size: 1.05rem; color: var(--sol); width: 6rem; }
.sunstar .tiers td ul { margin: 0; }
.sunstar .note { background: #1c1726; border-left-color: var(--sol); }
.sunstar .credit { color: var(--muted); font-size: 0.95rem; }
.sunstar .menu-list a:hover, .sunstar .menu-list a:focus-visible { background: #251f32; }

/* The Fool clip: a card-shaped frame that glows like the cards in the app. */
.sunstar .fool { margin: 2rem auto; max-width: 340px; text-align: center; }
.sunstar .fool video {
  display: block; width: 100%; height: auto; aspect-ratio: 540 / 946; border-radius: 14px; background: var(--card);
  box-shadow: 0 0 0 1px rgba(232, 199, 106, 0.35), 0 14px 48px -12px rgba(232, 199, 106, 0.45);
}
.sunstar .fool figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.95rem; }
.sunstar .fool figcaption b { font-family: "IM Fell English SC", Georgia, serif; font-weight: 400; color: var(--sol); }
