/*
 * fitme.lt homepage v2 (concept "D", 2026-11). Loaded only by site/home-v2.blade.php, after refresh.css.
 * Breakpoints: narrow < 700 px (phone layout), tablet 700–999 px, desktop >= 1000 px.
 */

.hp {
  --hp-ink: #0d2e31;
  --hp-text: #3e5557;
  --hp-muted: #5b6f70;
  --hp-line: #ece8df;
  --hp-cream: #fbfaf6;
  --hp-beige: #f6f1ea;
  --hp-orange: #ef6a1f;
  --hp-orange-text: #b84a12;
  --hp-orange-tint: #fde3d2;
  --hp-green: #208741;
  --hp-green-hover: #1b7a3b;
  --hp-green-text: #1a6e35;
  --hp-green-tint: #f3f7ee;
  --hp-section: 96px;
  --hp-gutter: 24px;

  font-family: Poppins, system-ui, sans-serif;
  color: var(--hp-ink);
  background: var(--hp-cream);
  font-size: 16px;
  line-height: 1.5;
}

.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp h1, .hp h2, .hp p, .hp ul, .hp figure, .hp blockquote { margin: 0; }
.hp ul { padding: 0; list-style: none; }
.hp img, .hp video { display: block; max-width: 100%; }
.hp strong { font-weight: 600; }
.hp h1, .hp h2 { font-family: inherit; color: inherit; letter-spacing: 0; text-transform: none; }

.hp-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--hp-gutter);
}
.hp-section { padding-block: var(--hp-section); }
.hp-stack { display: flex; flex-direction: column; gap: 40px; }
.hp-center { align-self: center; }

/* Phone-only and wide-only copy variants */
@media (max-width: 699px) { .hp .hp-only-wide { display: none !important; } }
@media (min-width: 700px) { .hp .hp-only-narrow { display: none !important; } }

/* ---------------------------------------------------------------- type */
.hp-eyebrow { font-size: 14px; font-weight: 600; color: var(--hp-orange-text); }
.hp-eyebrow--green { color: var(--hp-green-text); }
.hp-h2 { font-size: 40px; line-height: 1.15; font-weight: 700; }
.hp-h2--xl { font-size: 48px; line-height: 1.08; }
.hp-h2--lg { font-size: 44px; line-height: 1.1; }
.hp-h2--md { font-size: 36px; }
.hp-h2--sm { font-size: 26px; }
.hp-lead { font-size: 19px; line-height: 1.5; color: var(--hp-text); }
.hp-text { font-size: 18px; line-height: 1.6; color: var(--hp-text); }
.hp-head { display: flex; flex-direction: column; gap: 12px; }

.hp a { color: var(--hp-ink); }
.hp-more {
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.hp-more:hover { color: var(--hp-orange-text); }
.hp a:focus-visible,
.hp summary:focus-visible {
  outline: 3px solid var(--hp-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 52px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.hp .hp-btn--green { background: var(--hp-green); color: #fff; }
.hp .hp-btn--green:hover { background: var(--hp-green-hover); color: #fff; }
.hp .hp-btn--white { background: #fff; color: var(--hp-ink); }
.hp .hp-btn--white:hover { background: var(--hp-orange-tint); color: var(--hp-ink); }
.hp .hp-btn--outline { border: 1px solid var(--hp-ink); color: var(--hp-ink); font-size: 16px; }
.hp .hp-btn--outline:hover { background: var(--hp-ink); color: #fff; }

/* ---------------------------------------------------------------- hero */
.hp-hero {
  background: linear-gradient(180deg, #f58a4b 0%, #ef6a1f 100%);
  color: #fff;
  overflow: hidden;
}
.hp-hero__inner {
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.hp-hero__kicker { font-size: 16px; font-weight: 500; color: #fff1e8; }
.hp-hero__title { font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -1px !important; max-width: 820px; }
.hp-hero__lead { font-size: 20px; line-height: 1.55; max-width: 640px; }
.hp-hero__lead strong { font-weight: 700; }
.hp-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 6px; }
.hp-hero__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  width: 100%;
  padding-top: 40px;
}
.hp-phone {
  flex: 0 1 230px;
  height: 380px;
  border: 9px solid #111;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  overflow: hidden;
  background: #111;
}
.hp-phone--center {
  flex-basis: 280px;
  height: 470px;
  border-width: 10px;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -10px 60px rgb(0 0 0 / 0.18);
}
.hp-phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------------------------------------------------------------- stats + press */
.hp-stats, .hp-press { background: #fff; border-bottom: 1px solid var(--hp-line); }
.hp-stats__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 56px;
  padding-block: 28px;
  font-size: 15px;
  color: var(--hp-text);
}
.hp-stat strong { font-size: 18px; color: var(--hp-ink); }
.hp-stat a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(13 46 49 / 0.35); }
.hp-stat a:hover { color: var(--hp-orange-text); }

.hp-press__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  padding-block: 32px;
}
.hp-press__title { font-size: 13px !important; font-weight: 500 !important; line-height: 1.4 !important; color: var(--hp-muted); }
.hp-press__logos { display: contents; }
.hp-press__logos img {
  height: var(--h);
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
}

/* ---------------------------------------------------------------- scanner */
.hp-scanner { background: var(--hp-cream); }
.hp-scanner__grid {
  display: grid;
  grid-template-columns: minmax(0, 440fr) minmax(0, 520fr);
  grid-template-areas:
    "intro media"
    "steps media"
    "cta   media";
  column-gap: 64px;
  row-gap: 28px;
}
.hp-scanner__intro { grid-area: intro; gap: 14px; }
.hp-scanner__media { grid-area: media; position: relative; min-height: 580px; }
.hp-steps { grid-area: steps; display: flex; flex-direction: column; gap: 14px; }
.hp-scanner__cta { grid-area: cta; align-self: start; justify-self: start; }
/* keep the left column vertically centred against the photo */
@media (min-width: 1000px) {
  .hp-scanner__grid {
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". media" "intro media" "steps media" "cta media" ". media";
    row-gap: 0;
  }
  .hp .hp-steps, .hp .hp-scanner__cta { margin-top: 28px; }
}
.hp-steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.hp-steps__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--hp-orange-tint);
  color: var(--hp-orange-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-scanner__photo {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #7b8471;
}
.hp-scanner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 62%;
}
.hp-scan-card {
  position: absolute;
  right: 16px;
  bottom: 40px;
  width: 300px;
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 60px rgb(13 46 49 / 0.22);
}
@media (min-width: 1300px) { .hp-scan-card { right: -32px; } }
.hp-scan-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 17px; }
.hp-scan-card__badge {
  font-size: 12px;
  font-weight: 600;
  color: #8a3a0c;
  background: var(--hp-orange-tint);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.hp-scan-card__row { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.hp-scan-card__label { display: flex; justify-content: space-between; }
.hp-scan-card__label strong { color: var(--hp-orange-text); }
.hp-scan-card__bar { height: 7px; border-radius: 999px; background: #f1ede5; }
.hp-scan-card__bar span { display: block; height: 7px; border-radius: 999px; background: var(--hp-orange); }
.hp-scan-card__tip {
  font-size: 13px;
  color: var(--hp-green-text);
  background: var(--hp-green-tint);
  border-radius: 10px;
  padding: 10px 12px;
}
.hp-scan-card__example {
  position: absolute;
  top: -11px;
  left: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hp-muted);
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  padding: 2px 9px;
}

/* ---------------------------------------------------------------- plan */
.hp-plan { background: var(--hp-green-tint); }
.hp-plan__grid {
  display: grid;
  grid-template-columns: minmax(0, 360fr) minmax(0, 480fr);
  grid-template-areas: "media head" "media body";
  grid-template-rows: 1fr 1fr;
  column-gap: 56px;
  row-gap: 20px;
  align-items: center;
}
.hp-plan__media { grid-area: media; display: flex; justify-content: center; }
.hp-plan__media img { width: 100%; max-width: 380px; height: auto; border-radius: 32px; }
.hp-plan__head { grid-area: head; align-self: end; display: flex; flex-direction: column; gap: 20px; }
.hp-plan__body { grid-area: body; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.hp-plan__list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.hp-plan__list li { padding-left: 28px; position: relative; }
.hp-plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--hp-green);
  border-bottom: 2px solid var(--hp-green);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- results */
.hp-results { background: var(--hp-cream); }
.hp-row-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hp-row-head .hp-head { max-width: 680px; }
.hp-results__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hp-results__photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.hp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-review figure {
  height: 100%;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hp-review blockquote { font-size: 17px; line-height: 1.6; padding: 0; border: 0; font-style: normal; }
.hp-review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.hp-review figcaption > span:last-child { display: flex; flex-direction: column; }
.hp-review figcaption strong { font-size: 15px; }
.hp-review figcaption span span { font-size: 13px; color: var(--hp-muted); }
.hp-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
}
.hp-avatar--orange { background: var(--hp-orange-tint); color: var(--hp-orange-text); }
.hp-avatar--green { background: #e3eddd; color: var(--hp-green-text); }
.hp-avatar--ink { background: #dce6e6; color: var(--hp-ink); }
.hp-results__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.hp-results__rating { font-size: 15px; color: var(--hp-text); }
.hp-results__rating strong { color: var(--hp-ink); }
.hp-results__fine { font-size: 13px; color: var(--hp-muted); }

/* ---------------------------------------------------------------- founder */
.hp-founder { background: #fff; padding-top: var(--hp-section); }
.hp-founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 340fr) minmax(0, 480fr);
  column-gap: 56px;
  align-items: end;
}
.hp-founder__media {
  display: flex;
  justify-content: center;
  background: var(--hp-orange-tint);
  border-radius: 32px 32px 0 0;
  padding-top: 48px;
}
.hp-founder__media img { width: 100%; max-width: 400px; height: auto; }
.hp-founder__text { display: flex; flex-direction: column; gap: 20px; padding-bottom: var(--hp-section); }
.hp-founder__text .hp-text { line-height: 1.7; }
.hp-founder__text .hp-more { align-self: flex-start; }

/* ---------------------------------------------------------------- team */
.hp-team { background: var(--hp-beige); }
.hp-team .hp-h2 { max-width: 720px; }
.hp-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hp-person { display: flex; flex-direction: column; gap: 8px; }
.hp-person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; margin-bottom: 6px; }
.hp-person strong { font-size: 17px; line-height: 1.35; }
.hp-person > span { font-size: 14px; color: var(--hp-muted); }

/* ---------------------------------------------------------------- blog (uses the site card .fm-card) */
.hp-blog { background: #fff; }
.hp-blog__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hp-blog .fm-card__tag { font-weight: 600; }
.hp-blog .fm-card__body { padding-top: 14px; }
.hp-blog .fm-card__title, .hp-blog .fm-card__excerpt { margin-top: 10px; }

/* ---------------------------------------------------------------- pricing + FAQ */
.hp-pricing { background: #fff; }
.hp-pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 380fr) minmax(0, 520fr);
  column-gap: 56px;
  row-gap: 40px;
  align-items: start;
}
.hp-pricing__offer { display: flex; flex-direction: column; gap: 16px; }
.hp-pricing__offer .hp-text { font-size: 17px; }
.hp-pricing__offer a:not(.hp-btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp-pricing__offer a:not(.hp-btn):hover { color: var(--hp-orange-text); }
.hp-pricing__guarantee { font-size: 13px; color: var(--hp-muted); text-align: center; }
.hp-faq { display: flex; flex-direction: column; }
.hp-faq__title {
  position: absolute;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hp-faq__item { border-bottom: 1px solid var(--hp-line); padding: 18px 0; }
.hp-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--hp-orange-text);
  transition: transform 250ms cubic-bezier(.2, .7, .2, 1);
}
.hp-faq__item[open] summary::after { transform: rotate(45deg); }   /* + becomes × */
/* Smooth open/close where ::details-content and interpolate-size exist (Chrome 131+); instant elsewhere. */
@supports selector(::details-content) {
  .hp-faq { interpolate-size: allow-keywords; }
  .hp-faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 300ms cubic-bezier(.2, .7, .2, 1), content-visibility 300ms allow-discrete;
  }
  .hp-faq__item[open]::details-content { block-size: auto; }
}
.hp-faq__item p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--hp-text); }

/* ================================================================ tablet 700–999 */
@media (max-width: 999px) {
  .hp { --hp-section: 72px; }
  .hp-hero__title { font-size: 52px; }
  .hp-phone { flex-basis: 190px; height: 320px; }
  .hp-phone--center { flex-basis: 230px; height: 400px; }
  .hp-h2--xl { font-size: 40px; }
  .hp-h2, .hp-h2--lg { font-size: 34px; }

  .hp-scanner__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "media" "steps" "cta";
    grid-template-rows: none;
  }
  .hp-scanner__media { min-height: 520px; }
  .hp-scan-card { right: 16px; bottom: 16px; }


  .hp-plan__grid { column-gap: 40px; }
  .hp-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-team__grid { gap: 16px; }
  .hp-blog__list { gap: 24px; }
  .hp-pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-founder__grid { column-gap: 40px; }
}

/* ================================================================ phone < 700 */
@media (max-width: 699px) {
  .hp { --hp-section: 56px; --hp-gutter: 20px; }
  .hp-stack { gap: 24px; }

  .hp-btn { align-self: stretch; width: 100%; padding-inline: 20px; }

  /* hero */
  .hp-hero__inner { padding-top: 40px; gap: 16px; }
  .hp-hero__kicker { font-size: 14px; }
  .hp-hero__title { font-size: 38px; line-height: 1.08; letter-spacing: -0.5px !important; }
  .hp-hero__lead { font-size: 17px; line-height: 1.5; }
  .hp-hero__ctas { flex-direction: column; gap: 10px; width: 100%; padding-top: 4px; }
  .hp-hero__phones { gap: 10px; padding-top: 20px; }
  .hp-phone { flex: 0 0 88px; height: 200px; border-width: 5px; border-radius: 22px 22px 0 0; }
  .hp-phone--center { flex: 0 0 150px; height: 280px; border-width: 6px; border-radius: 28px 28px 0 0; }

  /* stats + press */
  .hp-stats__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 20px 16px;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
  }
  .hp-stat strong { display: block; font-size: 18px; }
  .hp-press__inner { flex-direction: column; gap: 18px; padding: 24px 16px 28px; }
  .hp-press__logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 14px;
    align-items: center;
    justify-items: center;
    width: 100%;
  }
  .hp-press__logos img { height: var(--hm); max-width: 100%; }

  /* type */
  .hp-h2, .hp-h2--lg { font-size: 30px; line-height: 1.12; }
  .hp-h2--xl { font-size: 32px; line-height: 1.1; }
  .hp-h2--md { font-size: 26px; }
  .hp-lead { font-size: 16px; }
  .hp-text { font-size: 16px; }
  .hp-head { gap: 10px; }

  /* scanner */
  .hp-scanner__grid { row-gap: 24px; }
  .hp-scanner__media { min-height: 0; height: 460px; }
  .hp-scanner__photo { border-radius: 24px; }
  .hp-scanner__photo img { object-position: center 55%; }
  .hp-scan-card { left: 12px; right: 12px; bottom: 12px; width: auto; border-radius: 18px; padding: 16px; gap: 10px; box-shadow: 0 12px 30px rgb(13 46 49 / 0.22); }
  .hp-scan-card__head { font-size: 15px; }
  .hp-scan-card__tip { background: none; padding: 0; }
  .hp-steps { gap: 12px; }
  .hp-steps li { font-size: 16px; gap: 12px; }
  .hp-steps__icon { width: 40px; height: 40px; border-radius: 12px; }
  .hp-steps__icon svg { width: 20px; height: 20px; }

  /* plan */
  .hp-plan__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; grid-template-rows: none; row-gap: 18px; }
  .hp-plan__head { gap: 18px; }
  .hp-plan__body { gap: 18px; }
  .hp-plan__media img { max-width: 300px; border-radius: 28px; }

  /* results */
  .hp-results .hp-stack { gap: 18px; }
  .hp-results__photos { grid-template-columns: minmax(0, 1fr); }
  .hp-results__photos img { border-radius: 20px; }
  .hp-reviews { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hp-review figure { padding: 20px; gap: 14px; border-radius: 18px; }
  .hp-review blockquote { font-size: 16px; }
  .hp-review figcaption { gap: 10px; }
  .hp-review figcaption strong { font-size: 14px; }
  .hp-review figcaption span span { font-size: 12px; }
  .hp-avatar { width: 36px; height: 36px; font-size: 14px; }
  .hp-results__foot { flex-direction: column; gap: 6px; text-align: center; }
  .hp-results__foot .hp-more { font-size: 15px; margin-bottom: 4px; }
  .hp-results__rating, .hp-results__fine { font-size: 12px; color: var(--hp-muted); }
  .hp-results__rating strong { color: var(--hp-muted); font-weight: 400; }

  /* founder */
  .hp-founder { padding-top: 0; }
  .hp-founder .hp-wrap { padding-inline: 0; }
  .hp-founder__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-founder__media { border-radius: 0; padding-top: 32px; }
  .hp-founder__media img { width: 78%; }
  .hp-founder__text { padding: 32px 20px 56px; gap: 14px; }
  .hp-founder .hp-h2 { font-size: 26px; line-height: 1.2; }
  .hp-founder__text .hp-text { line-height: 1.6; }
  .hp-founder .hp-more { font-size: 15px; }

  /* team */
  .hp-team .hp-h2 { font-size: 28px; line-height: 1.15; }
  .hp-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hp-person { gap: 6px; }
  .hp-person img { border-radius: 16px; margin-bottom: 4px; }
  .hp-person strong { font-size: 14px; }
  .hp-person > span { font-size: 12px; }
  .hp-team .hp-more { font-size: 15px; }

  /* blog: first card large, the next two compact */
  .hp-blog .hp-h2 { font-size: 28px; }
  .hp-blog__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hp-blog .fm-card__excerpt { display: none; }
  .hp-blog .fm-card:first-child .fm-card__body { padding-top: 10px; }
  .hp-blog .fm-card:first-child .fm-card__meta { font-size: 13px; }
  .hp-blog .fm-card:not(:first-child) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    height: auto;
  }
  .hp-blog .fm-card:not(:first-child) .fm-card__media { aspect-ratio: auto; width: 112px; height: 84px; border-radius: 12px; }
  .hp-blog .fm-card:not(:first-child) .fm-card__body { padding-top: 0; }
  .hp-blog .fm-card:not(:first-child) .fm-card__tag { display: none; }
  .hp-blog .fm-card:not(:first-child) .fm-card__meta { font-size: 12px; }
  .hp-blog .fm-card:not(:first-child) .fm-card__title { font-size: 16px; margin-top: 4px; }

  /* pricing + FAQ */
  .hp-pricing { padding-block: 0; background: transparent; }
  .hp-pricing .hp-wrap { padding-inline: 0; }
  .hp-pricing__grid { row-gap: 0; }
  .hp-pricing__offer { background: var(--hp-cream); padding: 56px 20px; gap: 14px; }
  .hp-pricing .hp-h2--md { font-size: 28px; line-height: 1.15; }
  .hp-pricing__offer .hp-text { font-size: 16px; }
  .hp-faq { background: #fff; padding: 48px 20px 56px; }
  .hp-faq__title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-bottom: 12px; }
  .hp-faq__item { padding: 16px 0; }
  .hp-faq__item summary { font-size: 16px; }
  .hp-faq__item p { margin-top: 10px; font-size: 15px; }
}

/* ================================================================ motion
 * Entrance animations (home.js). Only transform + opacity, 250-600 ms, ease-out, once per element.
 * Start states apply only under html.hp-anim, so content is visible without JS.
 */
.hp { --hp-ease: cubic-bezier(.2, .7, .2, 1); }

/* Hero: plays on load, staggered 70 ms; the CTA is clickable throughout. */
@keyframes hp-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hp-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
html.hp-anim .hp-in {
  animation: hp-fade-up 450ms var(--hp-ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
html.hp-anim .hp-phone {
  animation: hp-rise 480ms var(--hp-ease) both;
  animation-delay: 220ms;
}
html.hp-anim .hp-phone--center { animation-delay: 120ms; }

/* Scroll entrances */
html.hp-anim [data-hp-anim] {
  transition: opacity 500ms var(--hp-ease), transform 500ms var(--hp-ease);
  transition-delay: var(--hp-d, 0ms);
}
html.hp-anim [data-hp-anim="up"]:not(.is-in) { opacity: 0; transform: translateY(18px); }
html.hp-anim [data-hp-anim="fade"]:not(.is-in) { opacity: 0; }
html.hp-anim [data-hp-anim="tilt"]:not(.is-in) { opacity: 0; transform: translateY(28px) rotate(2deg); }
html.hp-anim [data-hp-anim="tilt"] { transition-duration: 600ms; }

/* Results photos: soft settle from 1.03 */
html.hp-anim [data-hp-anim="zoom"] { transition: none; }
html.hp-anim [data-hp-anim="zoom"] img { transition: opacity 600ms var(--hp-ease), transform 600ms var(--hp-ease); }
html.hp-anim [data-hp-anim="zoom"] img + img { transition-delay: 80ms; }
html.hp-anim [data-hp-anim="zoom"]:not(.is-in) img { opacity: 0; transform: scale(1.03); }

/* Grids: children step in, 60 ms apart, at most 6 steps */
html.hp-anim [data-hp-anim="stagger"] { transition: none; }
html.hp-anim [data-hp-anim="stagger"] > * {
  transition: opacity 450ms var(--hp-ease), transform 450ms var(--hp-ease);
}
html.hp-anim [data-hp-anim="stagger"]:not(.is-in) > * { opacity: 0; transform: translateY(16px); }
html.hp-anim [data-hp-anim="stagger"] > :nth-child(2) { transition-delay: 60ms; }
html.hp-anim [data-hp-anim="stagger"] > :nth-child(3) { transition-delay: 120ms; }
html.hp-anim [data-hp-anim="stagger"] > :nth-child(4) { transition-delay: 180ms; }
html.hp-anim [data-hp-anim="stagger"] > :nth-child(5) { transition-delay: 240ms; }
html.hp-anim [data-hp-anim="stagger"] > :nth-child(n+6) { transition-delay: 300ms; }

/* Scanner, the signature moment: photo fades in, the result card rises, then the bars fill
   and the badge pops. */
html.hp-anim [data-hp-anim="scan"] { transition: none; }
html.hp-anim [data-hp-anim="scan"] .hp-scanner__photo { transition: opacity 600ms var(--hp-ease); }
html.hp-anim [data-hp-anim="scan"] .hp-scan-card { transition: opacity 500ms var(--hp-ease) 200ms, transform 500ms var(--hp-ease) 200ms; }
html.hp-anim [data-hp-anim="scan"] .hp-scan-card__bar span {
  transform-origin: left center;
  transition: transform 600ms var(--hp-ease) 550ms;
}
html.hp-anim [data-hp-anim="scan"] .hp-scan-card__row + .hp-scan-card__row .hp-scan-card__bar span { transition-delay: 650ms; }
html.hp-anim [data-hp-anim="scan"] .hp-scan-card__badge { transition: opacity 300ms var(--hp-ease) 700ms, transform 300ms var(--hp-ease) 700ms; }
html.hp-anim [data-hp-anim="scan"]:not(.is-in) .hp-scanner__photo { opacity: 0; }
html.hp-anim [data-hp-anim="scan"]:not(.is-in) .hp-scan-card { opacity: 0; transform: translateY(32px); }
html.hp-anim [data-hp-anim="scan"]:not(.is-in) .hp-scan-card__bar span { transform: scaleX(0); }
html.hp-anim [data-hp-anim="scan"]:not(.is-in) .hp-scan-card__badge { opacity: 0; transform: scale(.9); }

/* Stats count-up (home.js) keeps digits from jittering */
.hp-stat strong { font-variant-numeric: tabular-nums; }

/* Reduced motion: nothing moves; at most a 150 ms fade. */
@media (prefers-reduced-motion: reduce) {
  html.hp-anim .hp-in,
  html.hp-anim .hp-phone { animation: none; }
  html.hp-anim [data-hp-anim],
  html.hp-anim [data-hp-anim] *,
  html.hp-anim [data-hp-anim] > * {
    transform: none !important;
    transition: opacity 150ms linear !important;
    transition-delay: 0ms !important;
  }
  .hp-faq__item summary::after { transition: none; }
  .hp-faq__item::details-content { transition: none !important; }
}
