:root {
    --bg-color: #f7f9f8;
    --text-color: #2c3e38;
    --primary-color: #2b7a5a;
    --primary-hover: #1f5e44;
    --secondary-color: #e2ede8;
    --accent-color: #d18f4b;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 8px;
    --max-width: 800px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

.site-header {
    background-color: #fff;
    border-bottom: 1px solid var(--secondary-color);
    padding: 1rem 0;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header nav a {
    margin-left: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero .lead {
    font-size: 1.1rem;
    color: #556b62;
    max-width: 600px;
    margin: 0 auto;
}

.tool-section {
    padding: 2rem 0;
}

.quiz-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.slider-group {
    margin-bottom: 2rem;
}

.slider-group label strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.slider-group label .desc {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    margin-top: -8px;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--secondary-color);
    border-radius: 3px;
}

.val-display {
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 2rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.result-area {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--secondary-color);
    text-align: center;
}

.result-area.hidden {
    display: none;
}

.result-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.high-capacity { background: #d4edda; color: #155724; }
.med-capacity { background: #fff3cd; color: #856404; }
.low-capacity { background: #f8dbdf; color: #721c24; }

.disclaimer {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1.5rem;
}

.guide-section {
    padding: 3rem 0;
}

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

.guide-section article p {
    margin-bottom: 1.5rem;
}

.guide-section article h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.guide-section article ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.guide-section article li {
    margin-bottom: 0.75rem;
}

.site-footer {
    background-color: #fff;
    border-top: 1px solid var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.site-footer p {
    color: #666;
    margin-bottom: 1rem;
}

.site-footer nav a {
    margin: 0 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.ad-container {
    margin: 2rem auto;
    text-align: center;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .slider-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .slider-wrapper span {
        text-align: center;
    }
    .quiz-container {
        padding: 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;
}
