@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans-500.ttf") format("truetype");
}

* { box-sizing: border-box; }

html { background: #0f0f0f; color-scheme: dark; }

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.coming-soon {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  padding: env(safe-area-inset-top, 0px) max(48px, env(safe-area-inset-right, 0px)) 0 max(48px, env(safe-area-inset-left, 0px));
  color: #fff;
  background: radial-gradient(ellipse at 36% 24%, #1b1b1b 0%, #0f0f0f 58%);
}

.coming-soon__surfaces {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Broad surfaces follow the wordmark's restrained 16.7-degree forward slant. */
.coming-soon__plane {
  position: absolute;
  transform: skewX(-16.7deg);
}

.coming-soon__plane--rear {
  width: 55%;
  height: 140%;
  top: -20%;
  right: -20%;
  border-left: 1px solid rgb(255 255 255 / 9%);
  background: linear-gradient(155deg, #282828 0%, #181818 52%, #0f0f0f 90%);
  box-shadow: -36px 0 80px rgb(0 0 0 / 16%);
}

.coming-soon__plane--front {
  width: 124%;
  height: 43%;
  left: -12%;
  bottom: -22%;
  transform: rotate(-12deg);
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(180deg, #181818, #0f0f0f 65%);
  box-shadow: 0 -28px 72px rgb(0 0 0 / 22%);
}

.coming-soon__edge {
  position: absolute;
  width: 31%;
  height: 1px;
  right: -3%;
  bottom: 17.5%;
  transform: rotate(-12deg);
  transform-origin: right;
  background: linear-gradient(90deg, transparent, rgb(215 25 32 / 66%));
}

.coming-soon__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 64px;
}

.coming-soon__identity {
  width: min(100%, 820px);
  text-align: center;
  animation: coming-soon-reveal 900ms cubic-bezier(.2, .7, .2, 1) both;
}

.coming-soon__wordmark {
  display: block;
  width: min(100%, 780px);
  height: auto;
  margin: 0 auto;
}

.coming-soon__headline {
  margin: 42px 0 0;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #e5e5e5;
}

.coming-soon__footer {
  padding: 24px 0 max(40px, env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: #999;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .075em;
}

@keyframes coming-soon-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .coming-soon { padding: env(safe-area-inset-top, 0px) max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px)); }
  .coming-soon__main { padding: 40px 0 98px; }
  .coming-soon__wordmark { width: 100%; max-width: 390px; }
  .coming-soon__headline {
    margin-top: 42px;
    font-size: 19px;
    line-height: 1.65;
    letter-spacing: .2em;
  }
  .coming-soon__headline span { display: block; }
  .coming-soon__footer { padding: 16px 0 max(30px, env(safe-area-inset-bottom, 0px)); font-size: 11px; }
  .coming-soon__plane--rear { width: 75%; right: -38%; }
  .coming-soon__plane--front {
    width: 165%;
    height: 29%;
    left: -32%;
    bottom: -12%;
    transform: rotate(-20deg);
  }
  .coming-soon__edge { width: 55%; bottom: 18%; transform: rotate(-20deg); }
}

@media (max-height: 500px) and (min-width: 601px) {
  .coming-soon__main { padding: 40px 0 24px; }
  .coming-soon__wordmark { max-width: 460px; }
  .coming-soon__headline { margin-top: 24px; font-size: 18px; }
  .coming-soon__footer { padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon__identity { animation: none; }
}

.coming-soon__notify {
  margin-top: 32px;
  min-height: 46px;
  padding: 13px 24px;
  border: 1px solid #575757;
  border-radius: 3px;
  background: transparent;
  color: #e5e5e5;
  font: 500 10px/1.6 "DM Sans", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.coming-soon__notify:hover { border-color: #d71920; background: rgb(215 25 32 / 4%); }
.coming-soon__notify:active { background: rgb(215 25 32 / 10%); }
.coming-soon__notify:focus-visible, .launch-dialog button:focus-visible, .launch-dialog input:focus-visible {
  outline: 2px solid #d71920;
  outline-offset: 4px;
}
.launch-dialog {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 36px;
  border: 1px solid #454545;
  border-radius: 8px;
  color: #fff;
  background: #171717;
  box-shadow: 0 24px 80px rgb(0 0 0 / 35%);
  font-family: "DM Sans", Arial, sans-serif;
  text-align: left;
}
.launch-dialog::backdrop { background: rgb(0 0 0 / 76%); }
.launch-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #bdbdbd;
  cursor: pointer;
}
.launch-dialog h2 { margin: 12px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.launch-dialog p { font-size: 14px; line-height: 1.65; color: #bdbdbd; }
.launch-dialog form { margin-top: 28px; }
.launch-dialog label { display: block; font-size: 13px; color: #e5e5e5; }
.launch-dialog input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  margin-top: 8px;
  border: 1px solid #666;
  border-radius: 3px;
  background: #0f0f0f;
  color: #fff;
  font: 400 16px/1.5 "DM Sans", Arial, sans-serif;
}
.launch-dialog input[aria-invalid="true"] { border-color: #d71920; }
.launch-dialog .launch-consent { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: #bdbdbd; }
.launch-consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #d71920; }
.launch-dialog .launch-error { min-height: 0; margin: 14px 0; color: #fff; font-size: 13px; }
.launch-error:empty { display: none; }
.launch-submit { width: 100%; min-height: 46px; padding: 12px; margin-top: 18px; border: 1px solid #d71920; border-radius: 3px; background: #d71920; color: #fff; font: 500 14px/1.5 "DM Sans", Arial, sans-serif; cursor: pointer; transition: background-color 180ms ease; }
.launch-submit:hover { background: #b8151b; }
.launch-submit:disabled { cursor: wait; opacity: .65; }
.launch-dialog .launch-privacy { margin: 16px 0 0; font-size: 11px; color: #a3a3a3; }
.launch-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.launch-dialog [hidden] { display: none; }
@media (max-width: 600px) {
  .coming-soon__notify { margin-top: 28px; }
  .launch-dialog { padding: 28px 24px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .coming-soon__notify { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .coming-soon__notify, .launch-submit { transition: none; }
}
