:root {
  color-scheme: dark;
  --ink: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.74);
  --soft: rgba(247, 243, 234, 0.12);
  --line: rgba(247, 243, 234, 0.2);
  --night: #090d0f;
  --steel: #7a8c94;
  --volt: #d7ff4f;
  --amber: #f3b63f;
  --leaf: #2cd889;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #090d0f;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: 18px;
  isolation: isolate;
}

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

.hero__video {
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
  z-index: -3;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(9, 13, 15, 0.78) 0%, rgba(9, 13, 15, 0.32) 38%, rgba(9, 13, 15, 0.92) 100%),
    radial-gradient(circle at 50% 20%, rgba(215, 255, 79, 0.12), transparent 34%);
  z-index: -2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
  align-self: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(140px, 48vw, 220px);
  height: auto;
}

.nav__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(9, 13, 15, 0.38);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.hero__content {
  width: min(100%, 1120px);
  margin: 0 auto;
  align-self: end;
  padding: min(22vh, 150px) 0 26px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--volt);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 16px;
  font-size: clamp(3.45rem, 19vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.06rem, 4.2vw, 1.35rem);
  line-height: 1.45;
}

.signup {
  display: grid;
  gap: 10px;
  width: min(100%, 520px);
}

.signup input,
.signup button {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.signup input {
  padding: 0 16px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.1);
  border-color: var(--line);
  outline: none;
  backdrop-filter: blur(16px);
}

.signup input:focus {
  border-color: rgba(215, 255, 79, 0.84);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.14);
}

.signup button {
  color: #111509;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--volt), var(--leaf));
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro {
  display: grid;
  gap: 24px;
  padding: 46px 18px 54px;
  background:
    linear-gradient(135deg, rgba(44, 216, 137, 0.13), transparent 38%),
    linear-gradient(180deg, #101719, #080b0c);
}

.intro__mark,
.intro__copy {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.intro__mark {
  display: flex;
}

.intro__mark img {
  width: min(44vw, 170px);
  height: auto;
}

.intro h2 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 11vw, 4.8rem);
  line-height: 0.96;
}

.intro p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 22px 18px 26px;
  border-top: 1px solid rgba(247, 243, 234, 0.09);
  color: rgba(247, 243, 234, 0.54);
  background: #080b0c;
  text-align: center;
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.powered-by img {
  width: auto;
  max-width: 74px;
  max-height: 22px;
  opacity: 0.78;
}

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

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 20;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 7, 0.72);
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92svh, 760px);
  overflow: auto;
  padding: 24px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 26, 28, 0.98), rgba(8, 12, 13, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.modal__panel h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  line-height: 1;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.08);
  cursor: pointer;
}

.contact-form,
.field {
  display: grid;
  gap: 10px;
}

.contact-form {
  gap: 15px;
}

.field {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.08);
  outline: none;
}

.field input {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(215, 255, 79, 0.84);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.12);
}

.captcha-field {
  grid-template-columns: 1fr 44px;
  align-items: end;
}

.captcha-field label,
.captcha-field input {
  grid-column: 1 / -1;
}

.captcha-refresh {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.08);
  cursor: pointer;
}

.submit-btn {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #111509;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, var(--volt), var(--leaf));
}

.submit-btn:disabled,
.signup button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note.is-error {
  color: #ffb4a8;
}

@media (min-width: 620px) {
  .hero {
    min-height: 88svh;
    padding: 28px;
  }

  .signup {
    grid-template-columns: 1fr auto;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(9, 13, 15, 0.48);
    backdrop-filter: blur(18px);
  }

  .signup input,
  .signup button {
    min-height: 50px;
  }

  .signup input {
    border-color: transparent;
    background: transparent;
  }

  .signup button {
    width: auto;
    padding: 0 22px;
  }

  .intro {
    grid-template-columns: 0.6fr 1.4fr;
    align-items: center;
    padding: 70px 28px 82px;
  }

  .modal {
    place-items: center;
    padding: 28px;
  }

  .modal__panel {
    padding: 32px;
  }
}

@media (min-width: 980px) {
  .hero__content {
    padding-bottom: 54px;
  }

  .lede {
    margin-bottom: 32px;
  }

  .intro {
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(9, 13, 15, 0.68), rgba(9, 13, 15, 0.95)),
      url("assets/images/movyn-icon-1-metal-1024h.png") center / min(90vw, 560px) auto no-repeat;
  }
}
