/* 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;
}

.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; }

/* Optional PLN equivalent (Polish page only) — a discreet badge under the price. */
.homepage-redesign .pln-conversion {
  display: grid;
  gap: 2px;
  justify-items: end;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #cbe4d7;
  border-radius: var(--hp-r-sm);
  background: #f2f9f5;
  color: #14603c;
  text-align: right;
}

.homepage-redesign .pln-conversion strong { font-size: 15px; font-weight: 850; line-height: 1.25; letter-spacing: -.01em; }
.homepage-redesign .pln-conversion span { color: #4a6a5b; font-size: 11px; font-weight: 750; line-height: 1.4; }

.homepage-redesign .pricing-card-featured .pln-conversion {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #8af0b9;
}

.homepage-redesign .pricing-card-featured .pln-conversion span { color: rgba(255, 255, 255, .66); }

/* ---------------------------------------------------------------
   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 .pln-conversion { justify-items: start; margin: 12px auto 0 0; text-align: left; }
  .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; }
}
