.ttable {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
    padding: 5rem 0;
}

.ttable--default { background: #f2f4f7; }

.ttable--light .ttable__title,
.ttable--light .ttable__body,
.ttable--light .ttable__claim { color: #030303; }

/* ── Left column ─────────────────────────────────── */
.ttable__icon-wrap { margin-bottom: 1.5rem; }

.ttable__icon {
    display: block;
    width: auto;
    height: 48px;
    opacity: .5;
}

.ttable__title {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: #030303;
    letter-spacing: -.02em;
    margin: 0 0 2rem;
}

.ttable__title em {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: .93em;
    letter-spacing: 0;
}

.ttable__body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #030303;
    font-weight: 300;
    margin: 0 0 1.25rem;
}

.ttable__body:last-of-type { margin-bottom: 0; }
.ttable__body p { margin-bottom: 1.25rem; }
.ttable__body p:last-child { margin-bottom: 0; }

.ttable__claim {
    margin-top: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.75;
}

/* ── Card ────────────────────────────────────────── */
.ttable__card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.ttable__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #119199;
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-size: .65rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 0 0 4px 4px;
    white-space: nowrap;
}

.ttable__tier {
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #119199;
    margin-top: .75rem;
    margin-bottom: .4rem;
    font-weight: 400;
}

.ttable__card-name {
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -.02em;
    margin: 0 0 .5rem;
    line-height: 1.2;
}

.ttable__card-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #888;
    font-weight: 300;
    margin: 0 0 1.5rem;
}

/* ── Price ───────────────────────────────────────── */
.ttable__price-amount {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.25rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -.02em;
    display: block;
    line-height: 1;
    margin-bottom: .2rem;
}

.ttable__price-period {
    font-size: .875rem;
    color: #888;
    font-weight: 300;
    display: block;
    margin-bottom: 1.5rem;
}

/* ── Features list ───────────────────────────────── */
.ttable__list-wrap {
    position: relative;
    flex: 1;
    margin-bottom: .75rem;
}

.ttable__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e2e2e2;
    max-height: 180px;
    overflow: hidden;
    transition: max-height .4s ease;
}

.ttable__list.is-open { max-height: 800px; }

.ttable__item {
    font-size: 1rem;
    line-height: 1.3;
    color: #444;
    font-weight: 300;
    padding: .7rem 0;
    border-bottom: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.ttable__item:last-child { border-bottom: none; }

.ttable__item::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: #119199;
    border-radius: 50%;
}

.ttable__item--na { color: #ccc; }
.ttable__item--na::before { background: #e2e2e2; }

.ttable__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
    transition: opacity .3s;
}

.ttable__fade.is-hidden { opacity: 0; }

/* ── Toggle button ───────────────────────────────── */
.ttable__toggle {
    font-family: 'League Spartan', sans-serif;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #119199;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 1.25rem;
    display: block;
    text-align: left;
    font-weight: 500;
}

.ttable__toggle:hover { opacity: .75; }

/* ── CTA ─────────────────────────────────────────── */
.ttable__cta {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'League Spartan', sans-serif;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 14px 16px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    transition: background .2s, color .2s;
    margin-top: auto;
}

.ttable__cta:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 767.98px) {
    .ttable { padding: 3rem 0; }

    .ttable__card { padding: 2rem 1.25rem; }
}
