:root {
  --prox-brand: #003333;
  --prox-mint: #adebb3;
  --prox-muted: rgba(0, 51, 51, 0.62);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #fefefe;
  color: var(--prox-brand);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.root {
  width: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background: #fefefe;
  overflow-x: clip;
}

.inner {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 clamp(12px, 3vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: clamp(0.82rem, 2.8vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prox-brand);
  background: color-mix(in srgb, var(--prox-mint) 42%, #fff);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--prox-mint) 28%, transparent);
  animation: proxFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title {
  width: 100%;
  margin: 0;
  padding-inline: clamp(4px, 2vw, 12px);
  font-size: clamp(2.25rem, 8.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
  animation: proxFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.sub {
  width: 100%;
  max-width: 36rem;
  margin: clamp(14px, 4vw, 20px) auto 0;
  padding-inline: clamp(8px, 4vw, 16px);
  font-size: clamp(1.1rem, 4.5vw, 1.22rem);
  font-weight: 500;
  line-height: 1.58;
  color: var(--prox-muted);
  text-wrap: pretty;
  animation: proxFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 6vw, 44px);
  padding-inline: clamp(0px, 2vw, 8px);
  animation: proxFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.image {
  display: block;
  width: min(100%, 760px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.footer {
  width: 100%;
  max-width: 24rem;
  margin: clamp(24px, 6vw, 40px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: clamp(8px, 4vw, 16px);
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--prox-muted);
  text-align: center;
  animation: proxFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.footer span {
  display: block;
  max-width: 22rem;
  text-wrap: pretty;
}

.logo {
  display: block;
  width: clamp(88px, 24vw, 104px);
  height: auto;
  margin-inline: auto;
  opacity: 0.92;
}

@keyframes proxFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {
  .root {
    padding:
      max(20px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .title {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    line-height: 1.12;
  }

  .sub {
    font-size: clamp(1.05rem, 4.8vw, 1.15rem);
    line-height: 1.55;
  }

  .visual {
    margin-top: 20px;
  }

  .footer {
    margin-top: 22px;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .title {
    font-size: 1.85rem;
  }

  .eyebrow {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
}

@media (min-width: 768px) {
  .root {
    padding:
      max(40px, env(safe-area-inset-top))
      max(32px, env(safe-area-inset-right))
      max(40px, env(safe-area-inset-bottom))
      max(32px, env(safe-area-inset-left));
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .title,
  .sub,
  .visual,
  .footer {
    animation: none;
  }
}
