:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --footer-bg: #0f172a;
  --footer-text: #9ca3af;
  --tools: #2563eb;
  --research: #8b5cf6;
  --awareness: #ea580c;
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
}

.site-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
}

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-tools {
  border-top: 4px solid var(--tools);
}

.card-research {
  border-top: 4px solid var(--research);
}

.card-awareness {
  border-top: 4px solid var(--awareness);
}

.card-tools .card-icon {
  color: var(--tools);
}

.card-research .card-icon {
  color: var(--research);
}

.card-awareness .card-icon {
  color: var(--awareness);
}

.card-icon,
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section {
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.check-list {
  list-style: none;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-list li + li {
  margin-top: 1.25rem;
}

.check-icon {
  color: var(--tools);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.check-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.socials {
  margin-bottom: 5rem;
  text-align: center;
}

.socials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background: var(--text);
  color: #fff;
  transform: scale(1.08);
}

.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0;
  text-align: center;
}

.quote-container {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.quote-author {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quote-source {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

.quote-text {
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.8;
}

.quote-latin {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.6;
}

.quote-credit,
.copyright {
  font-size: 0.85rem;
  opacity: 0.5;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
}

@media (max-width: 960px) {
  .triptych {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, calc(100% - 2rem));
  }

  .site-header {
    padding-top: 2rem;
  }

  .hero {
    margin-bottom: 3rem;
  }

  .card,
  .check-list {
    padding: 1.5rem;
  }
}

.triptych-compact {
  margin-bottom: 0;
}

.card-principle {
  padding: 2rem 1.75rem;
  text-align: center;
  border-top: 4px solid #cbd5e1;
}

.card-principle h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.card-principle p {
  font-size: 1rem;
  color: var(--muted);
}