/* website/styles.css: the look of the longbow-sdr.com "coming soon" page: the Longbow colours
   (night blue, signal blue, arrow red), the waterfall behind everything, and a layout that
   works from a phone to a 4K screen. No outside fonts.
   Author: Todd Vollmer (tvollmer@gmail.com) [longbow-sdr.com] */

:root {
  --bg: #0b121a;
  --panel: rgba(13, 22, 32, 0.72);
  --line: rgba(42, 169, 255, 0.2);
  --blue: #2aa9ff;
  --red: #ff3b4f;
  --text: #e8eef4;
  --muted: #9fb0c0;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 0.35vw + 14px, 22px);
  line-height: 1.6;
}

/* The waterfall: drawn small by waterfall.js and stretched, so it reads as soft light. */
#waterfall {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* Darkens the middle so the words stay easy to read over the waterfall. */
.veil {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(11, 18, 26, 0.55), rgba(11, 18, 26, 0.92) 70%),
    linear-gradient(to bottom, rgba(11, 18, 26, 0) 60%, var(--bg));
}

.page {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 2rem;
}

.brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand img {
  width: min(92vw, 46rem);
  height: auto;
  filter: drop-shadow(0 0.4rem 1.6rem rgba(42, 169, 255, 0.25));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 2rem 0 0;
  padding: 0.35em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85em;
}

.dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0.6em var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; box-shadow: 0 0 0.2em var(--red); }
}

.lede {
  max-width: 38rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.15em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(6px);
}

.card svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h2 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.1em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.note {
  max-width: 40rem;
  margin: 4rem auto;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
}

.note blockquote {
  margin: 0;
  font-size: 1.3em;
  font-style: italic;
}

.note figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
}

.contact {
  text-align: center;
  margin-bottom: 4rem;
}

.contact h2 {
  margin: 0 0 1rem;
  font-size: 1.2em;
}

.button {
  display: inline-block;
  padding: 0.7em 1.4em;
  border-radius: 10px;
  background: var(--blue);
  color: #04121e;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #5cbcff; }

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.footer {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85em;
}

.footer p { margin: 0; }

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