/* Christmas Memory Bottle — presell (SELL-1498)
   Built from the Figma design "Christmas Bottle Advertorial" (file o87R7qAFhf9fqqZMTWJnZx, node 33-2).
   Desktop reference: a 1030px content column; mobile reference: the 402px "iPhone 17" frame.
   Plain CSS with tokens; no Tailwind, so there is no build step before deploy. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Inter-ExtraBold.woff2") format("woff2"); }

:root {
  --cmb-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --cmb-text: #000000;
  --cmb-muted: #4a4a4a;
  --cmb-accent: #d83e26;        /* headings in the offer card, warning border, step rings */
  --cmb-badge: #fe0000;         /* "#1 TRENDING GIFT" */
  --cmb-card: #f3f8fb;          /* testimonial cards */
  --cmb-rule: #c7c7c7;          /* dividers between reasons */
  --cmb-rule-soft: #e2e2e2;     /* meta strip and quote-icon rules */
  --cmb-step-rule: #b2b2b2;     /* vertical connector in the 1-2-3 list */
  --cmb-warning-bg: #fef0f0;
  --cmb-offer-border: #c1c1c1;
  --cmb-btn-start: #05be31;
  --cmb-btn-end: #14aa38;
  --cmb-white: #ffffff;
  --cmb-radius: 8px;
  --cmb-radius-lg: 12px;
  --cmb-col: 1030px;
  --cmb-gutter: 16px;
  --cmb-body-size: 18px;
  --cmb-body-lh: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cmb-white);
  color: var(--cmb-text);
  font-family: var(--cmb-font);
  font-size: var(--cmb-body-size);
  line-height: var(--cmb-body-lh);
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: normal; }

.cmb-container {
  width: 100%;
  max-width: calc(var(--cmb-col) + 2 * var(--cmb-gutter));
  margin: 0 auto;
  padding: 0 var(--cmb-gutter);
}
.cmb-copy p + p { margin-top: var(--cmb-body-lh); }
.cmb-author { font-weight: 600; }
.cmb-br { display: none; }
@media (min-width: 768px) { .cmb-br { display: block; } }

/* ---------- Brand header (not in the Figma file; the sibling presells carry it) ---------- */
.cmb-header { padding: 14px 0; border-bottom: 1px solid var(--cmb-rule-soft); }
.cmb-header .cmb-container { display: flex; justify-content: center; }
.cmb-header__logo { width: 176px; height: 54px; }

/* ---------- Article head ---------- */
.cmb-article { padding-top: 56px; }
.cmb-badge {
  display: inline-block;
  min-width: 194px;
  height: 30px;
  padding: 0 12px;
  border-radius: 2px;
  background: var(--cmb-badge);
  color: var(--cmb-white);
  font-size: 19px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}
.cmb-title { margin-top: 14px; font-size: 48px; font-weight: 700; }
.cmb-hero { margin-top: 26px; }
.cmb-hero__desktop { display: block; width: 100%; aspect-ratio: 1030 / 440; border-radius: var(--cmb-radius-lg); }
.cmb-hero__mobile { display: none; }

.cmb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 40px;
  margin-top: 17px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--cmb-rule-soft);
  font-size: 16px;
  line-height: 24px;
  color: var(--cmb-muted);
}
.cmb-meta__item { display: inline-flex; align-items: center; gap: 10px; }
.cmb-meta__item b { color: var(--cmb-text); font-weight: 700; }
.cmb-meta__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cmb-meta__icon { width: 22px; height: 23px; }
.cmb-meta__icon--clock { width: 28px; height: 27px; }

.cmb-intro { margin-top: 28px; }

/* ---------- Reasons ---------- */
.cmb-reasons { margin-top: 20px; }
.cmb-reason {
  display: grid;
  grid-template-columns: 489px minmax(0, 1fr);
  gap: 49px;
  align-items: start;
  padding: 60px 0;
  border-top: 1px solid var(--cmb-rule);
}
.cmb-reason:first-child { border-top: 0; }
.cmb-reason__media { display: block; width: 489px; aspect-ratio: 489 / 440; border-radius: var(--cmb-radius-lg); }
.cmb-reason__media img { width: 100%; height: 100%; }
.cmb-reason__title {
  display: flex;
  gap: 12px;
  margin-top: -12px;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}
.cmb-reason__num { flex: none; }
.cmb-reason__body { margin-top: 17px; }
.cmb-quote { margin-top: 28px; }
.cmb-quote__mark {
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
}
.cmb-quote__mark { position: relative; }
.cmb-quote__mark::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--cmb-rule-soft); }
.cmb-quote__mark img { position: relative; width: 42px; height: 42px; margin-left: 14px; }
.cmb-quote__text { margin-top: 8px; }

/* ---------- Section headings ---------- */
.cmb-section { padding-top: 70px; }
.cmb-section__title { max-width: 560px; margin: 0 auto; font-size: 32px; font-weight: 800; text-align: center; }
.cmb-section__title--wide { max-width: 560px; }
.cmb-section__lead { max-width: 975px; margin: 18px auto 0; text-align: center; }

/* ---------- Review grid + testimonial cards ---------- */
.cmb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 27px;
}
.cmb-grid img { width: 100%; aspect-ratio: 199 / 196; object-fit: cover; }
.cmb-cards { display: grid; gap: 12px; margin: 32px -3px 0; } /* 1036px wide, 3px past the 1030px column, as in Figma */
.cmb-card {
  padding: 25px 59px 24px;
  border-radius: var(--cmb-radius);
  background: var(--cmb-card);
}

/* ---------- Steps ---------- */
.cmb-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 48px 80px;
  margin-top: 59px;
}
.cmb-steps { --cmb-step-gap: 126px; }
.cmb-steps__list { position: relative; align-self: start; list-style: none; margin: 0; padding: 0; }
.cmb-step { position: relative; display: flex; gap: 19px; align-items: flex-start; }
.cmb-step + .cmb-step { margin-top: var(--cmb-step-gap); }
.cmb-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 54px;
  bottom: calc(-1 * var(--cmb-step-gap));
  width: 1px;
  background: var(--cmb-step-rule);
}
.cmb-step__ring { position: relative; z-index: 1; flex: none; width: 54px; height: 54px; }
.cmb-step__ring img { width: 54px; height: 54px; }
.cmb-step__title { font-size: 24px; font-weight: 700; line-height: normal; }
.cmb-step__body { margin-top: 0; }
.cmb-steps__media { display: grid; gap: 17px; align-content: start; }
.cmb-steps__media img { width: 322px; aspect-ratio: 322 / 188; border-radius: var(--cmb-radius-lg); }

/* ---------- Warning box ---------- */
.cmb-warning {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  width: 100%;
  max-width: 770px;
  min-height: 134px;
  margin: 70px auto 0;
  padding: 16px 20px 16px 0;
  border: 4px dashed var(--cmb-accent);
  border-radius: var(--cmb-radius);
  background: var(--cmb-warning-bg);
}
.cmb-warning__icon { flex: none; width: 70px; height: 55px; margin: -8px 0 0 -4px; }
.cmb-warning__title { font-size: 28px; font-weight: 700; line-height: normal; }
.cmb-warning__body { margin-top: 4px; }

/* ---------- Offer card ---------- */
.cmb-offer {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  margin: 60px 0 0;
  padding: 29px 32px 30px 34px;
  border: 1px solid var(--cmb-offer-border);
  border-radius: var(--cmb-radius);
  background: var(--cmb-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.cmb-offer__product { width: 256px; aspect-ratio: 256 / 354; border-radius: var(--cmb-radius-lg); object-fit: cover; }
.cmb-offer__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cmb-offer__headline { color: var(--cmb-accent); font-size: 48px; font-weight: 700; line-height: normal; }
.cmb-offer__sub { margin-top: 32px; max-width: 480px; font-size: 24px; font-weight: 600; line-height: normal; }
.cmb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 425px;
  min-height: 94px;
  margin-top: 30px;
  padding: 0 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cmb-btn-start) 0%, var(--cmb-btn-end) 87%);
  color: var(--cmb-white);
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.cmb-btn:hover { filter: brightness(1.05); }
.cmb-offer__guarantee { margin-top: 6px; font-size: 14px; line-height: normal; }

/* ---------- Footer (not in the Figma file; the sibling presells carry it) ---------- */
.cmb-footer { margin-top: 70px; padding: 30px 0 36px; border-top: 1px solid var(--cmb-rule-soft); text-align: center; font-size: 14px; line-height: 22px; color: var(--cmb-muted); }
.cmb-footer__logo { width: 150px; height: 46px; margin: 0 auto 14px; }
.cmb-footer a { text-decoration: underline; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .cmb-reason { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .cmb-reason__media { width: 100%; }
  .cmb-steps { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
  .cmb-steps__media img { width: 100%; }
}

/* ---------- Mobile (402px Figma frame) ---------- */
@media (max-width: 767px) {
  .cmb-article { padding-top: 24px; }
  .cmb-title { font-size: 38px; }
  .cmb-hero { display: block; margin: 22px calc(-1 * var(--cmb-gutter)) 0; } /* QA 10: edge to edge, as the Figma frame */
  .cmb-hero__desktop { display: none; }
  .cmb-hero__mobile { display: block; width: 100%; max-width: none; aspect-ratio: 402 / 332; border-radius: 0; }
  .cmb-meta { gap: 6px 24px; margin-top: 12px; }
  .cmb-intro { margin-top: 24px; }

  .cmb-reason { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 40px 0; }
  .cmb-reason__media { width: calc(100% + 2 * var(--cmb-gutter)); max-width: none; margin: 0 calc(-1 * var(--cmb-gutter)); border-radius: 0; aspect-ratio: 465 / 416; } /* QA 11: edge to edge, square corners */
  .cmb-reason__title { margin-top: 36px; font-size: 28px; }
  .cmb-reason__body { margin-top: 20px; }

  .cmb-section { padding-top: 56px; }
  .cmb-section__title { font-size: 28px; }
  .cmb-section__title--wide { font-size: 32px; }
  .cmb-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 27px; } /* QA 13: 2 columns as in Figma */
  .cmb-grid > span:nth-child(n+7) { display: none; } /* Figma mobile shows the first 6 tiles (2 x 3) */
  .cmb-cards { margin: 32px calc(-1 * var(--cmb-gutter)) 0; } /* QA 14: cards run edge to edge */
  .cmb-card { padding: 20px 26px; border-radius: 0; }

  .cmb-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .cmb-steps { --cmb-step-gap: 48px; }
  .cmb-steps__media { gap: 21px; margin: 0 calc(-1 * var(--cmb-gutter)); }
  .cmb-steps__media img { width: 100%; aspect-ratio: 402 / 235; border-radius: 0; }

  .cmb-warning { flex-wrap: nowrap; margin-top: 48px; padding: 14px 10px 14px 0; }
  .cmb-warning__icon { width: 71px; height: 56px; }
  .cmb-warning__title { font-size: 28px; }

  .cmb-offer { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 36px calc(-1 * var(--cmb-gutter)) 0; padding: 52px 0 0; border-radius: var(--cmb-radius); }
  .cmb-offer__product { margin: 0 auto; }
  .cmb-offer__content { margin-top: 46px; padding: 0 19px; }
  .cmb-offer__sub { margin-top: 24px; }
  .cmb-btn { width: calc(100% + 38px); max-width: none; margin: 20px -19px 0; border-radius: 0; } /* QA 15: box edge to box edge */
  .cmb-offer__guarantee { margin: 20px 0 30px; }
}

@media (max-width: 420px) {
  .cmb-btn { font-size: 34px; }
}

/* QA 2026-10-06: reasons 1 and 4 play the Figma videos once the files are in assets/video/ */
.cmb-reason__video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cmb-grid > span, .cmb-steps__media > span { display: block; }
.cmb-grid > span img { width: 100%; }
