:root {
    --site-max: 72rem;
    --brand: #b45309;
    --brand-dark: #92400e;
    --brand-glow: rgba(180, 83, 9, 0.18);
}

.site-container {
    width: 100%;
    max-width: var(--site-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.py-section { padding-block: 3rem; }

.hero {
    background: linear-gradient(135deg, var(--brand) 0%, #1c1917 55%, #0c0a09 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(251, 191, 36, 0.15), transparent);
    pointer-events: none;
}

.card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: #d6d3d1;
    box-shadow: 0 0 0 1px var(--brand-glow), 0 16px 40px rgba(0, 0, 0, 0.06);
}

.calc-panel {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.calc-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #57534e;
    margin-bottom: 0.375rem;
}

.calc-field input,
.calc-field select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fafaf9;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
    background: #fff;
}

.result-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 1rem;
    padding: 1.25rem;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-dark);
    font-variant-numeric: tabular-nums;
}

.result-ok { color: #15803d; }
.result-warn { color: #b45309; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.btn-primary:hover { opacity: 0.92; }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid #d6d3d1;
    cursor: pointer;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.75rem;
}

.amount-chip {
    display: block;
    padding: 0.875rem 1rem;
    text-align: center;
    font-weight: 700;
    border-radius: 0.75rem;
    border: 1px solid #e7e5e4;
    background: #fff;
    transition: all 0.15s;
}

.amount-chip:hover {
    border-color: var(--brand);
    background: #fffbeb;
    color: var(--brand-dark);
}

.prose-guide h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-guide p {
    color: #57534e;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ad-slot-wrap { margin-block: 1.5rem; }
.ad-slot {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafaf9;
    border: 1px dashed #d6d3d1;
    border-radius: 0.75rem;
}

.disclaimer-box {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.cookie-banner.hidden { display: none; }

@media (max-width: 640px) {
    .result-value { font-size: 1.5rem; }
}
