@font-face {
  font-family: 'Mabry Pro';
  src: url(/assets/MabryPro-Regular20c9c07a07029d12c486.woff2) format('woff2'),
       url(/assets/MabryPro-Regular37994a2de268e5d8ad12.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ArcherPro';
  src: url(/assets/ArcherPro-Book7a89f30e25673d1427a3.woff2) format('woff2'),
       url(/assets/ArcherPro-Book52b3cff2914c86dda7f6.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/Roboto-Light333da16a3f3cc391d087.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/Roboto-Regularfc2b5060f7accec5cf74.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/Roboto-Medium7c8d04cd831df3033c8a.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/Roboto-Boldf80816a5455d171f948d.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary-color: #1A1A1A;
  --accent-color: #ffaf7b;
  --bg-gradient: linear-gradient(#c7e4ff, #e9f3fd 25%, #f1f0ee 60%, #f1f0ee);
  --font-primary: 'Mabry Pro', sans-serif;
  --font-secondary: 'ArcherPro', serif;
  --font-roboto: 'Roboto', sans-serif;
  --spacing-base: 24px;
  --spacing-large: 72px;
  --z-content: 10;
  --z-background: 0;
  --z-container: 5;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: var(--bg-gradient);
  overflow-x: hidden;
}

.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: var(--z-container);
  place-items: center;
  padding: var(--spacing-large) 0;
}

.logo {
  grid-row: 1;
  width: 80px;
  position: relative;
  z-index: var(--z-content);
  justify-self: center;
}

.content-container {
  grid-row: 2;
  max-width: 728px;
  width: 100%;
  padding: 0 var(--spacing-base);
  gap: var(--spacing-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  z-index: var(--z-content);
  justify-self: center;
  align-self: center;
  text-align: center;
}

h1 {
  font-family: var(--font-primary);
  font-size: 52px;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
  color: var(--primary-color);
}

p {
  font-family: var(--font-secondary);
  margin: 0;
  font-size: 20px;
  line-height: 150%;
  color: var(--primary-color);
}

.btn {
  margin-top: 12px;
  height: 43px;
  width: 130px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: bold;
  background: var(--primary-color);
  color: #FFFFFF;
  border: none;
  border-radius: 32px;
  cursor: pointer;
}

.btn:hover {
  background: #5C5C5C;
}

.footer {
  margin-top: 20px;
  grid-row: 3;
  width: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: var(--z-content);
  align-items: center;
}

.footer a {
  width: 221px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 12px;
  line-height: 100%;
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.cloud {
  position: absolute;
  opacity: 0.7;
  z-index: var(--z-background);
}
.cloud1 {
  top: 15vh;
  left: 5vw;
  animation: floatCloud1 4s ease-in-out infinite alternate;
}
.cloud2 {
  top: 30vh;
  right: 4vw;
  animation: floatCloud2 6s ease-in-out infinite alternate;
  animation-delay: 1s;
}
.cloud3 {
  bottom: 25vh;
  left: 0;
  animation: floatCloud3 5s ease-in-out infinite alternate;
  animation-delay: 2s;
}
.cloud4 {
  bottom: 15vh;
  right: 0;
  animation: floatCloud4 7s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

@keyframes floatCloud1 {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(2vw) translateY(-1vh); }
}

@keyframes floatCloud2 {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-2vw) translateY(1.5vh); }
}

@keyframes floatCloud3 {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(2vw) translateY(-0.5vh); }
}

@keyframes floatCloud4 {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-2vw) translateY(0.8vh); }
}

@media (prefers-reduced-motion: reduce) {
  .cloud1, .cloud2, .cloud3, .cloud4 {
    animation: none;
  }
}

@media (max-width: 959px) {
  .logo {
    padding-top: var(--spacing-large);
  }
  .container {
    gap: 80px;
  }
  .content-container {
    padding: 0;
  }
  .footer {
    padding-bottom: var(--spacing-large);
  }
}

@media (max-width: 959px) and (min-width: 640px) {
  h1 { font-size: 42px; }
  p { font-size: 26px; }
  .container {
    padding: 0 80px;
  }
  .footer a {
    width: 195px;
  }
}

@media (max-width: 639px) {
  h1 { font-size: 34px; }
  p { font-size: 20px; }
  .container {
    padding: 0 24px;
  }
  .footer a {
    width: 104px;
  }
}

