/* VeraPoint Restoration — the placeholder.
 *
 * One stylesheet, both themes: the one fixed palette (navy #002752 / white /
 * the logo's own grey #6B6D70, one red accent) with roles inverted per theme
 * and selected by the browser's own prefers-color-scheme — a browser feature,
 * not a theme system (no switcher, no JS; ADR-0001). Light: white page,
 * navy ink, the navy band as the one dark moment. Dark: navy page, white ink,
 * band hairline-separated. The only per-theme differences: the wordmark
 * variant, the chips' filled/outlined inversion, and the band's separation.
 */

:root {
  color-scheme: light dark;

  /* the one fixed palette */
  --navy: #002752;   /* brand navy — the logo's own */
  --white: #ffffff;
  --grey: #6b6d70;    /* secondary text — the logo's own grey */
  --red: #b3282d;     /* the page's only red: the 24/7 marker */

  /* light theme (default): navy on white */
  --bg: var(--white);
  --ink: var(--navy);
  --ink-soft: var(--grey);
  --band-bg: var(--navy);
  --band-ink: var(--white);
  --chip-fill-bg: var(--navy);
  --chip-fill-ink: var(--white);
  --chip-outline-ink: var(--navy);
  --line: rgba(0, 39, 82, 0.25);    /* hairlines on the light page */
  --line-strong: rgba(0, 39, 82, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* dark theme: white on navy — the same colors, roles inverted */
    --bg: var(--navy);
    --ink: var(--white);
    --chip-fill-bg: var(--white);
    --chip-fill-ink: var(--navy);
    --chip-outline-ink: var(--white);
    --line: rgba(255, 255, 255, 0.2);
    --line-strong: rgba(255, 255, 255, 0.45);
  }
}

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  /* system font stack only — no webfonts, no @import (zero-deps rule) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------- layout */

.page {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 9vh, 96px) 24px 0;
}

.stack {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

/* ------------------------------------------------------------- brand */

/* each theme shows its own wordmark variant, selected by CSS only */
.wordmark {
  display: block;
  width: min(340px, 64vw);
  height: auto;
  margin: 0 auto 20px;
}

.wordmark--white {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .wordmark--white {
    display: block;
  }
  .wordmark--navy {
    display: none;
  }
}

.company {
  margin: 0 0 34px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

/* ------------------------------------------------------------- coming soon */

.badge {
  display: inline-block;
  margin: 0 0 30px;
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.headline {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
}

.headline .line {
  display: block;
}

/* ------------------------------------------------------------- chip sections */

.section {
  margin-top: 56px;
}

/* the eyebrow + hairline device: small wide-tracked label, short rule each side */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 44px;
  height: 2px;
  background: currentcolor;
  opacity: 0.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* filled: audiences (navy on light, white on dark — inverted per theme) */
.chip--filled {
  border-color: var(--chip-fill-bg);
  background: var(--chip-fill-bg);
  color: var(--chip-fill-ink);
}

/* outlined: services */
.chip--outline {
  border-color: var(--chip-outline-ink);
  color: var(--chip-outline-ink);
}

/* ------------------------------------------------------------- 24/7 band */
/* emitted only when the data file carries a real number (stamp-time gate).
   Light theme: a contrast moment (navy on white). Dark theme: the page is
   already navy, so the band is distinguished by hairline rules. */

.band {
  width: 100%;
  margin-top: clamp(48px, 8vh, 84px);
  padding: 44px 24px 52px;
  background: var(--band-bg);
  color: var(--band-ink);
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

/* the page's only red: a wide-tracked marker with a pulsing dot */
.marker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}

/* the number is the one-tap target */
.number {
  display: inline-block;
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--band-ink);
  text-decoration: none;
}

.number:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ------------------------------------------------------------- footer */

.footer {
  width: 100%;
  padding: 28px 24px 36px;
  text-align: center;
}

.legal {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- 404 */

.code {
  margin: 0;
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lede {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.home {
  display: inline-block;
  margin-top: 30px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
