/* Wake9 holding page. Self-contained: system fonts only, no external requests. */
:root {
  --bg-top: #f2fbfe;
  --bg-bottom: #cdeef7;
  --text: #06283d;
  --muted: #3d6276;
  --accent: #0a84b8;
  --accent-text: #ffffff;
  --brand: #0a6e9a;
  --wave-back: #7fd0e8;
  --wave-mid: #39b0d6;
  --wave-front: #0a84b8;
  --footer: #e8f7fc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #031420;
    --bg-bottom: #06324c;
    --text: #e8f6fc;
    --muted: #9cc3d6;
    --accent: #2cc4ef;
    --accent-text: #032033;
    --brand: #5fd6f7;
    --wave-back: #0b4a6b;
    --wave-mid: #0d6488;
    --wave-front: #1189b4;
    --footer: #d6f2fb;
  }
}

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

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hero {
  flex: 1 0 auto;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--brand);
  margin-bottom: clamp(2rem, 6vh, 3.5rem);
}

.brand-mark { width: 2.75rem; height: 2.75rem; }

.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.lede {
  margin: 1.25rem 0 2.25rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -10px rgba(10, 132, 184, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}

.button svg { width: 1.2rem; height: 1.2rem; }

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(10, 132, 184, .85);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Waves pinned to the bottom of the viewport, footer sits on the front wave. */
.sea {
  position: relative;
  flex: 0 0 auto;
  height: clamp(120px, 22vh, 220px);
  margin-bottom: -1px;
  pointer-events: none;
}

.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wave { animation: drift linear infinite; }
.wave-back  { fill: var(--wave-back);  opacity: .7; animation-duration: 26s; }
.wave-mid   { fill: var(--wave-mid);   opacity: .85; animation-duration: 18s; animation-direction: reverse; }
.wave-front { fill: var(--wave-front); animation-duration: 12s; }

/* Paths are 2880 user units wide with a 720-unit period, so shifting by 1440 loops seamlessly. */
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-1440px); }
}

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

.footer {
  flex: 0 0 auto;
  padding: 0 1.5rem 1.25rem;
  background: var(--wave-front);
  color: var(--footer);
  text-align: center;
  font-size: .875rem;
}
