body {
  position: relative;
  isolation: isolate;
  background: #06101c;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/hero/prelaunch-portal-bg.png") 54% center / cover no-repeat;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  background-blend-mode: normal;
}

body::after {
  display: none;
}

.page-shell {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  overflow: hidden;
  padding-top: clamp(20px, 3.4vh, 32px);
  padding-bottom: clamp(14px, 2.6vh, 26px);
}

.hero {
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 0.8fr) minmax(470px, 1.2fr);
  gap: clamp(2.8rem, 5.5vw, 5.8rem);
  padding-top: clamp(34px, 7.5vh, 82px);
  padding-bottom: clamp(26px, 5.2vh, 58px);
}

.hero-copy {
  max-width: 600px;
  min-width: 0;
  padding-left: 14px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(14px, 2.8vh, 26px);
  color: #d5ad68;
  font-size: clamp(0.78rem, 1.05vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow-star {
  color: #c8a46b;
  font-size: 0.65rem;
  line-height: 1;
  opacity: 0.95;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(3.35rem, 4.7vw, 4.95rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #f4f1eb;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(2, 8, 15, 0.28);
}

.hero-divider {
  position: relative;
  width: min(360px, 72%);
  height: clamp(12px, 2vh, 18px);
  margin: clamp(16px, 2.6vh, 26px) 0 clamp(17px, 2.8vh, 28px);
}

.hero-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 164, 107, 0.85), rgba(200, 164, 107, 0.45));
}

.hero-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #d8bb88;
  box-shadow: 0 0 8px rgba(216, 187, 136, 0.42);
}

.hero-copy .intro {
  max-width: 560px;
  margin-bottom: clamp(20px, 3.6vh, 34px);
  color: rgba(244, 241, 235, 0.86);
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  line-height: 1.58;
  text-shadow: 0 1px 12px rgba(2, 8, 15, 0.32);
}

.waitlist {
  width: 100%;
  max-width: 600px;
}

.form-row {
  padding: 6px;
  border-color: rgba(200, 164, 107, 0.52);
  border-radius: 5px;
  background: rgba(3, 10, 18, 0.32);
  box-shadow: none;
  backdrop-filter: none;
}

.form-row input {
  min-width: 0;
  padding-left: 16px;
}

.form-row button {
  border-radius: 3px;
  padding-inline: 24px;
  color: #101720;
  background: linear-gradient(180deg, #e3c689 0%, #cda968 100%);
  box-shadow: 0 4px 15px rgba(200, 164, 107, 0.16);
}

.waitlist-note {
  margin-top: 9px;
  color: rgba(244, 241, 235, 0.52);
  font-size: 0.72rem;
  text-shadow: 0 1px 8px rgba(2, 8, 15, 0.36);
}

.form-status {
  min-height: 1.2em;
  margin-top: 4px;
}

.portal {
  min-height: 0;
  height: 100%;
  pointer-events: none;
}

.pillars {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  border-top: 1px solid rgba(200, 164, 107, 0.24);
  padding-top: clamp(12px, 2.4vh, 26px);
  padding-bottom: clamp(4px, 1.6vh, 22px);
  background: transparent;
  backdrop-filter: none;
}

.pillar {
  min-width: 0;
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  min-height: clamp(72px, 11vh, 118px);
  padding-top: 4px;
  padding-bottom: 4px;
}

.pillar-icon-image {
  flex: 0 0 clamp(64px, 6.1vw, 94px);
  width: clamp(64px, 6.1vw, 94px);
  height: clamp(64px, 6.1vw, 94px);
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.pillar-icon-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 15px rgba(0, 0, 0, 0.25));
}

.pillar h2 {
  margin-bottom: 5px;
  color: #f4f1eb;
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  font-weight: 520;
  line-height: 1.15;
}

.pillar p {
  max-width: 300px;
  color: rgba(244, 241, 235, 0.65);
  font-size: clamp(0.72rem, 0.86vw, 0.87rem);
  line-height: 1.42;
}

@media (max-width: 1180px) {
  body::before {
    background-position: 72% center;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(1.8rem, 3.5vw, 3rem);
  }

  .hero-copy {
    max-width: 540px;
  }

  .hero-copy h1 {
    max-width: 510px;
    font-size: clamp(2.95rem, 5vw, 4rem);
  }
}

@media (max-width: 960px) {
  body::before {
    background: url("/assets/hero/prelaunch-portal-bg.png") 100% center / cover no-repeat;
  }

  .page-shell {
    width: min(100% - 34px, 760px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    padding-top: clamp(22px, 4.4vh, 42px);
    padding-bottom: clamp(14px, 2.8vh, 26px);
  }

  .hero-copy {
    width: min(56vw, 500px);
    max-width: 500px;
    padding-left: 0;
  }

  .hero-copy h1 {
    max-width: 500px;
    font-size: clamp(2.55rem, 6.2vw, 3.45rem);
    line-height: 0.98;
  }

  .hero-copy .intro {
    max-width: 480px;
    font-size: clamp(0.82rem, 1.7vw, 0.96rem);
    line-height: 1.48;
  }

  .waitlist {
    max-width: 500px;
  }

  .portal {
    display: none;
  }

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .pillar,
  .pillar:first-child,
  .pillar:last-child {
    min-width: 0;
    min-height: 82px;
    padding: 7px 10px;
    border-right: 1px solid rgba(151, 191, 222, 0.14);
    border-bottom: 0;
  }

  .pillar:first-child {
    padding-left: 0;
  }

  .pillar:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .pillar-icon-image {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .pillar h2 {
    font-size: clamp(0.82rem, 1.6vw, 0.98rem);
  }

  .pillar p {
    font-size: clamp(0.66rem, 1.25vw, 0.74rem);
  }
}

@media (max-width: 760px) {
  body::before {
    background: url("/assets/hero/prelaunch-portal-bg.png") 86% center / cover no-repeat;
  }

  .page-shell {
    width: calc(100% - 28px);
  }

  .hero-copy {
    width: min(72vw, 500px);
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 7.4vw, 3.1rem);
  }

  .hero-copy .intro {
    max-width: 460px;
  }
}

@media (max-width: 620px) {
  body::before {
    background: url("/assets/hero/prelaunch-portal-bg.png") 80% center / cover no-repeat;
  }

  .page-shell {
    width: calc(100% - 24px);
    padding-top: 14px;
    padding-bottom: 9px;
  }

  .brand-mark-image {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 1.38rem;
  }

  .hero {
    align-items: center;
    padding-top: clamp(16px, 3.2vh, 28px);
    padding-bottom: clamp(8px, 1.9vh, 16px);
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    gap: 7px;
    margin-bottom: 9px;
    font-size: clamp(0.58rem, 2.25vw, 0.7rem);
    letter-spacing: 0.15em;
  }

  .eyebrow-star {
    font-size: 0.48rem;
  }

  .hero-copy h1 {
    max-width: 380px;
    font-size: clamp(2.15rem, 9.2vw, 2.75rem);
    line-height: 0.96;
  }

  .hero-divider {
    width: min(220px, 58%);
    height: 9px;
    margin: 10px 0 11px;
  }

  .hero-copy .intro {
    max-width: 390px;
    margin-bottom: 12px;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
    line-height: 1.38;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 5px;
  }

  .form-row input {
    width: 100%;
    padding: 10px 10px;
    font-size: 0.82rem;
  }

  .form-row button {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .waitlist-note {
    margin: 5px 2px 0;
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .form-status {
    font-size: 0.68rem;
  }

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 7px;
    padding-bottom: 0;
  }

  .pillar,
  .pillar:first-child,
  .pillar:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 64px;
    padding: 4px 5px;
    text-align: center;
  }

  .pillar:first-child {
    padding-left: 0;
  }

  .pillar:last-child {
    padding-right: 0;
  }

  .pillar-icon-image {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .pillar h2 {
    margin: 0;
    font-size: clamp(0.64rem, 2.45vw, 0.76rem);
    line-height: 1.05;
  }

  .pillar p {
    display: none;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: calc(100% - 18px);
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(2rem, 9.3vw, 2.4rem);
  }

  .hero-copy .intro {
    max-width: 350px;
    font-size: 0.76rem;
  }

  .form-row input,
  .form-row button {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .pillar-icon-image {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .pillar h2 {
    font-size: 0.62rem;
  }
}

@media (max-height: 760px) and (min-width: 621px) {
  .page-shell {
    padding-top: 15px;
    padding-bottom: 9px;
  }

  .brand-mark-image {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.45rem);
  }

  .hero-divider {
    height: 9px;
    margin: 10px 0 11px;
  }

  .hero-copy .intro {
    margin-bottom: 13px;
    font-size: 0.86rem;
    line-height: 1.36;
  }

  .form-row input,
  .form-row button {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .waitlist-note {
    margin-top: 4px;
    font-size: 0.64rem;
  }

  .pillars {
    padding-top: 7px;
    padding-bottom: 0;
  }

  .pillar {
    min-height: 58px;
  }

  .pillar-icon-image {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .pillar h2 {
    font-size: 0.88rem;
  }

  .pillar p {
    font-size: 0.68rem;
    line-height: 1.25;
  }
}

@media (max-height: 700px) and (max-width: 620px) {
  .page-shell {
    padding-top: 9px;
    padding-bottom: 6px;
  }

  .brand-mark-image {
    width: 27px;
    height: 27px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .hero {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 0.56rem;
  }

  .hero-copy h1 {
    max-width: 320px;
    font-size: clamp(1.82rem, 8.6vw, 2.15rem);
  }

  .hero-divider {
    display: none;
  }

  .hero-copy .intro {
    margin-bottom: 7px;
    font-size: 0.69rem;
    line-height: 1.27;
  }

  .form-row {
    gap: 4px;
    padding: 3px;
  }

  .form-row input,
  .form-row button {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .waitlist-note {
    display: none;
  }

  .form-status {
    min-height: 0;
    margin-top: 2px;
    font-size: 0.62rem;
  }

  .pillars {
    padding-top: 4px;
  }

  .pillar,
  .pillar:first-child,
  .pillar:last-child {
    min-height: 48px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .pillar-icon-image {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  .pillar h2 {
    font-size: 0.57rem;
  }
}

@media (max-height: 480px) {
  .hero-divider,
  .waitlist-note {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.65rem, 4vw, 2.3rem);
  }

  .hero-copy .intro {
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  .pillars {
    padding-top: 2px;
  }

  .pillar-icon-image {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
