/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #fdfbf7;
}
img, svg { max-width: 100%; display: block; }

/* Container */
.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0d7c6;
  padding: 1rem 0;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.main-nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: #e67e22; }

/* Hero / Calculator */
.hero {
  background: linear-gradient(135deg, #f9f3e6 0%, #fdfbf7 100%);
  padding: 3rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}
.lead {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}
.calculator-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #2c3e50;
}
.form-group input[type="date"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
.btn-primary {
  background: #e67e22;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #d35400; }
.schedule-output {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.95rem;
}
.schedule-output p { margin-bottom: 0.5rem; }
.schedule-output ul { padding-left: 1.5rem; }
.schedule-output li { margin-bottom: 0.3rem; }

/* Info Sections */
.info-section, .benefits, .sample-schedule {
  padding: 3rem 0;
}
.info-section h2, .benefits h2, .sample-schedule h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.illustration {
  text-align: center;
}
.caption {
  margin-top: 0.5rem;
  font-style: italic;
  color: #666;
}
.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.benefits-list li {
  background: #fff;
  border: 1px solid #e0d7c6;
  border-radius: 8px;
  padding: 1.2rem;
}
.benefits-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #e67e22;
}
.sample-schedule .schedule-list {
  list-style: none;
  margin: 1rem 0;
}
.sample-schedule .schedule-list li {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #ddd;
}
.session-date {
  font-weight: 700;
  color: #e67e22;
  margin-right: 0.5rem;
}
.note {
  font-size: 0.9rem;
  color: #666;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem 0;
  text-align: center;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .site-header .container { flex-direction: column; gap: 0.5rem; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .site-footer .container { flex-direction: column; gap: 0.5rem; }
}

/* About / Legal Pages */
.legal-content {
  padding: 2rem 0;
  max-width: 700px;
  margin: 0 auto;
}
.legal-content h1 { font-size: 2rem; margin-bottom: 1rem; }
.legal-content h2 { font-size: 1.5rem; margin: 1.5rem 0 0.5rem; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; }



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
