@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  /* Palette: Deep Graphite, Warm Beige (Old Paper), Muted Indigo */
  --c-bg: #F9F8F6;
  --c-bg-alt: #F1EFE9;
  --c-surface: #FFFFFF;
  --c-surface-alt: #FCFAF8;
  
  --c-text: #2A2C33;
  --c-text-muted: #5C5F6B;
  --c-text-faint: #8A8E9C;
  
  /* Primary Hue ~324° (Muted Indigo/Plum) */
  --c-primary: #523E6B;
  --c-primary-rgb: 82, 62, 107;
  --c-primary-light: rgba(82, 62, 107, 0.06);
  --c-primary-hover: #3D2D50;
  
  --c-accent: #D8CFC0; /* Warm beige tone for accents/borders */
  --c-border: #E5E2DC;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing Scale (Fluid) */
  --s-xs: clamp(0.5rem, 0.8vw, 0.75rem);
  --s-sm: clamp(0.75rem, 1.2vw, 1rem);
  --s-md: clamp(1rem, 2vw, 1.5rem);
  --s-lg: clamp(1.5rem, 4vw, 3rem);
  --s-xl: clamp(2rem, 6vw, 5rem);
  --s-xxl: clamp(3rem, 8vw, 7rem);

  /* Layout */
  --w-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--c-text);
  margin-top: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--s-md); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); margin-bottom: var(--s-sm); }

p { margin-bottom: var(--s-md); color: var(--c-text-muted); max-width: 65ch; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; font-weight: 300; color: var(--c-text); }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--c-primary); }

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.section {
  padding: var(--s-xl) 0;
  display: block;
}

.section--alt { background-color: var(--c-bg-alt); }
.section--dark { background-color: #23252C; color: #F9F8F6; }
.section--dark h2, .section--dark p { color: #F9F8F6; }
.section--dark p { opacity: 0.85; }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(249, 248, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-sm) 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list {
  display: flex;
  gap: var(--s-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--c-primary);
  transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--c-primary); }
.nav-link:hover::after { width: 100%; }

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--c-primary);
  color: #FFF;
}
.btn--primary:hover {
  background-color: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 62, 107, 0.25);
}

.btn--outline {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* Hero Component */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
  min-height: 60vh;
}

.hero-content { padding-top: var(--s-lg); }
.hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: var(--s-sm);
}
.hero-actions { margin-top: var(--s-lg); display: flex; gap: var(--s-sm); }

.hero-visual {
  position: relative;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--s-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Feature Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-lg);
  margin-top: var(--s-lg);
}

.card {
  background: var(--c-surface);
  padding: var(--s-lg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: var(--c-accent);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-md);
  font-weight: bold;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
  text-align: center;
  padding: var(--s-xl) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stat-item { padding: var(--s-md); }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
}

/* CTA Band */
.cta-band {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-sm); }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0 auto var(--s-md); }
.cta-band .btn--white {
  background: #fff; color: var(--c-primary);
}
.cta-band .btn--white:hover {
  background: var(--c-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* FAQ */
.faq-list { max-width: 800px; margin: var(--s-lg) auto 0; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-md) 0;
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq-answer {
  margin-top: var(--s-sm);
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: #1D1E23;
  color: #8A8E9C;
  padding: var(--s-xl) 0 var(--s-md);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-xl);
}
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--s-md); }
.footer-link { display: block; margin-bottom: 0.75rem; transition: color 0.2s; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s-md);
  display: flex;
  justify-content: space-between;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid, .footer-grid, .stats-row { grid-template-columns: 1fr; }
  .hero-grid { gap: var(--s-md); text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-list { display: none; } /* Simplified for demo */
  .menu-toggle { display: block; }
  .stats-row { gap: 0; }
  .stat-item { border-bottom: 1px solid var(--c-border); }
  .stat-item:last-child { border: none; }
}
html{-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
img,svg,video{max-width:100%;height:auto}
body{margin:0}
