:root {
  /* Day Path Studio — cool light neutrals + Harbour Signal */
  --mw-bg: #f4f7fb;
  --mw-bg-wash: rgba(47, 127, 196, 0.08);
  --mw-bg-wash-soft: rgba(47, 127, 196, 0.05);
  --mw-bg-depth: #e8eef6;
  --mw-panel: #ffffff;
  --mw-panel-soft: #e8eef6;
  --mw-border: #d5deea;
  --mw-accent: #2f7fc4;
  --mw-accent-bright: #4b9fe8;
  --mw-accent-soft: #2f7fc4;
  --mw-text: #1a2332;
  --mw-sub: #5a6b7d;
  --mw-success: #2f9e6e;
  --mw-star: #c9a227;
  --mw-font-display: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --mw-font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mw-shadow: 0 8px 24px rgba(26, 35, 50, 0.08);
  --mw-shadow-lg: 0 16px 40px rgba(26, 35, 50, 0.1);
  --mw-radius-btn: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--mw-bg);
  background-image:
    radial-gradient(ellipse 100% 65% at 10% -8%, var(--mw-bg-wash), transparent 58%),
    radial-gradient(ellipse 80% 55% at 98% 30%, var(--mw-bg-wash-soft), transparent 52%),
    radial-gradient(ellipse 90% 55% at 50% 105%, var(--mw-bg-depth), transparent 62%);
  background-attachment: scroll;
  color: var(--mw-text);
  font-family: var(--mw-font-body);
  line-height: 1.5;
  position: relative;
}

/* Constellation — soft Signal on light canvas; scrolls with document */
body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/constellation.svg");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  opacity: 0.4;
}

.container {
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body::before {
    opacity: 0.22;
  }
}

@media (max-width: 600px) {
  body::before {
    display: none;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--mw-border);
  flex-wrap: wrap;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-area:focus-visible {
  outline: 2px solid var(--mw-accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.logo-area img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--mw-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mw-text), var(--mw-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--mw-sub);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mw-accent);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--mw-accent);
  outline-offset: 2px;
}

.footer {
  border-top: 1px solid var(--mw-border);
  padding: 32px 0 24px;
  font-size: 0.85rem;
  color: var(--mw-sub);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
}

.footer-privacy {
  color: var(--mw-sub);
  text-decoration: underline;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 8px;
}

.footer-privacy:hover {
  color: var(--mw-accent);
}

.footer-privacy:focus-visible {
  outline: 2px solid var(--mw-accent);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .footer-content {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .footer-content span,
  .footer-content .footer-privacy {
    width: 100%;
  }
}

.footer-content .mw-icon {
  margin-right: 6px;
  color: var(--mw-accent);
  vertical-align: -0.15em;
}
