/* Mobile sales page, first half (Figma 51:98, 390w): hero, photo strip, pillars,
   library, coach, get back to living, reviews. Prefix: sma- */

.sma-blue { color: var(--blue); }

/* Shared pill label on photos/cards */
.sma-pill {
  display: inline-flex; align-items: flex-start;
  padding: 6px 11px; border-radius: 999px;
  font-weight: 800; font-size: 11px; line-height: normal; white-space: nowrap;
}
.sma-pill--white { background: #FFFFFF; color: var(--navy); }
.sma-pill--navy { background: var(--navy); color: #FFFFFF; }
.sma-pill--light { background: var(--light-blue); color: var(--navy); }

/* ---------- Hero ---------- */
.sma-hero {
  background: var(--bf-black);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 20px;
  text-align: center;
}
.sma-hero__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--bf-black);
  padding: 7px 14px; border-radius: 999px;
  font-weight: 900; font-size: 12px; line-height: normal; white-space: nowrap;
}
.sma-hero__tag-t { letter-spacing: 1.2px; }
.sma-hero__h {
  width: 100%; max-width: 350px;
  font-weight: 900; font-size: 38px; line-height: 1.02; letter-spacing: -1px;
  color: #FFFFFF;
}
.sma-hero__h-g { color: var(--gold); }
.sma-hero__sub {
  width: 100%; max-width: 350px;
  font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--gray-on-black);
}
.sma-hero__price {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; line-height: normal; height: 41px;
}
.sma-hero__was { font-weight: 700; font-size: 18px; color: var(--strike); }
.sma-hero__now { font-weight: 900; font-size: 34px; color: var(--gold); }
.sma-hero__term { font-weight: 600; font-size: 13px; color: #FFFFFF; }
.sma-hero__save {
  background: var(--red); color: #FFFFFF; border-radius: 6px; padding: 4px 7px;
  font-weight: 900; font-size: 10px; letter-spacing: 0.6px;
}
.sma-hero__cd { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sma-hero__cd-lbl {
  font-weight: 700; font-size: 11px; letter-spacing: 1.32px; line-height: 13px;
  color: var(--gray-on-black); white-space: nowrap;
}
.sma-hero__cta { width: 100%; max-width: 440px; padding-top: 6px; }
.sma-hero__stack { gap: 12px; }
.sma-hero__stack .fine { width: 100%; line-height: 13px; }
.sma-hero__proof {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-top: 4px; white-space: nowrap; line-height: 18px;
}
.sma-hero__stars { font-weight: 700; font-size: 15px; letter-spacing: 1px; color: var(--star); }
.sma-hero__members { font-weight: 600; font-size: 13px; color: var(--gray-on-black); }

/* ---------- Photo strip ----------
   Figma geometry at 390w, scaled with the screen (1 unit = 1px at 390, max 1.5px).
   The ribbon is wider than the screen and clipped by this section only. */
.sma-strip {
  background: var(--bf-black);
  overflow: hidden;
  container-type: inline-size;
}
.sma-strip__stage {
  --u: min(calc(100cqw / 390), 1.5px);
  position: relative;
  width: calc(390 * var(--u));
  height: calc(300 * var(--u));
  margin-inline: auto;
}
.sma-strip__ph {
  position: absolute;
  width: calc(120 * var(--u)); height: calc(168 * var(--u));
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 24px rgba(20, 31, 51, 0.2);
}
.sma-strip__ph picture, .sma-strip__ph img { width: 100%; height: 100%; }
.sma-strip__ph img { object-fit: cover; }
.sma-strip__ph--1 { left: calc(-52.907 * var(--u)); top: calc(20.45 * var(--u)); transform: rotate(-5deg); }
.sma-strip__ph--2 { left: calc(65.99 * var(--u)); top: calc(43.98 * var(--u)); transform: rotate(4deg); }
.sma-strip__ph--3 { left: calc(208.314 * var(--u)); top: calc(12.745 * var(--u)); transform: rotate(-3deg); }
.sma-strip__ph--4 { left: calc(328.453 * var(--u)); top: calc(40.91 * var(--u)); transform: rotate(5deg); }
.sma-strip__ribbon {
  position: absolute;
  left: calc(195.88 * var(--u)); top: calc(222.21 * var(--u));
  width: calc(1200 * var(--u));
  transform: translate(-50%, -50%) rotate(-4deg);
  display: flex; justify-content: center;
  background: var(--gold);
  padding: calc(12 * var(--u)) 0;
}
.sma-strip__ribbon span {
  font-weight: 900; font-size: calc(15 * var(--u)); line-height: normal;
  color: var(--bf-black); white-space: pre;
}

/* ---------- Pillars ---------- */
.sma-pil {
  background: #FFFFFF;
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px 20px 48px;
}
.sma-pil > * { width: 100%; max-width: 560px; margin-inline: auto; }
.sma-pil__h {
  font-weight: 900; font-size: 26px; line-height: 1.08; letter-spacing: -0.5px;
  text-align: center; color: var(--navy);
}
/* Keep Figma's two lines on screens narrower than 390. */
@media (max-width: 389.98px) {
  .sma-pil__h { font-size: calc((100vw - 40px) * 26 / 350); }
}
.sma-pil__card {
  background: #FFFFFF;
  display: flex; flex-direction: column; gap: 14px;
  padding: 12px 12px 20px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(20, 31, 51, 0.1);
  overflow: hidden;
}
.sma-pil__media { position: relative; }
.sma-pil__img { border-radius: 16px; overflow: hidden; }
.sma-pil__img--220 { height: 220px; }
.sma-pil__img--200 { height: 200px; }
.sma-pil__img picture, .sma-pil__img img { width: 100%; height: 100%; }
.sma-pil__img img { object-fit: cover; }
.sma-pil__pill { position: absolute; left: 12px; top: 12px; letter-spacing: 1.5px; }
.sma-pil__copy {
  display: flex; flex-direction: column; gap: 4px; padding-inline: 6px;
  line-height: normal; color: var(--navy);
}
.sma-pil__t { font-weight: 900; font-size: 26px; }
.sma-pil__s { font-weight: 700; font-size: 16px; }
.sma-pil__m { font-weight: 400; font-size: 13px; color: var(--muted); }
.sma-pil__list { display: flex; flex-direction: column; gap: 10px; padding-inline: 6px; }
.sma-pil__list li { display: flex; align-items: flex-start; gap: 10px; }
.sma-pil__list img { width: 18px; height: 18px; flex: none; }
.sma-pil__list span {
  flex: 1 1 0; min-width: 0;
  font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--navy);
}

/* Community chat mockup */
.sma-chat {
  background: var(--navy);
  display: flex; flex-direction: column; gap: 9px;
  padding: 46px 14px 14px;
  border-radius: 16px; overflow: hidden;
}
.sma-chat__msg { display: flex; align-items: flex-end; gap: 8px; }
.sma-chat__av {
  width: 28px; height: 28px; flex: none; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 10px; line-height: normal;
}
.sma-chat__av--dc { background: var(--blue); color: #FFFFFF; }
.sma-chat__av--tv { background: var(--light-blue); color: var(--navy); }
.sma-chat__bub {
  flex: 1 1 0; min-width: 0;
  background: #24304D; color: #E6ECF7;
  padding: 10px 12px; border-radius: 14px 14px 14px 4px;
  font-weight: 400; font-size: 13px; line-height: 1.4;
}
.sma-chat__react { display: flex; justify-content: flex-end; }
.sma-chat__likes {
  background: var(--blue); color: #FFFFFF; border-radius: 999px; padding: 5px 10px;
  font-weight: 700; font-size: 12px; line-height: normal; white-space: nowrap;
}

/* ---------- Library ---------- */
.sma-lib {
  background: var(--navy);
  display: flex; flex-direction: column; gap: 18px;
  padding: 52px 20px;
  text-align: center;
}
.sma-lib > * { width: 100%; max-width: 560px; margin-inline: auto; }
.sma-lib__eye {
  font-weight: 800; font-size: 11px; letter-spacing: 2px; line-height: normal;
  color: var(--light-blue);
}
.sma-lib__h {
  font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -1px; color: #FFFFFF;
}
@media (max-width: 389.98px) { .sma-lib__h { font-size: calc((100vw - 40px) * 29 / 350); white-space: nowrap; } }
.sma-lib__p { font-weight: 400; font-size: 15px; line-height: 1.6; color: #C9D1E2; }
.sma-lib__covers { display: flex; flex-direction: column; gap: 10px; }
.sma-lib__row { display: flex; gap: 10px; }
.sma-lib__foot { font-weight: 700; font-size: 14px; line-height: normal; color: #FFFFFF; }

.sma-cov {
  --c-ink: var(--navy); --c-acc: var(--blue); --c-kick: var(--slate);
  flex: 1 1 0; min-width: 0;
  height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 12px; border-radius: 16px; overflow: hidden;
  color: var(--c-ink);
}
.sma-cov__brand {
  font-weight: 800; font-size: 9px; letter-spacing: 1.5px; line-height: normal; white-space: nowrap;
}
.sma-cov__brand b { font-weight: 800; color: var(--c-acc); }
.sma-cov__t { width: 100%; font-weight: 800; font-size: 17px; line-height: 1.15; }
.sma-cov__t i { font-weight: 700; font-style: italic; color: var(--c-acc); }
.sma-cov__k {
  width: 100%; font-weight: 700; font-size: 9px; letter-spacing: 1.5px; line-height: normal;
  color: var(--c-kick);
}
.sma-cov--big {
  flex: none; width: 100%; height: 175px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EDF3FC 55%, #C4D6F5 100%);
}
.sma-cov--big .sma-cov__brand { font-size: 10px; }
.sma-cov--big .sma-cov__t { font-size: 22px; }
.sma-cov--big .sma-cov__k { font-size: 10px; }
.sma-cov--sys { background: var(--blue); --c-ink: #FFFFFF; --c-acc: var(--sky); --c-kick: var(--sky); }
.sma-cov--sea { background: var(--sky); --c-acc: #1F4290; --c-kick: #1F4290; }
.sma-cov--sup { background: var(--slate); --c-ink: #FFFFFF; --c-acc: #B9CCF0; --c-kick: var(--sky); }
.sma-cov--life { background: #FFFFFF; }
.sma-cov--youth { background: var(--light-blue); --c-acc: #FFFFFF; --c-kick: var(--navy); }
.sma-cov--scars {
  background: var(--deep-navy); border: 2px solid #3A5EA8;
  --c-ink: #FFFFFF; --c-acc: var(--light-blue); --c-kick: var(--light-blue);
}

/* ---------- Coach ---------- */
.sma-coach {
  background: linear-gradient(180deg, #1A2643 0%, var(--deep-navy) 100%);
  padding-bottom: 48px;
}
.sma-coach__photo { position: relative; height: 420px; overflow: hidden; }
.sma-coach__photo picture, .sma-coach__photo img { width: 100%; height: 100%; }
.sma-coach__photo img { object-fit: cover; }
/* Wider than the design: keep Chris's face in frame. */
@media (min-width: 480px) { .sma-coach__photo img { object-position: 50% 28%; } }
.sma-coach__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, rgba(14, 21, 38, 0) 0%, var(--deep-navy) 100%);
  pointer-events: none;
}
.sma-coach__pill { position: absolute; left: 20px; top: 372px; z-index: 1; }
.sma-coach__copy {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 20px 20px 0;
  text-align: center;
}
.sma-coach__copy > * { width: 100%; max-width: 560px; }
.sma-coach__h {
  font-weight: 900; font-size: 32px; line-height: 1.02; letter-spacing: -1px; color: #FFFFFF;
}
.sma-coach__h-b { color: var(--light-blue); }
.sma-coach__q p { font-weight: 500; font-size: 17px; line-height: 1.6; color: #E6ECF7; }
.sma-coach__name {
  font-weight: 700; font-style: italic; font-size: 26px; line-height: normal; color: #FFFFFF;
}
.sma-coach__cred { font-weight: 400; font-size: 13px; line-height: 1.5; color: #B4BDD0; }
.sma-coach__stats { display: flex; gap: 8px; padding-top: 6px; line-height: normal; }
.sma-coach__stat {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border: 1px solid #2A3756; border-radius: 14px;
}
.sma-coach__n { width: 100%; font-weight: 900; font-size: 20px; color: #FFFFFF; }
.sma-coach__l { width: 100%; font-weight: 400; font-size: 11px; color: #B4BDD0; }

/* ---------- Get back to living ---------- */
.sma-live {
  background: var(--light-bg);
  display: flex; flex-direction: column; gap: 16px;
  padding: 48px 20px;
}
.sma-live > * { width: 100%; max-width: 560px; margin-inline: auto; }
.sma-live__h {
  font-weight: 900; font-size: 28px; line-height: 1.08; letter-spacing: -0.5px;
  text-align: center; color: var(--navy);
}
.sma-live__row { display: flex; gap: 10px; }
.sma-live__ph {
  position: relative; flex: 1 1 0; min-width: 0;
  height: 200px; border-radius: 18px; overflow: hidden;
}
.sma-live__ph--big { flex: none; height: 220px; }
.sma-live__ph picture, .sma-live__ph img { width: 100%; height: 100%; }
.sma-live__ph img { object-fit: cover; }
.sma-live__pill { position: absolute; left: 12px; top: 174px; font-size: 13px; }
.sma-live__pill--sm { left: 10px; top: 160px; font-size: 12px; }

/* ---------- Reviews ---------- */
.sma-rev {
  background: #FFFFFF;
  display: flex; flex-direction: column; gap: 12px;
  padding: 48px 20px;
}
.sma-rev > * { width: 100%; max-width: 560px; margin-inline: auto; }
.sma-rev__h {
  font-weight: 900; font-size: 28px; line-height: 1.08; letter-spacing: -0.5px;
  text-align: center; color: var(--navy);
}
.sma-rev__sub {
  font-weight: 600; font-size: 14px; line-height: 17px; text-align: center; color: var(--slate);
}
.sma-rev__list { display: flex; flex-direction: column; gap: 12px; }
.sma-rc {
  --r-name: #FFFFFF; --r-acc: var(--light-blue); --r-head: var(--light-blue);
  --r-body: #C9D1E2; --r-quote: #FFFFFF; --r-foot: #B4BDD0;
  background: var(--navy);
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border-radius: 20px;
}
.sma-rc--mist {
  background: var(--mist);
  --r-name: var(--navy); --r-acc: var(--blue); --r-head: var(--blue);
  --r-body: var(--slate); --r-quote: var(--navy); --r-foot: var(--muted);
}
.sma-rc--blue {
  background: var(--blue);
  --r-head: var(--sky); --r-foot: var(--sky);
}
.sma-rc__by { display: flex; align-items: center; gap: 12px; }
.sma-rc__by picture, .sma-rc__av { width: 48px; height: 48px; flex: none; }
.sma-rc__nm { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sma-rc__name { font-weight: 800; font-size: 15px; line-height: 18px; color: var(--r-name); }
.sma-rc__stars {
  font-weight: 700; font-size: 14px; line-height: 17px; letter-spacing: 1px; color: var(--star); white-space: nowrap;
}
.sma-rc__head { font-weight: 900; font-size: 18px; line-height: 1.2; color: var(--r-head); text-wrap: wrap; }
.sma-rc__blk { display: flex; flex-direction: column; gap: 4px; }
.sma-rc__lbl {
  font-weight: 800; font-size: 11px; letter-spacing: 1.5px; line-height: 13px; color: var(--r-acc);
}
.sma-rc__before { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--r-body); }
.sma-rc__after p { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--r-quote); }
.sma-rc__foot { font-weight: 600; font-size: 12px; line-height: 15px; color: var(--r-foot); }

/* Body copy wraps like Figma (greedy), so line breaks match the design. */
.sma-hero p, .sma-pil p, .sma-pil li span, .sma-lib p, .sma-coach p, .sma-rev p { text-wrap: wrap; }
.sma-emoji { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; }
