:root {
  --color-accent: #f5801f;
  --color-text: #646464;
  --color-bg: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background-color: var(--color-accent);
  color: #fff;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  box-shadow: inset 0 0 0 6px var(--color-accent);
}

.page {
  box-sizing: border-box;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
}

.logo {
  margin: 0;
  line-height: 0;
  width: 100%;
  animation: rise 0.7s ease-out both;
}

.logo img {
  display: block;
  width: min(100%, clamp(10.5rem, 48vw, 18.5rem));
  max-height: min(34vh, 13.5rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.copy,
.contact {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  width: 100%;
  max-width: 34rem;
  text-align: center;
  color: var(--color-text);
}

.copy {
  text-wrap: balance;
  animation: rise 0.7s ease-out 0.12s both;
}

.copy p {
  margin: 0 0 1rem;
}

.copy p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(0.875rem, 0.84rem + 0.2vw, 0.975rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.lead-hook {
  display: block;
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 0.98rem + 0.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.support {
  font-size: clamp(0.875rem, 0.84rem + 0.2vw, 0.975rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.cta {
  margin-top: 0.35rem;
  font-size: clamp(0.925rem, 0.88rem + 0.25vw, 1.025rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

.contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.925rem, 0.88rem + 0.3vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
  animation: rise 0.7s ease-out 0.24s both;
}

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

.contact a:hover,
.contact a:focus-visible {
  color: var(--color-accent);
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .copy,
  .contact {
    animation: none;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .page {
    justify-content: flex-start;
    padding-block: 1.25rem;
  }

  .logo img {
    max-height: 35vh;
  }
}
