:root {
  --black: #000;
  --white: #f8f8f2;
  --soft: rgba(248, 248, 242, 0.72);
  --dim: rgba(248, 248, 242, 0.48);
  --faint: rgba(248, 248, 242, 0.12);
  --line: rgba(248, 248, 242, 0.16);
  --gold: #f4bd54;
  --blue-white: #edf4ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(146px, 190px) 1fr;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 44px), var(--max));
  height: 66px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 30px;
}

.brand img {
  width: min(100%, 178px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 58px);
  overflow: hidden;
  padding-top: 118px;
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  padding-bottom: 92px;
  padding-left: max(22px, 9.5vw, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.76) 32%, rgba(0, 0, 0, 0.3) 67%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.04) 56%, #000 100%),
    url("assets/valcran-horizon.webp") center right / cover no-repeat,
    #000;
  text-align: left;
}

.hero-bg {
  position: absolute;
  z-index: -5;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.24) 68%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.05) 46%, #000 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-content {
  display: grid;
  justify-items: start;
  width: min(100%, 650px);
  margin-top: 8vh;
}

.kicker {
  margin: 0;
  color: var(--dim);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 850;
}

h1,
h2,
p {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  color: var(--blue-white);
  font-size: clamp(4.35rem, 7.4vw, 6.8rem);
  font-weight: 760;
  line-height: 0.92;
  text-shadow:
    0 0 20px rgba(205, 221, 255, 0.2),
    0 0 82px rgba(111, 146, 220, 0.18);
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin-top: 28px;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.62vw, 1.34rem);
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(100%, 560px);
  min-height: 56px;
  margin-top: 38px;
  padding: 7px;
  border: 1px solid rgba(248, 248, 242, 0.24);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 88px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
}

.waitlist-form:focus-within {
  border-color: rgba(248, 248, 242, 0.5);
}

.waitlist-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--white);
  font: inherit;
}

.waitlist-form input::placeholder {
  color: rgba(248, 248, 242, 0.42);
}

.waitlist-form button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--white);
  color: #030303;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.86rem;
}

.form-status.success {
  color: rgba(152, 230, 200, 0.88);
}

.form-status.error {
  color: rgba(255, 174, 174, 0.9);
}

.scroll-cue {
  position: absolute;
  left: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--soft);
  font-size: 1rem;
}

.platform-section {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding: 90px 22px;
  background: #000;
  text-align: center;
}

.platform-section h2 {
  max-width: 980px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(2.4rem, 6.2vw, 6.4rem);
  font-weight: 760;
  line-height: 0.94;
}

.platform-section p:last-child {
  max-width: 720px;
  margin-top: 28px;
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #000;
  color: var(--dim);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(112px, 140px) 1fr;
    width: calc(100% - 28px);
    gap: 12px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 52px);
    padding: 92px 14px 76px;
    align-items: center;
  }

  h1 {
    font-size: clamp(3.15rem, 12.8vw, 5.1rem);
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .waitlist-form input,
  .waitlist-form button {
    min-height: 44px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .nav-links {
    font-size: 0.62rem;
  }

  .brand img {
    width: 118px;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  h1 {
    font-size: clamp(2.72rem, 12vw, 3.2rem);
  }
}
