@font-face {
  font-family: "Bebas";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/roboto.ttf") format("truetype");
}

:root {
  --black: #262249;
  --primary-900: #3a3067;
  --primary-800: #61508d;
  --primary-200: #9d9dc2;
  --primary-100: #bbbad2;
  --secondary-900: #00533d;
  --secondary-700: #4cb59b;
  --secondary-300: #7fc6b1;
  --secondary-100: #bfe1df;
  --tertiary-800: #ec9d00;
  --tertiary-500: #f4c800;
  --tertiary-100: #fff5a5;
  --page-bg: var(--primary-100);
  --page-text: var(--primary-900);
  --button-bg: var(--primary-100);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --wide: 48.5rem;
  --primary-font: "Bebas", Impact, sans-serif;
  --secondary-font: "Roboto Local", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--page-text);
  font-family: var(--secondary-font);
  font-weight: 400;
  line-height: 1.4;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--primary-900);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  z-index: 100;
  padding: 8px;
  color: #ffffff;
  background: #000000;
}

.skip-link:focus {
  top: 0;
}

#app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main {
  text-align: center;
}

.main-content {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
  text-align: center;
}

.main-image-wrapper {
  position: relative;
  z-index: 2;
  width: 319px;
  height: 317px;
  max-width: calc(100vw - 2px);
  margin-top: 16px;
  animation: fade-in 0.4s ease-out;
}

.clip-shape {
  position: absolute;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header h1,
.header p {
  box-sizing: border-box;
  max-width: 600px;
  padding: 0 24px;
  margin: 0;
  overflow-wrap: break-word;
}

.header h1 {
  margin-top: 54px;
  font-family: var(--primary-font);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  animation: fade-in 0.3s ease-out 0.2s both;
}

.header p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0.7;
  animation: fade-in 0.3s ease-out 0.3s both;
}

.body-section {
  max-width: var(--wide);
  padding: 1rem 22px;
  margin: 0 auto;
  animation: animate-section 0.42s backwards;
}

.links.advanced-06 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.advanced-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  color: var(--page-text);
  text-align: left;
  cursor: pointer;
  background: var(--button-bg);
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.advanced-card img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.advanced-card span {
  display: flex;
  flex-grow: 1;
  align-items: center;
  min-height: 82px;
  padding: 24px 16px;
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.text-box {
  position: relative;
  padding: 30px 22px;
}

.text-box.compact {
  padding-bottom: 22px;
}

.text-box h2 {
  margin: 0 0 10px;
  font-family: var(--secondary-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  word-wrap: break-word;
}

.text-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.links.buttons-02,
.links.cards-01,
.links.cards-07 {
  filter: drop-shadow(0 6px 40px rgba(0, 0, 0, 0.06));
}

.button-card {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 12px 22px 12px 12px;
  margin-bottom: 16px;
  color: var(--page-text);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  background: var(--button-bg);
  border: none;
  border-radius: 43px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button-card:last-child {
  margin-bottom: 0;
}

.button-card img {
  width: 56px;
  height: 56px;
  margin-right: 12px;
  object-fit: cover;
  border-radius: 100%;
}

.button-card span {
  flex: 1;
  align-self: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.links.cards-07 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 192px;
  color: var(--page-text);
  text-align: left;
  cursor: pointer;
  background: var(--button-bg);
  border: none;
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-overlay {
  box-sizing: border-box;
  width: 100%;
  padding: 3px 3px 0;
}

.card-overlay img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  border-radius: 6px;
}

.card-text {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  color: var(--page-text);
  text-align: left;
  cursor: pointer;
  background: var(--button-bg);
  border: none;
  border-radius: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.review-card span {
  flex: 1;
  padding: 20px 0 20px 22px;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.review-card svg {
  flex: 0 0 auto;
  margin-right: 22px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--wide);
  padding: 1rem 0;
  margin: 0 auto;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  color: var(--page-text);
  animation: animate-social 0.3s backwards;
}

.social-link svg {
  width: 2rem;
  height: 2rem;
}

.advanced-card:hover,
.button-card:hover,
.download-card:hover,
.review-card:hover,
.social-link:hover {
  transform: translateY(-2px);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes animate-section {
  0% {
    transform: scale(0.96) translateY(24px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes animate-social {
  0% {
    transform: scale(0);
  }

  95% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 420px) {
  .main-image-wrapper {
    width: 319px;
    height: 317px;
    margin-left: auto;
    margin-right: auto;
  }

  .header h1 {
    font-size: 32px;
  }

  .body-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .advanced-card span {
    min-height: 92px;
    padding: 18px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
