:root {
  --bg: #07090c;
  --bg-soft: #0b0f14;
  --text: #f8f5f5;
  --muted: #c5b1b1;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --accent: #f2a23a;
  --accent-strong: #d96a2d;
  --warm: #a26f3d;
  --card: rgba(12, 16, 21, 0.88);
  --radius: 14px;
  --page-x: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: url("./assets/background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 102% 102%;
  color: var(--text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  z-index: 2;
  background-image: 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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.glow {
  display: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
}

.glow--blue {
  width: 36vw;
  height: 36vw;
  min-width: 360px;
  min-height: 360px;
  right: 2vw;
  top: 28vh;
  background: rgba(0, 150, 220, 0.18);
  animation: driftBlue 12s ease-in-out infinite alternate;
}

.glow--warm {
  width: 26vw;
  height: 26vw;
  min-width: 280px;
  min-height: 280px;
  left: 7vw;
  bottom: -2vh;
  background: rgba(151, 97, 49, 0.16);
  animation: driftWarm 14s ease-in-out infinite alternate;
}

@keyframes driftBlue {
  from { transform: translate3d(-2%, -3%, 0) scale(0.95); }
  to { transform: translate3d(7%, 6%, 0) scale(1.05); }
}

@keyframes driftWarm {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to { transform: translate3d(5%, -7%, 0) scale(1.05); }
}

.announcement.is-hidden {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-100%);
}

.announcement__close {
  position: absolute;
  right: max(22px, var(--page-x));
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
}

.announcement__close span {
  position: absolute;
  left: 8px;
  top: 15px;
  width: 17px;
  height: 1px;
  background: #fff;
}

.announcement__close span:first-child { transform: rotate(45deg); }
.announcement__close span:last-child { transform: rotate(-45deg); }

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
}

.grid {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid span {
  position: absolute;
  background: var(--line);
}

.grid__v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.grid__v--1 { left: 28%; }
.grid__v--2 { left: 72%; }
.grid__v--3 { display: none; }

.grid__h {
  left: 0;
  right: 0;
  height: 1px;
}

.grid__h--1 { top: 38%; }
.grid__h--2 { top: 54%; opacity: 1; }

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  text-align: center;
}

.brand-row {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand__mark {
  width: 38px;
  height: 38px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 12px;
  border: 1px solid rgba(242, 162, 58, 0.35);
  border-radius: 999px;
  background: rgba(72, 35, 17, 0.72);
  color: #ffd8a8;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: inset 0 0 20px rgba(242, 162, 58, 0.08);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(242, 162, 58, 0.7);
}

h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, calc(100% - 40px));
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(42px, 4.25vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 560;
  text-wrap: balance;
  z-index: 3;
}

.hero__copy {
  position: absolute;
  left: 50%;
  top: 67%;
  width: min(610px, calc(100% - 40px));
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  text-wrap: balance;
  z-index: 3;
}

.hero__actions {
  position: absolute;
  left: 50%;
  top: 76%;
  width: min(600px, calc(100% - 40px));
  margin: 0;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-notify-form {
  display: grid;
  grid-template-columns: minmax(0, 290px) 145px;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.hero-notify-form input,
.hero-notify-form button {
  min-height: 50px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
}

.hero-notify-form input {
  min-width: 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 213, 156, 0.55);
  outline: none;
  background: rgba(73, 42, 21, 0.72);
  color: #fff7eb;
  box-shadow: inset 0 0 24px rgba(242, 162, 58, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-notify-form input::placeholder {
  color: #d8b98f;
}

.hero-notify-form input:focus {
  border-color: rgba(255, 213, 156, 0.55);
  background: rgba(82, 43, 19, 0.84);
  box-shadow: none;
}

.hero-notify-form button {
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0 22px;
  cursor: pointer;
  background: #ffffff;
  color: #15110d;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(112, 47, 12, 0.3);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.hero-notify-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px rgba(112, 47, 12, 0.42);
}

.hero-notify-form button:active {
  transform: translateY(0);
}

.hero-notify-form button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 17px; margin: 9px 0 -9px; font-size: 11px; }
.form-status.is-success { color: #8be0b7; }
.form-status.is-error { color: #ffb4a9; }

.secondary-link {
  display: inline-block;
  margin-top: 24px;
  color: #c5b1b1;
  font-size: 13px;
  text-underline-offset: 4px;
}

.secondary-link span {
  color: #efe7e7;
}

.footer {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0 var(--page-x);
  color: #c5b1b1;
}

.footer__brand {
  margin-bottom: 12px;
  color: #c5b1b1;
  font-size: 17px;
  letter-spacing: 0.17em;
}

.footer__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}

.footer__meta a {
  text-decoration: none;
}

.footer__meta a:hover {
  color: #efe7e7;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}

.modal__card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 0%, rgba(48, 168, 220, 0.13), transparent 34%),
    rgba(10, 14, 19, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

.modal.is-open .modal__card {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  right: 17px;
  top: 13px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #aeb6bf;
  font-size: 27px;
  cursor: pointer;
}

.modal__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #7ec9e6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.modal h2 {
  margin: 0;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.modal__card > p {
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.notify-form label {
  display: block;
  margin-bottom: 9px;
  color: #cbd1d7;
  font-size: 12px;
  font-weight: 600;
}

.notify-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.notify-form input {
  min-width: 0;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  outline: none;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.notify-form input:focus {
  border-color: rgba(242, 162, 58, 0.7);
  box-shadow: 0 0 0 4px rgba(242, 162, 58, 0.12);
}

.notify-form button {
  height: 52px;
  border: 0;
  border-radius: 12px;
  padding: 0 19px;
  background: #f4f6f7;
  color: #11151a;
  font-weight: 700;
  cursor: pointer;
}

.form-note {
  margin: 11px 0 0;
  color: #6f7882;
  font-size: 10px;
  line-height: 1.5;
}

.success-state {
  padding: 5px 0 3px;
  text-align: left;
}

.success-state__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(75, 206, 147, 0.12);
  border: 1px solid rgba(75, 206, 147, 0.3);
  color: #79e2b2;
  font-weight: 800;
}

.success-state h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.success-state p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {

  .page-shell {
    min-height: 100vh;
  }

  .grid__v--1 { left: 8%; }
  .grid__v--2 { left: 92%; }
  .grid__v--3 { display: none; }
  .grid__h--1 { top: 38%; }
  .grid__h--2 { top: 62%; }

  .hero {
    min-height: 100vh;
  }

  .brand-row {
    top: 16%;
    gap: 22px;
  }

  .brand {
    font-size: 18px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .status-pill {
    padding: 0 10px;
    font-size: 11px;
  }

  h1 {
    top: 50%;
    width: min(540px, 82vw);
    font-size: clamp(40px, 11.5vw, 58px);
    font-weight: 560;
    line-height: 1.02;
  }

  .hero__copy {
    top: 66.5%;
    width: min(520px, calc(100% - 44px));
    line-height: 1.25;
  }

  .hero__actions {
    top: 76%;
    width: min(500px, calc(100% - 40px));
  }

  .hero-notify-form {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 8px;
  }

  .hero-notify-form input,
  .hero-notify-form button {
    min-height: 48px;
  }

  .hero-notify-form button {
    padding: 0 12px;
    font-size: 14px;
  }

  .footer {
    padding-bottom: 8px;
  }

  .footer__dot {
    display: none;
  }

  .footer__meta {
    gap: 5px 10px;
  }

  .modal__card {
    padding: 28px 22px 24px;
  }

  .notify-form__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}


@media (max-height: 760px) and (min-width: 761px) {
  .brand-row { top: 14%; }
  h1 {
    top: 46%;
    font-size: clamp(42px, 4vw, 62px);
  }
  .hero__copy { top: 63%; }
  .hero__actions { top: 73%; }
  .footer { bottom: 14px; }
}
