/* ==========================================================================
   Rivet — marketing pages (index, pricing, terms). Loads after base.css.
   ========================================================================== */

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 128px) clamp(52px, 7vw, 92px);
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0; z-index: -2;
  display: flex; justify-content: flex-end; align-items: center;
}
.hero__art img {
  height: 100%; width: 54%; object-fit: cover; object-position: 50% 42%;
  opacity: .78;
  /* feathered into the page on the left so type stays readable over it */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ink) 4%, rgba(10,7,17,.82) 38%, rgba(10,7,17,.18) 78%);
}
.hero__bloom-1 { top: -140px; left: -120px; width: 520px; height: 520px; z-index: -3; }
.hero__bloom-2 { bottom: -200px; left: 28%; width: 460px; height: 460px; z-index: -3; opacity: .34; }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero__sub {
  margin-top: 26px; font-size: clamp(16.5px, 1.6vw, 20px);
  line-height: 1.58; color: var(--text-2); max-width: 54ch;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 22px; color: var(--text-4); letter-spacing: .1em; }
@media (max-width: 860px) {
  .hero__art img { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10,7,17,.72), var(--ink) 72%); }
}
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* ---------------------------------------------------------- stat strip --- */
.stats { border-block: 1px solid var(--line-dim); background: var(--ink-2); }
.stats__grid { padding-block: 34px; gap: 28px 12px; }
.stats__item { flex: 1 1 170px; }
.stats__label { color: var(--text-4); margin-top: 8px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.04em; }

/* ------------------------------------------------------ comparison table - */
.table-shell {
  margin-top: 40px; overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); -webkit-overflow-scrolling: touch;
}
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; }
.cmp thead tr { border-bottom: 1px solid var(--line); }
.cmp th { text-align: left; padding: 20px 24px; font-weight: 500; }
.cmp th.is-us { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--violet); }
.cmp th.is-them { color: var(--text-4); font-size: 15px; }
.cmp tbody tr { border-bottom: 1px solid #1F1F26; }
.cmp tbody tr:last-child { border-bottom: none; }
.cmp td { padding: 18px 24px; }
.cmp td.label { color: var(--text-2); }
.cmp td.us { font-weight: 600; }
.cmp td.us--hi { font-weight: 600; color: var(--violet); }
.cmp td.them { color: var(--text-4); }
.fineprint { margin-top: 16px; color: var(--text-5); font-size: 12.5px; line-height: 1.6; max-width: 76ch; }

/* -------------------------------------------------------- feature grid --- */
.features { gap: 20px; margin-top: 46px; }
.feature { flex: 1 1 320px; padding: 30px; }
.feature h3 { font-size: 21px; font-weight: 700; }
.feature p { margin-top: 12px; color: var(--text-3); line-height: 1.6; font-size: 15px; }
.feature svg { margin-bottom: 20px; }

/* --------------------------------------------------------------- boost --- */
.boost { gap: 48px 56px; align-items: center; }
.boost__copy { flex: 1 1 400px; }
.boost__panel { flex: 1 1 340px; padding: 30px; }
.checklist { margin-top: 26px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #D8D8DE; font-size: 15.5px; line-height: 1.5; }
.checklist svg { flex: none; margin-top: 3px; }
.meter { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 12px; }
.meter span { display: block; height: 100%; background: var(--violet); border-radius: 99px; }

/* --------------------------------------------------------------- tiles --- */
.tiles { gap: 18px; margin-top: 44px; }
.tile { flex: 1 1 250px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.tile h3 { font-size: 18px; font-weight: 700; }
.tile p { margin-top: 10px; color: var(--text-3); font-size: 14.5px; line-height: 1.6; }

/* ------------------------------------------------------------- pricing --- */
.plans { gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { flex: 1 1 250px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--violet); }
.plan__badge {
  position: absolute; top: -10px; left: 28px;
  background: var(--violet); color: var(--ink);
  padding: 4px 10px; border-radius: 999px; font-weight: 500;
}
.plan__price { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -.04em; margin-top: 14px; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--text-4); font-family: var(--body); }
.plan__note { color: var(--text-4); font-size: 13.5px; margin-top: 6px; }
.plan__desc { color: var(--text-3); font-size: 14.5px; line-height: 1.6; flex: 1; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-3); line-height: 1.5; }
.plan li svg { flex: none; margin-top: 2px; }
.plan .btn { margin-top: 22px; }

/* ------------------------------------------------------------- formula --- */
.formula {
  margin-top: 34px; padding: 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink); overflow-x: auto;
}
.formula p { font-family: var(--mono); color: var(--text-4); font-size: 14px; line-height: 2.1; white-space: nowrap; }
.formula b { color: var(--violet); font-weight: 500; }
.notes { gap: 18px; margin-top: 28px; }
.notes p { flex: 1 1 260px; color: var(--text-3); font-size: 14.5px; line-height: 1.65; }

/* ----------------------------------------------------------------- cta --- */
.cta { text-align: center; padding-block: clamp(68px, 9vw, 128px); }
.cta h2 { font-size: clamp(32px, 5.5vw, 68px); font-weight: 800; max-width: 17ch; margin-inline: auto; }
.cta__sub { margin-top: 22px; color: var(--text-2); font-size: 17.5px; line-height: 1.6; max-width: 54ch; margin-inline: auto; }
.cta__actions { gap: 12px; margin-top: 36px; justify-content: center; }
@media (max-width: 520px) { .cta__actions .btn { width: 100%; } }

/* ----------------------------------------------------------- legal doc --- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin-top: 52px; }
.legal h3 { font-size: 18px; font-weight: 700; margin-top: 32px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.75; font-size: 15.5px; margin-top: 14px; }
.legal ul, .legal ol { padding-left: 22px; margin-top: 10px; }
.legal li { margin-top: 9px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--violet); }
.legal__toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 24px; margin-top: 34px;
}
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; }
.legal__toc li { margin-top: 7px; font-size: 14.5px; }
@media (max-width: 620px) { .legal__toc ol { columns: 1; } }
.callout {
  border: 1px solid var(--violet); background: var(--violet-dim);
  border-radius: var(--radius-sm); padding: 20px 22px; margin-top: 24px;
}
.callout p { color: var(--text-2); margin-top: 0; font-size: 14.5px; }
.callout p + p { margin-top: 12px; }

/* ==========================================================================
   Store pitch + share-link card
   ========================================================================== */
.storepitch { gap: 44px 56px; margin-top: 46px; align-items: flex-start; }
.storepitch__copy { flex: 1 1 380px; min-width: 0; }
.storepitch .checklist { margin-top: 0; }
.storepitch .checklist li { align-items: flex-start; }
.storepitch .checklist strong { color: var(--text); font-weight: 600; }

.callout--quiet {
  border-color: var(--line); background: var(--grad-soft); margin-top: 28px;
}

/* a browser-chrome mock of the artist's shareable page */
.sharecard {
  flex: 1 1 340px; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
}
.sharecard__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.sharecard__dot { width: 9px; height: 9px; border-radius: 50%; background: #3A2E4A; flex: none; }
.sharecard__url {
  margin-left: 10px; color: var(--text-3); font-size: 11px;
  letter-spacing: .04em; text-transform: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sharecard__body { padding: 20px; }
.sharecard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sharecard__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--grad); opacity: .9;
}
.sharecard__name { font-family: var(--display); font-weight: 700; font-size: 19px; }
.sharecard__meta { color: var(--text-4); font-size: 12.5px; margin-top: 3px; }
.sharecard__row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--line-dim);
}
.sharecard__thumb {
  width: 34px; height: 34px; border-radius: 7px; flex: none;
  background: linear-gradient(135deg, #A040E0, #5030E0);
}
.sharecard__thumb--b { background: linear-gradient(135deg, #7C3AED, #3B2A9E); }
.sharecard__thumb--c { background: linear-gradient(135deg, #C083FF, #6D4AEA); }
.sharecard__track {
  flex: 1; min-width: 0; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sharecard__price { color: var(--text-2); font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.sharecard__row--album .sharecard__price { color: var(--violet); }
.sharecard__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dim);
  color: var(--violet); font-size: 10px;
}

/* ==========================================================================
   Split flow
   ========================================================================== */
.splitflow { gap: 18px; margin-top: 46px; align-items: stretch; }
.splitflow__step {
  flex: 1 1 240px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.splitflow__step--end { border-color: var(--violet); background: var(--grad-soft); }
.splitflow__n {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--violet);
  font-size: 12px; margin-bottom: 16px;
}
.splitflow__step--end .splitflow__n { border-color: var(--violet); }
.splitflow__step h3 { font-size: 18px; font-weight: 700; }
.splitflow__step p { margin-top: 10px; color: var(--text-3); font-size: 14.5px; line-height: 1.6; }
.splitflow__arrow { display: grid; place-items: center; flex: 0 0 26px; }
@media (max-width: 880px) { .splitflow__arrow { display: none; } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; }
.cta__bloom {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 620px; height: 420px; opacity: .3;
}
.cta__mark {
  height: 56px; width: auto; display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 0 24px rgba(160, 64, 224, .55));
}
