:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #4b5563;
  --accent: #1f4fd8;
  --border: #e5e7eb;
}

@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    gap: 0.25rem;
  }
  .nav-button {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;        /* darker than slate, avoids blue glow */
    --text: #f3f4f6;      /* near-white, not pure */
    --muted: #c7cdd6;     /* still passes 4.5:1 on bg */
    --accent: #7da2ff;    /* accessible blue on dark bg */
    --border: #243044;    /* visible but quiet */
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .container {
    padding: 1rem;
  }
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}


.container {
  max-width: 760px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
}

section {
  margin-bottom: 3.5rem;
}

.hero h1,
h3 {
  font-family: "Merriweather", serif;
}


.hero h2 {
  font-weight: 500;
  color: var(--muted);
  margin-top: 0;
}

h1, h2, h3 {
  color: var(--text);
  letter-spacing: -0.01em;
}


h3 {
  font-family: "Merriweather", serif;
  margin-bottom: 1rem;
}

h4 {
  margin-bottom: 0.25rem;
}

p, li {
  color: var(--text);
}


p {
  margin-top: 0;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

.muted {
  color: var(--muted);
}


.cta {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}


.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  color: #ffffff;
  background: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.button:hover {
  opacity: 0.9;
  filter: brightness(1.05);
}


footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header container */
.site-header {
  width: 100%;
  background-color: #0b1220; /* dark mode background */
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Nav layout */
.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo / site name */
.nav-logo {
  color: #ffffff;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

/* Navigation links container */
.nav-links {
  display: flex;
  gap: 0.5rem;
}

/* Button-style links */
.nav-button {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #84DCC6; /* accent color */
  border-radius: 0.35rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-button:hover {
  background-color: #84DCC6;
  color: #0b1220;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}



.deflection {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 640px;
}

.deflection h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #cfd6e6;
  margin-bottom: 0.75rem;
}

.deflection p {
  font-size: 0.95rem;
  color: #a9b2c7;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.deflection-close {
  font-style: italic;
  color: #8f99ad;
}

@media (max-width: 600px) {
  .deflection p:not(.deflection-close) {
    display: none;
  }
}


.nav-button {
  min-height: 44px; /* Apple HIG */
}

