 :root {
     --nav-h: 72px;
     --headline: clamp(3.5rem, 8vw, 9rem);
     --slogan: clamp(1rem, 2.7vw, 2rem);
     --footer-h: 68px;
 }

 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 body {
     font-family: "Montserrat", sans-serif;
     color: #fff;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     background: #000;
     /* fallback */
     overflow-x: hidden;
 }

 /* ---------- NAV ---------- */
 header {
     position: fixed;
     inset: 0 auto auto 0;
     width: 100%;
     height: var(--nav-h);
     padding: 0 2rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: rgba(0, 0, 0, .55);
     backdrop-filter: blur(6px);
     z-index: 999;
 }

 .logo {
     font-weight: 600;
     letter-spacing: .4rem;
     font-size: 1.3rem;
 }

 .logo a {
     color: #fff;
     text-decoration: none;
     transition: color .2s;
 }

 nav ul {
     display: flex;
     gap: 2rem;
     list-style: none;
     align-items: center;
     /* Ensures all items align on baseline */
     height: var(--nav-h);
 }

 nav a {
     display: inline-block;
     padding: 0.5em 1em;
     font-weight: 300;
     color: #fff;
     text-decoration: none;
     line-height: 1.2;
     vertical-align: middle;
 }

 /* Burger */
 #burger {
     display: none;
     flex-direction: column;
     gap: .3rem;
     cursor: pointer;
 }

 #burger span {
     background: #fff;
     height: 2px;
     width: 25px;
 }

 /* ---------- HERO ---------- */
 .hero {
     flex: 1 0 auto;
     position: relative;
     padding: var(--nav-h) 1rem 4rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     overflow: hidden;
     isolation: isolate;
 }

 h1 {
     font-size: var(--headline);
     font-weight: 300;
     letter-spacing: .8rem;
     text-transform: uppercase;
     background: linear-gradient(180deg, #fff 0%, #000 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     color: transparent;
 }

 .slogan {
     margin-top: 1rem;
     font-size: var(--slogan);
     font-weight: 300;
     max-width: 80ch;
 }

 /* Cosmic layers */
 .layer {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-repeat: repeat;
     z-index: -3;
 }

 .stars {
     background-image: url("https://raw.githubusercontent.com/dervied/asset-host/main/textures/starfield.png");
     animation: drift 120s linear infinite;
     opacity: .8;
 }

 .nebula {
     background-image: url("https://raw.githubusercontent.com/dervied/asset-host/main/textures/nebula.jpg");
     animation: drift 180s linear infinite reverse;
     opacity: .5;
 }

 /* faint radial galaxy glow */
 .glow::before {
     content: "";
     position: absolute;
     inset: -20%;
     background: radial-gradient(ellipse at 50% 50%, rgba(78, 149, 255, .25) 0%, rgba(0, 0, 0, 0) 70%);
     z-index: -1;
     animation: pulse 10s ease-in-out infinite;
 }

 @keyframes drift {
     from {
         background-position: 0 0;
     }

     to {
         background-position: -2500px 2500px;
     }
 }

 @keyframes pulse {

     0%,
     100% {
         opacity: .25;
     }

     50% {
         opacity: .45;
     }
 }

 /* ---------- FOOTER ---------- */
 footer {
     height: var(--footer-h);
     width: 100%;
     padding: 0 2rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
     background: #000;
     font-size: .85rem;
     color: #ccc;
 }

 .social {
     list-style: none;
     display: flex;
     gap: 2.2rem;
 }

 .social a {
     color: #ccc;
     transition: color .2s;
 }

 .social a:hover {
     color: #5ebcff;
 }

 /* ---------- BREAKPOINTS ---------- */
 @media(max-width:768px) {

     nav ul {
         position: fixed;
         right: 0;
         top: var(--nav-h);
         flex-direction: column;
         background: #000;
         padding: 1.5rem 2rem;
         transform: translateX(100%);
         transition: transform .35s ease;
     }

     nav ul.open {
         transform: translateX(0);
     }

     #burger {
         display: flex;
     }

     /* let burger sit at far-right */
     nav {
         order: 2;
         width: 0;
     }

     /* keeps space-between tidy */
     #burger {
         order: 3;
         margin-left: auto;
     }
 }

 nav a:not(.nav-bordered) {
     position: relative;
     transition: color 0.2s;
     font-weight: bold;
     letter-spacing: .15rem;
 }

 nav a:not(.nav-bordered)::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: 0.15em;
     width: 100%;
     height: 2px;
     background: #ffffff;
     opacity: 0;
     transform: scaleX(0);
     transition: opacity 0.2s, transform 0.2s;
     pointer-events: none;
 }

 nav a:not(.nav-bordered):hover::after,
 nav a:not(.nav-bordered):focus::after {
     opacity: 1;
     transform: scaleX(1);
 }

 .nav-bordered {
     padding: 0.5em 1.5em;
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 9999px;
     background: #000;
     color: #fff;
     text-decoration: none;
     transition: background 0.3s, border-color 0.3s, color 0.3s;
     font-weight: 400;
     margin-left: 0.6em;
     /* slight separation from previous item */
     display: inline-block;
     line-height: 1.2;
     vertical-align: middle;
     box-shadow: 0 0 12px 4px rgba(255, 140, 0, 0.8), 0 0 32px 12px rgba(255, 140, 0, 0.25);
     /* extended glow */
     border: none;
     font-weight: bold;
 }

 .nav-contact:hover,
 .nav-contact:focus {
     background: rgba(94, 188, 255, 0.08);
     border-color: #5ebcff;
     color: #5ebcff;
 }

 .hero-title {
     display: flex;
     flex-direction: column;
     align-items: center;
     width: 100%;
     margin-top: 2.5rem;
     margin-bottom: 1.3rem;
 }

 .hero-human {
     font-size: clamp(2.5rem, 6vw, 6rem);
     font-weight: 300;
     letter-spacing: 0.45em;
     background: linear-gradient(180deg, #fff 60%, #d8e6ff 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     color: transparent;
     text-transform: uppercase;
     line-height: 1.02;
 }

 .hero-superintelligence {
     font-size: clamp(2rem, 8vw, 4.2rem);
     /* font-size: var(--headline); */
     font-weight: 300;
     letter-spacing: .8rem;
     text-transform: uppercase;
     background: linear-gradient(180deg, #fff 0%, #000 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     color: transparent;
     text-transform: uppercase;
     line-height: 1.1;
     margin-top: 0.1em;
     white-space: nowrap;
     overflow-wrap: normal;
     width: 100vw;
     text-align: center;
 }

 @media (max-width: 700px) {
     .hero-title {
         margin-top: 1.2rem;
         margin-bottom: 0.7rem;
     }

     .hero-human {
         font-size: clamp(1.6rem, 10vw, 2.6rem);
         letter-spacing: 0.17em;
     }

     .hero-superintelligence {
         font-size: clamp(1.1rem, 13vw, 1.85rem);
         letter-spacing: 0.07em;
     }
 }

 .slogan-box {
     margin-top: 2.2rem;
     font-size: clamp(1rem, 2vw, 1.4rem);
     max-width: 64ch;
     background: transparent;
     border-radius: 2rem;
     padding: 1.2em 2.4em;
     backdrop-filter: blur(3px);
     box-shadow: 0 2px 16px 2px rgba(0, 0, 0, 0.12);
     font-weight: 400;
     color: #eee;
     margin-left: auto;
     margin-right: auto;
 }

 /* ====== WAITLIST/SUBSCRIBE FORM (Redesigned) ====== */
 .waitlist-card {
     margin: 2.8rem auto 0 auto;
     padding: 2.2rem 2.2rem 2.1rem 2.2rem;
     background: transparent;
     border-radius: 1.7rem;
     box-shadow: 0 6px 32px 0 rgba(94, 188, 255, 0.10), 0 1.5px 8px 0 rgba(0, 0, 0, 0.13);
     max-width: 420px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 1.1em;
     backdrop-filter: blur(4px);
     border: 1.5px solid rgba(94, 188, 255, 0.13);
 }

 .waitlist-title {
     font-size: 1.5rem;
     font-weight: 700;
     color: #fff;
     margin-bottom: 0.2em;
     letter-spacing: 0.03em;
 }

 .waitlist-desc {
     font-size: 1.08rem;
     color: #b7d7ff;
     margin-bottom: 1.1em;
     font-weight: 400;
     line-height: 1.5;
 }

 .waitlist-form {
     width: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.7em;
 }

 .waitlist-input-row {
     display: flex;
     flex-direction: column;
     width: 100%;
     gap: 0.9em;
     align-items: center;
     justify-content: center;

 }

 .waitlist-input {
     flex: 1 1 0;
     padding: 0.85em 1.2em;
     border-radius: 999px;
     border: none;
     background: rgba(255, 255, 255, 0.97);
     color: #222;
     font-size: 1.05rem;
     transition: box-shadow 0.2s, background 0.2s;
     font-family: inherit;
 }

 .waitlist-input:focus {
     background: #fff;
     box-shadow: 0 2.5px 14px 0 rgba(94, 188, 255, 0.18);
 }

 .waitlist-btn {
     padding: 0.85em 1.7em;
     border-radius: 999px;
     border: none;
     background: #000;
     color: #fff;
     font-size: 1.05rem;
     font-weight: 700;
     cursor: pointer;
     box-shadow: 0 0 18px 4px rgba(94, 188, 255, 0.33), 0 0 32px 12px rgba(94, 188, 255, 0.12);
     transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
     font-family: inherit;
     letter-spacing: 0.01em;
     display: inline-block;
 }

 .waitlist-btn:hover,
 .waitlist-btn:focus {
     background: transparent;
     box-shadow: 25px 25px 25px 25px rgba(236, 117, 6, 0.22);
     transform: translateY(-1px) scale(1.03);
 }

 .waitlist-success {
     color: #5ebcff;
     font-size: 1.13rem;
     font-weight: 600;
     text-align: center;
     margin-top: 0.7em;
     letter-spacing: 0.01em;
 }

 @media (max-width: 600px) {
     .waitlist-card {
         padding: 1.2rem 0.5rem 1.1rem 0.5rem;
         max-width: 98vw;
     }

     .waitlist-input-row {
         flex-direction: column;
         gap: 0.7em;
     }

     .waitlist-btn,
     .waitlist-input {
         width: 100%;
     }
 }

 /* ====== WAITLIST/SUBSCRIBE FORM ====== */
 .waitlist-form {
     background: rgba(255, 255, 255, 0.05);
     border-radius: 1.5em;
     box-shadow: 0 2px 16px 2px rgba(0, 0, 0, 0.10);
     max-width: 420px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 1.1em;
     backdrop-filter: blur(2px);
 }

 .waitlist-label {
     color: #fff;
     font-size: 1.1rem;
     font-weight: 400;
     margin-bottom: 0.2em;
     text-align: center;
 }

 .waitlist-input-group {
     display: flex;
     width: 100%;
     gap: 0.5em;
     justify-content: center;
 }

 .waitlist-input {
     flex: 1 1 0;
     padding: 0.7em 1.1em;
     border-radius: 999px;
     border: none;
     background: rgba(255, 255, 255, 0.92);
     color: #222;
     font-size: 1rem;
     outline: none;
     box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.07);
     transition: box-shadow 0.2s, background 0.2s;
 }

 .waitlist-input:focus {
     background: #fff;
     box-shadow: 0 2px 12px 0 rgba(94, 188, 255, 0.18);
 }

 .waitlist-btn:hover,
 .waitlist-btn:focus {
     background: white;
     color: black;
     box-shadow: 0 2px 12px 0 rgba(94, 188, 255, 0.22);
 }

 .waitlist-success {
     color: #5ebcff;
     font-size: 1.1rem;
     font-weight: 500;
     text-align: center;
     margin-top: 0.5em;
 }

 @media (max-width: 500px) {
     .waitlist-form {
         padding: 1em 0.5em;
     }

     .waitlist-input-group {
         flex-direction: column;
         gap: 0.7em;
     }

     .waitlist-btn,
     .waitlist-input {
         width: 100%;
     }
 }