@font-face {
  font-family: "Russo One";
  src: url("/fonts/russo-one.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy: #00265A;
  --navy-deep: #001A40;
  --page: #F3F5F9;
  --muted: #4F5B70;
  --orange: #D5571A;
  --orange-dark: #B54814;
  --water: #1F6FD1;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--navy);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px 24px;
}

.logo { margin: 0 0 28px; width: min(560px, 100%); line-height: 0; }
.logo img { width: 100%; height: auto; }

.tagline {
  margin: 0 0 12px;
  font-family: "Russo One", system-ui, sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.15;
}

.lede {
  margin: 0 0 28px;
  max-width: 30em;
  color: var(--muted);
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: "Russo One", system-ui, sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(213, 87, 26, 0.28);
  transition: background 0.15s, transform 0.15s;
}
.cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; }

.small { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }

.water { line-height: 0; }
.water svg { width: 100%; height: 90px; display: block; }
.w1 { fill: var(--water); opacity: 0.25; }
.w2 { fill: var(--navy); }

footer {
  background: var(--navy);
  color: #C3CDE0;
  font-size: 0.85rem;
  text-align: center;
  padding: 4px 16px 22px;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.dot { margin: 0 8px; }

@media (prefers-reduced-motion: no-preference) {
  .w1 { animation: drift 9s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translateX(-40px); } }
}

/* 404 */
.code {
  margin: 0 0 6px;
  font-family: "Russo One", system-ui, sans-serif;
  font-size: clamp(3rem, 14vw, 6rem);
  line-height: 1;
  color: var(--orange);
}
