/* ==========================================================
   HSI – Coming Soon
   All sizes come from the Figma export (1920 × 976 frame).
   --px is "one Figma pixel": it scales the whole layout with the
   window so it always looks like the design (like Figma's frame).
   ========================================================== */
:root {
  --px: min(calc(100vw / 1920), calc(100vh / 976));
  --orange: #ef5a2a;
  --orange-hover: #ff6a38;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html, body { height: 100%; }

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: var(--font);
  color: #fff;
  background: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Background (Rectangle 1 + big "Coming Soon") ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("bg.png");
}

/* Big faded "Coming Soon" behind everything (Figma: 1596 × 229, top 807) */
.watermark {
  position: fixed;
  z-index: -1;
  left: 50%;
  top: calc(50vh + (791 - 488) * var(--px));
  transform: translateX(-50%);
  width: calc(1596 * var(--px));
  font-family: var(--font);
  font-style: italic;
  font-weight: 900;
  font-size: calc(224.5 * var(--px));
  line-height: calc(229 * var(--px));
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.0837) 0%, rgba(255, 255, 255, 0) 71.51%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}

/* ---------- Card (Frame 17) ---------- */
.card {
  width: calc(1514 * var(--px));
  min-height: calc(496 * var(--px));
  /* Figma: 496px frame holding 389px of content → 53.5px top/bottom, 64px sides */
  padding: calc(53.5 * var(--px)) calc(64 * var(--px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(calc(-51 * var(--px)));
  /* glass effect – fill from Figma, blur + stroke measured from the export */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: calc(24 * var(--px));
  backdrop-filter: blur(calc(15 * var(--px)));
  -webkit-backdrop-filter: blur(calc(15 * var(--px)));
}

/* Frame 16 */
.card__row {
  display: flex;
  align-items: stretch;
  gap: calc(198 * var(--px));
  min-height: calc(389 * var(--px));
}

/* ---------- Left column (Frame 14) ---------- */
.col-left {
  flex: 0 0 calc(547 * var(--px));
  display: flex;
  flex-direction: column;
  gap: calc(68 * var(--px));
}

/* Frame 18 */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(24 * var(--px));
}

.logo { display: block; line-height: 0; }
.logo__svg { width: calc(260 * var(--px)); height: calc(99 * var(--px)); overflow: visible; }
.logo__hsi { font: 700 36.3px "Helvetica Neue", Helvetica, Arial, sans-serif; }
.logo__sub { font: 300 19.4px "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif; }

.tagline {
  font-weight: 400;
  font-size: calc(20 * var(--px));
  line-height: calc(24 * var(--px));
  text-transform: capitalize;
}

/* Frame 12 */
.intro {
  display: flex;
  flex-direction: column;
  gap: calc(32 * var(--px));
}

.headline {
  max-width: calc(393 * var(--px));
  font-weight: 600;
  font-size: calc(32 * var(--px));
  line-height: calc(39 * var(--px));
  text-transform: capitalize;
}

/* ---------- Pills (Frame 4) ---------- */
.pill {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--px));
  height: calc(64 * var(--px));
  padding: 0 calc(20 * var(--px));
  border-radius: calc(24 * var(--px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}

.pill--contact {
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  font-size: calc(20 * var(--px));
  line-height: calc(24 * var(--px));
  text-decoration: none;
}
.pill--contact:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.pill__icon { width: calc(32 * var(--px)); height: calc(32 * var(--px)); flex: none; }

/* ---------- Right column (Frame 15) ---------- */
.col-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(64 * var(--px));
  padding-top: calc(20 * var(--px));
}

.title {
  font-weight: 600;
  font-size: calc(63.05 * var(--px));
  line-height: calc(77 * var(--px));
  text-transform: capitalize;
}

/* Frame 10 */
.waitlist {
  display: flex;
  flex-direction: column;
  gap: calc(40 * var(--px));
}

/* Frame 9 */
.waitlist__copy {
  max-width: calc(414 * var(--px));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--px));
}

.waitlist__title {
  font-weight: 600;
  font-size: calc(32 * var(--px));
  line-height: calc(39 * var(--px));
  text-transform: capitalize;
}

.waitlist__text {
  font-weight: 400;
  font-size: calc(16 * var(--px));
  line-height: calc(23 * var(--px));
  text-transform: capitalize;
}

/* Frame 8 */
.waitlist__form {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--px));
}

.pill--input {
  flex: 0 0 calc(414 * var(--px));
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: calc(16 * var(--px));
  outline: none;
}
.pill--input::placeholder { color: rgba(255, 255, 255, 0.8); text-transform: capitalize; }
.pill--input:focus { border-color: var(--orange); }

/* Frame 6 */
.btn {
  flex: 1 1 auto;
  height: calc(64 * var(--px));
  padding: calc(20 * var(--px));
  border: 0;
  border-radius: calc(24 * var(--px));
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: calc(18 * var(--px));
  line-height: calc(22 * var(--px));
  text-transform: capitalize;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn:hover { background: var(--orange-hover); box-shadow: 0 8px 24px rgba(239, 90, 42, .35); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: wait; box-shadow: none; }

/* Spam-bot trap: kept out of sight */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Waitlist message under the form (doesn't push the layout) */
.waitlist__form { position: relative; }
.waitlist__status {
  position: absolute;
  left: calc(4 * var(--px));
  top: calc(100% + 10 * var(--px));
  font-size: calc(14 * var(--px));
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}
.waitlist__status[data-type="success"] { color: #7ee2a8; }
.waitlist__status[data-type="error"] { color: #ff9b7a; }

.btn:focus-visible,
.pill--contact:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ==========================================================
   Tablet & mobile: stack the columns, use fixed sizes
   ========================================================== */
@media (max-width: 900px) {
  :root { --px: 1px; }

  .waitlist__status { font-size: 14px; }

  .watermark { top: auto; bottom: -0.3em; width: auto; font-size: 27vw; line-height: 1; }

  body { padding: 32px 16px 120px; place-items: start center; }

  .card { width: 100%; max-width: 620px; padding: 36px 24px; transform: none; }
  .card__row { flex-direction: column; gap: 40px; min-height: 0; }
  .col-left { flex: none; gap: 40px; }
  .col-right { padding-top: 0; gap: 28px; }
  .title { order: -1; font-size: 44px; line-height: 1.15; }
  .waitlist__copy { max-width: none; }
  .logo__svg { width: 220px; height: auto; }
  .headline { max-width: none; font-size: 26px; line-height: 1.25; }
  .waitlist__title { font-size: 26px; line-height: 1.25; }
  .pill--contact { font-size: 17px; }
  .pill--input { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .waitlist__form { flex-direction: column; align-items: stretch; }
  .waitlist__status { position: static; margin-top: 4px; }
  .pill--input { flex: none; width: 100%; }
  .btn { width: 100%; flex: none; }
  .tagline { font-size: 17px; }
}

