@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

/* === Base styles === */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #111;
  text-align: center;
padding: 1rem 1rem 2rem 1rem;

}

/* === Logo === */
.logo {
  max-width: 100px;
  margin-bottom: 1.5rem;
}

/* === Main Title === */
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

h1 .red {
  color: #e53935; /* match your logo's red */
}

/* === Tagline & Quote === */
.invocation {
  font-size: 1.125rem;
  font-style: italic;
  color: #333;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Links === */
.links a {
  display: inline-block;
  margin: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 500;
  color: #e53935;
  border-bottom: 1px solid transparent;
  transition: border 0.2s ease;
}

.links a:hover {
  border-bottom: 1px solid #e53935;
}
/* Hamburger Menu Styles */
.menu-container {
  position: fixed;
  top: 1.5em;
  left: 1.5em;
  z-index: 999;
}
.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  transition: box-shadow 0.2s;
}
.logo-btn:focus { box-shadow: 0 0 0 2px #cdb4ff; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  min-width: 160px;
  background: #271a3c;
  border-radius: 1em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.26);
  padding: 0.7em 0;
  text-align: left;
}
.dropdown-menu a {
  display: block;
  color: #ffea00;
  text-decoration: none;
  padding: 0.7em 1.2em;
  font-size: 1.12em;
  border-radius: 0.5em;
  transition: background 0.16s;
}
.dropdown-menu a:hover {
  background: #cdb4ff;
  color: #271a3c;
}
.menu-container.active .dropdown-menu {
  display: block;
  animation: fadeIn 0.15s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}
@media (max-width: 600px) {
  .dropdown-menu {
    min-width: 130px;
    left: -10px;
  }
}
/* Optional: Push main down to make room for menu/logo */
main { margin-top: 2.6em; }
.menu-container {
  position: fixed;
  top: 1.5em;
  left: 1.5em;
  z-index: 999;
}
.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.logo-btn:focus {
  box-shadow: 0 0 0 3px #e53935;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  min-width: 180px;
  background: #111; /* Black */
  border-radius: 1.25em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.26);
  padding: 0.7em 0;
  text-align: left;
  border: 2px solid #fff;
}
.dropdown-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 1em 1.5em;
  font-size: 1.12em;
  border-radius: 0.8em;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #e53935;
  color: #fff;
  outline: none;
}
.menu-container.active .dropdown-menu {
  display: block;
  animation: fadeIn 0.15s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}
@media (max-width: 600px) {
  .dropdown-menu {
    min-width: 130px;
    left: -10px;
  }
}
.invocation-examples {
  list-style: none;
  padding: 0;
  margin: 1em auto 2em auto;
  max-width: 32em;
  text-align: center;
}
.invocation-examples li {
  font-style: italic;
  font-size: 1.07em;
  color: #222;
  margin: 0.4em 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.invocation-section {
  background: #faf8f7; /* off-white, subtle */
  border: 2px solid #e53935; /* Relphi-red accent */
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  max-width: 36em;
  margin: 2.5em auto 2.5em auto;
  padding: 2em 1.4em 2.2em 1.4em;
}
.invocation-section h2 {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.42em;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #111;
  text-align: center;
}
.invocation-section ol {
  max-width: 32em;
  margin: 0.5em auto 1.2em auto;
  text-align: left;
  font-size: 1em;
  color: #222;
  padding-left: 1.3em;
}
.invocation-examples {
  list-style: none;
  padding: 0;
  margin: 1em auto 0 auto;
  max-width: 32em;
  text-align: center;
}
.invocation-examples li {
  font-style: italic;
  font-size: 1.07em;
  color: #222;
  margin: 0.38em 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.relphi-btn {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-family: inherit;
  font-size: 1.18em;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 2em;
  box-shadow: 0 4px 16px rgba(229,57,53,0.11);
  padding: 0.72em 2.3em;
  margin: 1.8em auto 0 auto;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.13s;
  cursor: pointer;
}
.relphi-btn:hover, .relphi-btn:focus {
  background: #b71c1c;
  color: #fff;
  box-shadow: 0 8px 32px rgba(229,57,53,0.19);
  outline: none;
}
.suggested-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5em;
  max-width: 900px;
  margin: 2.5em auto 0 auto;
  justify-items: center;
  align-items: stretch;
  padding: 0 1em;
}

.question-card {
  background: #fff;
  border: 2px solid #e53935;
  border-radius: 1.3em;
  padding: 1.2em 1.8em;
  font-size: 1.13em;
  font-family: 'EB Garamond', 'Georgia', serif;
  color: #222;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  font-style: italic;
  cursor: pointer;
  transition: transform 0.14s, box-shadow 0.16s, background 0.2s, color 0.2s;
  max-width: 350px;
  min-width: 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}

.question-card:hover, .question-card:focus-within {
  background: #e53935;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 36px rgba(229,57,53,0.13);
}

.question-card .copy-btn {
  background: none;
  border: none;
  color: #e53935;
  font-size: 1em;
  margin-left: 0.6em;
  cursor: pointer;
  padding: 0.1em 0.2em;
  border-radius: 0.7em;
  transition: background 0.13s, color 0.13s;
  display: flex;
  align-items: center;
  position: relative;
}
.question-card:hover .copy-btn, .question-card:focus-within .copy-btn {
  color: #fff;
}

.copy-btn:focus {
  outline: 2px solid #e53935;
}
.copy-icon {
  font-size: 1.15em;
  pointer-events: none;
}
.copied-text {
  color: #fff;
  font-size: 0.97em;
  margin-left: 0.25em;
  font-style: normal;
  pointer-events: none;
  font-weight: 500;
}

@media (max-width: 900px) {
  .suggested-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 1.5em;
  max-width: 900px;
  margin: 2.5em auto 0 auto;
  justify-items: center;
  align-items: stretch;
  padding: 0 1em;
}

.question-card {
  background: #fff;
  border: 2px solid #e53935;
  border-radius: 1.3em;
  padding: 1.2em 1.8em;
  font-size: 1.13em;
  font-family: 'EB Garamond', 'Georgia', serif;
  color: #222;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  font-style: italic;
  cursor: pointer;
  transition: transform 0.14s, box-shadow 0.16s, background 0.2s, color 0.2s;
  width: 370px;        /* FIXED width for all cards */
  min-width: 370px;
  max-width: 370px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .suggested-questions {
    grid-template-columns: 1fr;
    gap: 1em;
    padding: 0 0.3em;
  }
  .question-card {
    width: 98vw;
    min-width: unset;
    max-width: 99vw;
  }
}
}
.site-footer {
  margin-top: 3em;
  padding: 2em 0 1em 0;
  text-align: center;
  background: transparent;
}
.footer-tagline {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.38em;
  font-style: italic;
  color: #222;
  letter-spacing: 0.03em;
  font-weight: 400;
  opacity: 0.93;
  margin-bottom: 0.4em;
}
.footer-with {
  color: #e53935;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-credit {
  font-family: 'EB Garamond', 'Georgia', serif;
  font-size: 1.05em;
  color: #6a2424;
  opacity: 0.83;
  letter-spacing: 0.01em;
  margin-top: 0.2em;
}
.footer-author {
  color: #e53935;
  font-style: normal;
  font-weight: 600;
}
.footer-ltg {
  font-style: italic;
  color: #333;
  font-weight: 400;
}
@media (max-width: 600px) {
  .footer-tagline {
    font-size: 1em;
    padding: 0 0.4em;
  }
  .site-footer {
    padding: 1.2em 0 0.6em 0;
  }
  .footer-credit {
    font-size: 0.78em;
  }
}
/* 🔧 Responsive Fixes for About + Capabilities Grids */
.about-grid,
.capabilities-grid {
  display: grid;
  gap: 1.5em;
  padding: 0 1em;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.capabilities-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
