:root {
  --bg: #f7f7f7;
  --text: #0b0b0b;
  --gap: 20px;
  --pad: 16px;
  --outer: 40px;
  --bolt-scale: 1.5;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto Flex", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-variation-settings: "wdth" 136, "wght" 600, "opsz" 36;
  overflow-x: clip;
  width: 100%;
  min-height: 100%;
}
img {
  display: block;
  max-width: 100%;
}
.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 var(--pad) var(--pad);
  position: relative;
}
.lang {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  font-weight: 700;
  color: #000;
}
.lang__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.lang__link.isActive {
  border-bottom-color: currentColor;
}
.lang__link:hover {
  border-bottom-color: rgba(0, 0, 0, 0.25);
}
.mainGrid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  min-height: 0;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}
.hero__stack {
  position: relative;
  width: 100%;
}
.hero__bolt {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100vw * var(--bolt-scale));
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

@supports (width: 1svw) {
  .hero__bolt {
    width: calc(100svw * var(--bolt-scale));
  }
}
.hero__lockup {
  position: relative;
  width: 100%;
  z-index: 1;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.cta__text {
  font-size: clamp(20px, 3.5vw, 30px);
  line-height: 1;
}
.cta__arrow {
  height: clamp(18px, 3.2vw, 28px);
  width: auto;
}
.cta--footer,
.cta--bottom {
  display: none;
}
.cta--hero {
  width: 100%;
  justify-content: flex-start;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 0;
  position: relative;
  z-index: 2;
  min-height: 0;
}
.card {
  display: block;
  width: 100%;
}
.card img {
  width: 100%;
}
.footer {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.footer__row {
  display: grid;
  gap: 14px;
}
.footer__onlyMain,
.footer__label {
  font-size: 22px;
  line-height: 1.15;
}

.footer__onlySub {
  margin-top: 1px;
  opacity: 0.75;
  font-size: 12px;
  font-style: italic;
}
.footer__group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__iconLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer__iconLink img {
  height: 34px;
  width: auto;
}

@media (max-width: 979px) {
  .cta--hero {
    margin: var(--outer) 0;
    padding: 28px 22px;
  }
  .cta--bottom {
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
    margin: var(--outer) 0;
    padding: 28px 22px;
  }
}
@media (min-width: 980px) {
  :root {
    --pad: 40px;
  }
  .lang {
    top: 40px;
    right: 40px;
    color: #fff;
  }

  .lang__link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.45);
  }
  .cta--footer {
    display: inline-flex;
  }
  .cta--hero {
    display: none;
  }
  .mainGrid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .cards {
    padding-top: calc(var(--outer) + var(--pad));
  }
}
@media (min-width: 980px) and (max-width: 1300px) {
  .footer__row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 12px;
  }
  .cta--footer {
    grid-row: 1;
  }
  .footer__onlyText {
    grid-row: 2;
    display: block;
  }
  .footer__group--middle {
    grid-row: 3;
    justify-self: start;
  }
  .footer__group--right {
    grid-row: 4;
    justify-content: flex-start;
  }
}
@media (min-width: 1301px) {
  body {
    overflow: hidden;
  }
  .page {
    height: 100svh;
    display: grid;
    /* .lang is position:fixed (out of flow), so use 2 rows: content + footer. */
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .footer {
    align-self: end;
  }
  .cards {
    overflow: hidden;
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    padding: var(--outer) 0 0;
    padding-top: calc(var(--outer) + var(--pad));
  }
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .row-1 { grid-row: 1; }
  .row-2 { grid-row: 2; }
  .row-3 { grid-row: 3; }
  .cards > .card {
    height: 100%;
  }
  .cards > .card img,
  .cards > img.card {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .footer__row {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 22px;
    row-gap: 0;
    align-items: start;
    align-content: start;
  }
  .cta--footer {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: var(--outer);
  }
  .footer__onlyText {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .footer__onlyMain {
    line-height: 1;
  }
  .footer__onlySub {
    margin-top: 0;
  }
  .footer__group {
    grid-row: 2;
    align-items: center;
  }
  .footer__group--middle {
    grid-column: 2;
    justify-self: end;
  }
  .footer__group--right {
    grid-column: 3;
    justify-content: flex-end;
  }

  /* Desktop CTA: avoid vw-based growth when browser zooms out. */
  .cta__text {
    font-size: 26px;
  }

  .cta__arrow {
    height: 24px;
  }
}
@media (min-width: 1800px) {
  .page {
    max-width: 1600px;
    margin: 0 auto;
  }
}
