:root {
  color-scheme: dark;
  --ink: #08110f;
  --paper: #f2f3e9;
  --accent: #d4f88b;
  --gutter: clamp(1.4rem, 6vw, 7rem);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { overscroll-behavior: none; }
body, h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
body { background: var(--ink); color: var(--paper); }
.cover {
  display: grid;
  grid-template: "brand" auto "content" 1fr "credit" auto / minmax(0, 1fr);
  min-height: 100vh;
  min-height: var(--visible-height, 100dvh);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  isolation: isolate;
  position: relative;
}
.scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.photograph {
  position: absolute;
  width: max(100%, 150vh);
  width: max(100%, 150svh);
  aspect-ratio: 3 / 2;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.photograph img { display: block; width: 100%; height: 100%; }
.city-camera { position: absolute; inset: 0; transform-origin: 74.5% 55.3%; }
.traffic { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(5 13 11 / 72%), transparent 22%, transparent 86%, rgb(5 13 11 / 26%)),
    linear-gradient(90deg, var(--ink) 0%, rgb(8 17 15 / 95%) 23%, rgb(8 17 15 / 74%) 40%, rgb(8 17 15 / 12%) 70%, transparent);
}
.beacon {
  position: absolute;
  left: 74.5%;
  top: 55.3%;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #efffc3;
  box-shadow: 0 0 .8rem var(--accent);
}
.beacon::before, .beacon::after {
  content: "";
  position: absolute;
  inset: -.55rem;
  border: 1px solid rgb(218 255 162 / 80%);
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .wordmark { view-transition-name: manit-wordmark; }
  ::view-transition-group(root), ::view-transition-group(manit-wordmark) { animation-duration: 200ms; }
  .city-camera { animation: aerial-drift 19s ease-in-out infinite alternate; }
  @keyframes aerial-drift {
    from { transform: scale(1.008); }
    to { transform: translate(-.7%, -.6%) scale(1.038); }
  }
  .traffic { display: block; }
  .traffic path {
    stroke: #ffedc2; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .85 101;
    animation: city-traffic 12s linear infinite;
  }
  .traffic .avenue { animation-delay: -3s; }
  .traffic .return { stroke: #ffb081; stroke-width: 1.7; animation-duration: 14s; animation-delay: -10s; }
  .traffic .cross-street { stroke: #fff6d9; animation-duration: 9s; animation-delay: -5s; }
  @keyframes city-traffic {
    from { stroke-dashoffset: 1; opacity: 0; }
    10%, 83% { opacity: .85; }
    94%, to { stroke-dashoffset: -100; opacity: 0; }
  }
  .beacon::after { animation: ripple 4.5s ease-out infinite; }
  @keyframes ripple {
    0% { transform: scale(.65); opacity: 0; }
    16% { opacity: .85; }
    85%, 100% { transform: scale(3.8); opacity: 0; }
  }
}
.masthead, footer { margin-inline: var(--gutter); }
.masthead {
  grid-area: brand;
  display: flex; align-items: center; justify-content: space-between; gap: .65rem;
  --pad: clamp(.65rem, 2.6svh, 2rem);
  padding-block: calc(var(--pad) + env(safe-area-inset-top)) var(--pad);
  border-bottom: 1px solid rgb(217 235 213 / 21%);
}
.wordmark { display: block; width: clamp(6.5rem, 8vw, 7.5rem); height: auto; filter: invert(1); }
.name-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 2.25rem; padding: .35rem .85rem;
  border-radius: 2rem; border: 1px solid rgb(227 239 217 / 48%); color: var(--paper); background: rgb(8 17 15 / 76%);
  font-size: .85rem; font-weight: 550; text-decoration: none; white-space: nowrap;
}
.name-button span { color: var(--accent); }
.name-button:hover { background: #27392f; border-color: var(--accent); }
.masthead a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main {
  grid-area: content;
  display: grid;
  align-self: center;
  align-content: center;
  gap: clamp(1rem, 4svh, 3.5rem);
  margin-inline: var(--gutter);
  padding-block: clamp(.6rem, 2.4svh, 2rem);
}
h1 { max-width: 10em; font-size: clamp(3rem, min(7.4vw, 11.6svh), 8.3rem); font-weight: 500; letter-spacing: -.075em; line-height: .99; }
h1 em { display: block; color: var(--accent); font: italic 1.04em/.99 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.intro { max-width: 28rem; margin-top: clamp(.65rem, 1.9svh, 1.55rem); color: #d6ddd5; font-size: clamp(1rem, min(1.45vw, 2.6svh), 1.3rem); line-height: 1.45; text-wrap: pretty; }
.launch-details { width: min(100%, 28rem); min-width: 0; }
.clock-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .7rem; padding-bottom: clamp(.45rem, 1.5svh, .85rem); border-bottom: 1px solid rgb(217 235 213 / 36%); }
.clock-heading, .clock small { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.clock-heading h2 { color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.clock-heading time { color: #c4d0c7; font-size: .7rem; }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(.45rem, 1.55svh, .9rem); }
.clock div { display: grid; justify-items: start; gap: .38rem; }
.clock div + div { border-inline-start: 1px solid rgb(217 235 213 / 18%); padding-inline-start: clamp(.6rem, 1.9vw, 1.7rem); }
.clock span { font-size: clamp(1.85rem, min(3.45vw, 6svh), 3.45rem); line-height: 1; font-weight: 400; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.clock small { color: #bdc9bf; font-size: .64rem; letter-spacing: .075em; text-transform: uppercase; }
.complete { margin-top: 1rem; color: var(--accent); font-size: .9rem; }
.updates { margin-top: clamp(.85rem, 2.8svh, 2rem); }
.updates label { display: block; margin-bottom: .55rem; font-size: .9rem; font-weight: 600; }
.email-row { display: flex; gap: .4rem; }
.updates input[type="email"] {
  flex: 1 1 0; min-width: 0; padding: .78rem .9rem; border: 1px solid #718478;
  border-radius: .4rem; color: var(--paper); background: rgb(8 17 15 / 85%); font: inherit;
}
.updates input::placeholder { color: #aebbb2; }
.updates button {
  min-height: 2.8rem; padding: .65rem 1rem; border: 0; border-radius: .4rem; background: var(--accent);
  color: #142413; font: 600 .94rem/1.2 "Helvetica Neue", Arial, sans-serif; cursor: pointer;
}
.updates button:hover { background: #e4ffa9; }
.updates button:disabled { opacity: .65; cursor: wait; }
.updates button span { margin-left: .3rem; }
.updates :focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.bot-field { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-note { color: #d8e9cd; font-size: .87rem; line-height: 1.45; }
.form-note:not(:empty) { margin-top: .65rem; }
.form-note[data-error] { color: #ffc6a9; }
footer {
  grid-area: credit;
  --pad: clamp(.55rem, 1.8svh, 1.25rem);
  padding-block: var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(217 235 213 / 21%); font-size: .75rem; color: #b7c4ba; line-height: 1.4;
}
@media (max-width: 52rem) {
  main { align-self: start; padding-block: clamp(1.1rem, 5svh, 3.5rem) 1rem; }
  h1 { font-size: clamp(2rem, min(11.4vw, 9.4svh), 4.9rem); }
  .photograph { width: max(100%, 88svh); top: auto; bottom: 0; transform: none; }
  .scene::after {
    background: linear-gradient(180deg, var(--ink) 12%, rgb(8 17 15 / 97%) 40%, rgb(8 17 15 / 7%) 85%, rgb(8 17 15 / 75%)),
      linear-gradient(90deg, rgb(8 17 15 / 55%), transparent);
  }
}
@media (max-width: 25rem) {
  :root { --gutter: 1.25rem; }
  .clock-heading { gap: .4rem .6rem; }
}
@media (max-width: 23rem) {
  :root { --gutter: .9rem; }
  .masthead { gap: .35rem; }
  .wordmark { width: 5rem; }
  .name-button { min-height: 1.85rem; padding: .25rem .6rem; font-size: .78rem; }
}
@media (max-width: 22rem) and (max-height: 40rem) {
  main { padding-block: 1rem .75rem; }
}
@media (min-width: 28rem) and (max-height: 35rem) and (orientation: landscape) {
  :root { --gutter: clamp(1rem, 4vw, 4rem); }
  main {
    align-self: center; align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(1rem, 4vw, 4rem); padding-block: .65rem;
  }
  h1 { font-size: clamp(1.85rem, min(5.8vw, 11svh), 4.4rem); }
  .intro { margin-top: .65rem; }
  .scene::after { background: linear-gradient(90deg, rgb(8 17 15 / 95%), rgb(8 17 15 / 88%) 44%, rgb(8 17 15 / 65%)); }
}
@media (max-width: 35rem) and (max-height: 36rem) {
  main { gap: .45rem; padding-block: .35rem; }
  h1 { font-size: clamp(1.75rem, 7.5vw, 2.1rem); max-width: none; }
  h1 em { display: inline; }
  .intro { margin-top: .45rem; line-height: 1.3; }
}
@media (max-height: 30rem), (max-width: 26rem) and (max-height: 36rem) {
  .masthead, footer { --pad: .35rem; }
  .wordmark { width: min(5.75rem, 24vw); }
  .clock-heading { padding-bottom: .3rem; gap: .2rem .6rem; }
  .clock { margin-top: .35rem; }
  .clock div { gap: .2rem; }
  .updates { margin-top: .55rem; }
  .updates label { margin-bottom: .35rem; }
  .form-note:not(:empty) { margin-top: .35rem; }
}
@media (max-height: 20rem), (max-width: 28rem) and (max-height: 28rem) {
  .masthead { --pad: .18rem; border: 0; }
  footer { --pad: .12rem; border: 0; }
  .name-button { min-height: 1.6rem; padding: .18rem .6rem; font-size: .78rem; }
  main { padding-block: .125rem; }
  h1 { font-size: clamp(1.6rem, 5vw, 2rem); }
  .intro, .form-note { line-height: 1.25; }
  .clock span { font-size: 1.5rem; }
}
@media (max-width: 28rem) and (max-height: 25.5rem) {
  /* Keep the headline, countdown and signup visible in a short window. */
  .intro { display: none; }
  .clock-heading { row-gap: 0; }
}
@media (max-width: 28rem) and (max-height: 18.75rem) {
  :root { --gutter: .8rem; }
  .masthead { --pad: .15rem; }
  .wordmark { width: 5rem; }
  footer { font-size: .68rem; line-height: 1.2; }
  main { gap: .35rem; }
  h1 { font-size: clamp(1.1rem, 5.5vw, 1.4rem); }
  .clock-heading { column-gap: .35rem; padding-bottom: .2rem; }
  .clock-heading h2 { font-size: .62rem; letter-spacing: .06em; }
  .clock div { gap: .1rem; }
  .updates { margin-top: .35rem; }
  .form-note:not(:empty) { margin-top: .2rem; }
}
@media (max-width: 23rem) and (max-height: 16rem) {
  .clock div { display: flex; align-items: baseline; justify-content: flex-start; gap: .1rem; }
  .clock div + div { padding-inline-start: .23rem; }
  .clock span { font-size: 1.2rem; }
  .clock small { font-size: .55rem; letter-spacing: 0; }
}
@media (max-height: 16rem) {
  .clock-heading h2 { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .updates { margin-top: .25rem; }
}
@media (max-height: 36rem) {
  .countdown:has(.complete:not([hidden])) .clock { display: none; }
  .complete { margin-top: .4rem; }
}
.email-keyboard .masthead { --pad: .2rem; border: 0; }
.email-keyboard .wordmark { width: 5.75rem; }
.email-keyboard footer { --pad: .1rem; border: 0; }
.email-keyboard main {
  align-self: center; grid-template-columns: 1fr;
  padding-block: .5rem max(.5rem, env(safe-area-inset-bottom));
}
.email-keyboard .statement { display: none; }
.email-keyboard .clock-heading { padding-bottom: .3rem; gap: .2rem .6rem; }
.email-keyboard .clock { margin-top: .4rem; }
.email-keyboard .updates { margin-top: .75rem; }
@media (min-width: 30rem) {
  .email-keyboard .launch-details { width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.25rem; }
  .email-keyboard .updates { margin-top: 0; }
}
