/* ===============================
   Global Reset & Base Styles
   =============================== */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  background-color: #ffffff;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===============================
   Header & Navigation
   =============================== */

.site-header {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

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

.nav-links a {
  font-size: 0.95rem;
  color: #333;
}

.nav-links a.active {
  font-weight: 600;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
}

/* ===============================
   Main Layout
   =============================== */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* ===============================
   HERO (INDEX PAGE)
   =============================== */

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f5f5f5, #eaeaea);
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  color: #555;
}

/* ===============================
   Content Sections (INDEX)
   =============================== */

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

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1rem;
  color: #444;
}

.content.alt {
  background: #fff;
  padding: 3rem 1.5rem;
  margin: 0 auto;
}

/* ===============================
   Call To Action (INDEX)
   =============================== */

.cta {
  background: #111;
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

.button {
  display: inline-block;
  background: white;
  color: #111;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
}

.button:hover {
  background: #ddd;
}

/* ===============================
   Explore Hero (EXPLORE PAGE)
   =============================== */

.explore-hero {
  margin-bottom: 3rem;
  text-align: center;
}

.explore-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.explore-hero p {
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* ===============================
   Glyph Sections
   =============================== */

.glyph-section {
  margin-bottom: 4rem;
}

.glyph-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ===============================
   Glyph Rows
   =============================== */

.glyph-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.glyph-row {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: center;
}

/* ===============================
   Glyph Tiles
   =============================== */

.glyph-tile {
  width: 90px;
  height: 110px;
  padding: 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.glyph-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.glyph-tile img {
  /*width: 42px;*/
  height: 42px;
  object-fit: contain;
}

.glyph-tile span {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #333;
}

/* ===============================
   Footer
   =============================== */

.site-footer {
  border-top: 1px solid #e6e6e6;
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* ===============================
   Mobile Fixes
   =============================== */

@media (max-width: 768px) {

  main {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .glyph-row {
    flex-wrap: wrap;
  }

  .glyph-tile {
    width: 80px;
    height: 100px;
  }

  .glyph-section h2 {
    text-align: left;
  }
}

@media (max-width: 420px) {

  .glyph-tile {
    width: 72px;
    height: 96px;
  }
}
