.eb-td-page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 38px 20px 56px;
}

.eb-td-company-hero {
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 52%, #083344 100%);
    border-radius: 14px;
    color: #fff;
    display: flex;
    gap: 26px;
    margin-bottom: 28px;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.eb-td-company-hero::after {
    background: rgba(255, 255, 255, 0.08);
    content: "";
    height: 220px;
    position: absolute;
    right: -80px;
    top: -80px;
    transform: rotate(20deg);
    width: 220px;
}

.eb-td-company-hero img {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
    height: 78px;
    max-width: 170px;
    object-fit: contain;
    padding: 12px;
    position: relative;
    z-index: 1;
}

.eb-td-company-hero h1 {
    color: inherit;
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.eb-td-company-hero p {
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    max-width: 760px;
}

.eb-td-comparator {
    color: #111827;
}

.eb-td-toolbar {
    align-items: end;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
}

.eb-td-toolbar label {
    display: grid;
    flex: 1 1 180px;
    gap: 6px;
}

.eb-td-toolbar span {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eb-td-toolbar select,
.eb-td-lead input,
.eb-td-lead textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.eb-td-rate-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.eb-td-rate-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.eb-td-rate-card[hidden] {
    display: none;
}

.eb-td-badge {
    align-self: flex-start;
    background: #0f766e;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
}

.eb-td-rate-head {
    align-items: center;
    display: flex;
    gap: 14px;
    min-height: 64px;
}

.eb-td-rate-head img {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 52px;
    max-width: 106px;
    object-fit: contain;
    padding: 8px;
}

.eb-td-rate-head strong {
    color: #64748b;
    display: block;
    font-size: 13px;
}

.eb-td-rate-head h3 {
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
    margin: 2px 0 0;
}

.eb-td-price {
    align-items: baseline;
    color: #0f172a;
    display: flex;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
}

.eb-td-specs {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.eb-td-specs div {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 10px;
}

.eb-td-specs dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.eb-td-specs dd {
    color: #0f172a;
    font-weight: 700;
    margin: 2px 0 0;
}

.eb-td-features {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eb-td-features li {
    color: #334155;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.eb-td-features li::before {
    color: #0f766e;
    content: "✓";
    font-weight: 900;
    left: 0;
    position: absolute;
}

.eb-td-lead {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.eb-td-lead summary {
    background: #111827;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    padding: 11px 14px;
    text-align: center;
}

.eb-td-lead form {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.eb-td-lead button {
    background: #0f766e;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 11px 14px;
}

.eb-td-disclaimer,
.eb-td-updated,
.eb-td-error {
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.eb-td-error {
    color: #b42318;
}

.eb-td-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px;
}

@media (max-width: 640px) {
    .eb-td-company-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .eb-td-company-hero h1 {
        font-size: 28px;
    }

    .eb-td-specs {
        grid-template-columns: 1fr;
    }
}
