/* Cellexia Advanced Hair Rejuvenation Shampoo: landing page styles.
   Colours and fonts follow the Cellexia Brand Quick Guide 2025. */

@font-face {
  font-family: "Gobold";
  src: url("fonts/Gobold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #B2CEED;        /* Cellexia blue */
  --blue-tint: #EDF3FA;   /* light tint of Cellexia blue, for panels */
  --ink: #1D1D1B;         /* brand near-black */
  --muted: #55595E;
  --line: #E1E5EA;
  --soft: #F5F6F8;
  --white: #FFFFFF;
  --data: #5B8DCB;        /* chart marks: a darker step of Cellexia blue */
  --data-track: #DCE8F6;
  --radius: 14px;
  --wrap: 1120px;
  --head: "Gobold", "Arial Narrow", Arial, sans-serif;
  --body: argumentum, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
s { color: var(--muted); }
strong, b { font-weight: 500; }
sup { font-size: .62em; line-height: 0; }
sup a { text-decoration: none; color: var(--muted); padding: 0 1px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.section { padding: 56px 0; }
.section--soft { background: var(--soft); }
.section--tint { background: var(--blue-tint); }
.section--ink { background: var(--ink); color: var(--white); }

/* ---------- Type ---------- */
h1, h2, .display {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .035em; line-height: 1.2; margin: 0;
}
h1 { font-size: clamp(1.75rem, 6.4vw, 2.5rem); }
h2 { font-size: clamp(1.6rem, 5.6vw, 2.35rem); margin-bottom: 18px; }
h3 { font-family: var(--body); font-weight: 500; font-size: 1.16rem; line-height: 1.32; margin: 0 0 8px; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 7px; border-radius: 4px;
  background: var(--blue); margin-right: 10px; vertical-align: middle; position: relative; top: -1px;
}
.lead { font-size: 1.14rem; line-height: 1.55; }
.small { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.center { text-align: center; }

/* ---------- Top bar and header ---------- */
.topbar {
  background: var(--blue); color: var(--ink); text-align: center;
  font-size: .74rem; font-weight: 500; letter-spacing: .02em; padding: 7px 12px; line-height: 1.35;
}
.header { border-bottom: 1px solid var(--line); background: var(--white); }
.header .wrap { display: flex; align-items: center; justify-content: center; height: 50px; }
.header img { width: 112px; }

/* ---------- Product top ----------
   Phone first: name, rating, a swipeable strip of photos with the next one peeking in,
   then the price. Wider screens put the photos on the left and everything else on the right. */
.product { padding: 16px 0 44px; }
.product__grid { display: grid; gap: 14px; }
/* let grid columns shrink to the screen even when they hold a scrolling strip */
.product__grid > *, .split > *, .offer > *, .cards > * { min-width: 0; }
.buy__head .eyebrow { margin-bottom: 8px; }
.gallery { margin: 0 -20px; }
.gallery__stage { position: relative; }
.gallery__track {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 20px;
  scroll-snap-type: x mandatory; scroll-padding-left: 20px; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > * { flex: 0 0 74%; scroll-snap-align: start; margin: 0; border-radius: 12px; overflow: hidden; background: var(--soft); }
.gallery__track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Arrows: dark and always there on both sides, so it is obvious there are more photos. */
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--white); background: var(--ink); color: var(--white); padding: 0;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 12px rgba(29, 29, 27, .28);
  transition: background .15s, transform .15s;
}
.gallery__nav:hover { background: #3A3A36; }
.gallery__nav:active { transform: translateY(-50%) scale(.94); }
.gallery__nav svg { width: 24px; height: 24px; }
.gallery__nav--prev { left: 8px; }
.gallery__nav--next { right: 8px; }
.gallery__nav:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gallery__count {
  position: absolute; left: 30px; bottom: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  background: rgba(29, 29, 27, .72); color: var(--white); border-radius: 999px; padding: 3px 9px; line-height: 1.4;
}
.gallery__dots { display: flex; justify-content: center; gap: 2px; padding: 8px 20px 0; }
.dot { width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: #C6CCD3; transition: width .2s, background .2s; }
.dot.is-on::before { width: 18px; background: var(--ink); }
.gallery__thumbs { display: none; gap: 8px; }
.thumb {
  flex: 0 0 58px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden;
  background: var(--soft); cursor: pointer; opacity: .72; transition: opacity .15s, border-color .15s;
}
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb.is-on { border-color: var(--ink); opacity: 1; }
.thumb:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.price { margin: 2px 0 0; }
.price__main { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.price__main strong { font-size: 1.8rem; font-weight: 500; line-height: 1.15; letter-spacing: .01em; }
.price__main > span { font-size: .84rem; color: var(--muted); }
.price__offers { margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.price__offers > span {
  background: var(--blue-tint); border-radius: 999px; padding: 4px 11px;
  font-size: .78rem; font-weight: 500; line-height: 1.4; white-space: nowrap;
}
.buy__title { margin-top: 0; font-size: clamp(1.5rem, 6.2vw, 2.5rem); }
.buy__sub { font-size: 1.04rem; line-height: 1.45; margin: 10px 0 0; }
.rating {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 8px 0 0;
  font-size: .86rem; line-height: 1.4; color: var(--muted);
}
.stars { position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; color: #D5DAE0; line-height: 1; }
.stars::after {
  content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--fill, 92%);
  overflow: hidden; white-space: nowrap; color: var(--ink);
}
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.6' fill='none' stroke='%231D1D1B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ---------- Quantity selector and buy button ---------- */
.buybox { margin-top: 20px; scroll-margin-top: 16px; }
.opts { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.opts legend { padding: 0; margin-bottom: 10px; font-weight: 500; font-size: .95rem; }
.opt {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 14px; cursor: pointer;
  background: var(--white); transition: border-color .15s, background .15s;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #A9B0B8; background: var(--white); position: relative; }
.opt.is-on { border-color: var(--ink); background: var(--blue-tint); box-shadow: inset 0 0 0 .5px var(--ink); }
.opt.is-on .opt__dot { border-color: var(--ink); }
.opt.is-on .opt__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt__body { display: grid; gap: 1px; min-width: 0; }
.opt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.opt__name { font-weight: 500; font-size: 1.04rem; }
.opt__tags { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.tag {
  display: inline-block; font-size: .66rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--blue); color: var(--ink); line-height: 1.4; white-space: nowrap;
}
.tag--dark { background: var(--ink); color: var(--white); }
.opt__supply, .opt__detail { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.opt__price { text-align: right; line-height: 1.2; white-space: nowrap; }
.opt__price strong { display: block; font-size: 1.14rem; font-weight: 500; }
.opt__was { display: block; font-size: .82rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 58px;
  border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer;
  font-family: var(--body); font-size: 1.08rem; font-weight: 500; letter-spacing: .02em;
  background: var(--ink); color: var(--white); text-decoration: none; transition: background .15s, transform .05s;
}
.btn:hover { background: #33332F; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn--buy { margin-top: 16px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--blue-tint); }
.buy__delivery { margin: 12px 0 0; text-align: center; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.buy__missing {
  margin: 10px 0 0; text-align: center; font-size: .84rem; padding: 8px 12px; border-radius: 10px;
  background: #FFF4D6; color: #5A4300;
}
.assure { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.assure li { font-size: .78rem; line-height: 1.35; color: var(--muted); }
.assure svg { width: 28px; height: 28px; margin: 0 auto 7px; color: var(--ink); }

/* ---------- Content blocks ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.figure img { width: 100%; }
.figure figcaption { padding: 10px 14px; font-size: .8rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

.signs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: sign; }
.signs li {
  counter-increment: sign; position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 104px 1fr; align-items: stretch;
}
.signs li::before {
  content: counter(sign); position: absolute; left: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; font-family: var(--head); font-size: .95rem;
  box-shadow: 0 1px 5px rgba(29, 29, 27, .22); z-index: 1;
}
.signs li img { width: 104px; height: 100%; min-height: 104px; object-fit: cover; }
.signs li > div { padding: 14px 16px; }
.signs p { font-size: .93rem; line-height: 1.5; color: #33363A; }

/* ---------- Stat graphics ---------- */
.stats { display: grid; gap: 14px; margin: 34px 0 0; }
.stat { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; align-content: start; }
.stat figcaption { font-weight: 500; font-size: .98rem; line-height: 1.35; min-height: 2.7em; }
.stat__src { font-size: .76rem; color: var(--muted); margin: 0; }
.bars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 76px 1fr 42px; gap: 10px; align-items: center; font-size: .84rem; line-height: 1.2; }
.hbar__label { color: var(--muted); }
.hbar__plot { display: block; height: 12px; }
.hbar__fill { display: block; height: 100%; background: var(--data); border-radius: 0 4px 4px 0; }
.hbar__value { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bars--mini { margin: 0; }
.meter { display: grid; gap: 12px; }
.meter__value { font-family: var(--head); font-size: 2.7rem; line-height: 1; letter-spacing: .02em; }
.meter__track { display: block; height: 12px; border-radius: 6px; background: var(--data-track); overflow: hidden; }
.meter__fill { display: block; height: 100%; background: var(--data); border-radius: 6px; }

/* ---------- Demonstrations: what changes, left to right ---------- */
.demos { display: grid; gap: 14px; margin-top: 24px; }
.demo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.demo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.demo__tag {
  position: absolute; bottom: 10px; max-width: 47%; font-size: .8rem; font-weight: 500; line-height: 1.2;
  padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink);
}
.demo__tag--l { left: 10px; }
.demo__tag--r { right: 10px; background: var(--ink); color: var(--white); text-align: right; }
.demo__arrow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(29, 29, 27, .2);
}
.demo__arrow svg { width: 26px; height: 26px; }
.demo__ill {
  position: absolute; top: 10px; right: 10px; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .86); padding: 3px 9px; border-radius: 999px; line-height: 1.5;
}
.demo-fig { margin: 0; }
.demo-fig .demo { background: var(--blue-tint); }
.demo-fig figcaption { margin-top: 10px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.glance__points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: point; }
.glance__points li {
  counter-increment: point; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 12px 14px;
}
.glance__points li::before {
  content: counter(point); width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; font-family: var(--head); font-size: 1.05rem;
}
.glance__points b { display: block; font-size: 1.04rem; line-height: 1.25; }
.glance__points span { display: block; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.glance.section { padding-top: 44px; padding-bottom: 44px; }

/* ---------- Wide figures and illustrations ---------- */
.figure--wide { margin-top: 34px; }
.figure--wide img { width: 100%; }
.h3--big { font-size: 1.42rem; line-height: 1.25; margin-bottom: 14px; }
.hotspots { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--blue-tint); }
.hotspots img { width: 100%; }
.spot {
  position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  font: 700 .86rem/1 "Helvetica Neue", Arial, sans-serif; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}

.cards { display: grid; gap: 14px; margin-top: 30px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.card__for {
  display: inline-block; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  background: var(--blue); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px;
}
.card__inci { font-size: .82rem; color: var(--muted); margin: -4px 0 10px; }
.card p { font-size: .96rem; line-height: 1.56; }
.card--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--img > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 20px; }
.wheel { margin: 16px 0 0; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.wheel svg { width: 92px; height: 92px; }
.wheel figcaption { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.card__num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  font-family: var(--head); font-size: 1.05rem; margin-bottom: 12px;
}

.study { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.study__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.study__body { padding: 20px; display: grid; gap: 12px; justify-items: start; }
.study__body .card__for { margin-bottom: 0; }
.study__body .bars { width: 100%; }
.study__num { font-family: var(--head); font-size: 2.3rem; line-height: 1; letter-spacing: .02em; }
.study__num .u { font-family: var(--body); font-size: .55em; font-weight: 500; text-transform: none; letter-spacing: 0; }
.study__num small { font-family: var(--body); font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; display: block; margin-top: 8px; line-height: 1.35; }
.study__how { font-size: .84rem; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.note {
  margin-top: 26px; border-left: 4px solid var(--blue); background: var(--white); padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .94rem; line-height: 1.56;
}
.refs { margin: 26px 0 0; padding: 0 0 0 20px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.refs li { margin-bottom: 6px; overflow-wrap: anywhere; }
details.more { margin-top: 22px; }
details.more > summary { cursor: pointer; font-size: .9rem; font-weight: 500; }

.timeline { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--white); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 10px; bottom: -6px; width: 1.5px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: .74rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.timeline p { font-size: .96rem; }

.howto { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: how; }
.howto li {
  counter-increment: how; position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 124px 1fr;
}
.howto li::before {
  content: counter(how); position: absolute; left: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; font-family: var(--head); font-size: 1rem;
  box-shadow: 0 1px 5px rgba(29, 29, 27, .25); z-index: 1;
}
.howto li img { width: 100%; height: 100%; object-fit: cover; }
.howto li > div { padding: 16px; }
.howto p { font-size: .94rem; line-height: 1.5; }

/* Scalp diagram */
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; counter-reset: key; }
.legend li { counter-increment: key; position: relative; padding-left: 34px; font-size: .88rem; line-height: 1.45; color: #33363A; }
.legend li::before {
  content: counter(key); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: .74rem; font-weight: 700; display: grid; place-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.legend b { color: var(--ink); }

/* Comparison table */
.swipe { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; color: var(--ink); }
.swipe svg { width: 34px; height: 14px; flex: 0 0 auto; }
.compare { margin-top: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .88rem; line-height: 1.4; }
.compare th, .compare td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-weight: 500; font-size: .8rem; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 400; width: 34%; }
.compare .us { background: var(--blue-tint); font-weight: 500; }
.yes, .no, .part { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .8rem; line-height: 1; }
.yes { background: var(--ink); color: var(--white); }
.no { background: #E6E9ED; color: #7A8087; }
.part { border: 1.5px solid #A9B0B8; color: #7A8087; }
.compare small { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }

/* Brand facts */
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.facts .display { font-size: 1.7rem; display: block; margin-bottom: 6px; }
.facts span { font-size: .84rem; line-height: 1.4; color: var(--muted); display: block; }

/* Guarantee */
.guarantee { display: grid; gap: 22px; align-items: center; justify-items: center; text-align: center; }
.seal { width: 148px; height: 148px; }
.section--ink h2 { color: var(--white); }
.section--ink .small { color: #C9CDD2; }

/* FAQ */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 500; font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.faq .answer { padding: 0 0 20px; font-size: .96rem; color: #33363A; }

/* Second buy box */
.offer { display: grid; gap: 26px; align-items: center; }
.offer__img { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.offer__img img { width: 100%; }

/* Footer */
.footer { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 120px; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.footer img { width: 120px; margin-bottom: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0; }
.footer nav span { text-decoration: underline; text-underline-offset: 3px; }

/* Buy bar fixed to the bottom of the screen */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(29, 29, 27, .08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .25s ease;
}
.bar.is-shown { transform: translateY(0); }
.bar__text { flex: 1; min-width: 0; line-height: 1.25; }
.bar__text b { display: block; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__text span { font-size: .96rem; font-weight: 500; }
.bar .btn { width: auto; min-height: 48px; padding: 10px 26px; font-size: 1rem; flex: 0 0 auto; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .section { padding: 84px 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cards--three { grid-template-columns: repeat(3, 1fr); }
  .signs { grid-template-columns: repeat(5, 1fr); }
  .signs li { grid-template-columns: 1fr; align-content: start; }
  .signs li img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .howto { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .howto li { grid-template-columns: 1fr; align-content: start; }
  .howto li img { height: auto; aspect-ratio: 1; }
  .figure--wide { margin-top: 48px; }
  .demos--2 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .demos--1 { max-width: 860px; margin-left: auto; margin-right: auto; }
  .demo__tag { font-size: .95rem; padding: 8px 15px; bottom: 14px; }
  .demo__tag--l { left: 14px; }
  .demo__tag--r { right: 14px; }
  .glance__points { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .glance.section { padding-top: 64px; padding-bottom: 64px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--flip > :first-child { order: 2; }
  .offer { grid-template-columns: 1fr 1fr; gap: 56px; }
  .guarantee { grid-template-columns: 170px 1fr; text-align: left; justify-items: start; gap: 40px; }
  .seal { width: 170px; height: 170px; }
  .topbar { font-size: .84rem; }
  .swipe { display: none; }
  .compare { margin-top: 30px; }
}

@media (min-width: 940px) {
  .header .wrap { justify-content: flex-start; height: 76px; }
  .header img { width: 150px; }
  .product { padding: 40px 0 72px; }
  .product__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); column-gap: 56px; row-gap: 18px; align-items: start;
    grid-template-areas: "gallery head" "gallery buy"; grid-template-rows: auto 1fr;
  }
  .buy__head { grid-area: head; }
  .buy { grid-area: buy; }
  /* one large photo, small photos in rows beneath */
  .gallery { grid-area: gallery; margin: 0; }
  .gallery__track { padding: 0; gap: 0; scroll-padding-left: 0; border-radius: var(--radius); }
  .gallery__track > * { flex: 0 0 100%; border-radius: 0; }
  .gallery__count { left: 12px; bottom: 12px; }
  .gallery__dots { display: none; }
  .gallery__thumbs { display: flex; flex-wrap: wrap; padding: 12px 0 0; gap: 10px; }
  .thumb { flex: 0 0 calc((100% - 50px) / 6); }
  .price__main strong { font-size: 2rem; }
  .bar { display: none; }
  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- A shorter photo strip on phones (all versions) ----------
   The photos shrink to fit the height of the screen, so the name, rating, photo and price all show
   before any scrolling, above the Buy now bar. On a tall screen they stay the size they were. */
@media (max-width: 939px) {
  .gallery__track > * { flex: 0 0 auto; }
  .gallery__track img {
    width: auto;
    height: clamp(200px, calc(100vh - 500px), calc((100vw - 40px) * 0.925));
    height: clamp(200px, calc(100svh - 420px), calc((100vw - 40px) * 0.925));
  }
}
