:root {
  color-scheme: dark;
  --ink: #fff8e7;
  --muted: #d8cdb8;
  --night: #07151a;
  --teal: #0d2d35;
  --gold: #f3bd68;
  --brass: #b98745;
  --coral: #ff705c;
  --glass: rgba(255, 248, 231, 0.1);
  --line: rgba(243, 189, 104, 0.38);
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--night);
}

button,
input {
  font: inherit;
}

.splash {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 21, 26, 0.28), rgba(7, 21, 26, 0.1)),
    radial-gradient(circle at 50% 46%, rgba(255, 248, 231, 0.13), transparent 30rem),
    url("assets/time-abstract-background.png") center / cover no-repeat;
}

.splash::before,
.splash::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.splash::before {
  z-index: 0;
  background:
    radial-gradient(circle at center, rgba(5, 12, 15, 0.1), rgba(5, 12, 15, 0.72) 78%),
    linear-gradient(180deg, rgba(5, 12, 15, 0.1), rgba(5, 12, 15, 0.45));
}

.splash::after {
  z-index: 1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 248, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 231, 0.05) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: radial-gradient(circle at center, transparent 0 22rem, #000 44rem);
}

.time-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit,
.clock-ring,
.tick-stream {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.orbit {
  border: 1px solid var(--line);
  opacity: 0.55;
}

.orbit-one {
  width: 62rem;
  height: 62rem;
  right: -26rem;
  top: -21rem;
}

.orbit-two {
  width: 48rem;
  height: 48rem;
  left: -22rem;
  bottom: -20rem;
  border-color: rgba(255, 112, 92, 0.42);
}

.orbit-three {
  width: 34rem;
  height: 34rem;
  right: 8vw;
  bottom: -18rem;
  border-style: dashed;
}

.clock-ring {
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(255, 248, 231, 0.22);
  box-shadow: inset 0 0 0 1.2rem rgba(255, 248, 231, 0.035);
}

.clock-ring::before,
.clock-ring::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
  transform-origin: left center;
}

.clock-ring::before {
  transform: rotate(326deg);
}

.clock-ring::after {
  width: 31%;
  background: linear-gradient(90deg, transparent, var(--ink));
  transform: rotate(34deg);
}

.clock-ring-one {
  left: 8vw;
  top: 13vh;
}

.clock-ring-two {
  right: 10vw;
  bottom: 12vh;
  width: 11rem;
  height: 11rem;
}

.tick-stream {
  width: 0.46rem;
  height: 0.46rem;
  background: var(--gold);
  box-shadow:
    2.6rem 0.2rem 0 rgba(255, 248, 231, 0.68),
    5.2rem 0.75rem 0 rgba(243, 189, 104, 0.78),
    7.6rem 1.7rem 0 rgba(255, 112, 92, 0.86),
    10rem 3rem 0 rgba(255, 248, 231, 0.58),
    12.2rem 4.7rem 0 rgba(243, 189, 104, 0.72);
}

.tick-stream-one {
  left: 18vw;
  top: 20vh;
  transform: rotate(18deg);
}

.tick-stream-two {
  right: 24vw;
  bottom: 25vh;
  transform: rotate(206deg);
}

.splash-content {
  position: relative;
  z-index: 3;
  width: min(100%, 52rem);
  text-align: center;
  text-shadow: 0 1.2rem 3rem var(--shadow);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: clamp(1.78rem, 2.5vw, 1.94rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9.1vw, 7.3rem);
  line-height: 0.94;
  font-weight: 800;
}

.lede {
  width: min(100%, 38rem);
  margin: 1.35rem auto 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  line-height: 1.5;
}

.notify-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  width: min(100%, 31rem);
  margin: 2.2rem auto 0;
  padding: 0.5rem;
  border: 1px solid rgba(255, 248, 231, 0.18);
  border-radius: 8px;
  background: rgba(5, 16, 20, 0.66);
  box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.notify-form input {
  min-width: 0;
  height: 3.25rem;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  padding: 0 1rem;
  outline: none;
}

.notify-form input::placeholder {
  color: rgba(216, 205, 184, 0.72);
}

.notify-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(243, 189, 104, 0.52);
}

.notify-form button {
  height: 3.25rem;
  border: 0;
  border-radius: 6px;
  color: #1b1309;
  background: linear-gradient(135deg, var(--gold), #ffdca1);
  padding: 0 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0.65rem 1.5rem rgba(243, 189, 104, 0.23);
}

.notify-form button:hover {
  transform: translateY(-1px);
}

.notify-form button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

@media (max-width: 720px) {
  .splash {
    padding: 1.3rem;
    background-position: center;
  }

  .splash::after {
    opacity: 0.18;
    background-size: 3.5rem 3.5rem;
  }

  .clock-ring-one {
    left: -5rem;
    top: 4rem;
  }

  .clock-ring-two {
    right: -3rem;
    bottom: 4rem;
  }

  .orbit-one {
    right: -34rem;
  }

  .orbit-two {
    left: -29rem;
  }

  .notify-form {
    grid-template-columns: 1fr;
    padding: 0.6rem;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(3.1rem, 16vw, 4rem);
  }
}
