/*
 * hallwayadvocacy.com: the public "coming soon" page (Brief 20).
 *
 * Colors are the app's own (src/styles.css, which writes them in oklch),
 * converted to hex so that every browser shows them the same way:
 *   navy       #071b31  the app's sidebar         oklch(0.22 0.05 252)
 *   primary    #003c7e  the app's primary blue    oklch(0.36 0.13 252)
 *   icon blue  #008cea  the app's "H" icon        oklch(0.62 0.18 245)
 * Contrast (WCAG 2.2) was checked for every text color against its
 * background; each pair is noted beside it.
 *
 * No fonts, images or anything else is loaded from other sites: the page uses
 * the visitor's own system font.
 */

:root {
  color-scheme: light dark;

  --bg: #f9fcff; /* app background, oklch(0.99 0.005 240) */
  --bg-glow: #e7f0f8; /* app secondary, oklch(0.95 0.015 245) */
  --text: #031222; /* app foreground: 18.3:1 on --bg */
  --text-body: #39495a; /* 8.9:1 on --bg */
  --text-quiet: #576574; /* app muted foreground: 5.8:1 on --bg */
  --emphasis: #0069ca; /* icon blue, deepened for text: 5.3:1 on --bg */
  --rule: #d9e3eb; /* app border */
  --dot: #008cea; /* the app's icon blue */
  --status-bg: #e7f0f8;
  --status-text: #39495a; /* 8.0:1 on --status-bg */
  --button-bg: #003c7e; /* app primary */
  --button-bg-hover: #002b6b; /* app primary hover */
  --button-text: #ffffff; /* 10.8:1 on --button-bg, 13.5:1 on hover */
  --focus: #0069ca;
  --band: linear-gradient(90deg, #071b31 0%, #003c7e 55%, #008cea 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06172a; /* the app's navy */
    --bg-glow: #0d2945;
    --text: #f1f6fa; /* 16.6:1 on --bg */
    --text-body: #b8c6d4; /* 10.4:1 on --bg */
    --text-quiet: #97a7b7; /* 7.3:1 on --bg */
    --emphasis: #54b3fd; /* icon blue, lightened for text: 7.9:1 on --bg */
    --rule: #1a2f46; /* app sidebar border */
    --dot: #54b3fd;
    --status-bg: #102a45; /* app sidebar accent */
    --status-text: #c9d5e1; /* 9.8:1 on --status-bg */
    --button-bg: #e2e8f0; /* the app's dark-mode primary */
    --button-bg-hover: #c3d3e4;
    --button-text: #0f172b; /* 14.5:1 on --button-bg, 11.7:1 on hover */
    --focus: #54b3fd;
    --band: linear-gradient(90deg, #003c7e 0%, #008cea 60%, #54b3fd 100%);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 60rem 40rem at 100% 0%,
    var(--bg-glow) 0%,
    transparent 70%
  );
  background-repeat: no-repeat;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* A thin band of the app's blues across the top of the page. */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--band);
}

p {
  margin: 0;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4px);
  min-height: calc(100dvh - 4px);
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 48rem) {
  .page {
    padding: 0 3rem;
  }
}

.masthead {
  padding: 1.75rem 0 0;
}

.wordmark {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50rem;
  padding: 3.5rem 0 4rem;
}

.headline {
  margin: 0;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}

.headline em {
  font-style: normal;
  font-weight: 800;
  color: var(--emphasis);
}

.lede {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-body);
  text-wrap: pretty;
}

.status {
  display: inline-flex;
  align-items: baseline;
  gap: 0.625rem;
  align-self: flex-start;
  margin-top: 2rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.625rem;
  background: var(--status-bg);
  color: var(--status-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.status-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--dot);
  transform: translateY(-0.0625rem);
}

.cta {
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 120ms ease;
}

.button:hover {
  background: var(--button-bg-hover);
}

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

.footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--rule);
  color: var(--text-quiet);
  font-size: 0.875rem;
}

/* The 404 page (404.html) reuses the layout above. */
.notfound-link {
  color: var(--emphasis);
  font-weight: 600;
}

.notfound-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

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