/* ============================================================
   page.css — the one layout both coming-soon pages use. Every value
   comes from tokens.css; nothing is picked here.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: var(--surface);
  color: var(--text-default);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* The graph runs behind everything, edge to edge. It is the product's own
   home screen, so it belongs on the page — but it is the room, not the
   message, so the wash is drawn back over its middle and the column sits
   in the clear. */
.room { position: fixed; inset: 0; z-index: 0; }
.room canvas { display: block; width: 100%; height: 100%; }

.room::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    40% 62% at 50% 50%,
    var(--surface) 0%,
    var(--surface) 40%,
    var(--surface-fade) 100%
  );
  pointer-events: none;
}

/* Narrow: there is no room beside the column, so the clear area stops being
   a shape around the words and becomes a band across them. The room keeps
   only the strips above and below — which is the honest amount of room a
   phone has for it. */
@media (max-width: 960px) {
  .room::after {
    /* Measured off the column, not off the viewport: the words are about
       390px tall at every width they wrap to, and a percentage band would
       swallow the whole room on a tall window. */
    background: linear-gradient(
      to bottom,
      var(--surface-fade) calc(50% - 340px),
      var(--surface) calc(50% - 232px),
      var(--surface) calc(50% + 232px),
      var(--surface-fade) calc(50% + 340px)
    );
  }
}

main {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  text-align: center;
}

.mark {
  display: block;
  margin: 0 auto 26px;
  height: 30px;
  width: auto;
  color: var(--primary);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.lede {
  margin: 22px auto 0;
  max-width: 30rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.status {
  margin: 30px auto 0;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-faint);
  text-wrap: pretty;
}

footer {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

footer .sep {
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.55;
}

a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-emphasis);
  padding-bottom: 1px;
  transition: color 120ms ease, border-color 120ms ease;
}

a:hover { color: var(--primary-text); border-bottom-color: var(--primary-border); }

a:focus-visible {
  outline: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--focus-ring) 40%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}

/* The bare deployment URL — no domain to route on, so it just names the two. */
.index-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.0625rem;
}
