/* PRODUCTS */
main.product {
  position: relative;
  display: block;
  height: 100%;
  background: var(--product-background);
}

main.product section {
  position: relative;
  display: block;
  width: 100%;
  padding: 0px;
  text-align: center;
  cursor: default;
  background: transparent;
}

div.appDownload {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--delimiter-color);
  background-color: var(--main-bacckgound);
}

div.appDownload > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 700px;
}

div.appDownload a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--form-element-height);
  min-width: 80px;
  margin-inline-end: 12px;
  padding: 0 calc(var(--padding-global) * 2);
  border: 1px solid transparent;
  border-radius: var(--form-element-height);
  font-size: var(--nav-text-size);
  font-weight: var(--nav-font-weight);
  text-decoration: none;
  color: white;
  cursor: pointer;
  overflow: visible;
  background: var(--get-button-background);
}

div.appDownload > div div {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: var(--nav-text-size);
  font-weight: 600;
  text-align: start;
  color: var(--text-color);
}

div.appDownload div span {
  opacity: 0.7;
  font-size: var(--table-text-size);
  font-weight: 400;
  line-height: inherit;
  color: inherit;
}

div.appDownload div.extra {
  display: block;
  text-align: center;
  width: calc(100% - var(--padding-modal) * 2);
  max-width: 700px;
  margin-top: 7px;
  padding: 7px 5px 2px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid hsla(var(--hs), 30%, 0.8);
  color: var(--text-color);
}

div.appDownload div.extra a {
  position: relative;
  display: inline;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  color: var(--color-booster);
  background: transparent;
}

main.product div.logo {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 25px auto -15px auto;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: var(--icon-url);
}

#acs_icon {
	background-image: url(../graphics/acs/acs_icon.webp);
}

#du_icon {
	background-image: url(../graphics/du/du_icon.webp);
}

#nc_icon {
	background-image: url(../graphics/nc/nc_icon.webp);
}

main.product h1 {
  position: relative;
  margin: 0px auto 10px;
  font-size: 38px;
  font-weight: 700;
  color: var(--app-name-color);
}

@media (max-width: 835px) {
  main.product h1 {
    font-size: 30px;
  }
}

main.product span.intro {
  position: relative;
  display: block;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--intro-color);
}

main.product div.bigBlock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-flow: dense;
  align-items: center;
  justify-content: center;
  width: 100% - var(--padding-modal);
  max-width: 900px;
  margin: calc(var(--padding-modal) * 2) auto;
  padding: calc(var(--padding-modal) * 1.5) var(--padding-modal);
  border-radius: 30px;
  overflow: hidden;
  background: var(--neutral-bigblock-background);
}

@media (max-width: 835px) {
  main.product div.bigBlock {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    margin: calc(var(--padding-modal) * 2) auto var(--padding-modal) auto;
    padding: calc(var(--padding-modal) * 2) calc(var(--padding-modal) * 2);
  }

  main.product div.bigBlock.reverse > div:first-of-type {
    grid-row: 2;
  }
}

main.product div.bigBlock div.device {
  position: relative;
  z-index: 1;
  display: block;
  width: 262px;
  height: 528px;
  margin-inline-start: auto;
  margin-inline-end: 18px;
}

main.product div.bigBlock.reverse div.device {
  margin-inline-start: 18px;
  margin-inline-end: auto;
}

@media (max-width: 835px) {
  main.product div.bigBlock div.device {
    margin-left: auto;
    margin-right: auto;
  }

  main.product div.bigBlock.reverse div.device {
    margin-left: auto;
    margin-right: auto;
  }
}

main.product div.bigBlock div.device::before {
  content: "";
  position: absolute;
  display: block;
  left: -175px;
  top: -23px;
  width: 612px;
  height: 682px;
  background-size: 612px 682px;
  background-repeat: no-repeat;
  background-image: url("../graphics/iphone_shadow.png");
}

main.product div.bigBlock div.device div.cutout {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 3;
  width: 262px;
  height: 528px;
  background-size: 262px 528px;
  background-repeat: no-repeat;
  pointer-events: none;
  background-image: url("../graphics/iphone_hardware.webp");
}

main.product div.bigBlock div.device div.content {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 234px;
  height: 504px;
  margin-left: 14px;
  margin-top: 12px;
  border-radius: 30px;
  background-size: 100%;
  background-repeat: no-repeat;
}

main.product.ACS div.bigBlock div.device div.content {
  background-image: url("../graphics/acs/image01-light.webp");
}

main.product.NC div.bigBlock div.device div.content {
  background-image: url("../graphics/nc/image01-light.webp");
}

main.product.DU div.bigBlock div.device div.content {
  background-image: url("../graphics/du/image01-light.webp");
}

main.product.DU div.bigBlock div.device div.content.two {
  background-image: url("../graphics/du/image02-light.webp");
}

@media (prefers-color-scheme: dark) {
  main.product.ACS div.bigBlock div.device div.content {
    background-image: url("../graphics/acs/image01-dark.webp");
  }

  main.product.NC div.bigBlock div.device div.content {
    background-image: url("../graphics/nc/image01-dark.webp");
  }

  main.product.DU div.bigBlock div.device div.content {
    background-image: url("../graphics/du/image01-dark.webp");
  }

  main.product.DU div.bigBlock div.device div.content.two {
    background-image: url("../graphics/du/image02-dark.webp");
  }
}

main.product div.bigBlock div.text {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  width: 100%;
  max-width: 250px;
  margin-inline-start: 18px;
  margin-inline-end: auto;
}

main.product div.bigBlock.reverse div.text {
  margin-inline-start: auto;
  margin-inline-end: 18px;
}

@media (max-width: 835px) {
  main.product div.bigBlock div.text,
  main.product div.bigBlock.reverse div.text {
    margin: auto;
    align-items: center;
    width: 100%;
    max-width: 500px;
  }
}

main.product div.bigBlock div.text svg {
  --width: 40px;
  position: relative;
  flex-shrink: 0;
  width: var(--width);
  height: calc(var(--width) * 1.2);
  margin-top: 15px;
  margin-bottom: 8px;
  color: var(--title-color-alt);
}

main.product div.bigBlock.reverse div.text svg {
  margin-inline-start: auto;
}

@media (max-width: 835px) {
  main.product div.bigBlock.reverse div.text svg {
    margin-inline-start: initial;
  }
}

main.product div.bigBlock div.text p {
  position: relative;
  font-size: 25px;
  line-height: 1.1;
  text-align: start;
  font-weight: 700;
  color: var(--big-block-text-color);
}

main.product div.bigBlock.reverse div.text p {
  text-align: end;
}

@media (max-width: 835px) {
  main.product div.bigBlock div.text p {
    text-align: center;
  }
  main.product div.bigBlock.reverse div.text p {
    text-align: center;
  }
}

main.product div.bigBlock div.text p span {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: var(--big-block-title-color);
}

main.product div.smallBlocks {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  grid-gap: calc(var(--padding-modal) * 2);
  max-width: 90rem;
  margin: calc(var(--padding-modal) * 2) auto;
}

@media (max-width: 835px) {
  main.product div.smallBlocks {
    grid-template-columns: 1fr;
  }
}

main.product div.smallBlocks div.block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  padding: calc(var(--padding-modal) * 1.5) calc(var(--padding-modal) * 2);
  border-radius: 30px;
  overflow: hidden;
  color: white;
  background: var(--colored-big-block-background);
}

main.product div.smallBlocks div.block svg {
  --width: 40px;
  position: relative;
  flex-shrink: 0;
  width: var(--width);
  height: calc(var(--width) * 1.2);
  margin-bottom: 8px;
  color: var(--small-block-svg-color);
}

main.product div.smallBlocks div.block p {
  font-weight: 500;
  font-size: 20px;
  width: auto;
  color: white;
  text-align: start;
}
