.cet-calculator {
    --cet-navy: #0a1128;
    --cet-navy-soft: #172444;
    --cet-gold: #c5a059;
    --cet-cream: #f8f7f2;
    --cet-ink: #2f3543;
    --cet-border: rgba(10, 17, 40, 0.08);
    margin: 2rem 0;
    color: var(--cet-ink);
}

.cet-shell {
    display: grid;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(197, 160, 89, 0.22), transparent 24%),
        linear-gradient(140deg, #07101f 0%, #0a1128 56%, #16294b 100%);
    box-shadow: 0 28px 70px rgba(10, 17, 40, 0.22);
}

.cet-copy,
.cet-results {
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.cet-copy {
    background: rgba(255, 255, 255, 0.96);
}

.cet-results {
    background: rgba(248, 247, 242, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.cet-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background: rgba(197, 160, 89, 0.14);
    color: var(--cet-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cet-title {
    margin: 0 0 0.85rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.02;
    color: var(--cet-navy);
}

.cet-subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.04rem;
    line-height: 1.75;
    color: rgba(10, 17, 40, 0.78);
}

.cet-grid {
    display: grid;
    gap: 1rem;
}

.cet-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.cet-field span,
.cet-duration__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--cet-navy);
}

.cet-field input {
    width: 100%;
    min-height: 3.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--cet-border);
    border-radius: 1rem;
    background: #ffffff;
    color: var(--cet-navy);
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(10, 17, 40, 0.03);
}

.cet-field input:focus {
    outline: none;
    border-color: rgba(197, 160, 89, 0.62);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.14);
}

.cet-input-wrap {
    position: relative;
}

.cet-input-wrap em {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal;
    color: rgba(10, 17, 40, 0.46);
    font-weight: 700;
}

.cet-input-wrap input {
    padding-right: 2.2rem;
}

.cet-duration {
    margin-top: 1.4rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(10, 17, 40, 0.08);
}

.cet-note {
    margin: 1.4rem 0 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(10, 17, 40, 0.6);
}

.cet-result-hero {
    padding: 1.35rem;
    margin-bottom: 1rem;
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(197, 160, 89, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cet-result-hero__label {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 247, 242, 0.72);
}

.cet-result-hero__value {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    line-height: 0.95;
    color: #ffffff;
}

.cet-result-hero__caption {
    margin: 0.85rem 0 0;
    color: rgba(248, 247, 242, 0.82);
    line-height: 1.7;
}

.cet-result-list {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cet-result-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cet-result-card--highlight {
    background: linear-gradient(145deg, rgba(197, 160, 89, 0.22), rgba(255, 255, 255, 0.08));
}

.cet-result-card__label {
    font-size: 0.85rem;
    color: rgba(248, 247, 242, 0.74);
}

.cet-result-card__value {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #ffffff !important;
}

.cet-calculator .cet-result-card__value,
.cet-calculator .cet-result-card__value strong,
.cet-calculator strong.cet-result-card__value {
    color: #ffffff !important;
}

.cet-share-box {
    margin-top: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cet-share-box__title {
    margin: 0 0 0.45rem;
    color: var(--cet-gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cet-share-box__text {
    margin: 0;
    line-height: 1.7;
    color: rgba(248, 247, 242, 0.88);
}

@media (min-width: 900px) {
    .cet-shell {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 1.75rem;
        padding: 1.5rem;
    }

    .cet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cet-grid--duration {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .cet-result-list {
        grid-template-columns: 1fr;
    }
}
