/* ============================================================
   TeyaHealth — Inner Pages (new brand)
   Loads AFTER home-brand.css; reuses its tokens & components.
   ============================================================ */

/* ---------- Page hero ---------- */
.tbp-hero {
    background: var(--evergreen);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    margin: 0 16px;
    padding: clamp(64px, 9vh, 110px) 0 clamp(56px, 8vh, 90px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tbp-hero::before {
    content: "";
    position: absolute;
    inset: -12%;
    background:
        radial-gradient(700px 380px at 85% -10%, rgba(201, 242, 111, .18), transparent 60%),
        radial-gradient(600px 360px at 5% 110%, rgba(191, 232, 207, .12), transparent 60%),
        radial-gradient(520px 360px at 50% 130%, rgba(201, 242, 111, .08), transparent 60%);
    pointer-events: none;
    animation: tb-aurora 20s ease-in-out infinite alternate;
    will-change: transform;
}

.tbp-hero .wrap { position: relative; }
.tbp-hero .eyebrow { color: var(--lime); justify-content: center; }
.tbp-hero .eyebrow .dot { background: var(--lime); }

.tbp-hero h1 {
    color: var(--cream);
    font-size: clamp(36px, 5.4vw, 64px);
    max-width: 18ch;
    margin: 20px auto 18px;
}

.tbp-hero h1 em { font-style: normal; color: var(--lime); }
.tbp-hero .lede { color: rgba(250, 246, 239, .78); max-width: 640px; margin: 0 auto; }
.tbp-hero .ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Generic section rhythm ---------- */
.tbp-section { padding: clamp(70px, 10vh, 120px) 0; }
.tbp-section.tight { padding: clamp(50px, 7vh, 80px) 0; }

.tbp-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 60px); }
.tbp-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.tbp-head.center .eyebrow { justify-content: center; }
.tbp-head h2.disp { font-size: clamp(30px, 4vw, 50px); margin: 16px 0 16px; }
.tbp-head h2.disp em { font-style: normal; color: var(--evergreen-2); }

/* ---------- Two-column feature rows ---------- */
.tbp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding: clamp(34px, 5vh, 50px) 0;
}

.tbp-split .media img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .55s ease; }
.tbp-split .media img:hover { transform: translateY(-7px) scale(1.012); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .tbp-split .media img { transition: none; } .tbp-split .media img:hover { transform: none; } }

.tbp-split h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: clamp(24px, 2.8vw, 34px); color: var(--ink); margin-bottom: 14px; }
.tbp-split p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 18px; }

.tbp-check { list-style: none; padding: 0; margin: 0; }
.tbp-check li { position: relative; padding: 8px 0 8px 32px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.tbp-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--evergreen);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Card grids ---------- */
.tbp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tbp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tbp-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tbp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: rgba(156, 207, 61, .55); }

.tbp-card .ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--mint);
    color: var(--evergreen);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.tbp-card h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.tbp-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------- Dark band (reusable) ---------- */
.tbp-dark {
    background: var(--evergreen);
    color: var(--cream);
    border-radius: var(--r-xl);
    margin: 0 16px;
    padding: clamp(70px, 10vh, 120px) 0;
}

.tbp-dark .tbp-head h2.disp { color: var(--cream); }
.tbp-dark .tbp-head h2.disp em { color: var(--lime); }
.tbp-dark .eyebrow { color: var(--lime); }
.tbp-dark .eyebrow .dot { background: var(--lime); }
.tbp-dark .lede { color: rgba(250, 246, 239, .75); }

.tbp-dark .tbp-card { background: rgba(250, 246, 239, .06); border-color: var(--line-light); }
.tbp-dark .tbp-card h3 { color: var(--cream); }
.tbp-dark .tbp-card p { color: rgba(250, 246, 239, .72); }
.tbp-dark .tbp-card .ic { background: rgba(201, 242, 111, .15); color: var(--lime); }

/* ---------- HMS "in development" callout ---------- */
.tbp-hms {
    position: relative;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--cream) 0%, var(--paper) 62%);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tbp-hms::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(620px 300px at 50% -25%, rgba(201, 242, 111, .22), transparent 65%);
    pointer-events: none;
}

.tbp-hms > * { position: relative; }
.tbp-hms .eyebrow { justify-content: center; margin-top: 16px; }

.tbp-hms h2 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.02em;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--ink);
    margin: 14px 0;
}

.tbp-hms p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 26px;
}

.hms-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lime);
    color: var(--evergreen);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 16px;
}

.hms-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--evergreen);
    animation: hms-pulse 1.6s ease-in-out infinite;
}

@keyframes hms-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.65); }
}

.hms-feats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hms-feats span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.hms-feats span i { color: var(--lime-dark); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .hms-badge .pulse { animation: none; } }

/* ---------- FAQ ---------- */
.tbp-faq { max-width: 820px; margin: 0 auto; }

.tbp-faq details {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    margin-bottom: 12px;
    overflow: hidden;
}

.tbp-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
}

.tbp-faq summary::-webkit-details-marker { display: none; }

.tbp-faq summary::after {
    content: "\2b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--evergreen);
    font-size: 13px;
    transition: transform .25s ease;
}

.tbp-faq details[open] summary::after { transform: rotate(45deg); }
.tbp-faq details p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.tbp-form .field { margin-bottom: 14px; }

.tbp-form input,
.tbp-form textarea,
.tbp-form select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    padding: 15px 18px;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.tbp-form input::placeholder, .tbp-form textarea::placeholder { color: var(--ink-faint); }

.tbp-form input:focus, .tbp-form textarea:focus {
    border-color: var(--evergreen);
    box-shadow: 0 0 0 4px rgba(201, 242, 111, .3);
}

.tbp-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* offset for sticky nav when scrolling to the form via #contactForm.
   We scroll to the section (its top padding gives breathing room above the
   "Send us a message" heading); the form keeps a larger offset for the
   no-JS native-anchor fallback so the heading stays visible. */
section[aria-label="Contact form and details"] { scroll-margin-top: 84px; }
#contactForm { scroll-margin-top: 200px; }

/* contact info cards */
.tbp-contact-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    margin-bottom: 14px;
}

.tbp-contact-card .ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: var(--evergreen); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.tbp-contact-card h3 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.tbp-contact-card p, .tbp-contact-card a { font-size: 14.5px; color: var(--ink-soft); margin: 0; text-decoration: none; line-height: 1.6; }
.tbp-contact-card a:hover { color: var(--evergreen); }

/* ---------- Pricing ---------- */
.tbp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.tbp-plan {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tbp-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }

.tbp-plan.popular { background: var(--evergreen); border-color: var(--evergreen); color: var(--cream); }

.tbp-plan .badge-pop {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime);
    color: var(--evergreen);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 16px;
    white-space: nowrap;
}

.tbp-plan .tier { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--evergreen-2); margin-bottom: 10px; }
.tbp-plan.popular .tier { color: var(--lime); }

.tbp-plan .price { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 46px; color: var(--ink); line-height: 1; }
.tbp-plan.popular .price { color: var(--cream); }
.tbp-plan .price .per { font-size: 15px; font-family: var(--sans); font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.tbp-plan.popular .price .per { color: rgba(250, 246, 239, .6); }

.tbp-plan .desc { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 20px; }
.tbp-plan.popular .desc { color: rgba(250, 246, 239, .75); }

.tbp-plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.tbp-plan ul li { position: relative; padding: 7px 0 7px 26px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.tbp-plan.popular ul li { color: rgba(250, 246, 239, .85); }

.tbp-plan ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--lime-dark);
    font-size: 11px;
}

.tbp-plan.popular ul li::before { color: var(--lime); }

.tbp-plan .group { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 14px 0 4px; }
.tbp-plan.popular .group { color: rgba(250, 246, 239, .55); }

.tbp-plan .cta-wrap { margin-top: auto; }
.tbp-plan .cta-wrap a { width: 100%; justify-content: center; }

/* comparison tables */
.tbp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }

.tbp-table { width: 100%; border-collapse: collapse; min-width: 640px; }

.tbp-table th, .tbp-table td { padding: 15px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.tbp-table tr:last-child td { border-bottom: 0; }

.tbp-table th { background: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--evergreen-2); }
.tbp-table th:not(:first-child), .tbp-table td:not(:first-child) { text-align: center; }
.tbp-table td { color: var(--ink-soft); }
.tbp-table td:first-child { font-weight: 600; color: var(--ink); }

.tbp-table .yes { color: var(--evergreen); font-weight: 800; }
.tbp-table .no { color: var(--ink-faint); }
.tbp-table td small { display: block; font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }

.tbp-table-title { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 22px; color: var(--ink); margin: 40px 0 16px; }

/* ---------- Blog ---------- */
.tbp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tbp-post {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tbp-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.tbp-post img { width: 100%; height: 200px; object-fit: cover; }
.tbp-post .pad { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tbp-post h3 { font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.tbp-post p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 18px; }
.tbp-post .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--evergreen); }
.tbp-post:hover .more { gap: 12px; }
.tbp-post .more { transition: gap .25s ease; }

/* blog article body */
.tbp-article { max-width: 780px; margin: 0 auto; }
.tbp-article img { border-radius: var(--r-lg); margin: 26px 0; }
.tbp-article h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 28px; color: var(--ink); margin: 36px 0 14px; }
.tbp-article h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 28px 0 12px; }
.tbp-article p, .tbp-article li { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
.tbp-article ul, .tbp-article ol { padding-left: 22px; margin-bottom: 18px; }

/* ---------- Prose (legal pages) ---------- */
.tbp-prose { max-width: 860px; margin: 0 auto; }
.tbp-prose h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin: 36px 0 14px; }
.tbp-prose h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; }
.tbp-prose p, .tbp-prose li { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 14px; }
.tbp-prose ul, .tbp-prose ol { padding-left: 22px; margin-bottom: 16px; }
.tbp-prose a { color: var(--evergreen); }

/* ---------- Mission / values ---------- */
.tbp-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.tbp-mv .card-mv {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.tbp-mv .card-mv img { width: 100%; height: 260px; object-fit: cover; }
.tbp-mv .card-mv .pad { padding: 26px; }
.tbp-mv .card-mv h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.tbp-mv .card-mv p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* ---------- Auth (login) ---------- */
.tb-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
}

.tb-auth .brandside {
    position: relative;
    overflow: hidden;
    background: var(--evergreen);
    color: var(--cream);
    padding: clamp(36px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.tb-auth .brandside::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(640px 420px at 85% -10%, rgba(201, 242, 111, .22), transparent 60%),
        radial-gradient(560px 420px at 0% 110%, rgba(191, 232, 207, .14), transparent 60%);
    animation: tb-aurora 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.tb-auth .brandside > * { position: relative; }
.tb-auth .brandside .tb-logo .word { color: var(--cream); }
.tb-auth .brandside .tb-logo .health { color: rgba(250, 246, 239, .6); }

.tb-auth .pitch h2 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.1;
    font-size: clamp(28px, 3.2vw, 42px);
    color: var(--cream);
    margin-bottom: 18px;
}

.tb-auth .pitch p { font-size: 16px; line-height: 1.7; color: rgba(250, 246, 239, .8); max-width: 42ch; }

.tb-auth .pitch .proof { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.tb-auth .pitch .proof span { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; color: rgba(250, 246, 239, .88); }
.tb-auth .pitch .proof i { color: var(--lime); font-size: 13px; width: 18px; }

.tb-auth .formside {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 6vw, 72px) 24px;
    background: var(--cream);
}

.tb-auth .card { width: 100%; max-width: 410px; }
.tb-auth .card .kicker { text-align: center; }
.tb-auth .card h1 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.02em;
    font-size: clamp(28px, 4vw, 38px);
    color: var(--ink);
    text-align: center;
    margin: 14px 0 8px;
}
.tb-auth .card .sub { text-align: center; color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }

.tb-auth .card .btn-green,
.tb-auth .card .btn-white { width: 100%; justify-content: center; border: 0; cursor: pointer; }

.tb-auth .card .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    color: var(--ink) !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}
.tb-auth .card .btn-white:hover { border-color: var(--evergreen); background: rgba(14, 59, 46, .04); }
.tb-auth .card .btn-white img { width: 18px; height: 18px; }

.tb-auth .card .sep {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.tb-auth .card .sep::before, .tb-auth .card .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tb-auth .card .fineprint { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 24px; line-height: 1.6; }
.tb-auth .card .fineprint a { color: var(--evergreen); font-weight: 700; text-decoration: none; }
.tb-auth .card .fineprint a:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .tb-auth { grid-template-columns: 1fr; }
    .tb-auth .brandside { display: none; }
    .tb-auth .formside { min-height: 100vh; }
}

@media (prefers-reduced-motion: reduce) {
    .tb-auth .brandside::before,
    .tbp-hero::before { animation: none; }
}

/* ---------- Legacy-content compatibility (blog-detail, legal pages) ---------- */
.tb .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tb .img-fluid { max-width: 100%; height: auto; }
.tb .br-12 { border-radius: 12px; }
.tb .text-center { text-align: center; }
.tb .text-start { text-align: left; }
.tb .mx-auto { margin-left: auto; margin-right: auto; }
.tb .my-4 { margin-top: 24px; margin-bottom: 24px; }
.tb .me-2 { margin-right: 8px; }
.tb .ms-2 { margin-left: 8px; }
.tb .w-100 { width: 100%; }
.tb .w-md-80 { max-width: 820px; }
.tb .mb-0 { margin-bottom: 0; }
.tb .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.tb .blog-detail-wrapper { padding: clamp(56px, 8vh, 90px) 0; }
.tb .blog-article { max-width: 920px; margin: 0 auto 80px; }
.tb .blog-article:last-of-type { margin-bottom: 20px; }
.tb .blog-article .main-heading {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.02em;
    font-size: clamp(26px, 3.4vw, 40px);
    color: var(--ink);
    margin-bottom: 26px;
    line-height: 1.15;
}
.tb .blog-article img { border-radius: var(--r-lg); }
.tb .blog-article time { font-size: 13.5px; color: var(--ink-faint); font-weight: 600; }
.tb .blog-article .blog-desc p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
.tb .blog-article .blog-desc strong { color: var(--ink); }
.tb .blog-article + .blog-article { border-top: 1px solid var(--line); padding-top: 70px; }

/* legal prose pages */
.tb .legal-wrapper { padding: clamp(56px, 8vh, 90px) 0; }
.tb .legal-wrapper h2, .tb .legal-wrapper h3, .tb .legal-wrapper h4 { color: var(--ink); margin: 26px 0 12px; }
.tb .legal-wrapper h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 26px; }
.tb .legal-wrapper h3 { font-size: 18px; font-weight: 800; }
.tb .legal-wrapper p, .tb .legal-wrapper li { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 14px; }
.tb .legal-wrapper ul, .tb .legal-wrapper ol { padding-left: 22px; margin-bottom: 16px; }
.tb .legal-wrapper a { color: var(--evergreen); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .tbp-split { grid-template-columns: 1fr; }
    .tbp-split .media { order: -1; }
    .tbp-grid-3 { grid-template-columns: 1fr 1fr; }
    .tbp-grid-4 { grid-template-columns: 1fr 1fr; }
    .tbp-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .tbp-plan.popular { order: -1; }
    .tbp-blog-grid { grid-template-columns: 1fr 1fr; }
    .tbp-mv { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .tbp-hero, .tbp-dark { margin: 0 10px; }
    .tbp-grid-3, .tbp-grid-4, .tbp-blog-grid { grid-template-columns: 1fr; }
    .tbp-form .two { grid-template-columns: 1fr; }
    .tbp-card:hover, .tbp-post:hover, .tbp-plan:hover { transform: none; }
}

/* Blog article publication date — vertically align calendar icon with the date */
.tb p[aria-label="Article publication date"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tb p[aria-label="Article publication date"] img {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}
