/* Feature pages (landing/features/*) rebuilt in the new landing style, on top of home_v2.css (+ all_features_v2.css
   for the icon tiles): hero with the main screenshot, text + check list, icon cards, screenshot gallery, navy
   benefits, related tiles, FAQ. */
.hv2-fp__hero { align-items: center; }
.hv2-fp__hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hv2-fp__hero-text .hv2-crumbs { margin-bottom: 4px; }
.hv2-fp__hero-text .hv2-eyebrow { margin-bottom: -6px; }
.hv2-fp__hero-media { width: 100%; }
/* On a phone the overlaid phone frame (bottom-anchored, 40% wide) is taller than a very wide computer shot and
   would climb over the plans above; keep the media box at least as tall as the frame. */
@media (max-width: 575.98px) { .hv2-fp__hero-media.hv2-benefit__media--duo { aspect-ratio: 10 / 9; } }
.hv2-fp__plans { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; font-size: 14px; }
.hv2-fp__plans-label { color: var(--hv2-muted); font-weight: 600; }
.hv2-fp__plan { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #E6F1EA; color: var(--hv2-green); font-weight: 700; }

.hv2-fp__what { align-items: center; }
.hv2-fp__what-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hv2-fp__what-text .hv2-lead { margin: 0; }
.hv2-fp__what-text a { color: var(--hv2-green); font-weight: 700; }

.hv2-fp__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 768px) { .hv2-fp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hv2-fp__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hv2-fp__card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--hv2-line); border-radius: 16px; background: #ffffff; }
.hv2-fp__card-title { margin: 4px 0 0; font-size: 18px; font-weight: 800; color: var(--hv2-navy); }
.hv2-fp__card-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--hv2-muted); }
.hv2-fp__cards--navy .hv2-fp__card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.hv2-fp__cards--navy .hv2-fp__card-title { color: #ffffff; }
.hv2-fp__cards--navy .hv2-fp__card-text, .hv2-fp__on-navy { color: var(--hv2-on-navy); }
.hv2-fp__cards--navy .hv2-feat__icon { background: rgba(60, 192, 110, 0.15); color: var(--hv2-green-light); }
.hv2-fp__center { justify-content: center; margin-top: 32px; }

.hv2-fp__gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
@media (min-width: 768px) { .hv2-fp__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hv2-fp__shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hv2-fp__shot > .hv2-zoom { border-radius: 12px; overflow: hidden; border: 1px solid #d9e1e8; box-shadow: 0 14px 32px rgba(20, 39, 58, 0.10); }
.hv2-fp__shot img { display: block; width: 100%; height: auto; }
.hv2-fp__shot figcaption { font-size: 14px; font-weight: 600; color: var(--hv2-muted); }
.hv2-fp__shot--phone { align-items: center; }
.hv2-fp__shot--phone .hv2-phone { width: 100%; max-width: 240px; }
/* Computer shots two per row (an odd last one spans the row); the phone screens side by side under them. */
@media (min-width: 768px) { .hv2-fp__gallery > .hv2-fp__shot:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.hv2-fp__phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; margin-top: 40px; }
.hv2-fp__phones .hv2-fp__shot--phone { width: 240px; text-align: center; }
@media (max-width: 575.98px) { .hv2-fp__phones { gap: 16px; } .hv2-fp__phones .hv2-fp__shot--phone { width: calc(50% - 8px); } }
.hv2-fp__related { margin-top: 28px; }

.hv2-fp__video { max-width: 900px; margin: 32px auto 0; border-radius: 14px; overflow: hidden; }
/* Phones: tighter blocks — plan pills, the check list and the icon cards (icon on the left of the text). */
@media (max-width: 575.98px) {
    .hv2-fp__plans { font-size: 12.5px; gap: 6px; }
    .hv2-fp__plan { padding: 2px 8px; }
    .hv2-fp__what-card { padding: 16px; }
    .hv2-fp__cards { gap: 10px; margin-top: 24px; }
    .hv2-fp__card { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px; }
    .hv2-fp__card .hv2-feat__icon { grid-row: 1 / 3; width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
    .hv2-fp__card-title { margin: 0; font-size: 16px; }
    .hv2-fp__card-text { font-size: 14px; }
    .hv2-fp__gallery { gap: 18px; margin-top: 24px; }
}

/* Proof under the hero buttons: Google rating and the free trial. */
.hv2-fp__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--hv2-muted); }
.hv2-fp__proof-item { display: inline-flex; align-items: center; gap: 6px; }
.hv2-fp__proof-item i { font-size: 18px; color: var(--hv2-green); }
.hv2-fp__proof-item .ri-star-fill { color: #f5b400; }
.hv2-fp__proof-item strong { color: var(--hv2-navy); }
.hv2 .hv2-fp__proof a { color: inherit; text-decoration: underline; text-decoration-color: var(--hv2-line); text-underline-offset: 3px; }

/* "Znasz to?": the owner's problems as cards with a muted red icon, then a green answer bar with the trial button. */
.hv2-fp__pains-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 576px) { .hv2-fp__pains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hv2-fp__pains-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hv2-fp__pain { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: #ffffff; border: 1px solid var(--hv2-line); }
.hv2-fp__pain::after { content: "\201D"; position: absolute; top: 6px; right: 16px; font-family: Georgia, serif; font-size: 56px; line-height: 1; color: #eef1f4; }
.hv2-fp__pain-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fdecec; color: #c43b3b; font-size: 21px; }
.hv2-fp__pain p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--hv2-navy); }
.hv2-fp__pains-answer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 18px; padding: 22px 26px; border-radius: 18px; background: #E6F1EA; border: 1px solid #cfe5d7; }
.hv2-fp__pains-check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hv2-green); color: #ffffff; font-size: 24px; }
.hv2-fp__pains-answer p { flex: 1 1 320px; margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--hv2-navy); }

/* "Czym jest": the four gains as small icon cards (2 × 2) next to the text. */
.hv2-fp__what-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 576px) { .hv2-fp__what-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hv2-fp__what-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: var(--hv2-grey); border: 1px solid var(--hv2-line); }
.hv2-fp__what-card strong { font-size: 17px; color: var(--hv2-navy); }
.hv2-fp__what-card span { font-size: 14.5px; line-height: 1.5; color: var(--hv2-muted); }

/* Call to action between the screenshots and the benefits. */
.hv2-fp__mid-cta { margin-top: 40px; }
@media (max-width: 575.98px) {
    .hv2-fp__pain { padding: 16px; flex-direction: row; align-items: center; }
    .hv2-fp__pain::after { display: none; }
    .hv2-fp__pain p { font-size: 15px; }
    .hv2-fp__pains-answer { padding: 18px; }
    .hv2-fp__pains-answer p { font-size: 16px; flex-basis: 100%; }
}

/* An odd number of "Czym jest" cards: the last one spans the row instead of leaving an empty slot. */
@media (min-width: 576px) { .hv2-fp__what-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Very tall screenshots (whole scrolled pages) are shown from the top, cut off; the zoom opens them whole. */
.hv2-fp__shot > .hv2-zoom img { max-height: 560px; object-fit: cover; object-position: top; }
/* "Czym jest" without its cards (they already fill the hero of a page without screenshots): text only. */
.hv2-fp__what--solo { max-width: 860px; }
