/* watchwatch.org — coming-soon teaser.
   An UnGovr Oversight observatory. Atmospheric dark "twilight" treatment:
   the family's warm-cream surfaces invert to near-black + the brand indigo,
   per the surveillance member's twilight/authority hue. No alarm color —
   indigo is authority, gold is the lone accent. All CSS-only (no JS). */

:root {
  --bg:           #0c0f14;  /* near-black — matches the dark lockup lens glass */
  --indigo:       #2e3a63;  /* brand primary (watcher) */
  --indigo-light: #c5cdf0;  /* dark-theme watcher tint, used for mono kickers */
  --slate:        #7c8aa3;  /* the "watched" instrument */
  --gold:         #f0b429;  /* lone accent — the coming-soon dot */
  --text:         #e8edf6;  /* wordmark / display */
  --text-dim:     rgba(232, 237, 246, 0.64);
  --text-faint:   rgba(232, 237, 246, 0.42);
  --hair:         rgba(197, 205, 240, 0.16);

  --display: 'Fraunces', 'Newsreader', Georgia, serif;
  --body:    'Newsreader', Georgia, serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2rem, 6vw, 4.5rem) 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Twilight glow — a slow radial "watch" that breathes behind the mark.
   Sits below content; vignette darkens the edges so the page feels deep. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58vw 52vh at 50% 34%,
      rgba(46, 58, 99, 0.55) 0%,
      rgba(46, 58, 99, 0.18) 38%,
      rgba(12, 15, 20, 0) 72%),
    radial-gradient(120% 120% at 50% 50%,
      rgba(12, 15, 20, 0) 52%,
      rgba(6, 8, 11, 0.85) 100%);
  animation: breathe 11s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.045); }
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.ww-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--indigo-light);
  opacity: 0.82;
  margin: 0;
}

.ww-logo {
  width: min(27rem, 80vw);
  height: auto;
  display: block;
  margin: 0.2rem 0 0.1rem;
}

.ww-tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 5.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.ww-lede {
  font-family: var(--body);
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 34ch;
  margin: 0;
  text-wrap: balance;
}

/* scope line — mono, slate, dotted separators */
.ww-scope {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0.1rem 0 0;
}
.ww-scope .dot { color: var(--indigo-light); opacity: 0.7; margin: 0 0.55em; }

/* coming-soon notice — the one piece of gold */
.ww-coming {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0.2rem 0 0;
}
.ww-pulse {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.55);
  animation: pulse 2.6s ease-in-out infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.55); opacity: 1; }
  70%  { box-shadow: 0 0 0 0.7em rgba(240, 180, 41, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); opacity: 1; }
}

/* footer — within-the-law citation + the Oversight network line */
.ww-foot {
  margin-top: clamp(1.6rem, 5vh, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: min(34rem, 88vw);
}
.ww-foot p {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  color: var(--text-faint);
  margin: 0;
}
.ww-foot a {
  color: var(--indigo-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ww-foot a:hover { color: var(--text); border-bottom-color: var(--indigo-light); }
.ww-net .here { color: var(--text-dim); }

/* parent-brand mark — the UnGovr lockup, linking home to ungovr.org.
   A CSS mask so the single asset recolors to the footer tint and brightens on
   hover (no underline; overrides the generic .ww-foot a treatment). */
.ww-org {
  margin-top: 0.35rem;
  border-bottom: none;
  line-height: 0;
}
.ww-org:hover { border-bottom-color: transparent; }
.ww-org-mark {
  display: block;
  width: 2.63rem;          /* 206:235 lockup aspect at 3rem tall */
  height: 3rem;
  background-color: rgba(197, 205, 240, 0.5);   /* dim indigo-light at rest */
  -webkit-mask: url(/static/watchwatch/ungovr-lockup.svg) center / contain no-repeat;
          mask: url(/static/watchwatch/ungovr-lockup.svg) center / contain no-repeat;
  transition: background-color 0.2s ease;
}
.ww-org:hover .ww-org-mark { background-color: var(--indigo-light); }
.ww-org:focus-visible .ww-org-mark { background-color: var(--indigo-light); }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; opacity: 0.92; }
  .ww-pulse { animation: none; }
}
