:root {
  --text: #fbf9f4;
  --muted-text: rgba(251, 249, 244, 0.7);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.32);
  --accent: #ffe29a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #10100e;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  content: "";
  pointer-events: none;
}

.phone-contact {
  position: fixed;
  z-index: 1;
  top: 2rem;
  right: 2rem;
  top: max(2rem, env(safe-area-inset-top));
  right: max(2rem, env(safe-area-inset-right));
}

.phone-contact__toggle,
.phone-contact__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0.65rem 2rem rgba(0, 0, 0, 0.16);
  color: var(--text);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.phone-contact__toggle {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
}

.phone-contact__panel {
  position: absolute;
  top: 0;
  right: calc(100% + 0.7rem);
}

.phone-contact__number {
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.phone-contact__toggle:hover,
.phone-contact__number:hover {
  border-color: rgba(255, 226, 154, 0.75);
  background: var(--glass-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0.8rem 2.3rem rgba(0, 0, 0, 0.26);
  transform: translateY(-0.2rem);
}

.phone-contact__toggle:active,
.phone-contact__number:active {
  transform: translateY(0) scale(0.97);
}

.phone-contact__toggle:focus-visible,
.phone-contact__number:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.copy-notification {
  position: fixed;
  z-index: 1;
  top: 6rem;
  right: 2rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  background: rgba(16, 16, 14, 0.72);
  box-shadow: 0 0.65rem 2rem rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.content {
  width: min(100%, 44rem);
  text-align: center;
  animation: reveal 950ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.content__eyebrow {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: clamp(0.66rem, 1.4vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.25rem, 14vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-shadow: 0 0.08em 0.45em rgba(0, 0, 0, 0.35);
}

h1 span {
  color: var(--accent);
  font-style: italic;
}

.content__intro {
  margin: 1.9rem 0 2.15rem;
  color: var(--muted-text);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.socials__link,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0.65rem 2rem rgba(0, 0, 0, 0.16);
  color: var(--text);
  text-decoration: none;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.socials__link {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-size: 1.35rem;
}

.socials__max-icon {
  width: 0.425rem;
  height: 0.425rem;
  fill: #fff;
}

.download-button {
  gap: 0.7rem;
  min-height: 3.45rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.actions .download-button {
  width: min(100%, 20rem);
}

.download-button i {
  color: var(--accent);
  font-size: 0.9rem;
  transition: transform 220ms ease;
}

.socials__link:hover,
.download-button:hover {
  border-color: rgba(255, 226, 154, 0.75);
  background: var(--glass-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0.8rem 2.3rem rgba(0, 0, 0, 0.26);
  transform: translateY(-0.2rem);
}

.download-button:hover i {
  transform: translateY(0.16rem);
}

.socials__link:active,
.download-button:active {
  transform: translateY(0) scale(0.97);
}

.socials__link:focus-visible,
.download-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.hero__hint {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

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

@media (max-width: 37.5rem) {
  .hero {
    padding: 1.5rem;
  }

  .content__eyebrow {
    margin-bottom: 1rem;
    letter-spacing: 0.16em;
  }

  .content__intro {
    margin: 1.65rem 0 2rem;
    letter-spacing: 0.14em;
  }

  .socials__link {
    width: 3rem;
    height: 3rem;
  }

  .phone-contact {
    top: 1.5rem;
    right: 1.5rem;
    top: max(1.5rem, env(safe-area-inset-top));
    right: max(1.5rem, env(safe-area-inset-right));
  }

  .phone-contact__toggle,
  .phone-contact__number {
    min-height: 3rem;
  }

  .phone-contact__toggle {
    width: 3rem;
    height: 3rem;
  }

  .phone-contact__number {
    padding-inline: 0.9rem;
    font-size: 0.75rem;
  }

  .copy-notification {
    top: 5.5rem;
    right: max(1.5rem, env(safe-area-inset-right));
    font-size: 0.72rem;
  }

  .hero__hint {
    right: 1rem;
    bottom: 1rem;
    font-size: 0.53rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
