:root {
  --black: #000000;
  --gold: #f5a400;
  --gold-bright: #ffc107;
  --red: #e1251b;
  --red-hover: #ff2d22;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --header-h: 76px;
  --footer-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  background: var(--black);
}

.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;
}

.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: var(--header-h) 0 var(--footer-h);
  background:
    url("../assets/hero-workspace.jpg") center center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: var(--header-h) 0 var(--footer-h);
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.header,
.main,
.footer {
  position: relative;
  z-index: 2;
}

.header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  padding: 0 36px;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
}

.brand__word {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--gold);
  line-height: 1;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

.nav a span {
  color: var(--gold);
  margin-left: 2px;
}

.nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn--cta {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  min-height: 42px;
  padding: 0 22px;
  font-size: 12px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn--cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 8vw 72px;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-bright);
}

.main h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.lede {
  margin: 18px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.countdown__cell {
  min-width: 92px;
  padding: 16px 18px 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.countdown__num {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.countdown__label {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  max-width: 560px;
}

.notify input {
  flex: 1 1 240px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font: 500 14px/1.4 "Montserrat", sans-serif;
  outline: none;
}

.notify input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.notify input:focus {
  border-color: var(--gold);
}

.notify .btn--cta {
  min-height: 46px;
}

.notify__status {
  flex-basis: 100%;
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--gold);
}

.notify.is-error .notify__status {
  color: #ff8b84;
}

.footer {
  display: flex;
  align-items: center;
  min-height: var(--footer-h);
  padding: 0 36px;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.brand--footer .brand__word {
  font-size: 16px;
}

.footer p {
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .header {
    padding: 12px 18px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .header .btn--cta {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0 12px;
    margin: 0;
  }

  .header.is-open .nav {
    display: flex;
  }

  .main {
    padding: 40px 22px 56px;
  }

  .footer {
    padding: 14px 18px;
    gap: 8px;
  }

  .footer p {
    margin: 0 0 0 auto;
  }
}

@media (max-width: 560px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .footer p {
    margin: 0;
  }

  .countdown__cell {
    min-width: calc(50% - 6px);
  }
}
