/* Generated by Tryphon SiteGen — MF-TRYPHON-SITEGEN-001 */
:root {
  --color-primary: #2563eb;
  --color-secondary: #1e40af;
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --heading-ratio: 2.4;
  --spacing-section: 4rem;
  --spacing-container: 1.5rem;
  --border-radius: 0.5rem;
  --color-overlay: rgba(0, 0, 0, .5);
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --shadow-popup: 0 20px 60px rgba(0, 0, 0, .2);
  --popup-overlay-bg: rgba(0, 0, 0, 0.5);
  --popup-btn-text: #ffffff;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 1rem;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-container);
}

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--spacing-container);
}
.brand-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { color: var(--color-text); font-size: 0.95rem; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--color-primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: calc(var(--spacing-section) * 1.5) 0;
}
.hero-inner { display: flex; gap: 3rem; align-items: center; }
.hero-content { flex: 1; }
.hero-heading {
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--heading-ratio));
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-body { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; max-width: 560px; }
.hero-image { flex: 1; border-radius: var(--border-radius); overflow: hidden; }

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover { background: var(--color-secondary); text-decoration: none; color: white; }
.hero-section .cta-btn { background: white; color: var(--color-primary); }
.hero-section .cta-btn:hover { background: #f3f4f6; }

/* Sections */
.content-section {
  padding: var(--spacing-section) 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.section-alt { background: #f9fafb; }
.cards-section { padding: var(--spacing-section) 0; }
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.section-body { font-size: 1rem; line-height: 1.8; color: #4b5563; max-width: 800px; }
.section-media { margin-bottom: 1.5rem; border-radius: var(--border-radius); overflow: hidden; }
.section-image { margin: 1.5rem 0; border-radius: var(--border-radius); overflow: hidden; }
.section-img { width: 100%; height: 400px; object-fit: cover; }

/* Grid layout */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: var(--spacing-section) var(--spacing-container);
}
.grid-item { background: white; border-radius: var(--border-radius); border: 1px solid #e5e7eb; overflow: hidden; }
.grid-item-media img { width: 100%; height: 220px; object-fit: cover; }
.grid-item-body { padding: 1.5rem; }
.grid-item-heading { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.grid-item-text { color: #4b5563; font-size: 0.95rem; line-height: 1.7; }
.page-hero { background: var(--color-primary); color: white; padding: 3rem 0; }
.page-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }

/* Sidebar layout */
.sidebar-layout { display: flex; gap: 3rem; padding: var(--spacing-section) var(--spacing-container); }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }
.sidebar-widget { background: #f9fafb; border-radius: var(--border-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.widget-links { list-style: none; }
.widget-links li { margin-bottom: 0.5rem; }
.widget-link { color: var(--color-primary); font-size: 0.9rem; }
.widget-cta { width: 100%; text-align: center; }

/* Minimal layout */
.minimal-content { max-width: 800px; padding: var(--spacing-section) var(--spacing-container); }
.minimal-section { margin-bottom: var(--spacing-section); }
.minimal-figure { margin-bottom: 1.5rem; border-radius: var(--border-radius); overflow: hidden; }
.minimal-cta { text-align: center; margin: var(--spacing-section) 0; }

/* Footer */
.site-footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-logo { height: 32px; width: auto; opacity: 0.8; }
.footer-tagline { font-size: 0.875rem; margin-top: 0.5rem; color: #9ca3af; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-link { color: #d1d5db; font-size: 0.875rem; }
.footer-link:hover { color: white; }
.footer-copy { font-size: 0.8rem; color: #6b7280; margin-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; }
  .sidebar-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
}
