/* Homepage redesign: product-led fleet compliance positioning. */

/* ---------------------------------------------------------------
   Tokens (homepage only). Extends the site palette in styles.css:
   darker muted greys for AA contrast on light bands, one shared
   card radius/border/shadow language, one vertical section rhythm.
   --------------------------------------------------------------- */
body.homepage-redesign {
  overflow-x: clip;
  background: #fff;

  --muted: #46586e;
  --soft: #5c6d84;
  --line: #dbe4ec;

  --hp-pad: clamp(74px, 7.2vw, 110px);
  --hp-gap: 18px;
  --hp-r-lg: 22px;
  --hp-r-md: 16px;
  --hp-r-sm: 12px;

  --hp-card-line: #dde7ef;
  --hp-card-line-hover: #a9d6c0;
  --hp-shadow: 0 1px 2px rgba(8, 22, 39, .045), 0 10px 26px rgba(8, 22, 39, .055);
  --hp-shadow-hover: 0 2px 6px rgba(8, 22, 39, .06), 0 20px 46px rgba(8, 22, 39, .115);
  --hp-shadow-panel: 0 1px 3px rgba(8, 22, 39, .05), 0 28px 66px rgba(8, 22, 39, .11);
  --hp-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------------------------------------------------------------
   Typography scale
   --------------------------------------------------------------- */
.homepage-redesign .eyebrow {
  margin: 0 0 13px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

/* Brand green as small text fails AA on white; use the deeper tone for
   labels and keep the bright tone wherever the band is dark. */
.homepage-redesign .eyebrow,
.homepage-redesign .plan-label,
.homepage-redesign .pricing-detail-link { color: #0d7a45; }
.homepage-redesign .faq-item summary::after { background: #dff5e9; color: #0d7a45; }
.homepage-redesign .section-dark .eyebrow,
.homepage-redesign .home-section-dark .eyebrow { color: #63e9a1; }
.homepage-redesign .pricing-card-featured .plan-label,
.homepage-redesign .pricing-card-featured .pricing-detail-link { color: #70e8a7; }

.homepage-redesign .section-heading h2,
.homepage-redesign .cta-box h2 {
  font-size: clamp(33px, 3.9vw, 50px);
  line-height: 1.06;
  letter-spacing: -.038em;
}

.homepage-redesign .section-heading > p:last-child {
  margin-top: 17px;
  font-size: 17.5px;
  line-height: 1.66;
}

.section-intro { color: var(--muted); font-size: 17px; line-height: 1.68; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.homepage-redesign .hero {
  min-height: 770px;
  padding: 138px 0 92px;
  overflow: hidden;
}

.homepage-redesign .hero-layout {
  grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr);
  gap: clamp(44px, 6vw, 84px);
}

.homepage-redesign .hero-copy { max-width: 660px; }

.homepage-redesign .hero h1 {
  max-width: 740px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

/* The English H1's longest word ("infringement") needs ~480px at the shared
   72px display size but the desktop copy column is ~462px, which forced a
   mid-word break. Scoped like the Polish override below so no other language
   changes. */
html[lang="en-GB"] .homepage-redesign .hero h1 { font-size: clamp(44px, 4.8vw, 64px); }

.homepage-redesign .hero-lead {
  max-width: 636px;
  margin-top: 25px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.64;
}

/* The Polish H1 is a full sentence and roughly twice the length of the
   English one, so at the shared display size it wrapped to eight lines and
   crowded the screenshot. Scoping by html[lang] keeps the English hero at its
   original scale and gives the Polish page a size that lands in three to four
   lines. Both the base rule and its phone override outrank the shared
   .homepage-redesign .hero h1 rules on specificity, so source order is free. */
html[lang="pl-PL"] .homepage-redesign .hero h1 {
  max-width: 640px;
  font-size: clamp(30px, 2.45vw, 36px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

/* A slightly wider copy column shares the saving with the smaller type, so the
   sentence lands in four lines without the headline block growing again. The
   min-width guard keeps the 1180px single-column collapse intact — this rule
   outranks it on specificity and would otherwise override it. */
@media (min-width: 1181px) {
  html[lang="pl-PL"] .homepage-redesign .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 1.12fr);
  }
}

html[lang="pl-PL"] .homepage-redesign .hero-lead { max-width: 600px; font-size: 17px; }

@media (max-width: 760px) {
  html[lang="pl-PL"] .homepage-redesign .hero h1 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.13;
    letter-spacing: -.028em;
  }
  html[lang="pl-PL"] .homepage-redesign .hero-lead { font-size: 16px; }
}

.homepage-redesign .hero-actions { gap: 14px; margin-top: 34px; }

.homepage-redesign .button-hero-primary {
  min-width: 268px;
  min-height: 60px;
  padding: 18px 32px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: linear-gradient(135deg, #22c273 0%, #0f9d55 100%);
  box-shadow: 0 14px 30px rgba(16, 160, 88, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .05em;
}

.homepage-redesign .button-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #29d07d 0%, #12a95c 100%);
  box-shadow: 0 20px 42px rgba(16, 160, 88, .46), inset 0 1px 0 rgba(255, 255, 255, .26);
}

.homepage-redesign .hero-actions .button-ghost {
  min-height: 60px;
  padding: 18px 26px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.homepage-redesign .hero-actions .button-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .13);
  box-shadow: none;
}

.homepage-redesign .hero-proof { margin-top: 34px; color: rgba(255, 255, 255, .68); font-size: 13px; }
.homepage-redesign .visual-label { color: rgba(255, 255, 255, .64); }

/* Screenshot framing */
.homepage-redesign .browser-frame {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: linear-gradient(160deg, #0d2135 0%, #08192a 100%);
  box-shadow: 0 44px 110px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.homepage-redesign .browser-frame img { border-radius: 14px; }
.homepage-redesign .browser-top { height: 22px; }

.homepage-redesign .shot-card {
  padding: 8px;
  border: 1px solid var(--hp-card-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(8, 22, 39, .06), 0 30px 64px rgba(8, 22, 39, .14);
}

.homepage-redesign .shot-card img { border-radius: 13px; }

/* ---------------------------------------------------------------
   Platform strip
   --------------------------------------------------------------- */
/* The strip sits between the dark hero and the dark benefits band, so it is
   painted dark too: the top edge fades out of the hero (the strip overlaps it
   by its negative margin) and the bottom edge meets the top of
   .home-section-dark, giving one continuous dark block.
   The bottom glow is tuned so the seam is exact at every x: the strip's
   ellipse is offset 18% of its own height past the edge with a 175% radius
   (18 / 175 = .103) and .home-section-dark's is offset 8% with a 78% radius
   (8 / 78 = .103); both share the 115% horizontal radius and the same colour
   stop, so both edges resolve to the same pixel value. */
.platform-strip {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  color: #fff;
  background:
    radial-gradient(115% 175% at 50% 118%, #0e2639 0%, rgba(14, 38, 57, 0) 62%),
    linear-gradient(180deg, rgba(8, 22, 39, 0) 0%, var(--dark) 32px, var(--dark) 100%);
}

.platform-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--hp-r-lg);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 24px 58px rgba(0, 0, 0, .42);
}

.platform-strip-item {
  padding: 21px 24px 22px;
  background: #0e2033;
  transition: background .18s ease;
}

.platform-strip-item strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.015em;
}

.platform-strip-item strong::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(32, 206, 114, .14);
}

.platform-strip-item span {
  display: block;
  margin-top: 6px;
  padding-left: 15px;
  color: rgba(255, 255, 255, .78);
  font-size: 12.5px;
  line-height: 1.5;
}

.homepage-redesign .platform-strip-item:hover { background: #13293f; }

/* ---------------------------------------------------------------
   Section rhythm
   --------------------------------------------------------------- */
.home-section { padding: var(--hp-pad) 0; }
.home-section-soft { border-block: 1px solid #e5eeea; background: #f4f8f6; }

.home-section-dark {
  background: radial-gradient(115% 78% at 50% -8%, #0e2639 0%, rgba(14, 38, 57, 0) 62%), var(--dark);
  color: #fff;
}

.home-section-dark .section-heading > p:last-child,
.home-section-dark .section-intro { color: rgba(255, 255, 255, .74); }

.home-section .section-heading { margin-bottom: clamp(34px, 3.6vw, 48px); }
.home-section .section-heading h2 { max-width: 820px; margin-inline: auto; }

.home-area + .home-area { margin-top: clamp(58px, 6vw, 86px); }

/* ---------------------------------------------------------------
   Capability grid
   --------------------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hp-gap);
}

.capability-card {
  position: relative;
  min-height: 212px;
  padding: 26px 26px 28px;
  overflow: hidden;
  border: 1px solid var(--hp-card-line);
  border-radius: var(--hp-r-lg);
  background: #fff;
  box-shadow: var(--hp-shadow);
}

.capability-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border: 20px solid rgba(20, 168, 90, .06);
  border-radius: 50%;
  pointer-events: none;
}

.homepage-redesign .capability-card.visible {
  transition: transform .2s var(--hp-ease), box-shadow .2s var(--hp-ease), border-color .2s var(--hp-ease);
}

.homepage-redesign .capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--hp-card-line-hover);
  box-shadow: var(--hp-shadow-hover);
}

.capability-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, #e6f9ee, #d1f1df);
  box-shadow: inset 0 0 0 1px rgba(20, 168, 90, .18);
  color: #0d7a45;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
}

.capability-card h3 { position: relative; margin: 18px 0 0; font-size: 19.5px; letter-spacing: -.025em; }
.capability-card p { position: relative; margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* ---------------------------------------------------------------
   Split section headings
   --------------------------------------------------------------- */
.home-split-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(30px, 3.2vw, 44px);
}

.home-split-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(31px, 3.6vw, 46px);
  line-height: 1.07;
  letter-spacing: -.04em;
}

.home-split-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.68; }
.home-section-dark .home-split-heading > p { color: rgba(255, 255, 255, .74); }

/* ---------------------------------------------------------------
   Screenshot carousels
   --------------------------------------------------------------- */
.product-carousel {
  position: relative;
  border: 1px solid #d5e1dc;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--hp-shadow-panel);
}

.home-section-dark .product-carousel {
  border-color: rgba(255, 255, 255, .15);
  background: #0b2030;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 32px 70px rgba(0, 0, 0, .4);
}

.carousel-viewport { overflow: hidden; border-radius: 23px 23px 0 0; }
.carousel-track { display: flex; transition: transform .36s cubic-bezier(.2, .75, .25, 1); touch-action: pan-y pinch-zoom; }
.carousel-slide { min-width: 100%; }
.product-carousel:not(.is-ready) .carousel-slide:not(:first-child) { display: none; }

.carousel-media {
  position: relative;
  aspect-ratio: 1900 / 1078;
  overflow: hidden;
  background: #eaf0ee;
}

.home-section-dark .carousel-media { background: #0e2537; }

.homepage-redesign .carousel-media .shot-card { height: 100%; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.homepage-redesign .carousel-media img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: top center; }

/* The third column is intentionally empty: it reserves the space the
   absolutely positioned controls occupy, so caption text can never run
   underneath them at any width or dot count. */
.carousel-caption {
  display: grid;
  grid-template-columns: minmax(150px, .3fr) minmax(0, .7fr) 182px;
  gap: 26px;
  min-height: 118px;
  padding: 22px 26px 24px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 23px 23px;
}

.carousel-caption strong { font-size: 16px; letter-spacing: -.02em; }
.carousel-caption p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.home-section-dark .carousel-caption { border-color: rgba(255, 255, 255, .14); }
.home-section-dark .carousel-caption p { color: rgba(255, 255, 255, .72); }

.carousel-controls {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #d2dfd9;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(8, 22, 39, .06), 0 6px 14px rgba(8, 22, 39, .07);
  color: #1c3247;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  border-color: #5fbc8b;
  background: #f1fbf6;
  box-shadow: 0 2px 4px rgba(8, 22, 39, .06), 0 10px 22px rgba(8, 22, 39, .11);
  color: #0d7a45;
}

.carousel-dots { display: flex; align-items: center; gap: 7px; padding: 0 6px; }

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c0cfc8;
  cursor: pointer;
  transition: width .22s var(--hp-ease), background .18s ease;
}

.carousel-dot:hover { background: #93aca1; }

.carousel-dot[aria-current="true"] {
  width: 24px;
  background: linear-gradient(90deg, #18b665, #0e8f4e);
}

.home-section-dark .carousel-button {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09);
  box-shadow: none;
  color: #fff;
}

.home-section-dark .carousel-button:hover { border-color: rgba(110, 235, 168, .55); background: rgba(32, 206, 114, .18); color: #fff; }
.home-section-dark .carousel-dot { background: rgba(255, 255, 255, .38); }
.home-section-dark .carousel-dot:hover { background: rgba(255, 255, 255, .6); }
.home-section-dark .carousel-dot[aria-current="true"] { background: linear-gradient(90deg, #5fe39c, #21c274); }

/* ---------------------------------------------------------------
   Mobility Package block
   --------------------------------------------------------------- */
.mobility-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  gap: clamp(44px, 6.5vw, 88px);
  align-items: center;
}

.mobility-copy h2 { margin: 9px 0 0; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.04em; }
.mobility-copy > p:not(.eyebrow) { margin: 21px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }

.mobility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.mobility-list li { position: relative; padding-left: 23px; color: #253d51; font-size: 14.5px; line-height: 1.5; }
.mobility-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.homepage-redesign .mobility-copy .section-note {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 2px solid #cfe2d8;
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.homepage-redesign .mobility-copy > p:last-child { margin-top: 22px; }

.mobility-visual .shot-card { transform: none; }
.mobility-caption { margin: 16px 10px 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.mobility-caption strong { color: var(--ink); }

/* ---------------------------------------------------------------
   Value grid (dark band)
   --------------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hp-gap); }

.value-card {
  position: relative;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--hp-r-lg);
  background: rgba(255, 255, 255, .045);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #6edba2, rgba(110, 219, 162, 0));
}

.value-card strong { display: block; font-size: 18px; letter-spacing: -.025em; }
.value-card p { margin: 11px 0 0; color: rgba(255, 255, 255, .75); font-size: 14.5px; line-height: 1.62; }

.homepage-redesign .value-card.visible {
  transition: transform .2s var(--hp-ease), background .2s ease, border-color .2s ease;
}

.homepage-redesign .value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .075);
}

/* ---------------------------------------------------------------
   Audience split + how-it-works + fact row (Polish homepage only)

   These three blocks are additive: the classes below appear on
   /pl/index.html and nowhere else, so the English homepage renders
   byte-identically. They borrow the existing card language
   (--hp-card-line, --hp-shadow, --hp-r-lg, the .value-card treatment
   on dark bands) instead of introducing a second one.
   --------------------------------------------------------------- */
.hp-seg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hp-gap);
}

.hp-seg-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
  border: 1px solid var(--hp-card-line);
  border-radius: var(--hp-r-lg);
  background: #fff;
  box-shadow: var(--hp-shadow);
}

.homepage-redesign .hp-seg-card.visible {
  transition: transform .2s var(--hp-ease), box-shadow .2s var(--hp-ease), border-color .2s var(--hp-ease);
}

.homepage-redesign .hp-seg-card:hover {
  transform: translateY(-3px);
  border-color: var(--hp-card-line-hover);
  box-shadow: var(--hp-shadow-hover);
}

.hp-seg-title { margin: 0; font-size: 22px; letter-spacing: -.032em; }

.hp-seg-list { display: grid; gap: 15px; margin: 22px 0 0; padding: 0; list-style: none; }

.hp-seg-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hp-seg-list li::before {
  content: "✓";
  position: absolute;
  top: .1em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e2f6ec;
  color: #0d7a45;
  font-size: 11px;
  font-weight: 900;
}

.hp-seg-list strong { color: var(--ink); font-weight: 850; }

.homepage-redesign .hp-seg-note {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.homepage-redesign .hp-seg-link { align-self: flex-start; margin-top: auto; padding-top: 26px; }

/* Footnote under a light band — the annulled eight-week vehicle return. */
.homepage-redesign .hp-footnote {
  max-width: 780px;
  margin: clamp(30px, 3.2vw, 44px) 0 0;
  padding-left: 14px;
  border-left: 2px solid #cfe2d8;
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Steps — dark band, same surface treatment as .value-card. */
.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hp-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-step {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--hp-r-lg);
  background: rgba(255, 255, 255, .045);
}

.homepage-redesign .hp-step.visible {
  transition: transform .2s var(--hp-ease), background .2s ease, border-color .2s ease;
}

.homepage-redesign .hp-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .075);
}

.hp-step-num {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(110, 219, 162, .24), rgba(32, 206, 114, .1));
  box-shadow: inset 0 0 0 1px rgba(110, 219, 162, .32);
  color: #8af0b9;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.hp-step h3 { margin: 18px 0 0; font-size: 19.5px; letter-spacing: -.025em; }
.hp-step p { margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-size: 14.5px; line-height: 1.62; }

/* Fact row — quiet numbers under the steps, no second card widget. */
.hp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(30px, 3.4vw, 44px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hp-fact { padding: 0 24px; }
.hp-fact + .hp-fact { border-left: 1px solid rgba(255, 255, 255, .1); }
.hp-fact:first-child { padding-left: 0; }
.hp-fact:last-child { padding-right: 0; }

.hp-fact strong {
  display: block;
  color: #8af0b9;
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

.hp-fact span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hp-fact { padding: 0 20px; }
  .hp-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hp-fact:nth-child(even) { padding-right: 0; }
}

@media (max-width: 900px) {
  .hp-seg-grid { grid-template-columns: 1fr; }
  .hp-steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hp-seg-card { padding: 24px 22px 26px; }
  .hp-seg-title { font-size: 20px; }
  .hp-seg-list li { font-size: 14.5px; }
  .hp-step { padding: 22px; }
  .hp-step h3 { margin-top: 15px; font-size: 18.5px; }
  .hp-facts { row-gap: 24px; }
  .hp-fact span { font-size: 12.5px; }
}

/* ---------------------------------------------------------------
   Pricing
   --------------------------------------------------------------- */
.compact-pricing { padding: var(--hp-pad) 0; }
.compact-pricing .pricing-card { min-height: 100%; }

.homepage-redesign .pricing-card {
  padding: 30px;
  border-color: var(--hp-card-line);
  border-radius: var(--hp-r-lg);
  box-shadow: var(--hp-shadow);
}

.homepage-redesign .pricing-card-featured {
  border-color: rgba(110, 235, 168, .24);
  box-shadow: 0 3px 8px rgba(8, 22, 39, .14), 0 30px 70px rgba(8, 22, 39, .26);
}

.homepage-redesign .pricing-card.visible {
  transition: transform .2s var(--hp-ease), box-shadow .2s var(--hp-ease), border-color .2s var(--hp-ease);
}

.homepage-redesign .pricing-card:hover { transform: translateY(-3px); border-color: var(--hp-card-line-hover); box-shadow: var(--hp-shadow-hover); }
.homepage-redesign .pricing-card-featured:hover { border-color: rgba(110, 235, 168, .4); box-shadow: 0 4px 10px rgba(8, 22, 39, .16), 0 38px 84px rgba(8, 22, 39, .3); }
.homepage-redesign .pricing-card-featured .vat-note { color: rgba(255, 255, 255, .62); }
.homepage-redesign .pricing-head h3 { font-size: 23px; letter-spacing: -.035em; }
.homepage-redesign .price strong { font-size: 36px; }

/* ---------------------------------------------------------------
   FAQ and resource links
   --------------------------------------------------------------- */
.homepage-redesign .faq-section { padding: var(--hp-pad) 0; }

.homepage-redesign .faq-item {
  border-color: var(--hp-card-line);
  border-radius: var(--hp-r-md);
  box-shadow: var(--hp-shadow);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.homepage-redesign .faq-item:hover { border-color: var(--hp-card-line-hover); }
.homepage-redesign .faq-item[open] { border-color: #bcdfcd; box-shadow: var(--hp-shadow-hover); }
.homepage-redesign .faq-item summary { padding: 19px 22px; font-size: 15.5px; }
.homepage-redesign .faq-item summary::after { width: 28px; height: 28px; font-size: 19px; }
.homepage-redesign .faq-item p { color: var(--muted); font-size: 15.5px; }

.homepage-redesign .resource-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }

.homepage-redesign .resource-links a {
  padding: 17px 18px;
  border-color: var(--hp-card-line);
  border-radius: var(--hp-r-md);
  box-shadow: 0 1px 2px rgba(8, 22, 39, .04);
}

.homepage-redesign .resource-links a:hover {
  transform: translateY(-2px);
  border-color: var(--hp-card-line-hover);
  background: #fbfdfc;
  box-shadow: var(--hp-shadow-hover);
}

.homepage-redesign .resource-links strong { margin-bottom: 5px; font-size: 14px; letter-spacing: -.015em; }
.homepage-redesign .resource-links span { color: var(--muted); font-size: 12.5px; line-height: 1.48; }

/* ---------------------------------------------------------------
   Closing CTA
   --------------------------------------------------------------- */
.homepage-redesign .final-cta { padding: clamp(78px, 7vw, 106px) 0; }
.homepage-redesign .cta-box p:not(.eyebrow) { color: rgba(255, 255, 255, .8); font-size: 17.5px; }
.homepage-redesign .center-actions { justify-content: center; margin-top: 30px; }

.homepage-redesign .center-actions .button {
  min-width: 176px;
  min-height: 54px;
  padding: 16px 28px;
  border-radius: 13px;
  font-size: 15px;
}

.homepage-redesign .center-actions .button-ghost { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.homepage-redesign .center-actions .button-ghost:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .13); }

/* ---------------------------------------------------------------
   Focus states
   --------------------------------------------------------------- */
.carousel-button:focus-visible,
.carousel-dot:focus-visible,
.product-carousel:focus-visible { outline: 3px solid rgba(20, 168, 90, .45); outline-offset: 3px; }
.home-section-dark .carousel-button:focus-visible,
.home-section-dark .carousel-dot:focus-visible { outline-color: rgba(95, 227, 156, .7); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .homepage-redesign .hero-layout,
  .mobility-layout { grid-template-columns: 1fr; }
  .homepage-redesign .hero-copy { max-width: 800px; }
  .homepage-redesign .hero-visual { max-width: 900px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage-redesign .resource-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .homepage-redesign .hero { min-height: 0; padding: 128px 0 82px; }
  .home-split-heading { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .carousel-caption { gap: 20px; }
  /* Three cards on a tablet: two side by side, the third across the row. */
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .carousel-caption {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 20px 22px 84px;
  }
  .carousel-controls { right: 20px; bottom: 20px; }
}

@media (max-width: 820px) {
  .homepage-redesign .pricing-grid { grid-template-columns: 1fr; max-width: 580px; }
}

@media (max-width: 760px) {
  .homepage-redesign .hero { padding: 108px 0 64px; }
  .homepage-redesign .hero h1 { font-size: clamp(38px, 12vw, 54px); letter-spacing: -.04em; }
  .homepage-redesign .hero-lead { font-size: 16.5px; }
  .homepage-redesign .hero-layout { gap: 38px; }
  .homepage-redesign .hero-actions { align-items: stretch; flex-direction: column; gap: 11px; margin-top: 30px; }
  .homepage-redesign .hero-actions .button { width: 100%; min-width: 0; }
  .homepage-redesign .hero-actions .button-ghost,
  .homepage-redesign .button-hero-primary { min-height: 56px; }
  .homepage-redesign .hero-proof { display: grid; gap: 9px; margin-top: 28px; }

  /* Shorter overlap on phones, so the top fade is shorter too. The bottom
     glow keeps the geometry that matches .home-section-dark exactly. */
  .platform-strip {
    margin-top: -24px;
    background:
      radial-gradient(115% 175% at 50% 118%, #0e2639 0%, rgba(14, 38, 57, 0) 62%),
      linear-gradient(180deg, rgba(8, 22, 39, 0) 0%, var(--dark) 22px, var(--dark) 100%);
  }
  .platform-strip-item { padding: 17px 19px 18px; }

  .home-section { padding: 62px 0; }
  .home-section .section-heading { margin-bottom: 30px; }
  .homepage-redesign .section-heading h2,
  .homepage-redesign .cta-box h2 { font-size: 32px; }
  .homepage-redesign .section-heading > p:last-child { font-size: 16px; }
  .home-split-heading h2 { font-size: 30px; }
  .home-split-heading > p { font-size: 16px; }
  .home-area + .home-area { margin-top: 52px; }

  .capability-card { min-height: 0; padding: 22px; }
  .capability-card h3 { margin-top: 15px; font-size: 18.5px; }

  .mobility-copy h2 { font-size: 30px; }
  .mobility-copy > p:not(.eyebrow) { font-size: 16px; }
  .mobility-caption { margin: 14px 4px 0; }

  .value-grid { grid-template-columns: 1fr; }
  .value-card { padding: 24px 22px; }
  .value-card:nth-child(3) { grid-column: auto; }

  .carousel-media { aspect-ratio: 1900 / 1078; }
  .homepage-redesign .carousel-media .shot-card { min-width: 0; }
  .homepage-redesign .carousel-media img { object-fit: contain; object-position: left top; }
  .carousel-caption { padding: 18px 18px 74px; }
  .carousel-controls { right: 16px; bottom: 16px; }
  .carousel-button { width: 38px; height: 38px; }

  .compact-pricing,
  .homepage-redesign .faq-section { padding: 62px 0; }
  .homepage-redesign .pricing-card { padding: 24px; }
  .homepage-redesign .final-cta { padding: 70px 0; }
  .homepage-redesign .center-actions .button { width: 100%; }
}

@media (max-width: 620px) {
  .capability-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .platform-strip-inner { grid-template-columns: 1fr; }
  .mobility-list { grid-template-columns: 1fr; }
  .homepage-redesign .resource-links { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .homepage-redesign .container { width: min(var(--container), calc(100% - 28px)); }
  .carousel-caption { padding-bottom: 80px; }
  .carousel-controls { left: 18px; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .homepage-redesign .capability-card:hover,
  .homepage-redesign .value-card:hover,
  .homepage-redesign .pricing-card:hover,
  .homepage-redesign .resource-links a:hover,
  .homepage-redesign .button-hero-primary:hover,
  .homepage-redesign .hero-actions .button-ghost:hover { transform: none; }
}

/* ---------------------------------------------------------------
   Navy revert 2026-10-14 (the owner: back to the hero of 2026-10-10)
   with two additions on the dark hero:
   - the hero bullets as icon tiles (from 1181px; the rules of the
     2026-10-11 light hero, recoloured for the dark one): the bold
     words the title, the rest the sub-line; light-green strokes on a
     translucent tile; two columns for four items, three for three;
   - the free-check line under the hero buttons (FP-LINKS), light text
     and a light-green link on the dark hero.
   --------------------------------------------------------------- */
.homepage-redesign .hero .hp-footnote { border-left-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .72); }
.homepage-redesign .hero .hp-footnote .inline-link { color: #63e9a1; text-decoration-color: rgba(99, 233, 161, .45); }
.homepage-redesign .hero .hp-footnote .inline-link:hover { text-decoration-color: currentColor; }
@media (min-width: 1181px) {
  .homepage-redesign .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; margin-top: 22px; font-size: 12.5px; line-height: 1.4; }
  .homepage-redesign .hero-proof:has(> span:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage-redesign .hero-proof span { position: relative; min-height: 40px; padding-left: 50px; color: rgba(255, 255, 255, .72); }
  .homepage-redesign .hero-proof span::before {
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1) center / 20px 20px no-repeat;
  }
  .homepage-redesign .hero-proof span:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363e9a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8'/%3E%3C/svg%3E"); }
  .homepage-redesign .hero-proof span:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363e9a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
  .homepage-redesign .hero-proof span:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363e9a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M8 17V11M13 17V7M18 17v-4'/%3E%3C/svg%3E"); }
  .homepage-redesign .hero-proof span:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363e9a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='14' rx='2'/%3E%3Cpath d='M16 13h2M2 10h20'/%3E%3C/svg%3E"); }
  .homepage-redesign .hero-proof strong { display: block; margin-bottom: 2px; color: #fff; font-size: 14px; font-weight: 800; }
}
/* Google Play badge of the TachoAssist Driver app — PHONE ONLY (2026-10-16, the owner's mock) */
.play-badge, .nav-app-pill, .play-row-hero, .play-row-home { display: none; }
/* the CTA and pricing rows wrap an ORIGINAL element (Sign in / the plan link): on the desktop the wrapper is
   display: contents, so those elements lay out exactly as before the badge (the owner: the desktop is not touched) */
.play-row-cta, .play-row-pricing { display: contents; }
@media (max-width: 760px) {
  .play-row { display: flex; align-items: center; gap: 14px; }
  .play-row.play-row-split { justify-content: space-between; }
  .play-row.play-row-hero { flex-basis: 100%; margin-top: 2px; }
  .play-row.play-row-cta { margin-top: 12px; }
  .play-row.play-row-pricing { margin: 12px 0 2px; }
  .play-row.play-row-home { margin-top: 14px; }
  .play-row .button { flex: 1; width: auto; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; }
  .play-row .pricing-detail-link { margin: 0; text-align: right; }
  .play-caption { font-size: .95rem; opacity: .82; }
  /* the badge = Google's own localised "Get it on Google Play" image (assets/play/<lang>.png, the transparent
     padding trimmed so the visible badge is exactly 44 px tall and flush with the primary button's left edge) */
  .play-badge { display: inline-block; flex: none; line-height: 0; }
  .play-badge img { display: block; height: 44px; width: auto; }
  /* the top-bar pill: a flex item between the brand and the menu button — nothing may shrink (the burger
     squeezed on a 412 px phone, the owner 09:19), so the header's gap narrows and the pill slims on narrow screens */
  .site-header { gap: 14px; }
  .site-header .menu-button { flex: none; }
  .nav-app-pill { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-left: auto; height: 40px;
    padding: 0 14px 0 10px; border-radius: 999px; background: #000; border: 1.5px solid #cfcfcf; color: #fff;
    font: 700 14px/1 Arial, Helvetica, sans-serif; text-decoration: none; white-space: nowrap; letter-spacing: .1px; }
  .nav-app-pill svg { width: 20px; height: 21px; }
  .site-header.open .nav-app-pill { display: none; } /* the open menu is a grid of brand / nav / actions — the pill stays out of it */
}
@media (max-width: 420px) {
  /* a 412 px phone: the brand, the pill and the menu button share one row only with tighter spacing — the text stays */
  .site-header { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .nav-app-pill { height: 36px; padding: 0 10px 0 8px; font-size: 13px; gap: 6px; margin-right: 0; }
  .nav-app-pill svg { width: 18px; height: 19px; }
}
@media (max-width: 380px) {
  /* narrower still: the pill keeps the Play mark only */
  .nav-app-pill { width: 36px; padding: 0; justify-content: center; gap: 0; }
  .nav-app-pill span { display: none; }
}

/* ---- THE HOMES ONLY (main.hp-home + the .hp-sticky bar: the 22 language home pages) - the landing research's recommended variant "mock-ac"
   (2026-10-14: mock A + the phone sticky bar of mock C). Every text on the hero stays the owner's; the trust line is
   made of fragments of sentences already on the same page. ---- */
/* F1/F2: the primary button = navy text on the light brand green (>= 10:1; white on the darker green was 2.3-3.5:1) */
.hp-home .button-hero-primary,
.hp-sticky .button-hero-primary {
  background: linear-gradient(135deg, #7af0b3 0%, #3fdc8c 100%);
  color: #04101d;
  border-color: rgba(255, 255, 255, .35);
  box-shadow: 0 14px 34px rgba(63, 220, 140, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.hp-home .button-hero-primary:hover,
.hp-sticky .button-hero-primary:hover { background: linear-gradient(135deg, #8ff5c1 0%, #52e399 100%); color: #04101d; }
/* F13: the hero is shown at once, not faded in when script.js runs (the reveal classes stay in the markup, which
   gen/free-page.mjs reads; the fade-in below the hero is unchanged) */
.hp-home .hero .reveal { opacity: 1; transform: none; transition: none; }
/* F4: one primary button; the second action is a text link (still 48px tall for touch) */
.hp-home .hero .hero-actions { align-items: center; margin-top: 30px; }
.hp-home .hero-more { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; color: #fff; font-size: 15.5px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 5px; }
.hp-home .hero-more:hover { text-decoration-color: #63e9a1; }
/* F5: the trust line under the button */
.hp-home .hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .88); font-size: 14.5px; font-weight: 600; }
.hp-home .hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hp-home .hero-trust li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363E9A1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* F3: the English H1 a size smaller (same text), so the button sits above the 1366x768 fold */
html[lang="en-GB"] .hp-home .hero h1 { font-size: clamp(40px, 3.7vw, 52px); }
/* the same smaller size for the other languages (PL keeps its own, already smaller one) on desktop and tablet: at
   1366x768 the button was below the fold on all 20 of those homes (y 722-1332) */
@media (min-width: 761px) {
  html:not([lang="pl-PL"]) .hp-home .hero h1 { font-size: clamp(40px, 3.7vw, 52px); }
}
@media (max-width: 760px) {
  .hp-home .hero .hero-actions { align-items: stretch; }
  .hp-home .hero-actions .hero-more { justify-content: center; width: 100%; }
  .hp-home .hero-trust { justify-content: flex-start; font-size: 14px; gap: 6px 14px; }
}
/* F12: the phone sticky bar - shown by homepage.js once the hero button and the final CTA are both off screen; never on
   desktop (the fixed header carries the sign-up button there). Under the header (z 50) so the open phone menu covers it. */
.hp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(4, 16, 29, .96); border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .25s ease; }
.hp-sticky.show { transform: none; }
.hp-sticky .button-hero-primary { min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 850; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.hp-sticky small { order: -1; color: rgba(255, 255, 255, .82); font-size: 12.5px; line-height: 1.3; font-weight: 600; text-align: center; }
@media (max-width: 760px) {
  .hp-sticky { display: flex; }
  .hp-sticky ~ .site-footer { padding-bottom: 110px; }
}

/* ---- THE GREEK AND DANISH HOMES ONLY: the owner's hero words of 2026-10-27 are full sentences, so they take the Polish
   home's hero scale (the one he approved: H1 36px / 1.12, lead 17px, the same phone sizes). At 1366x768 the H1 goes from
   5 lines (248px, GR) and 3 (149px, DK) at 51px to 3 (112px) and 2 (75px); the button ends at 542 / 475px. */
html[lang="el-GR"] .hp-home .hero h1, html[lang="da-DK"] .hp-home .hero h1 { max-width: 640px; font-size: clamp(30px, 2.45vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
html[lang="el-GR"] .hp-home .hero-lead, html[lang="da-DK"] .hp-home .hero-lead { max-width: 600px; font-size: 17px; }
@media (max-width: 760px) {
  html[lang="el-GR"] .hp-home .hero h1, html[lang="da-DK"] .hp-home .hero h1 { font-size: clamp(27px, 8vw, 34px); line-height: 1.13; letter-spacing: -.028em; }
  html[lang="el-GR"] .hp-home .hero-lead, html[lang="da-DK"] .hp-home .hero-lead { font-size: 16px; }
}
/* ---- THE POLISH HOME ONLY (2026-12-01, the owner's accepted mock-up "Jeden system", hero variant C). Every rule
   hangs on a class that only pl/index.html carries (.hero-duo*, .hero-phone-label, .hero-proof-desktop,
   .one-system*), so no other page that loads this file changes. The hero column itself keeps its exact opening tag
   (gen/free-page.mjs copies it to the free-check page), so it is reached with :has(> .hero-duo). ---- */
/* Hero, from 761 px: two whole program windows - the register behind (upper right, the first .browser-frame), the
   driver's analysis in front (lower left, the frame inside .hero-duo-front); each frame hugs its whole-screen picture.
   Each caption sits at its own window: "Ewidencja czasu pracy" above the back window's right end, "Analiza
   tachografu" just above the front window's top-left corner, in the free strip left of the back window (its width is
   capped to that strip, so it wraps rather than run under the back window). The copy column and the grid columns are
   unchanged, so the headline keeps its three lines. The same arrangement is kept in the single column (761-1180 px). */
.hero-duo-links { display: none; }
@media (min-width: 761px) {
  .hero-phone-label { display: none; }
  .hero-duo-links { display: flex; justify-content: flex-end; margin: 0 4px 14px; }
  .hero-duo-links a, .hero-duo-front-link { color: #3ee08c; font-size: 12px; font-weight: 800; line-height: 1.35; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
  .hero-duo-links a span, .hero-duo-front-link span { color: rgba(255, 255, 255, .72); }
  .hero-duo-links a:hover span, .hero-duo-front-link:hover span { color: #fff; }
  .hero-duo { position: relative; padding-top: 19%; }
  .hero-duo .browser-frame img { display: block; }
  .hero-duo > .browser-frame { position: absolute; top: 0; right: 0; width: 78%; opacity: .96; }
  .hero-duo-front { position: relative; z-index: 2; width: 80%; }
  .hero-duo-front .browser-frame { box-shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 30px 70px rgba(0, 0, 0, .6); }
  /* the back window is 78% wide, so the strip left of it is 22% of the pair = 27.5% of the front window; less a
     4 px inset and a 14 px gap. "TACHOGRAFU →" (bound by a non-breaking space) needs 107 px: the strip is 109 px at
     1181 px and wider above. */
  .hero-duo-front-link { position: absolute; bottom: calc(100% + 10px); left: 4px; max-width: calc(27.5% - 18px); }
}
/* a wide window: the picture grows about 110 px to the right, past the container (the hero clips it, no scrollbar) */
@media (min-width: 1500px) {
  .homepage-redesign .hero-visual:has(> .hero-duo) { margin-right: -112px; }
}
/* a phone (the single column, 760 px and below): exactly as before - one picture, the register, with its caption
   and tap-to-zoom; the analysis window, its caption and the four-item list are not shown */
@media (max-width: 760px) {
  .hero-duo-front { display: none; }
  .hp-home .hero-proof.hero-proof-desktop { display: none; }
}

/* "Jeden system": replaces the platform strip's four items inside the same wrapper (its overlap and dark ground stay).
   A source bar, four linked tiles, a price bar. Phone: compact rows, icon left. */
.one-system { padding: 26px 28px 28px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px; background: #0b1b2c; box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 24px 58px rgba(0, 0, 0, .42); color: #fff; }
.one-system-head { margin-bottom: 18px; text-align: center; }
.one-system-eyebrow { margin: 0; color: #3ee08c; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.one-system h2 { margin: 6px 0 0; color: #fff; font-size: 24px; font-weight: 850; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.one-system-nowrap { white-space: nowrap; }
.one-system-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(32, 206, 114, .14); color: #3ee08c; }
.one-system-icon svg { width: 19px; height: 19px; }
.one-system-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; max-width: 960px; margin: 0 auto; padding: 13px 20px; border: 1px solid rgba(62, 224, 140, .35); border-radius: 14px; background: rgba(32, 206, 114, .08); }
.one-system-source strong { font-size: 15.5px; font-weight: 850; letter-spacing: -.015em; }
.one-system-source .one-system-text { color: rgba(255, 255, 255, .72); font-size: 13px; }
.one-system-arrow { display: grid; place-items: center; height: 30px; color: rgba(62, 224, 140, .8); }
.one-system-arrow svg { width: 18px; height: 18px; }
.one-system-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.one-system-tile { display: flex; flex-direction: column; gap: 7px; padding: 18px 18px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: #0e2033; color: #fff; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.one-system-tile:hover { border-color: rgba(62, 224, 140, .45); background: #13293f; }
.one-system-tile strong { margin-top: 4px; font-size: 16px; font-weight: 850; letter-spacing: -.015em; }
.one-system-tile .one-system-text { color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.5; }
.one-system-more { margin-top: auto; padding-top: 6px; color: #3ee08c; font-size: 12.5px; font-weight: 750; }
.one-system-base { display: block; padding: 15px 20px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.one-system-base:hover { border-color: rgba(62, 224, 140, .45); background: rgba(255, 255, 255, .09); }
.one-system-base strong { display: block; font-size: 16px; font-weight: 850; letter-spacing: -.015em; }
.one-system-dot { padding: 0 4px; color: #3ee08c; }
.one-system-base .one-system-text { display: block; margin-top: 4px; color: rgba(255, 255, 255, .75); font-size: 13px; }
.one-system-tile:focus-visible, .one-system-base:focus-visible, .hero-duo-links a:focus-visible, .hero-duo-front-link:focus-visible { outline: 3px solid #41dc8a; outline-offset: 3px; }
/* four tiles need about 260 px each: two columns below 1100 px */
@media (max-width: 1099px) {
  .one-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .one-system { padding: 18px 14px 16px; }
  .one-system-head { margin-bottom: 14px; }
  .one-system h2 { font-size: 19px; }
  .one-system-source { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 12px 14px; text-align: left; }
  .one-system-source .one-system-icon { grid-row: 1 / span 2; }
  .one-system-source strong { font-size: 14.5px; }
  .one-system-source .one-system-text { font-size: 12.5px; }
  .one-system-arrow { height: 24px; }
  .one-system-grid { grid-template-columns: 1fr; gap: 8px; }
  .one-system-tile { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; }
  .one-system-tile .one-system-icon { grid-row: 1 / span 3; }
  .one-system-tile strong { margin-top: 0; font-size: 15px; }
  .one-system-tile .one-system-text { font-size: 12.5px; line-height: 1.45; }
  .one-system-more { padding-top: 2px; font-size: 12px; }
  .one-system-base { padding: 12px 14px; }
  .one-system-base strong { font-size: 14.5px; line-height: 1.35; }
  .one-system-base .one-system-text { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .one-system-tile, .one-system-base { transition: none; }
}
