*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: "Manrope", sans-serif;
  color: #1a2e2a;
  background: linear-gradient(160deg, #f0f7f4 0%, #e8f4f8 100%);
  background-attachment: fixed;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3rem);
  min-height: calc(100dvh - 5rem);
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem) 1rem;
  text-align: center;
}

.hero {
  animation: fadeUp 0.8s ease-out both;
}

.hero__title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #1a2e2a;
}

.hero__subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 400;
  color: #3d8b7a;
  letter-spacing: 0.04em;
}

.phone {
  position: relative;
  width: clamp(260px, 72vw, 380px);
  padding: 12px;
  border-radius: 42px;
  background: #1a2e2a;
  box-shadow:
    0 20px 50px rgba(26, 46, 42, 0.18),
    0 4px 12px rgba(26, 46, 42, 0.08);
  animation:
    fadeIn 0.8s 0.15s ease-out both,
    float 4s 1s ease-in-out infinite;
}

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  border-radius: 12px;
  background: #1a2e2a;
  z-index: 2;
}

.phone__screen {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(180deg, #e8f4f0 0%, #d4ebe4 100%);
}

.phone__mockup {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
  text-align: center;
}

.footer__copyright {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a635c;
}

.footer__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3d8b7a;
  text-decoration: none;
}

.footer__link:hover,
.footer__link:focus-visible {
  text-decoration: underline;
}

.privacy {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem) 1rem;
  line-height: 1.65;
}

.privacy h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.privacy h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.privacy h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.privacy p,
.privacy ul {
  margin-bottom: 1rem;
  color: #2a4039;
}

.privacy ul {
  padding-left: 1.25rem;
}

.privacy__back {
  font-weight: 600;
  color: #3d8b7a;
}

.privacy__back:hover,
.privacy__back:focus-visible {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .phone {
    animation: none;
  }
}
