:root {
  --navy: #04101f;
  --blue: #2563eb;
  --blue-soft: #5b8fd4;
  --paper: #fbf7ef;
  --gold: #d7b76a;
  --ink: #ffffff;
  --muted: rgba(251, 247, 239, 0.76);
  --line: rgba(255, 255, 255, 0.18);
  --field: rgba(255, 255, 255, 0.95);
  --field-ink: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px clamp(18px, 5vw, 68px);
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.04) brightness(0.9);
}

.landing::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 16, 31, 0.99) 0%, rgba(4, 16, 31, 0.95) 29%, rgba(4, 16, 31, 0.58) 51%, rgba(4, 16, 31, 0.22) 72%, rgba(4, 16, 31, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 16, 31, 0.1) 0%, rgba(4, 16, 31, 0.22) 50%, rgba(4, 16, 31, 0.68) 100%);
}

.landing::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.06) 0%, transparent 42%, rgba(4, 16, 31, 0.54) 100%);
  pointer-events: none;
}

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

.brand,
.nav-link,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.28);
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.93rem;
  font-weight: 850;
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  width: min(1540px, 100%);
  min-height: calc(100svh - 100px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 0 clamp(38px, 8vh, 78px);
}

.hero-copy {
  width: min(940px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 5.55vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
  max-width: 100%;
  text-wrap: balance;
}

.host-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 950px;
  gap: 12px;
  margin: 0 0 34px;
  padding: 10px 0 0;
  list-style: none;
  isolation: isolate;
}

.host-loop::before {
  position: absolute;
  top: 30px;
  left: 18px;
  right: 18px;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(215, 183, 106, 0), rgba(215, 183, 106, 0.78), rgba(91, 143, 212, 0.82), rgba(91, 143, 212, 0));
  box-shadow: 0 0 28px rgba(91, 143, 212, 0.28);
}

.host-step {
  position: relative;
  display: grid;
  min-height: 136px;
  padding: 14px 14px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 22%, rgba(91, 143, 212, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035)),
    rgba(4, 16, 31, 0.6);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
}

.host-step:first-child {
  border-color: rgba(215, 183, 106, 0.36);
  background:
    radial-gradient(circle at 80% 22%, rgba(215, 183, 106, 0.2), transparent 35%),
    radial-gradient(circle at 26% 92%, rgba(91, 143, 212, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04)),
    rgba(4, 16, 31, 0.64);
}

.host-step:nth-child(2),
.host-step:nth-child(4) {
  transform: translateY(8px);
}

.host-step:nth-child(3) {
  transform: translateY(-4px);
}

.host-step::after {
  position: absolute;
  inset: auto 12px 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(91, 143, 212, 0.95));
  opacity: 0.92;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.step-number {
  display: inline-flex;
  min-width: 32px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 183, 106, 0.26);
  border-radius: 999px;
  background: rgba(215, 183, 106, 0.1);
  color: #f1d98c;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.step-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91, 143, 212, 0.86), rgba(37, 99, 235, 0.9));
  color: #ffffff;
  box-shadow:
    0 16px 38px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-label {
  align-self: end;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: balance;
  font-size: clamp(0.92rem, 0.9vw, 1.06rem);
  font-weight: 900;
  line-height: 1.16;
}

.access {
  display: grid;
  max-width: 560px;
  gap: 10px;
}

.access label {
  color: rgba(251, 247, 239, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.access-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  padding: 8px;
  background: rgba(4, 16, 31, 0.46);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
}

.form-status {
  min-height: 1.35em;
  margin: 0;
  color: rgba(251, 247, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
}

.form-status:empty {
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input {
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--field);
  color: var(--field-ink);
  font: inherit;
  font-weight: 750;
}

input::placeholder {
  color: rgba(15, 23, 42, 0.52);
}

input:focus,
.nav-link:focus,
.button:focus {
  outline: 3px solid rgba(91, 143, 212, 0.52);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.32);
  white-space: nowrap;
}

.button:disabled {
  cursor: wait;
  opacity: 0.78;
}

@media (max-width: 980px) {
  .landing {
    min-height: auto;
    padding: 18px 14px 26px;
  }

  .hero-image {
    object-position: 68% center;
    filter: saturate(1) contrast(1.05) brightness(0.86);
  }

  .landing::before {
    background:
      linear-gradient(180deg, rgba(4, 16, 31, 0.74) 0%, rgba(4, 16, 31, 0.84) 48%, rgba(4, 16, 31, 0.96) 100%),
      linear-gradient(90deg, rgba(4, 16, 31, 0.78), rgba(4, 16, 31, 0.2), rgba(4, 16, 31, 0.46));
  }

  .hero {
    min-height: calc(100svh - 80px);
    padding: clamp(58px, 10svh, 96px) 0 20px;
  }

  h1 {
    max-width: min(620px, 100%);
    margin-bottom: 24px;
    font-size: clamp(3rem, 10vw, 4.4rem);
    line-height: 0.98;
  }

  h1 span {
    white-space: normal;
  }

  .host-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 0;
  }

  .host-loop::before {
    display: none;
  }

  .host-step {
    min-height: 102px;
    padding: 12px;
    transform: none;
  }

  .host-step:nth-child(2),
  .host-step:nth-child(3),
  .host-step:nth-child(4) {
    transform: none;
  }

  .host-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 92px;
  }

  .step-icon {
    width: 32px;
    height: 32px;
  }

  .step-icon svg {
    width: 20px;
    height: 20px;
  }

  .access-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: flex-start;
  }

  .nav-link {
    display: none;
  }

  .hero-copy,
  .access {
    width: min(380px, 100%);
  }

  h1 {
    max-width: 380px;
    font-size: clamp(2.62rem, 10.7vw, 3.28rem);
  }

  .host-loop {
    width: min(380px, 100%);
  }

  .step-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 440px) {
  .brand {
    max-width: 154px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(2.34rem, 10.1vw, 2.85rem);
  }

  .host-loop {
    width: min(340px, 100%);
  }

  .host-step {
    min-height: 96px;
    padding: 11px;
  }

  .host-step:last-child:nth-child(odd) {
    min-height: 88px;
  }

  .step-number {
    font-size: 0.62rem;
  }

  .step-label {
    font-size: 0.84rem;
  }

  .access {
    max-width: none;
  }
}
