/* ─────────────────────────────────────────────────────────────────────────
   Sweethearts funnel — dedicated stylesheet (SH design language).
   White surfaces, violet accents, soft violet shadows. Matches the
   Sweethearts app look, NOT the dark SSS marketing theme.
   ───────────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sh-bg:      #f7f5fb;
  --sh-card:    #ffffff;
  --sh-text:    #1a1030;
  --sh-muted:   #6d6485;
  --sh-faint:   #a49dbb;
  --sh-border:  rgba(26,16,48,0.08);
  --sh-accent:  #6f47d9;
  --sh-grad:    linear-gradient(90deg, #b026c9 0%, #6f47d9 100%);
  --sh-hot:     linear-gradient(100deg, #e04b57 0%, #6f47d9 100%);
  --sh-shadow-s: 0 2px 8px rgba(88,55,192,0.06);
  --sh-shadow-m: 0 8px 24px rgba(88,55,192,0.14);
}

html { scrollbar-gutter: stable; }
body {
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  line-height: 1.5;
  min-height: 100dvh;
}

.sh-wrap {
  max-width: 480px; margin: 0 auto;
  padding: 28px 20px 60px;
  min-height: 100dvh;
  display: flex; flex-direction: column;
}

/* ── Brand ── */
.sh-brand {
  font-family: Georgia, serif; font-size: 26px; font-weight: 600;
  letter-spacing: -0.01em; text-align: center;
}
.sh-brand em { color: var(--sh-accent); font-style: normal; }

/* ── Sticky header (hero only; body.funnel hides it and shows the centered
      brand instead) ── */
.sh-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(247,245,251,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111,71,217,0.1);
}
.sh-brand-sm {
  font-family: Georgia, serif; font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em;
}
.sh-brand-sm em { color: var(--sh-accent); font-style: normal; }
.sh-get {
  background: var(--sh-grad); color: #fff; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 800; padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(111,71,217,0.3);
}
.sh-get:active { transform: scale(0.97); }
.sh-hactions { display: flex; align-items: center; gap: 10px; }
.sh-signin {
  color: var(--sh-accent); text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 8px 6px; white-space: nowrap;
}
.sh-signin:active { opacity: 0.7; }
/* Hero: header carries the logo, so hide the centered brand block.
   Funnel (body.funnel): the reverse. */
body:not(.funnel) .sh-brand, body:not(.funnel) .sh-byline { display: none; }
body.funnel .sh-header { display: none; }
.sh-byline {
  text-align: center; font-size: 12px; color: var(--sh-faint);
  font-weight: 600; margin-top: -3px; margin-bottom: 10px;
}

/* ── Steps ── */
.sh-step { display: none; flex: 1; flex-direction: column; }
.sh-step.active { display: flex; }

/* progress dots */
.sh-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; }
.sh-dot {
  width: 26px; height: 4px; border-radius: 999px;
  background: rgba(111,71,217,0.15); transition: background 0.25s;
}
.sh-dot.on { background: var(--sh-accent); }

/* ── Hero ── */
.sh-h1 {
  font-family: Georgia, serif; font-size: 30px; font-weight: 600;
  text-align: center; line-height: 1.22; margin-bottom: 10px;
}
.sh-h1 em { color: var(--sh-accent); font-style: normal; }
.sh-lede {
  text-align: center; color: var(--sh-muted); font-size: 15px;
  margin: 0 auto 24px; max-width: 400px;
}

/* fanned avatar collage */
.sh-collage {
  display: flex; justify-content: center; margin-bottom: 8px;
  padding: 12px 0 20px;
}
.sh-collage .cg {
  width: 108px; aspect-ratio: 3 / 4; border-radius: 14px;
  background-size: cover; background-position: center;
  border: 3px solid #fff;
  box-shadow: var(--sh-shadow-m);
}
.sh-collage .cg + .cg { margin-left: -26px; }
.sh-collage .cg:nth-child(1) { transform: rotate(-7deg) translateY(8px); }
.sh-collage .cg:nth-child(2) { transform: rotate(-2deg); z-index: 2; }
.sh-collage .cg:nth-child(3) { transform: rotate(3deg) translateY(4px); z-index: 3; }
.sh-collage .cg:nth-child(4) { transform: rotate(8deg) translateY(12px); }

.sh-points {
  display: flex; flex-direction: column; gap: 9px;
  margin: 0 auto 26px; max-width: 360px;
}
.sh-point {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--sh-muted);
}
.sh-point .pico { color: var(--sh-accent); font-weight: 800; flex-shrink: 0; }

/* ── Section headers (Why you'll love it / How it works) ── */
.sh-sec-title {
  font-family: Georgia, serif; font-size: 24px; font-weight: 600;
  text-align: center; line-height: 1.25; margin: 58px 0 6px;
}
.sh-sec-title em { color: var(--sh-accent); font-style: normal; }
.sh-sec-sub {
  text-align: center; color: var(--sh-muted); font-size: 14px;
  margin: 0 auto 20px; max-width: 380px;
}

/* ── Why you'll love it — feature cards ── */
.sh-why { display: flex; flex-direction: column; gap: 16px; }
.sh-why-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 15px 16px;
  box-shadow: 0 6px 20px rgba(111,71,217,0.08);
}
.sh-why-card .wic { font-size: 22px; line-height: 1.2; flex-shrink: 0; }
.wt { font-size: 15px; font-weight: 800; color: var(--sh-text, #17121f); }
.wd { font-size: 13px; color: var(--sh-muted); line-height: 1.55; margin-top: 3px; }

/* Why-cards with an embedded demo widget: header row + widget stacked.
   align-items:stretch overrides the base card's flex-start so the input bar
   (and bubbles) hold a fixed full-block width — only the text animates. */
.sh-why-col { flex-direction: column; align-items: stretch; }
.sh-why-head { display: flex; gap: 12px; align-items: flex-start; }

/* a) small avatar strip (Real personalities) — fills the card's full width;
      items shrink evenly on narrow screens */
.sh-avarow { display: flex; margin-top: 12px; }
.sh-avarow .ava {
  flex: 1 1 0; min-width: 0; max-width: 46px; aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-size: cover; background-position: center top;
  border: 2px solid #fff; box-shadow: 0 3px 8px rgba(111,71,217,0.18);
}
.sh-avarow .ava + .ava { margin-left: -9px; }

/* b/c) looping message bubble — FIXED height so the card never resizes as
      messages of different lengths rotate through */
.sh-bubble {
  margin-top: 12px; height: 106px; overflow: hidden; box-sizing: border-box;
  background: rgba(111,71,217,0.07);
  border: 1px solid rgba(111,71,217,0.14);
  border-radius: 4px 16px 16px 16px;
  padding: 11px 14px;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.sh-bubble.bub-in { opacity: 1; transform: translateY(0); }
.sh-bubble .bub-txt { font-size: 13.5px; color: #3d3749; line-height: 1.5; }
.bub-name {
  display: block; font-size: 11.5px; font-weight: 800;
  color: var(--sh-accent); letter-spacing: 0.02em; margin-bottom: 3px;
}
.bnar { display: block; font-style: italic; color: var(--sh-faint); font-size: 12.5px; margin-bottom: 3px; }

/* d) animated input replica (Say it — or do it) */
/* mini-thread: her turns on the left, your sends on the right. FIXED height —
   messages fill upward from the bottom and the card never moves. */
.sid-thread {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-end;
  margin-top: 14px; height: 248px; overflow: hidden;
  justify-content: flex-end;
}
.sid-msg.sid-nar {
  align-self: flex-start; max-width: 95%;
  font-style: italic; font-size: 12px; color: var(--sh-faint);
  background: none; border: 0; box-shadow: none; padding: 0 4px;
  border-radius: 0;
}
.sid-msg {
  max-width: 85%; font-size: 13px; line-height: 1.45; color: #fff;
  background: var(--sh-grad);
  border-radius: 16px 4px 16px 16px; padding: 8px 13px;
  box-shadow: 0 4px 12px rgba(111,71,217,0.22);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sid-msg.in { opacity: 1; transform: translateY(0); }
.sid-msg-do { font-style: italic; }
.sid-msg-her {
  align-self: flex-start; color: #3d3749;
  background: rgba(111,71,217,0.07);
  border: 1px solid rgba(111,71,217,0.14);
  border-radius: 4px 16px 16px 16px;
  box-shadow: none;
}
.sid-her-name {
  display: block; font-size: 11px; font-weight: 800; font-style: normal;
  color: var(--sh-accent); margin-bottom: 2px;
}

.sid {
  width: 100%; box-sizing: border-box;
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid rgba(111,71,217,0.16);
  border-radius: 999px; padding: 7px 8px 7px 7px;
  box-shadow: 0 6px 18px rgba(111,71,217,0.1);
  transition: box-shadow 0.2s;
}
.sid.sid-flash { box-shadow: 0 0 0 3px rgba(111,71,217,0.25); }
.sid-toggle {
  display: flex; background: #efedf5; border-radius: 999px; padding: 3px;
  flex-shrink: 0;
}
.sid-mode {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em;
  width: 42px; text-align: center; box-sizing: border-box;
  padding: 4px 0; border-radius: 999px; color: var(--sh-faint);
  transition: all 0.25s;
}
.sid-mode.on { background: var(--sh-grad); color: #fff; box-shadow: 0 2px 6px rgba(111,71,217,0.3); }
.sid-field {
  flex: 1; min-width: 0; font-size: 13px; color: #3d3749;
  white-space: nowrap; overflow: hidden; display: flex; align-items: center;
  transition: box-shadow 0.2s;
}
.sid-field.sid-flash { border-radius: 8px; }
.sid-ph.sid-phc { color: var(--sh-faint); }
.sid-caret {
  width: 1.5px; height: 15px; background: var(--sh-accent);
  margin-left: 2px; flex-shrink: 0;
  animation: sidblink 1s steps(1) infinite;
}
@keyframes sidblink { 50% { opacity: 0; } }
.sid-send {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--sh-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 4px 10px rgba(111,71,217,0.3);
  transition: transform 0.2s;
}
.sid-send.sid-pulse { transform: scale(1.18); }

/* ── How it works — numbered steps (each step: header row + image below) ── */
.sh-how { display: flex; flex-direction: column; gap: 38px; margin-bottom: 24px; }
.sh-how-step { display: flex; flex-direction: column; gap: 12px; }
.sh-how-head { display: flex; gap: 12px; align-items: flex-start; }
.sh-how-head .hn {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--sh-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 10px rgba(111,71,217,0.25);
}

/* ── Showcase image blocks (full-width; used inside the how-it-works steps;
      no text — the images themselves carry the visuals + copy) ── */
.shc {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 18px;
  background-size: cover; background-position: center top;
  border: 3px solid #fff;
  box-shadow: var(--sh-shadow-m);
}

/* ── Swipe-card replica (How it works, step 1) — mirrors the app's explore
      card: photo, top photo-count bars, archetype/name/tags/bio, action row ── */
.sw-card {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden;
  background-size: cover; background-position: center top;
  background-color: #6f47d9;
  box-shadow: var(--sh-shadow-m);
  opacity: 0; transition: opacity 0.28s ease;
}
.sw-card.sw-in { opacity: 1; }
.sw-bars {
  position: absolute; top: 10px; left: 12px; right: 12px;
  display: flex; gap: 5px; z-index: 2;
}
.sw-bar {
  flex: 1; height: 3.5px; border-radius: 999px;
  background: rgba(255,255,255,0.35);
}
.sw-bar.on { background: rgba(255,255,255,0.95); }
.sw-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 60px 16px 14px;
  background: linear-gradient(180deg, rgba(23,15,38,0) 0%, rgba(23,15,38,0.72) 55%, rgba(23,15,38,0.88) 100%);
  color: #fff;
}
.sw-arch {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75); margin-bottom: 2px;
}
.sw-name { font-family: Georgia, serif; font-size: 30px; font-weight: 600; margin-bottom: 7px; }
.sw-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sw-tag {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(20,14,32,0.65); color: #fff;
  padding: 4px 9px; border-radius: 999px;
}
.sw-bio { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.92); margin-bottom: 14px; }
.sw-btns { display: flex; justify-content: center; gap: 18px; }
.sw-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.sw-x { background: linear-gradient(180deg, #f0607a, #d92c4d); }
.sw-s { background: linear-gradient(180deg, #5a9bf5, #3f78d9); font-size: 22px; }
.sw-h { background: linear-gradient(180deg, #57c97c, #35a75c); }

/* ── Chats-screen replica (How it works, step 2): Matches ↔ Messages ── */
.mx {
  background: #fff; border-radius: 20px; padding: 14px 14px 12px;
  box-shadow: var(--sh-shadow-m);
}
.mx-top { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.mx-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.mx-tab {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--sh-faint);
  background: #efedf5; border-radius: 999px; padding: 6px 13px;
  transition: all 0.3s;
}
.mx-tab.on { background: rgba(111,71,217,0.12); color: var(--sh-accent); }
.mx-pill {
  font-size: 10.5px; font-weight: 800; color: #fff;
  background: #b6afc6; border-radius: 999px; padding: 1.5px 7px;
}
.mx-pill-red { background: #e02c49; }
.mx-pane { display: none; }
.mx-pane.mx-on { display: block; animation: mxfade 0.35s ease; }
@keyframes mxfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mx-tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: 12px;
  background-size: cover; background-position: center top; overflow: hidden;
}
.mx-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(23,15,38,0.72) 100%);
}
.mx-tname {
  position: absolute; left: 7px; bottom: 5px; z-index: 2;
  font-size: 11px; font-weight: 800; color: #fff;
}
.mx-wrote {
  position: absolute; top: 5px; left: 5px; right: 5px; z-index: 2;
  font-size: 8.5px; font-weight: 800; text-align: center;
  background: rgba(111,71,217,0.92); color: #fff;
  border-radius: 999px; padding: 3px 2px;
}
.mx-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 2px; border-bottom: 1px solid rgba(111,71,217,0.08);
}
.mx-row:last-child { border-bottom: 0; }
.mx-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background-size: cover; background-position: center top;
}
.mx-body { flex: 1; min-width: 0; }
.mx-name { display: block; font-size: 13.5px; font-weight: 700; }
.mx-prev {
  display: block; font-size: 12px; color: var(--sh-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mx-unread .mx-name { font-weight: 800; }
.mx-unread .mx-prev { color: #3d3749; font-weight: 600; }
.mx-time {
  font-size: 11px; color: var(--sh-faint); flex-shrink: 0;
  display: flex; align-items: center; gap: 4px;
}
.mx-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e02c49;
  display: inline-block;
}

/* ── Hot-chat replica (How it works, step 3) — explicit words blurred ── */
.hc {
  background: #fff; border-radius: 20px; padding: 12px 14px 16px;
  box-shadow: var(--sh-shadow-m);
  display: flex; flex-direction: column; gap: 8px;
}
.hc-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(111,71,217,0.1);
}
.hc-who b { display: block; font-size: 14.5px; }
.hc-who i {
  font-style: normal; font-size: 11px; color: #35a75c; font-weight: 700;
}
.hc-nar {
  font-style: italic; font-size: 12px; color: var(--sh-faint);
  padding: 0 4px;
}
.hc-msg {
  align-self: flex-start; max-width: 85%;
  font-size: 13.5px; line-height: 1.5; color: #3d3749;
  background: rgba(111,71,217,0.07);
  border: 1px solid rgba(111,71,217,0.14);
  border-radius: 4px 16px 16px 16px; padding: 8px 13px;
}
.hc-me {
  align-self: flex-end; color: #fff;
  background: var(--sh-grad); border: 0;
  border-radius: 16px 4px 16px 16px;
  box-shadow: 0 4px 12px rgba(111,71,217,0.22);
}
.blr { filter: blur(4.5px); border-radius: 3px; user-select: none; }

/* ── Big closing CTA block (gradient panel) ── */
.sh-final {
  background: var(--sh-grad);
  border-radius: 24px; padding: 38px 24px 30px;
  text-align: center; color: #fff;
  margin: 30px 0 60px;
  box-shadow: 0 14px 36px rgba(111,71,217,0.35);
}
.sh-final h2 {
  font-family: Georgia, serif; font-size: 28px; font-weight: 600;
  line-height: 1.2; margin: 0 0 10px;
}
.sh-final h2 em { font-style: italic; }
.sh-final p {
  font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.88);
  max-width: 380px; margin: 0 auto 22px;
}
.sh-final-btn {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: #fff; color: var(--sh-accent);
  font-size: 17px; font-weight: 800;
  padding: 16px 20px; border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.sh-final-btn:active { transform: scale(0.98); }
.sh-final-note {
  display: block; font-size: 12px; color: rgba(255,255,255,0.75);
  margin-top: 12px;
}

/* ── Buttons ── */
.sh-cta {
  display: block; width: 100%;
  background: var(--sh-grad); color: #fff;
  border: none; border-radius: 16px; cursor: pointer;
  padding: 17px 20px; font-size: 17px; font-weight: 700; font-family: inherit;
  text-align: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(111,71,217,0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}
.sh-cta:active { transform: scale(0.98); box-shadow: 0 6px 16px rgba(111,71,217,0.3); }
.sh-cta:disabled { opacity: 0.45; cursor: default; box-shadow: none; }

.sh-back {
  background: none; border: none; cursor: pointer;
  color: var(--sh-faint); font-size: 13px; font-family: inherit;
  padding: 12px; margin-top: 6px; text-align: center; width: 100%;
}

/* ── Step: who to meet ── */
.sh-q {
  font-family: Georgia, serif; font-size: 24px; font-weight: 600;
  text-align: center; margin-bottom: 4px;
}
.sh-q em { color: var(--sh-accent); font-style: normal; }
.sh-qsub { text-align: center; color: var(--sh-muted); font-size: 13.5px; margin-bottom: 20px; }

.sh-meet { display: flex; flex-direction: column; gap: 12px; }
.sh-meet-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--sh-card); border: 2px solid var(--sh-border);
  border-radius: 18px; padding: 12px 16px 12px 12px; cursor: pointer;
  box-shadow: var(--sh-shadow-s);
  transition: border-color 0.15s, transform 0.12s;
  text-align: left; font-family: inherit;
}
.sh-meet-card:active { transform: scale(0.985); }
.sh-meet-card:hover { border-color: var(--sh-accent); }
.sh-meet-faces { display: flex; }
.sh-meet-faces .mf {
  width: 46px; height: 46px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2.5px solid #fff; box-shadow: var(--sh-shadow-s);
}
.sh-meet-faces .mf + .mf { margin-left: -14px; }
.sh-meet-label { font-size: 17px; font-weight: 700; }
.sh-meet-sub { font-size: 12px; color: var(--sh-faint); }
.sh-meet-arrow { margin-left: auto; color: var(--sh-accent); font-size: 20px; font-weight: 700; }

/* ── Step: email ── */
.sh-field { margin-bottom: 14px; }
.sh-input {
  width: 100%; background: var(--sh-card);
  border: 2px solid var(--sh-border); border-radius: 14px;
  padding: 15px 18px; font-size: 16px; color: var(--sh-text);
  font-family: inherit; outline: none;
  box-shadow: var(--sh-shadow-s);
}
.sh-input:focus { border-color: var(--sh-accent); }
.sh-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--sh-muted);
  margin: 4px 0 18px; cursor: pointer;
}
.sh-check input {
  width: 18px; height: 18px; margin-top: 1px;
  accent-color: var(--sh-accent); flex-shrink: 0; cursor: pointer;
}
.sh-check a { color: var(--sh-accent); }
.sh-signin-hint {
  text-align: center; font-size: 13px; color: var(--sh-faint); margin-top: 16px;
}
.sh-signin-hint a { color: var(--sh-accent); font-weight: 600; }

/* ── Step: paywall ── */
.sh-plans { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.sh-plan {
  position: relative;
  background: var(--sh-card); border: 2px solid var(--sh-border);
  border-radius: 18px; padding: 16px 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--sh-shadow-s); font-family: inherit; width: 100%; text-align: left;
  transition: border-color 0.15s;
}
.sh-plan.sel { border-color: var(--sh-accent); box-shadow: 0 6px 20px rgba(111,71,217,0.18); }
.sh-plan-name { font-size: 16px; font-weight: 700; }
.sh-plan-sub  { font-size: 12px; color: var(--sh-faint); margin-top: 2px; }
.sh-plan-price { font-size: 18px; font-weight: 800; color: var(--sh-accent); }
.sh-plan-tag {
  position: absolute; top: -10px; right: 14px;
  background: var(--sh-grad); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.sh-includes {
  background: rgba(111,71,217,0.06); border: 1px solid rgba(111,71,217,0.14);
  border-radius: 14px; padding: 12px 15px; margin-bottom: 18px;
  font-size: 12.5px; color: var(--sh-muted); line-height: 1.55;
}
.sh-includes b { color: var(--sh-accent); }

/* ── Card / checkout step ── */
.sh-card-box {
  background: #fff; border-radius: 18px; padding: 18px 16px 16px;
  box-shadow: 0 10px 30px rgba(111,71,217,0.12);
  margin-bottom: 16px;
}
.sh-card-box .sh-cta { margin-top: 16px; width: 100%; }
#payment-element { min-height: 120px; }
.sh-spin {
  width: 34px; height: 34px; margin: 40px auto;
  border: 3px solid rgba(111,71,217,0.18); border-top-color: var(--sh-accent);
  border-radius: 50%; animation: shspin 0.9s linear infinite;
}
@keyframes shspin { to { transform: rotate(360deg); } }
.sh-pay-err { color: #c02947; font-size: 13px; min-height: 18px; margin-top: 10px; text-align: center; }
.sh-secure { font-size: 11.5px; color: var(--sh-faint); text-align: center; margin-top: 10px; }

/* ── Success ── */
.sh-success-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--sh-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800;
  margin: 18px auto 16px;
  box-shadow: 0 10px 26px rgba(111,71,217,0.3);
}
.sh-success-note {
  font-size: 12.5px; color: var(--sh-muted); line-height: 1.6;
  text-align: center; margin-top: 16px;
}
.sh-success-note a { color: var(--sh-accent); font-weight: 600; }

/* ── Footer / legal ── */
.sh-legal {
  margin-top: auto; padding-top: 26px;
  font-size: 11px; color: var(--sh-faint); text-align: center; line-height: 1.55;
}
.sh-legal a { color: var(--sh-faint); }

/* ── Tablet: keep the single-column layout, just wider + bigger type ── */
@media (min-width: 720px) and (max-width: 959px) {
  .sh-wrap { max-width: 520px; padding-top: 44px; }
  .sh-h1 { font-size: 36px; }
  .sh-collage .cg { width: 124px; }
}

/* ── Desktop (≥960px): 1100px content zone ── */
@media (min-width: 960px) {
  .sh-wrap { max-width: 1100px; padding-top: 48px; }

  /* header: logo + button live inside the same 1100px zone */
  .sh-header { padding: 12px max(16px, calc((100% - 1100px) / 2)); }

  /* funnel steps + success screens stay a narrow centered column */
  .sh-step:not(#step-hero) { max-width: 520px; width: 100%; margin: 0 auto; }

  /* hero: two columns — left: title/bullets/CTA (left-aligned); right:
     collage with the subtitle beneath it */
  .sh-hero-grid {
    display: grid; grid-template-columns: 1.05fr 1fr;
    column-gap: 56px; align-content: center;
    grid-template-areas:
      "title  collage"
      "points collage"
      "cta    lede";
    margin-bottom: 10px;
  }
  .sh-hero-grid .sh-h1 {
    grid-area: title; text-align: left; font-size: 46px;
    margin-top: 34px; margin-bottom: 18px;
  }
  .sh-hero-grid .sh-points {
    grid-area: points; margin: 0 0 28px; max-width: 420px;
  }
  .sh-hero-grid .sh-cta-hero {
    grid-area: cta; align-self: start; max-width: 340px; margin-bottom: 0;
  }
  .sh-hero-grid .sh-collage { grid-area: collage; padding-top: 0; }
  .sh-hero-grid .sh-collage .cg { width: 118px; }
  .sh-hero-grid .sh-lede {
    grid-area: lede; text-align: center; margin: 10px auto 0;
    font-size: 15.5px; max-width: 420px;
  }

  /* section headers get more air on desktop */
  .sh-sec-title { font-size: 30px; margin-top: 74px; }
  .sh-sec-sub { margin-bottom: 28px; }

  /* why-cards: all four in one line, strictly equal widths (minmax(0,1fr)
     stops the input demo's min-content from widening its column) */
  .sh-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
  .sh-why-card { align-items: stretch; }
  .sh-why-head { flex-direction: column; gap: 8px; }
  /* narrower desktop columns wrap more lines — give the rotating messages
     enough fixed room that nothing clips */
  .sh-bubble { height: 182px; }
  .sid-thread { height: 262px; }

  /* avatar strip becomes a scattered cloud filling the card's free space */
  .sh-avarow { position: relative; flex: 1; min-height: 230px; margin-top: 14px; display: block; }
  .sh-avarow .ava { position: absolute; max-width: none; margin: 0 !important; }
  .sh-avarow .ava:nth-child(1)  { width: 56px; left: 6%;  top: 2%;  transform: rotate(-6deg); }
  .sh-avarow .ava:nth-child(2)  { width: 44px; left: 52%; top: 0;   transform: rotate(5deg); }
  .sh-avarow .ava:nth-child(3)  { width: 62px; left: 30%; top: 16%; transform: rotate(-3deg); }
  .sh-avarow .ava:nth-child(4)  { width: 48px; left: 74%; top: 14%; transform: rotate(7deg); }
  .sh-avarow .ava:nth-child(5)  { width: 52px; left: 4%;  top: 32%; transform: rotate(4deg); }
  .sh-avarow .ava:nth-child(6)  { width: 58px; left: 56%; top: 32%; transform: rotate(-5deg); }
  .sh-avarow .ava:nth-child(7)  { width: 44px; left: 28%; top: 48%; transform: rotate(6deg); }
  .sh-avarow .ava:nth-child(8)  { width: 54px; left: 78%; top: 46%; transform: rotate(-4deg); }
  .sh-avarow .ava:nth-child(9)  { width: 60px; left: 6%;  top: 62%; transform: rotate(-7deg); }
  .sh-avarow .ava:nth-child(10) { width: 46px; left: 46%; top: 64%; transform: rotate(3deg); }
  .sh-avarow .ava:nth-child(11) { width: 56px; left: 70%; top: 72%; transform: rotate(5deg); }
  .sh-avarow .ava:nth-child(12) { width: 50px; left: 26%; top: 78%; transform: rotate(-5deg); }

  /* how-it-works: zig-zag rows — demo|text, text|demo, demo|text */
  .sh-how { gap: 56px; }
  .sh-how-step {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 48px; align-items: center;
  }
  .sh-how-step .sh-how-head { margin: 0; }
  .sh-how-step:nth-child(odd) .sh-how-head { order: 2; }
  .sh-how-step .mx,
  .sh-how-step .hc { width: 100%; max-width: 430px; justify-self: center; }
  /* explore card: ~30% smaller, hugging the right edge of its column */
  .sh-how-step .sw-card { width: 100%; max-width: 310px; justify-self: end; }
  /* Match step: mirror the zig-zag — number on the right, text right-aligned */
  .sh-how-step:nth-child(even) .sh-how-head {
    flex-direction: row-reverse; text-align: right; justify-self: end;
  }
  .sh-how-head .wt { font-size: 19px; }
  .sh-how-head .wd { font-size: 14.5px; }

  /* closing CTA panel: full 1100px, roomier */
  .sh-final { padding: 56px 40px 44px; margin: 48px 0 72px; }
  .sh-final h2 { font-size: 38px; }
  .sh-final p { font-size: 16px; max-width: 520px; }
  .sh-final-btn { max-width: 420px; margin: 0 auto; }
}
