:root {
    --ch-primary: #4b6bfb;
    --ch-secondary: #4bccfb;
    --ch-primary-soft: rgba(75, 107, 251, 0.06);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 0% 0%, rgba(75, 107, 251, 0.12), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(32, 201, 151, 0.12), transparent 55%),
        #f5f7fb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.site-wrapper {
    min-height: 100vh;
}

header.site-header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ch-logo-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #111827);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.ch-logo-dot span {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ch-brand-text {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.05rem;
}

.ch-tagline {
    font-size: 0.8rem;
    color: #6b7280;
}

main.ch-main {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    main.ch-main {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

.calculator-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    background:
        radial-gradient(circle at 0 0, var(--ch-primary-soft), transparent 60%),
        #ffffff;
}

.calculator-card-header {
    border-bottom: none;
    padding-bottom: 0;
}

.calculator-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.calculator-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ch-primary);
}

.calculator-pill-dot-secondary {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ch-secondary);
}

.calculator-title {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0f172a;
}

@media (min-width: 768px) {
    .calculator-title {
        font-size: 1.55rem;
    }
}

.calculator-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.4rem;
}

.calculator-result {
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
}

.calculator-result-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: #15803d;
    margin-bottom: 0.18rem;
}

.calculator-result-value {
    font-weight: 600;
    color: #064e3b;
}

.calculator-form {
    margin-top: 1.25rem;
}

.calculator-form form > div {
    margin-bottom: 0.65rem;
}

.calculator-submit {
    margin-top: 0.3rem;
}

.calculator-submit button,
.calculator-submit input[type="submit"],
.calculator-submit .btn {
    border-radius: 999px;
    font-weight: 600;
    padding-inline: 1.6rem;
}

footer.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    color: #6b7280;
}
