/* -------------------------------------------------------
   GLOBAL BASE STYLES — nichevalidation.com
   Clean, neutral, readable, fast-loading.
   No heavy frameworks. Mobile-first design.
-------------------------------------------------------- */

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

html {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
}

body {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* -------------------------------------------------------
   HEADINGS
-------------------------------------------------------- */
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
  color: #222;
}

h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 .75rem;
  font-weight: 600;
  color: #333;
}

/* -------------------------------------------------------
   TEXT ELEMENTS
-------------------------------------------------------- */
p {
  margin-bottom: 1rem;
}

ul, ol {
  margin: 0 0 1rem 1.25rem;
}

li {
  margin-bottom: .5rem;
}

/* -------------------------------------------------------
   BUTTONS / LINKS
-------------------------------------------------------- */
a {
  color: #0059c9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: #0059c9;
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: .5rem;
}

.btn:hover {
  background: #0048a3;
  text-decoration: none;
}

/* -------------------------------------------------------
   HERO SECTION
-------------------------------------------------------- */
.hero {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.05rem;
}

/* -------------------------------------------------------
   NICHE BLOCKS
-------------------------------------------------------- */
.niche-block {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.niche-block h3 {
  margin-bottom: .5rem;
}

.niche-block p {
  margin-bottom: .75rem;
}

/* -------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e2e2;
  text-align: center;
  font-size: .9rem;
  color: #555;
}

/* -------------------------------------------------------
   MAIN NAVIGATION
-------------------------------------------------------- */
.main-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  text-decoration: none;
}

.nav-logo:hover {
  color: #0059c9;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #0059c9;
  text-decoration: underline;
}

/* -------------------------------------------------------
   TABLE OF CONTENTS
-------------------------------------------------------- */
#toc {
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

#toc .toc-list {
  list-style: none;
}

#toc .toc-item {
  margin: .35rem 0;
}

#toc .toc-h3 {
  margin-left: 1rem;
}

/* -------------------------------------------------------
   HEADER SHADOW ON SCROLL
-------------------------------------------------------- */
header.shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* -------------------------------------------------------
   MOBILE TWEAKS
-------------------------------------------------------- */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero, .niche-block {
    padding: 1.25rem;
  }

  .main-nav {
    padding: 0.75rem 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

/* -------------------------------------------------------
   HERO BOLD STYLES
-------------------------------------------------------- */
.hero-bold {
  padding: 4rem 1.5rem;
  background: #f4f4f8;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.hero-bold .hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-bold h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #111;
}

.tagline {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.subtagline {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: #111;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s ease;
}

.cta-btn:hover {
  background: #333;
}
