/* ==========================================================================
   Repaint from the brand sheet's own gradients, not from a teal-adjacent mint.

   Brand sheet: "Brand Gradient — dark purple/plum to magenta to warm orange/peach",
   "Soft Gradient — cream to peach". That is the identity. Mint appears only as a
   status dot, the way the app uses it for Watching, never as a surface.

   Loaded after site.css on the home page only.
   ========================================================================== */

:root{
  --magenta:#8E3B62;
  --plum-deep:#3D1F5C;
  --peach-deep:#B4501F;
  --grad-brand:linear-gradient(115deg,#221538 0%,#3D1F5C 34%,#6E2F63 58%,#B04A4E 80%,#F79257 100%);
  --grad-peach:linear-gradient(135deg,#FFD2AA,#F79257);
}

/* ---------- the hero is the brand gradient ---------- */
.product-card{
  position:relative;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(720px 520px at 92% -14%, rgba(255,170,110,.40), transparent 62%),
    radial-gradient(560px 460px at 4% 112%, rgba(110,47,99,.55), transparent 66%),
    var(--grad-brand);
  box-shadow:0 60px 120px -60px rgba(34,21,56,.7), 0 0 0 1px rgba(34,21,56,.06);
}
.product-card::before{
  content:"";position:absolute;top:0;left:10%;right:10%;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,rgba(255,210,170,.85),rgba(255,146,87,.9),transparent);
}

/* on a gradient this warm, the screenshot needs a real frame */
.hero-art img{
  border-radius:16px;
  box-shadow:0 30px 70px -26px rgba(20,12,32,.75), 0 0 0 1px rgba(255,255,255,.16);
}

/* ---------- actions ---------- */
.btn-solid{
  background:var(--grad-peach);
  color:#241640;
  box-shadow:0 14px 30px -12px rgba(247,146,87,.85);
}
.btn-solid:hover{box-shadow:0 18px 34px -12px rgba(247,146,87,1)}
.btn-outline{
  background:rgba(255,255,255,.06);
  color:#FCF9F3;
  border-color:rgba(255,255,255,.34);
}
.btn-outline:hover{border-color:#FFD2AA;color:#FFF6EC}

/* ---------- mint survives only as a status dot ---------- */
.pill{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.06)}
.pill i{background:var(--mint)}

/* ---------- sections: cream to peach, not cream to teal ---------- */
section.band{
  background:linear-gradient(180deg,#FCF6EC 0%,#FBE9DA 100%);
  border-top:1px solid rgba(180,80,31,.12);
  border-bottom:1px solid rgba(180,80,31,.12);
}
section.band-warm{
  background:linear-gradient(180deg,#FDF1E4 0%,#F8E2CE 100%);
  border-top:1px solid rgba(180,80,31,.12);
  border-bottom:1px solid rgba(180,80,31,.12);
}
html[data-theme="moonlit"] section.band,
html[data-theme="moonlit"] section.band-warm{
  background:linear-gradient(180deg,rgba(142,59,98,.14),rgba(34,21,56,.25));
  border-color:rgba(255,146,87,.14);
}

/* ---------- type accents ---------- */
.kicker{color:var(--accent-text)}
section.band .kicker,
section.band-warm .kicker{color:#A64A1E}
.section-head h2::after{background:linear-gradient(90deg,var(--peach),var(--magenta))}
.nav-link::after{background:var(--peach)}
.doc a:hover{color:var(--accent-text)}

/* ---------- cards ---------- */


/* ---------- pricing ---------- */
.price-card{
  border:1px solid transparent;
  background-image:linear-gradient(var(--surface),var(--surface)),
                   linear-gradient(140deg,#F79257,#8E3B62 52%,#2A1B4A);
  background-origin:border-box;
  background-clip:padding-box,border-box;
  box-shadow:0 44px 90px -54px rgba(142,59,98,.8);
}
.price-card .tagline{color:var(--accent-text)}
#pricing{background-image:linear-gradient(180deg,rgba(255,210,170,.22),rgba(255,210,170,0) 70%)}
html[data-theme="moonlit"] #pricing{background-image:linear-gradient(180deg,rgba(247,146,87,.10),transparent 70%)}

/* ---------- faq ---------- */
.faq summary:hover{color:var(--magenta)}
html[data-theme="moonlit"] .faq summary:hover{color:var(--peach-l)}

/* ---------- footer edge ---------- */
footer::before{
  background:linear-gradient(90deg,transparent,rgba(142,59,98,.45),rgba(247,146,87,.6),transparent);
}

/* ---------- dark mode keeps the same story, deeper ---------- */
html[data-theme="moonlit"] .product-card{
  background:
    radial-gradient(720px 520px at 92% -14%, rgba(255,146,87,.30), transparent 62%),
    radial-gradient(560px 460px at 4% 112%, rgba(142,59,98,.45), transparent 66%),
    linear-gradient(115deg,#1A1230 0%,#33204F 40%,#5E2B57 72%,#A34A45 100%);
}
html[data-theme="moonlit"] .step{border-color:rgba(255,146,87,.16)}


/* the price was painted for the dark hero; on the white card it must be ink */
.price-card .price{color:var(--text)}
html[data-theme="moonlit"] .price-card .price{color:#FCF9F3}


/* ==========================================================================
   The screens are a stage, not a grid.

   Three images of three different sizes cannot sit in a two-column grid without
   looking like leftovers. They are layered instead: the record behind, the panel
   forward and sharp, the menu floating off its shoulder. Dark backdrop so the
   cream UI in each shot is the brightest thing on the screen.
   ======================================================================== */

.stage-sec{
  position:relative;overflow:hidden;
  background:
    radial-gradient(900px 620px at 50% -10%, rgba(255,170,110,.30), transparent 62%),
    radial-gradient(700px 520px at 6% 108%, rgba(110,47,99,.55), transparent 64%),
    linear-gradient(150deg,#1E1436 0%,#2E1A46 46%,#5E2B57 78%,#8A3E45 100%);
  padding:clamp(64px,9vh,104px) 0 clamp(56px,8vh,88px);
}
.stage-sec .section-head{margin-bottom:clamp(40px,7vh,64px)}
.stage-sec .kicker{color:var(--peach-l)}
.stage-sec h2{color:#FCF9F3}
.stage-sec .sec-lede{color:rgba(252,249,243,.74)}
.stage-sec .section-head h2::after{background:linear-gradient(90deg,var(--peach),rgba(255,210,170,.25))}

.stage{
  position:relative;
  max-width:1040px;margin:0 auto;
  height:clamp(420px,44vw,600px);
}
.stage img{
  position:absolute;display:block;height:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
}
.stage .s-hist{
  width:44%;left:1%;top:9%;
  /* the full history render is very tall; crop it inside the stage instead of
     letting it run over the captions. Top-aligned, so the newest rows show. */
  height:82%;
  object-fit:cover;
  object-position:top center;
  transform:rotate(-4.5deg);
  filter:saturate(.92) brightness(.92);
  box-shadow:0 40px 80px -40px rgba(10,6,18,.9);
  z-index:1;
}
.stage .s-panel{
  width:34%;left:50%;top:0;
  max-height:86%;object-fit:contain;object-position:top center;
  transform:translateX(-50%);
  z-index:3;
  box-shadow:0 60px 110px -40px rgba(10,6,18,.95), 0 0 0 1px rgba(255,255,255,.10);
}
.stage .s-menu{
  width:25%;right:2%;top:26%;
  transform:rotate(3.5deg);
  z-index:4;
  box-shadow:0 40px 80px -34px rgba(10,6,18,.9), 0 0 0 1px rgba(255,255,255,.10);
}
.stage-glow{
  position:absolute;left:50%;top:14%;width:46%;height:70%;
  transform:translateX(-50%);
  background:radial-gradient(closest-side,rgba(255,210,170,.45),rgba(247,146,87,.18) 55%,transparent 72%);
  filter:blur(38px);z-index:0;pointer-events:none;
}
.stage-floor{
  position:absolute;left:50%;bottom:-6%;width:52%;height:38px;
  transform:translateX(-50%);
  background:radial-gradient(closest-side,rgba(10,6,18,.55),transparent 75%);
  filter:blur(16px);z-index:2;pointer-events:none;
}

.stage-caps{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  max-width:1040px;margin:clamp(30px,5vh,48px) auto 0;
  border-top:1px solid rgba(255,255,255,.14);padding-top:22px;
}
.stage-caps b{
  display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--peach-l);margin-bottom:5px;
}
.stage-caps span{font-size:13.5px;line-height:1.55;color:rgba(252,249,243,.66)}

@media (max-width:820px){
  .stage{height:auto;display:grid;gap:18px;justify-items:center}
  .stage img,.stage .s-hist,.stage .s-panel,.stage .s-menu{
    position:static;width:100%;max-width:420px;transform:none;left:auto;right:auto;top:auto;
    height:auto;max-height:460px;object-fit:cover;object-position:top center;
  }
  .stage-glow,.stage-floor{display:none}
  .stage-caps{grid-template-columns:1fr;gap:14px}
}
