﻿* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: var(--font-regular);
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--blue);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-lock { overflow: hidden; }

img {
  max-width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: var(--container-width);
  max-width: none;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: var(--font-regular);
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  text-align: center;
  white-space: normal;
  min-height: 52px;
  max-width: 100%;
  transition: .2s transform, .2s background, .2s border-color;
}
.btn:hover { transform: translateY(-1px); }
.btn__icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-glass {
  border-radius: 16px;
  background: var(--light);
  color: var(--white);
  border: 1px solid var(--smoke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-full { width: 100%; }

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s opacity, .2s visibility, .2s transform, .2s background;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: #3f4c5d; }
.scroll-top img {
  width: 20px;
  height: 20px;
}

@media (max-width: 720px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* Temporary full-page section mockups (PC / mobile images) */
.section-fp {
  width: 100%;
}
.section-fp img {
  width: 100%;
  height: auto;
}
.section-fp .section-fp__pc { display: block; }
.section-fp .section-fp__mob { display: none; }
.section-fp--head {
  margin-bottom: 48px;
}
.section-fp-cards {
  --bs-gutter-y: 0;
}
.section-fp-cards img {
  width: 100%;
  height: auto;
}
.section-fp-cards .section-fp-cards__pc { display: block; }
.section-fp-cards .section-fp-cards__mob { display: none; }
@media (max-width: 720px) {
  .section-fp .section-fp__pc { display: none; }
  .section-fp .section-fp__mob { display: block; }
  .section-fp--head {
    margin-bottom: 24px;
  }
  .section-fp-cards {
    --bs-gutter-y: 16px;
  }
  .section-fp-cards .section-fp-cards__pc { display: none; }
  .section-fp-cards .section-fp-cards__mob { display: block; }
}

