:root {
  --night: #050719;
  --indigo: #151143;
  --violet: #7a18f5;
  --cyan: #1cc7ee;
  --gold: #f0c76b;
  --white: #f9fbff;
  --muted: #c9d2e5;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--night);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.landing-shell {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(75, 30, 160, 0.2), transparent 36%),
    linear-gradient(120deg, #050719 0%, #080b22 56%, #11133b 100%);
}

.scenery,
.color-wash,
.grain {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.scenery {
  background-image: url("assets/hero-andes.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: reveal-scenery 1.4s ease-out both;
}

.color-wash {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(3, 5, 20, 0.96) 0%,
      rgba(4, 6, 22, 0.88) 36%,
      rgba(6, 7, 25, 0.53) 68%,
      rgba(5, 7, 24, 0.38) 100%
    ),
    linear-gradient(180deg, rgba(3, 5, 20, 0.3) 0%, rgba(3, 5, 20, 0.35) 70%, rgba(3, 5, 20, 0.8) 100%);
}

.grain {
  z-index: -1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100% - 7vw, 1500px);
  margin: 0 auto;
  padding-top: clamp(1.2rem, 3vh, 2.5rem);
}

.brand {
  display: inline-flex;
  width: clamp(122px, 11vw, 180px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.26));
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.32));
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e9edfa;
  background: rgba(7, 10, 29, 0.42);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(28, 199, 238, 0.13), 0 0 18px rgba(28, 199, 238, 0.7);
}

.hero {
  display: flex;
  align-items: center;
  width: min(100% - 7vw, 1500px);
  margin: 0 auto;
  padding: 1.4rem 0 2.2rem;
}

.hero-copy {
  width: min(680px, 61vw);
  animation: rise-in 900ms 100ms ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(240, 199, 107, 0.15));
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.6vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-wrap: balance;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #ffffff 0%, #9eebff 48%, #8b5fff 98%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 580px;
  margin: clamp(1.5rem, 3vh, 2.35rem) 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
}

.supporting-copy {
  max-width: 570px;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.1vw, 1.04rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.4rem, 3vh, 2.2rem);
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.brand:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(28, 199, 238, 0.72);
  outline-offset: 4px;
}

.button-primary {
  color: #04111c;
  background: linear-gradient(115deg, #4de6f2, #26bff2 55%, #5b8bf7);
  box-shadow: 0 15px 35px rgba(21, 170, 220, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(21, 170, 220, 0.32);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.19);
  color: #f7f9ff;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 7vw, 1500px);
  margin: 0 auto;
  padding: 1.2rem 0 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(239, 243, 253, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer p {
  margin: 0;
}

.footer span {
  margin-right: 1rem;
  color: rgba(239, 243, 253, 0.5);
}

.footer a {
  font-weight: 700;
  text-decoration: none;
}

.development-note {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scenery {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@media (max-width: 760px) {
  .landing-shell {
    min-height: 100svh;
    overflow-y: auto;
  }

  .scenery {
    background-position: 61% center;
  }

  .color-wash {
    background:
      linear-gradient(180deg, rgba(3, 5, 20, 0.72) 0%, rgba(3, 5, 20, 0.87) 47%, rgba(3, 5, 20, 0.97) 100%),
      linear-gradient(90deg, rgba(3, 5, 20, 0.72), rgba(3, 5, 20, 0.35));
  }

  .topbar {
    width: calc(100% - 2.5rem);
    padding-top: 1rem;
  }

  .brand {
    width: 108px;
  }

  .status {
    max-width: 160px;
    padding: 0.6rem 0.72rem;
    font-size: 0.58rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }

  .hero {
    align-items: flex-end;
    width: calc(100% - 2.5rem);
    padding: 1rem 0 1.5rem;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: 0.64rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.4rem);
    line-height: 0.88;
  }

  .lead {
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .supporting-copy {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.3rem;
  }

  .button {
    min-height: 3rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.78rem;
  }

  .footer {
    width: calc(100% - 2.5rem);
    padding: 1rem 0 1.15rem;
    font-size: 0.7rem;
  }

  .footer span,
  .development-note {
    display: none;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .brand {
    width: 115px;
  }

  .hero {
    padding-block: 0.6rem 1rem;
  }

  h1 {
    font-size: clamp(3.6rem, 8.7vh, 5.4rem);
  }

  .eyebrow {
    margin-bottom: 0.8rem;
  }

  .lead {
    margin-top: 1.15rem;
  }

  .supporting-copy {
    line-height: 1.5;
  }

  .actions {
    margin-top: 1.2rem;
  }
}

@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;
  }
}
