:root {
  --night: #020604;
  --forest: #0b2c1d;
  --moss: #2d7a4d;
  --white: #f6f8f6;
  --muted: #a9b4ad;
  --glass: rgba(244, 248, 245, .09);
  --line: rgba(234, 244, 237, .18);
  --error: #ffb4a9;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--night); }
body { min-height: 100%; margin: 0; overflow-x: clip; color: var(--white); background: var(--night); font-family: "IBM Plex Sans", sans-serif; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 14px; color: #102019; background: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.waitlist-page { position: relative; isolation: isolate; min-width: 0; min-height: 100svh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--night); }
.waitlist-page::before { content: ""; position: absolute; z-index: -2; inset: -2%; opacity: .72; background: url("/public/images/higgsfield/lennox-waitlist-elm-forest-mobile.webp") center 44% / cover no-repeat; filter: saturate(.8) contrast(1.04); }
.waitlist-page::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(180deg, rgba(1, 9, 5, .3) 0%, rgba(1, 8, 4, .62) 58%, rgba(1, 5, 3, .9) 100%), radial-gradient(ellipse 78% 58% at 50% 24%, rgba(10, 66, 36, .08), rgba(0, 8, 4, .42) 78%), url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.44'/%3E%3C/svg%3E"); background-blend-mode: normal, normal, soft-light; }

.waitlist-main { width: 100%; min-width: 0; min-height: 0; display: grid; place-items: center; padding: clamp(54px, 8vh, 96px) 24px 56px; }
.waitlist-content { width: min(900px, 100%); min-width: 0; text-align: center; }
.waitlist-mark { width: 104px; height: 104px; margin: 0 auto; display: grid; place-items: center; color: white; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; background: rgba(0, 0, 0, .58); box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .08); text-decoration: none; }
.waitlist-mark img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .2)); }
.waitlist-brand-name { margin: 22px 0 0; color: rgba(244, 248, 245, .64); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.waitlist-content h1 { margin: 22px 0 0; color: var(--white); font-size: clamp(58px, 8.4vw, 104px); font-weight: 500; letter-spacing: -.065em; line-height: .96; text-wrap: balance; text-shadow: 0 8px 35px rgba(0, 0, 0, .28); }
.waitlist-lede { max-width: 580px; margin: 30px auto 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; text-wrap: balance; }
.waitlist-service-line { margin: 13px 0 0; color: rgba(246, 248, 246, .82); font-size: 12px; font-weight: 600; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }

.waitlist-panel { width: min(100%, 720px); margin: 36px auto 0; }
#waitlist-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.waitlist-field { min-width: 0; }
.waitlist-field input { width: 100%; min-height: 62px; padding: 0 22px; color: var(--white); border: 1px solid rgba(231, 242, 235, .26); border-radius: 14px; outline: none; background: var(--glass); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 36px rgba(0, 0, 0, .12); backdrop-filter: blur(18px); transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.waitlist-field input::placeholder { color: rgba(230, 237, 232, .58); }
.waitlist-field input:focus { border-color: rgba(255, 255, 255, .66); background: rgba(244, 248, 245, .13); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 14px 36px rgba(0, 0, 0, .16); }
.waitlist-panel button { min-height: 62px; padding: 0 27px; color: #0a120e; border: 1px solid rgba(255, 255, 255, .72); border-radius: 14px; background: var(--white); box-shadow: 0 14px 32px rgba(0, 0, 0, .22); font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.waitlist-panel button:hover { transform: translateY(-2px); background: white; box-shadow: 0 18px 38px rgba(0, 0, 0, .28); }
.waitlist-panel button:focus-visible { outline: 3px solid rgba(255, 255, 255, .28); outline-offset: 3px; }
.waitlist-panel button:disabled { cursor: wait; opacity: .7; transform: none; }
.waitlist-consent { grid-column: 1 / -1; width: min(100%, 620px); margin: 8px auto 0; display: grid; grid-template-columns: 17px 1fr; align-items: start; gap: 10px; color: rgba(220, 229, 223, .68); font-size: 11px; line-height: 1.5; text-align: left; cursor: pointer; }
.waitlist-consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #dce9e0; }
.waitlist-consent a { color: rgba(246, 248, 246, .92); text-underline-offset: 3px; }
.waitlist-status { grid-column: 1 / -1; min-height: 18px; margin: 0; color: var(--error); font-size: 12px; line-height: 1.45; text-align: center; }
.waitlist-data-note { margin: 10px 0 0; color: rgba(220, 229, 223, .5); font-size: 11px; line-height: 1.5; }
.waitlist-legitscript { width: 73px; min-height: 79px; margin: 22px auto 0; display: block; opacity: .86; }
.waitlist-legitscript img { width: 73px; height: 79px; display: block; object-fit: contain; }
.waitlist-honeypot { position: absolute; left: -10000px; }
.waitlist-success { padding: 28px; border: 1px solid var(--line); border-radius: 18px; outline: none; background: rgba(242, 248, 244, .08); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); backdrop-filter: blur(18px); }
.waitlist-success h2 { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
.waitlist-success p { margin: 12px 0 0; color: var(--muted); line-height: 1.55; }

.waitlist-footer { width: min(1120px, calc(100% - 48px)); min-height: 70px; margin-inline: auto; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(234, 244, 237, .12); color: rgba(220, 229, 223, .48); font-size: 11px; }
.waitlist-footer p { margin: 0; }
.waitlist-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.waitlist-footer a { text-decoration: none; }
.waitlist-footer a:hover { color: var(--white); }

@media (max-width: 680px) {
  .waitlist-page { --mobile-gutter: clamp(18px, 5.5vw, 22px); }
  .waitlist-page::before { inset: 0; opacity: .78; background-position: center 42%; }
  .waitlist-page::after { background-image: linear-gradient(180deg, rgba(1, 9, 5, .32) 0%, rgba(1, 8, 4, .58) 50%, rgba(1, 5, 3, .9) 100%), radial-gradient(ellipse 110% 68% at 50% 25%, rgba(8, 62, 33, .04), rgba(0, 8, 4, .44) 82%), url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
  .waitlist-main { place-items: start center; padding: max(28px, env(safe-area-inset-top)) max(var(--mobile-gutter), env(safe-area-inset-right)) 30px max(var(--mobile-gutter), env(safe-area-inset-left)); }
  .waitlist-content { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .waitlist-mark { width: 74px; height: 74px; border-radius: 19px; }
  .waitlist-mark img { width: 42px; height: 42px; }
  .waitlist-brand-name { margin-top: 15px; font-size: 11px; }
  .waitlist-content h1 { width: min(100%, 330px); margin: 14px auto 0; font-size: clamp(42px, 12.5vw, 50px); line-height: 1; }
  .waitlist-lede { width: min(100%, 310px); margin: 16px auto 0; font-size: 15px; line-height: 1.4; }
  .waitlist-service-line { width: min(100%, 330px); margin: 10px auto 0; font-size: 9.5px; letter-spacing: .085em; }
  .waitlist-panel { width: min(100%, 340px); margin: 20px auto 0; }
  #waitlist-form { grid-template-columns: 1fr; gap: 10px; }
  .waitlist-field input { min-height: 58px; padding-inline: 18px; border-radius: 13px; font-size: 16px; }
  .waitlist-panel button { width: 100%; min-height: 58px; padding-inline: 18px; border-radius: 13px; font-size: 15px; }
  .waitlist-consent, .waitlist-status { grid-column: 1; }
  .waitlist-consent { width: 100%; min-height: 44px; margin-top: 6px; grid-template-columns: 20px 1fr; gap: 10px; font-size: 12px; line-height: 1.45; }
  .waitlist-consent input { width: 18px; height: 18px; margin-top: 0; }
  .waitlist-status { min-height: 17px; font-size: 12px; }
  .waitlist-data-note { width: min(100%, 320px); margin: 7px auto 0; }
  .waitlist-legitscript { margin-top: 16px; }
  .waitlist-success { padding: 24px 20px; }
  .waitlist-success h2 { font-size: 30px; }
  .waitlist-footer { width: auto; min-height: 0; margin-inline: max(var(--mobile-gutter), env(safe-area-inset-left)) max(var(--mobile-gutter), env(safe-area-inset-right)); padding: 17px 0 max(18px, env(safe-area-inset-bottom)); align-items: center; flex-direction: column; gap: 5px; text-align: center; }
  .waitlist-footer nav { justify-content: center; gap: 0; }
  .waitlist-footer nav a { min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .waitlist-main { padding-top: max(22px, env(safe-area-inset-top)); padding-bottom: 24px; }
  .waitlist-mark { width: 68px; height: 68px; border-radius: 18px; }
  .waitlist-mark img { width: 38px; height: 38px; }
  .waitlist-brand-name { margin-top: 12px; }
  .waitlist-content h1 { margin-top: 12px; }
  .waitlist-lede { margin-top: 13px; }
  .waitlist-panel { margin-top: 17px; }
  .waitlist-legitscript { margin-top: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .waitlist-mark, .waitlist-brand-name, .waitlist-content h1, .waitlist-lede, .waitlist-service-line, .waitlist-panel { opacity: 0; transform: translateY(12px); animation: waitlist-rise 620ms cubic-bezier(.22, 1, .36, 1) forwards; }
  .waitlist-brand-name { animation-delay: 70ms; }
  .waitlist-content h1 { animation-delay: 120ms; }
  .waitlist-lede { animation-delay: 170ms; }
  .waitlist-service-line { animation-delay: 210ms; }
  .waitlist-panel { animation-delay: 250ms; }
}

@keyframes waitlist-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
