/* ──────────────────────────────────────────────────────────────────────
   Swell landing — shared CSS
   Single source of truth for tokens, body reset, and site chrome.
   Generated/maintained here; linked from every page.
   ────────────────────────────────────────────────────────────────────── */

/* ── Font ── */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/NunitoSans.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* ── Design tokens ── */
:root {
  --bg:      #0B1B26;   /* ownable ocean (was generic navy #090F1F) */
  --card:    #122A3A;   /* elevated ocean surface */
  --navy:    #1A2C5B;   /* brand navy — featured surfaces */
  --blue:    #76CAFF;   /* canonical accent */
  --lime:    #5FD080;
  --yellow:  #F7C948;
  --sun:     #F6B73C;   /* warm secondary accent */
  --coral:   #FF7F5C;
  --white:   #F3F7FA;   /* primary text on dark */
  --muted:   #9FB0BE;
  --border:  rgba(255,255,255,0.08);   /* neutral hairline (was cyan-tinted) */
}

/* ── Base reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Site nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(11,27,38,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { height: 28px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-word { height: 18px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(245,245,245,0.5);
  font-size: 14px; font-weight: 600; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-app-btn {
  background: var(--blue); color: var(--bg);
  border-radius: 8px; padding: 5px 12px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-app-btn:hover { opacity: 0.85; }

/* ── Site footer ── */
footer {
  background: rgba(18,42,58,0.9); border-top: 1px solid var(--border);
  padding: 32px 60px; text-align: center; font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--white); }
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  footer { padding: 32px 20px; }
}
