/* GarageHibernate - Seasonal Vehicle Storage Prep Guide */
:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-500: #74C69D;
  --green-400: #95D5B2;
  --green-300: #B7E4C7;
  --green-200: #D8F3DC;
  --green-100: #F0FFF4;
  --amber-500: #F59E0B;
  --amber-100: #FEF3C7;
  --red-500: #DC2626;
  --red-100: #FEE2E2;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-800); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  background: var(--green-900);
  color: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}
.logo:hover { text-decoration: none; }
.logo-text .accent { color: var(--green-400); }

.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--green-300);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.main-nav a:hover { color: var(--white); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--green-300);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
  font-family: var(--font-sans);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green-500); color: var(--green-900); }
.btn-primary:hover { background: var(--green-400); }
.btn-secondary { background: var(--green-800); color: var(--white); }
.btn-secondary:hover { background: var(--green-700); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }

/* Configurator Layout */
#configurator { padding: 60px 0; }

.config-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.config-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}

.config-panel h2 { font-size: 1.3rem; margin-bottom: 4px; }
.config-intro { color: var(--gray-500); font-size: .9rem; margin-bottom: 20px; }

.presets { margin-bottom: 20px; }
.presets-label { font-size: .8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 8px; }
.preset-btn {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 6px 6px 0;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  background: var(--gray-100);
  font-size: .8rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all .2s;
}
.preset-btn:hover { background: var(--green-200); border-color: var(--green-600); }

.config-fieldset { border: none; margin-bottom: 18px; }
.config-fieldset legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--gray-700); }

.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-card {
  flex: 1 1 calc(50% - 4px);
  min-width: 120px;
  cursor: pointer;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-label {
  display: block;
  padding: 10px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s;
  background: var(--white);
}
.radio-card input:checked + .radio-label {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-900);
}
.radio-card input:focus-visible + .radio-label { outline: 2px solid var(--green-600); outline-offset: 2px; }

.config-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.save-status { font-size: .8rem; color: var(--gray-500); margin-top: 8px; min-height: 1.2em; }

/* Checklist Panel */
.checklist-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.checklist-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.checklist-header h2 { font-size: 1.3rem; }
.checklist-meta { display: flex; gap: 16px; font-size: .85rem; color: var(--gray-500); }

.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress-fill {
  height: 100%;
  background: var(--green-600);
  border-radius: 4px;
  transition: width .3s ease;
  width: 0%;
}

.checklist-actions-bar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }

/* Checklist Output */
.checklist-group { margin-bottom: 24px; }
.checklist-group-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--green-800);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green-300);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.checklist-item:last-child { border-bottom: none; }

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-700);
  cursor: pointer;
}

.checklist-item label {
  font-size: .95rem;
  line-height: 1.45;
  cursor: pointer;
  flex: 1;
}

.checklist-item.checked label {
  text-decoration: line-through;
  color: var(--gray-400);
}

.item-note {
  display: block;
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.item-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.tag-critical { background: var(--red-100); color: var(--red-500); }
.tag-recommended { background: var(--amber-100); color: var(--amber-500); }

.empty-state {
  text-align: center;
  color: var(--gray-400);
  padding: 40px 20px;
  font-size: 1rem;
}

/* Section styling */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--white); }

.section-intro {
  color: var(--gray-500);
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 1rem;
}

h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  border: 1px solid var(--gray-200);
}

.card-num {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--green-800);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
}

.card h3 { font-size: 1rem; margin: 8px 0 6px; }
.card p { font-size: .9rem; color: var(--gray-600); }

/* Scenario */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.scenario-phase {
  background: var(--green-100);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--green-700);
}

.scenario-phase h3 { font-size: 1rem; margin-bottom: 8px; color: var(--green-900); }
.scenario-phase p { font-size: .9rem; color: var(--gray-700); }

/* FAQs */
.faq-list details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-list summary {
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  background: var(--gray-100);
  font-size: .95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.2rem; color: var(--green-700); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 14px 20px; font-size: .9rem; color: var(--gray-600); }

/* Assumptions */
.assumptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.assumptions-grid div {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
}
.assumptions-grid h3 { font-size: .95rem; margin-bottom: 6px; }
.assumptions-grid p { font-size: .85rem; color: var(--gray-600); }

/* Footer */
.site-footer {
  background: var(--green-900);
  color: var(--green-300);
  padding: 40px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; font-weight: 700; }
.footer-brand p { font-size: .85rem; margin-top: 4px; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--green-400); font-size: .85rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  font-size: .8rem;
}
.footer-bottom a { color: var(--green-400); }

/* Print */
@media print {
  .site-header, .config-panel, .checklist-actions-bar, .site-footer, .hero { display: none !important; }
  body { background: white; color: black; }
  .checklist-panel { box-shadow: none; padding: 0; }
  .checklist-item input[type="checkbox"] { display: none; }
  .checklist-item label::before { content: '☐ '; }
  .checklist-item.checked label::before { content: '☑ '; }
  .checklist-group { page-break-inside: avoid; }
}

/* Responsive */
@media (max-width: 900px) {
  .config-layout { grid-template-columns: 1fr; }
  .config-panel { position: static; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.7rem; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: .8rem; }
  .radio-card { flex: 1 1 100%; }
  .checklist-header { flex-direction: column; align-items: flex-start; }
  section { padding: 40px 0; }
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}



/* 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;
}
