body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #0b1220;
  color: #e8f0ff;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: #121a2b;
  border: 1px solid #223152;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.muted {
  color: #91a4c7;
  font-size: 14px;
}

a.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  color: #071022;
  font-weight: 700;
  text-decoration: none;
}




/* Consent banner */
.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #081025;
  border-top: 1px solid #223152;
  padding: 12px;
  z-index: 1000;
}

.consent-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}

.consent button {
  padding: 8px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  font-weight: 700;
  cursor: pointer;
}

/* Header / logo */
.site-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  max-width: 50%;
  width: 100%;
  height: auto;
  display: block;
}

.page-logo{
  height: 34px;
  width: auto;
  max-width: none;
  display:block;
}

.site-tagline {
  margin: 0;
  text-align: right;
  flex: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .site-logo {
    max-width: 70%;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-tagline {
    text-align: left;
  }
}

.logoLink{display:inline-flex; align-items:center;}
.page-logo{
  height: 34px;
  width: auto;
  max-width: none;
  display:block;
}


/* =====================================================
   Shared Site Footer (RememberChem – dark version)
   Matches https://rememberchem.com/ALevel_index
   ===================================================== */


.site-footer {
  width: 100%;
  max-width: 1200px;   /* match your tool-container */
  background-color: #111827;   /* very dark charcoal */
  border-top: 1px solid #1f2937;
  box-sizing: border-box;
  font-size: 0.9rem;
  box-sizing: border-box;
  padding: 1.25rem 1rem;
}


.footer-links {
  text-align: center;
  line-height: 1.6;
  color: #9ca3af;

  /* CRITICAL for mobile */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-links a {
  
}


.footer-links a {
  color: #7dd3fc;              /* near-white links */
  text-decoration: none;
  font-weight: 500;
  display: inline-block;   /* prevents weird inline stretching */
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease,
    opacity 0.2s ease;
}


.footer-links a:hover {
  color: #f9fafb;
  text-decoration: underline;
}


.footer-links .sep {
  display: inline-block;
  margin: 0 0.3em;
  color: #6b7280;              /* muted separator dots */
}

html, body {
  overflow-x: hidden;
}

.x-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  color: #f9fafb;
}

.x-link:hover {
  color: #ffffff;
}

.x-icon {
  margin-left: 0.35em;
}




.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
