:root {
  --fundo: #163e2c;
  --fundo-fundo: #0e2a1e;
  --ouro: #c9b15a;
  --ouro-suave: rgba(201, 177, 90, 0.28);
  --ouro-linha: rgba(230, 215, 163, 0.22);
  --tinta: #f3ebd4;
  --tinta-baixa: rgba(243, 235, 212, 0.72);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--fundo-fundo);
  color: var(--tinta);
}

body {
  min-height: 100dvh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.webmail {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--ouro);
  background: rgba(14, 42, 30, 0.78);
  color: var(--tinta);
  font-family: "Syne", "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.webmail:hover,
.webmail:focus-visible {
  background: var(--ouro);
  color: var(--fundo-fundo);
}

.webmail:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
}

.stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, #1b5338 0%, var(--fundo) 52%, var(--fundo-fundo) 100%);
}

.ondas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 46%, transparent 0%, rgba(14, 42, 30, 0.18) 70%, rgba(14, 42, 30, 0.55) 100%);
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark {
  display: block;
  width: min(38vw, 320px);
  height: auto;
  margin: 0 0 -2.4rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

h1 {
  margin: 0;
  font-family: "Syne", "Source Sans 3", sans-serif;
  font-size: clamp(3.1rem, 6.8vw, 4.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
  color: var(--tinta);
}

p {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--tinta-baixa);
}

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(243, 235, 212, 0.45);
}

@media (max-width: 1023px) {
  .mark {
    width: min(46vw, 240px);
    margin-bottom: -1.8rem;
  }
}

@media (max-width: 767px) {
  .webmail {
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .content {
    padding: 5rem 1.15rem 4.25rem;
  }

  .mark {
    width: min(68vw, 188px);
    margin-bottom: -1.2rem;
  }

  h1 {
    font-size: 2.7rem;
    letter-spacing: 0.06em;
  }

  p {
    letter-spacing: 0.05em;
  }

}
