:root {
    --primary: #c8a2c8;
    --primary-dark: #b08bb0;
    --secondary: #4a4a4a;
    --background: #fdfbfb;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 8px;
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: normal;
}

/* Header */
.site-header {
    background-color: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.site-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.site-header .logo svg {
    color: var(--primary-dark);
}

.site-header h1 {
    margin-bottom: 0;
    font-size: 2rem;
    color: var(--primary-dark);
}

.tagline {
    color: var(--text-light);
    font-style: italic;
}

/* Hero Calculator */
.hero-calculator {
    padding: 4rem 0;
    text-align: center;
}

.hero-calculator p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.calculator-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.02);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.input-group input, .input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    background-color: #fafbfc;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 162, 200, 0.2);
}

.btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
    font-family: var(--font-heading);
}

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

/* Results */
.results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.results.hidden {
    display: none;
}

.timeline {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.timeline-item {
    background: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.timeline-item .date {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.timeline-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f7f9fa;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.content-section > .container > h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.content-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tip-item h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
}

/* Ads */
.ad-container {
    margin: 2rem auto;
    text-align: center;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero-calculator {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 2rem 0;
    }
}



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