:root {
  color-scheme: dark;
  --bg: #090b0d;
  --bg-soft: #111519;
  --surface: rgba(20, 25, 29, 0.78);
  --surface-strong: rgba(28, 35, 39, 0.88);
  --line: rgba(229, 236, 232, 0.13);
  --line-bright: rgba(242, 154, 77, 0.42);
  --text: #f4f2ec;
  --muted: #aab1ad;
  --subtle: #6f7a78;
  --amber: #f29a4d;
  --amber-strong: #ffb35f;
  --teal: #70d6cf;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(112, 214, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 214, 207, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 73% 19%, rgba(242, 154, 77, 0.18), transparent 34rem),
    radial-gradient(circle at 18% 78%, rgba(112, 214, 207, 0.1), transparent 28rem),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(9, 11, 13, 0.05), rgba(9, 11, 13, 0.86) 38%, rgba(9, 11, 13, 0.08) 72%),
    repeating-linear-gradient(110deg, transparent 0 16px, rgba(242, 154, 77, 0.035) 17px 18px);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: rgba(242, 154, 77, 0.08);
}

.brand-mark span,
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 14px;
  height: 14px;
  content: "";
  border: 1.5px solid var(--amber);
  transform: rotate(45deg);
}

.brand-mark::before {
  transform: translateY(-5px) rotate(45deg);
  opacity: 0.58;
}

.brand-mark::after {
  transform: translateY(5px) rotate(45deg);
  opacity: 0.38;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.facebook-link,
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.facebook-link svg,
.footer-social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 84px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  grid-template-rows: 1fr auto;
  gap: 36px 48px;
  align-items: center;
  padding: 30px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.release-date {
  margin: 0 0 22px;
  color: var(--amber-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7.3vw, 6.7rem);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.signup {
  display: grid;
  max-width: 560px;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.signup input,
.signup button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  font: inherit;
}

.signup input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.signup input::placeholder {
  color: var(--subtle);
}

.signup input:focus-visible {
  box-shadow: inset 0 0 0 1px var(--teal);
}

.signup button {
  cursor: pointer;
  padding: 0 20px;
  background: var(--amber);
  color: #140e09;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.signup button:hover,
.signup button:focus-visible {
  background: var(--amber-strong);
  transform: translateY(-1px);
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 11, 13, 0.54), transparent 46%, rgba(9, 11, 13, 0.12));
}

.hero-visual::after {
  right: 8%;
  bottom: 11%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  box-shadow: 0 0 26px rgba(112, 214, 207, 0.45);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.scanline {
  position: absolute;
  right: 12%;
  bottom: 24%;
  z-index: 3;
  width: 42%;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(242, 154, 77, 0.62);
  animation: scan 4.8s ease-in-out infinite;
}

.countdown-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 25, 29, 0.9), rgba(18, 22, 24, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.countdown-intro {
  display: grid;
  gap: 6px;
  min-width: 172px;
}

.countdown-intro span,
.time-block span {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.countdown-intro strong {
  color: var(--teal);
  font-size: 1.12rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.time-block {
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.time-block strong {
  display: block;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4.35rem);
  font-weight: 800;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.time-block:first-child strong {
  color: var(--amber-strong);
}

.focus {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
  padding: 82px 0 96px;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.focus-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.focus-grid {
  display: grid;
  gap: 16px;
}

.focus-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.focus-grid h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.focus-grid p {
  grid-column: 2;
  margin-bottom: 0;
}

.focus-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  color: var(--amber);
  background: rgba(242, 154, 77, 0.065);
}

.focus-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  line-height: 1.65;
}

.site-footer strong {
  color: var(--text);
}

.footer-social {
  flex: 0 0 auto;
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.facebook-link {
  color: var(--text);
}

.thanks {
  display: grid;
  min-height: calc(100vh - 84px);
  align-items: center;
  max-width: 760px;
  padding: 72px 0 112px;
}

.return-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--amber);
  color: #140e09;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.return-link:hover,
.return-link:focus-visible {
  background: var(--amber-strong);
  transform: translateY(-1px);
}

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

@keyframes scan {
  0%,
  100% {
    transform: translateY(-34px);
    opacity: 0.38;
  }

  50% {
    transform: translateY(38px);
    opacity: 0.86;
  }
}

@media (max-width: 940px) {
  .site-shell {
    width: min(720px, calc(100% - 28px));
  }

  .site-header {
    min-height: 76px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 420px;
    order: 2;
  }

  .hero-visual img {
    min-height: 420px;
  }

  .countdown-panel {
    order: 3;
    grid-template-columns: 1fr;
  }

  .focus {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(520px, calc(100% - 24px));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  h1 {
    font-size: clamp(3rem, 13.2vw, 3.55rem);
    line-height: 0.96;
  }

  .hero-text {
    font-size: 1rem;
  }

  .signup {
    grid-template-columns: 1fr;
  }

  .signup button {
    width: 100%;
  }

  .countdown {
    grid-template-columns: 1fr;
  }

  .time-block {
    padding: 16px 14px 14px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 330px;
  }

  .focus-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .focus-icon {
    width: 42px;
    height: 42px;
  }
}

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