/* TidyBox Landing — dark navy hero + light content sections + amber CTAs */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html { background: var(--tb-bg); }

body.landing-page {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--tb-text);
    background: transparent;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.max-w-8xl { max-width: 88rem; }

/* ───────── Interactive cardboard-box grid ─────────
   Sits fixed behind all content. Dark hero/footer/usecase cards stay
   opaque so the grid is only visible behind the light content
   sections, where it scatters on mouse/scroll and re-orders itself. */

#interactive-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 15px;
    overflow: hidden;
    pointer-events: none;
}

.bg-box {
    width: 100%;
    height: 100%;
    background: var(--tb-box-mid);
    opacity: 0.18;
    border-radius: 8px;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
    #interactive-bg { display: none; }
}

/* ───────── Top nav (over dark hero) ───────── */

.tb-topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(6, 32, 40, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease;
}

.tb-topnav__inner {
    max-width: 88rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 1.5rem;
}

.tb-topnav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.tb-topnav__brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.tb-topnav__brand-name { color: #fff; }

.tb-topnav__links {
    display: none;
    gap: 2.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 900px) {
    .tb-topnav__links { display: flex; }
}

.tb-topnav__links a {
    transition: color 0.2s ease;
}

.tb-topnav__links a:hover {
    color: #fff;
}

.tb-topnav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tb-topnav__login {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.tb-topnav__login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* ───────── Buttons ───────── */

.btn-primary,
.tb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--tb-accent);
    color: #1A1208;
    font-weight: 700;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(242, 164, 85, 0.25);
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.tb-btn-primary:hover,
.tb-btn-primary:focus-visible {
    background: var(--tb-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(242, 164, 85, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--tb-text);
    border: 1.5px solid var(--tb-border);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--tb-bg-soft);
    border-color: #C9D0D4;
    color: var(--tb-text);
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
    outline: 2px solid var(--tb-accent);
    outline-offset: 3px;
}

/* ───────── Hero (dark navy) ───────── */

.tb-hero {
    position: relative;
    z-index: 1;
    padding: 9rem 1.25rem 5rem;
    background:
        radial-gradient(1200px 700px at 85% 25%, rgba(13, 60, 76, 0.55) 0%, rgba(13, 60, 76, 0) 70%),
        linear-gradient(180deg, #062028 0%, #04181F 100%);
    color: #fff;
    overflow: hidden;
}

.tb-hero__inner {
    max-width: 88rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tb-hero {
        padding: 10rem 2rem 6rem;
    }
    .tb-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

.tb-hero__title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    color: #FFFFFF;
}

.tb-hero__title-accent {
    color: var(--tb-accent);
}

.tb-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0 0 2rem;
}

.tb-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.tb-hero__cta-row .btn-primary,
.tb-hero__cta-row .btn-secondary {
    padding: 0.95rem 1.75rem;
    border-radius: 14px;
    font-size: 0.98rem;
}

.tb-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tb-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.15;
}

.tb-feature-pill__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(242, 164, 85, 0.18);
    color: var(--tb-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tb-feature-pill__label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tb-feature-pill__label-small {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 0.78rem;
}

/* ───────── Hero visual (boxes + floating cards) ───────── */

.tb-hero__visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tb-hero__boxes-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.tb-hero__floater {
    position: absolute;
    background: #fff;
    color: var(--tb-text);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.tb-hero__floater--storage {
    top: 18%;
    left: -2%;
    width: 230px;
}

.tb-hero__floater--box {
    top: 4%;
    right: -2%;
    width: 240px;
}

.tb-hero__floater--qr {
    bottom: 6%;
    right: 4%;
    width: 210px;
}

@media (max-width: 720px) {
    .tb-hero__floater--storage { left: 0; width: 200px; top: 8%; }
    .tb-hero__floater--box { right: 0; width: 200px; }
    .tb-hero__floater--qr { right: 4%; width: 180px; }
}

.tb-hero__floater-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--tb-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.tb-hero__floater-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.tb-hero__floater-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--tb-text);
    font-weight: 500;
}

.tb-hero__floater-list li i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--tb-bg-soft);
    color: var(--tb-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tb-hero__floater-list li span:last-child {
    color: var(--tb-text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.tb-hero__floater-cta {
    width: 100%;
    background: var(--tb-primary);
    color: #fff;
    border: none;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 0.65rem;
    cursor: pointer;
}

.tb-hero__floater-meta {
    color: var(--tb-text-muted);
    font-size: 0.72rem;
    margin-top: 0.65rem;
}

.tb-hero__floater-qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--tb-bg-soft);
    border-radius: 10px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    color: var(--tb-text);
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.tb-hero__floater-qty button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tb-text-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* ───────── Section base ───────── */

.tb-section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.25rem;
    background: transparent;
}

.tb-section--soft {
    background: linear-gradient(180deg,
        rgba(236, 239, 241, 0.35) 0%,
        rgba(236, 239, 241, 0.55) 50%,
        rgba(236, 239, 241, 0.35) 100%);
}

.tb-section__inner {
    position: relative;
    max-width: 76rem;
    margin: 0 auto;
}

.tb-section__heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tb-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.tb-section__sub {
    color: var(--tb-text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ───────── How it works (numbered cards) ───────── */

.tb-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tb-steps { grid-template-columns: repeat(3, 1fr); }
}

.tb-step {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tb-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-step__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tb-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tb-night);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.tb-step__title {
    font-weight: 700;
    color: var(--tb-text);
    font-size: 1.1rem;
    margin: 0;
}

.tb-step__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.tb-step__text {
    color: var(--tb-text-muted);
    line-height: 1.55;
    margin: 0;
    font-size: 0.95rem;
}

.tb-step__art {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: var(--tb-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tb-step__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ───────── Powerful Features (4 column) ───────── */

.tb-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) { .tb-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tb-features-grid { grid-template-columns: repeat(4, 1fr); } }

.tb-feature-card {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 20px;
    padding: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tb-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tb-night);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.tb-feature-card__title {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--tb-text);
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.tb-feature-card__text {
    color: var(--tb-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ───────── Use Cases (2 dark cards w/ images) ───────── */

.tb-usecases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) { .tb-usecases { grid-template-columns: repeat(2, 1fr); } }

.tb-usecase {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--tb-night);
    color: #fff;
    min-height: 280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.tb-usecase__copy {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.tb-usecase__title {
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0 0 0.65rem;
    line-height: 1.2;
    color: #fff;
}

.tb-usecase__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.tb-usecase__cta {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}

.tb-usecase__cta:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.tb-usecase__art {
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.tb-usecase__art--household {
    background-image: url("/img/households.jpg");
}

.tb-usecase__art--business {
    background-image: url("/img/manufacturers.jpg");
}

@media (max-width: 640px) {
    .tb-usecase { grid-template-columns: 1fr; }
    .tb-usecase__art { min-height: 180px; }
}

/* ───────── Pricing ───────── */

.tb-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 900px) { .tb-pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.tb-price-card {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tb-price-card:hover {
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-price-card--featured {
    border: 2px solid var(--tb-accent);
    box-shadow: 0 20px 50px rgba(242, 164, 85, 0.18);
}

.tb-price-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tb-accent);
    color: #1A1208;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(242, 164, 85, 0.35);
}

.tb-price-card__name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tb-text);
    margin: 0 0 0.25rem;
}

.tb-price-card__subtitle {
    font-size: 0.85rem;
    color: var(--tb-text-muted);
    margin: 0 0 1rem;
    line-height: 1.4;
    min-height: 1.4em;
}

.tb-price-card__price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.tb-price-card__price-unit {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tb-text-muted);
}

.tb-price-card__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
    flex-grow: 1;
}

.tb-price-card__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--tb-text);
    font-size: 0.93rem;
}

.tb-price-card__list li::before {
    content: "✓";
    color: var(--tb-accent);
    font-weight: 800;
    flex-shrink: 0;
}

.tb-price-card__cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
}

.tb-price-card__note {
    margin: 0.55rem 0 0;
    text-align: center;
    color: var(--tb-text-muted);
    font-size: 0.8rem;
}

.tb-shop-banner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    max-width: 64rem;
    margin: 2rem auto 0;
    padding: 1.5rem 1.75rem;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
}

.tb-shop-banner__img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

.tb-shop-banner__copy {
    flex-grow: 1;
    min-width: 0;
}

.tb-shop-banner__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tb-text);
}

.tb-shop-banner__sub {
    margin: 0;
    color: var(--tb-text-muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

.tb-shop-banner__cta {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .tb-shop-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.1rem;
    }

    .tb-shop-banner__cta {
        width: 100%;
    }
}

/* ───────── Footer ───────── */

.tidybox-footer {
    position: relative;
    z-index: 1;
    background: var(--tb-darker);
    color: #fff;
    padding: 4rem 1.25rem 2rem;
}

.tidybox-footer__inner {
    max-width: 80rem;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .tidybox-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
}

@media (max-width: 480px) {
    .tidybox-footer__inner { grid-template-columns: 1fr; }
}

.tidybox-footer__brandline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.tidybox-footer__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
}

.tidybox-footer__brand p {
    max-width: 17rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
}

.tidybox-footer__group h2 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.tidybox-footer__group a {
    display: block;
    width: max-content;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.tidybox-footer__group a:hover,
.tidybox-footer__group a:focus-visible {
    color: var(--tb-accent);
}

.tidybox-footer__copyright {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.tidybox-footer__mt-disclaimer {
    max-width: 80rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

/* ───────── Language switcher (placed in dark header) ───────── */

[data-tb-langswitcher] button {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
}

[data-tb-langswitcher] button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

[data-tb-langswitcher-menu] {
    background: #fff;
    color: var(--tb-text);
    border: 1px solid var(--tb-border);
}

/* ───────── Reduced motion ───────── */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ═════════════════════════════════════════════════════════════════
   Shared app-shell layout (used by dashboard / locations / batches /
   profile / chat / login / signup / etc.). Pre-redesign these lived
   in landing.css under the dark "starfield" theme; this is the new
   light-theme equivalent so all 20+ pages that still mark up
   .landing-shell / .landing-header continue to render.
   ═════════════════════════════════════════════════════════════════ */

.landing-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 64px;
}

@media (min-width: 760px) {
    .landing-shell {
        width: min(1220px, calc(100% - 48px));
        padding-bottom: 84px;
    }
}

.landing-header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 16px;
    padding: 8px 0 20px;
    z-index: 10;
}

@media (min-width: 760px) {
    .landing-header {
        grid-template-columns: auto 1fr;
        gap: 32px;
        padding-top: 18px;
    }
}

.landing-brand {
    display: inline-flex;
    align-items: center;
}

.landing-brand__logo {
    width: min(168px, 38vw);
}

.landing-menu-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 14px;
    border: 1px solid var(--tb-border);
    border-radius: 14px;
    background: var(--tb-surface);
    box-shadow: 0 6px 18px rgba(6, 32, 40, 0.06);
    cursor: pointer;
}

.landing-menu-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--tb-text);
}

.landing-header__panel {
    grid-column: 1 / -1;
    display: none;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--tb-border);
    border-radius: 22px;
    background: var(--tb-surface);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.landing-header__panel.is-open {
    display: grid;
}

.landing-nav,
.landing-header__actions {
    display: grid;
    gap: 12px;
}

@media (min-width: 760px) {
    .landing-menu-toggle {
        display: none;
    }

    .landing-header__panel {
        grid-column: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .landing-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-inline: auto;
    }

    .landing-header__actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }
}

.landing-nav a,
.landing-link {
    color: var(--tb-text-muted);
    font-size: 0.96rem;
    font-weight: 600;
    transition: color 200ms ease;
}

.landing-nav a:hover,
.landing-link:hover {
    color: var(--tb-text);
}

.landing-lang-switcher {
    position: relative;
    width: max-content;
    z-index: 100;
}

.landing-lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 96px;
    padding: 10px 14px;
    border: 1px solid var(--tb-border);
    border-radius: 999px;
    background: var(--tb-surface);
    color: var(--tb-text);
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
    font-weight: 600;
}

.landing-lang-switcher__toggle:hover,
.landing-lang-switcher.is-open .landing-lang-switcher__toggle {
    border-color: var(--landing-border-strong);
    box-shadow: 0 6px 18px rgba(6, 32, 40, 0.08);
}

.landing-lang-switcher__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 200ms ease;
}

.landing-lang-switcher.is-open .landing-lang-switcher__chevron {
    transform: rotate(225deg) translateY(-1px);
}

.landing-lang-switcher__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    background: var(--tb-surface);
    box-shadow: 0 18px 42px rgba(6, 32, 40, 0.16);
}

.landing-lang-switcher.is-open .landing-lang-switcher__menu {
    display: grid;
    gap: 4px;
}

.landing-lang-switcher__item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--tb-text-muted);
    transition: background 200ms ease, color 200ms ease;
}

.landing-lang-switcher__item:hover,
.landing-lang-switcher__item--active {
    background: rgba(242, 164, 85, 0.1);
    color: var(--tb-text);
}

.landing-lang-switcher__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 5px 7px;
    border-radius: 999px;
    background: var(--tb-bg-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.landing-lang-switcher__flag {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.03);
}

.landing-lang-switcher__name {
    white-space: nowrap;
}

@media (max-width: 759px) {
    .landing-lang-switcher__menu {
        position: static;
        min-width: 0;
        width: 100%;
        border-radius: 14px;
        box-shadow: none;
        max-height: 40vh;
        overflow-y: auto;
    }

    .landing-lang-switcher { width: 100%; }
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.landing-button:hover {
    transform: translateY(-1px);
}

.landing-button--solid {
    color: #1A1208;
    background: var(--tb-accent);
    box-shadow: 0 6px 18px rgba(242, 164, 85, 0.25);
}

.landing-button--solid:hover {
    background: var(--tb-accent-hover);
    box-shadow: 0 8px 22px rgba(242, 164, 85, 0.35);
}

.landing-button--ghost,
.landing-button--outline {
    color: var(--tb-text);
    background: var(--tb-surface);
    border-color: var(--tb-border);
}

.landing-button--ghost:hover,
.landing-button--outline:hover {
    background: var(--tb-bg-soft);
    border-color: #C9D0D4;
}

.landing-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ───────── Duo sections (copy + infographic) ───────── */

.tb-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .tb-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
    .tb-duo--art-first .tb-duo__art { order: -1; }
}

.tb-duo__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
    text-align: left;
}

.tb-duo__lead {
    color: var(--tb-text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.tb-duo__points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tb-duo__points li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--tb-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.tb-duo__points li i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--tb-night);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.tb-duo__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tb-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.tb-duo__cta:hover {
    color: var(--tb-accent-hover);
    gap: 0.75rem;
}

.tb-duo__cta--video {
    margin-inline-start: 1.5rem;
}

/* Collections infographic */

.tb-collection-art {
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    box-shadow: var(--landing-shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tb-collection-art__search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--tb-bg);
    border: 1px solid var(--tb-border);
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    color: var(--tb-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.tb-collection-art__search i {
    color: var(--tb-text-muted);
    font-size: 0.85rem;
}

.tb-collection-art__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.tb-collection-art__box {
    position: relative;
    background: var(--tb-bg);
    border: 1px solid var(--tb-border);
    border-radius: 16px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tb-collection-art__box i {
    color: var(--tb-box-dark);
    font-size: 1.05rem;
}

.tb-collection-art__box-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--tb-text);
}

.tb-collection-art__box-count {
    font-size: 0.78rem;
    color: var(--tb-text-muted);
}

.tb-collection-art__box--hit {
    border-color: var(--tb-accent);
    box-shadow: 0 0 0 3px rgb(242 164 85 / 0.18);
}

.tb-collection-art__hit-chip {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--tb-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.tb-collection-art__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--tb-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.tb-collection-art__badge i {
    color: var(--tb-primary);
}

/* Access / claiming infographic */

.tb-access-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tb-access-step {
    position: relative;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 20px;
    box-shadow: var(--landing-shadow);
    padding: 1.15rem 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tb-access-step--open {
    border-style: dashed;
    border-color: var(--landing-border-strong);
    box-shadow: none;
}

.tb-access-flow__link {
    width: 2px;
    height: 22px;
    margin-left: 2.45rem;
    background: var(--landing-border-strong);
}

.tb-access-step__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--tb-night);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.tb-access-step--open .tb-access-step__icon {
    background: var(--tb-bg-soft);
    color: var(--tb-text-muted);
}

.tb-access-step__title {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--tb-text);
    margin: 0 0 0.25rem;
}

.tb-access-step__text {
    color: var(--tb-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.tb-access-step__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.tb-access-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--tb-bg);
    border: 1px solid var(--tb-border);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tb-text);
}

.tb-access-chip i {
    font-size: 0.7rem;
    color: var(--tb-primary);
}

.tb-access-chip--accent {
    background: rgb(242 164 85 / 0.14);
    border-color: var(--tb-accent-soft);
}

.tb-access-chip--accent i {
    color: var(--tb-accent-hover);
}

/* ───────── FAQ ───────── */

.tb-faq__list {
    max-width: 50rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tb-faq__item {
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.tb-faq__item[open] {
    box-shadow: var(--landing-shadow);
}

.tb-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--tb-text);
    cursor: pointer;
    list-style: none;
}

.tb-faq__question::-webkit-details-marker {
    display: none;
}

.tb-faq__question::after {
    content: "+";
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--tb-bg-soft);
    color: var(--tb-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.tb-faq__item[open] .tb-faq__question::after {
    transform: rotate(45deg);
}

.tb-faq__answer {
    padding: 0 1.4rem 1.2rem;
    color: var(--tb-text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

.tb-faq__answer a {
    color: var(--tb-primary);
    font-weight: 600;
}

.tb-faq__more {
    display: none;
}

.tb-faq__more--open {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tb-faq__toggle-row {
    text-align: center;
    margin-top: 1.5rem;
}

.tb-faq__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border-strong);
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--tb-primary);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tb-faq__toggle:hover {
    background: var(--tb-bg-soft);
    box-shadow: var(--landing-shadow);
}

/* ───────── Guide pages (learn-more articles) ───────── */

.tb-guide-hero {
    position: relative;
    z-index: 1;
    padding: 8rem 1.25rem 3.5rem;
    background:
        radial-gradient(1200px 700px at 85% 25%, rgba(13, 60, 76, 0.55) 0%, rgba(13, 60, 76, 0) 70%),
        linear-gradient(180deg, #062028 0%, #04181F 100%);
    color: #fff;
}

.tb-guide-hero__inner {
    max-width: 76rem;
    margin: 0 auto;
}

.tb-guide-hero__kicker {
    display: inline-block;
    color: var(--tb-accent-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tb-guide-hero__title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    color: #fff;
    max-width: 46rem;
}

.tb-guide-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0;
    max-width: 44rem;
}

.tb-guide-video {
    scroll-margin-top: 6rem;
    text-align: center;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    box-shadow: var(--landing-shadow);
    padding: 2rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 820px) {
    .tb-guide-video { padding: 2.5rem; }
}

.tb-guide-video__title {
    font-weight: 700;
    color: var(--tb-text);
    font-size: 1.25rem;
    margin: 0;
}

.tb-guide-video__text {
    color: var(--tb-text-muted);
    line-height: 1.65;
    font-size: 0.98rem;
    margin: 1rem auto 1.5rem;
    max-width: 44rem;
}

.tb-guide-video__player {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border: 6px solid var(--tb-night);
    border-radius: 32px;
    background: var(--tb-night);
    box-shadow: 0 18px 44px rgba(6, 32, 40, 0.18);
}

/* Video card embedded in a landing section (after the how-it-works steps). */
.tb-guide-video--landing {
    max-width: 56rem;
    margin: 2.5rem auto 0;
}

/* Duo art column holding a phone-frame tutorial video instead of an infographic. */
.tb-duo__art--video {
    text-align: center;
}

/* CTA row under the video on the standalone /video/* pages. */
.tb-videopage__cta-row {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ── Video play overlay — big centered play button added by video-overlay.js ── */
.tb-video-shell {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.tb-video-shell video {
    cursor: pointer;
}

.tb-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(6, 32, 40, 0.68);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(6, 32, 40, 0.35);
    transition: background 200ms ease, transform 200ms ease;
    z-index: 2;
}

.tb-video-play svg {
    width: 34px;
    height: 34px;
    margin-left: 4px;
    display: block;
}

.tb-video-play:hover,
.tb-video-play:focus-visible {
    background: var(--tb-primary);
    transform: translate(-50%, -50%) scale(1.08);
}

.tb-video-shell.is-playing .tb-video-play {
    display: none;
}

.tb-guide-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    box-shadow: var(--landing-shadow);
    padding: 2rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 820px) {
    .tb-guide-step { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; padding: 2.5rem; }
    .tb-guide-step:nth-child(even) .tb-guide-step__media { order: -1; }
}

.tb-guide-step__title {
    font-weight: 700;
    color: var(--tb-text);
    font-size: 1.25rem;
    margin: 0;
}

.tb-guide-step__text {
    color: var(--tb-text-muted);
    line-height: 1.65;
    font-size: 0.98rem;
    margin: 1rem 0 0;
}

.tb-guide-step__text strong {
    color: var(--tb-text);
}

.tb-guide-shot {
    margin: 0 auto;
    max-width: 300px;
    border: 6px solid var(--tb-night);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(6, 32, 40, 0.18);
}

/* Two phone shots side by side (branded scan + buy-more demo). */
.tb-shot-duo {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.tb-shot-duo .tb-guide-shot {
    margin: 0;
    flex: 1 1 200px;
    max-width: 240px;
}

.tb-guide-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.tb-guide-cta {
    text-align: center;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    box-shadow: var(--landing-shadow);
    padding: 3rem 2rem;
}

.tb-guide-cta .btn-primary,
.tb-guide-cta .btn-outline {
    padding: 0.95rem 1.75rem;
    border-radius: 14px;
    font-size: 0.98rem;
}

.tb-guide-cta__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 0.6rem;
}

.tb-guide-cta__text {
    color: var(--tb-text-muted);
    margin: 0 0 1.5rem;
}

/* ───────── For-Business page ───────── */

.tb-biz-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.tb-biz-hero-cta .btn-primary,
.tb-biz-hero-cta .btn-outline {
    padding: 0.95rem 1.75rem;
    border-radius: 14px;
    font-size: 0.98rem;
}

.tb-biz-hero-cta__pilot {
    background: var(--tb-surface);
    color: var(--tb-primary);
    box-shadow: var(--landing-shadow);
}

.tb-biz-hero-cta__pilot:hover,
.tb-biz-hero-cta__pilot:focus-visible {
    background: var(--tb-bg-soft);
    color: var(--tb-primary);
    box-shadow: var(--landing-shadow);
}

/* Hero is dark — the outline button needs light text/border to stay visible */
.tb-biz-hero-cta__secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.tb-biz-hero-cta__secondary:hover,
.tb-biz-hero-cta__secondary:focus-visible {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.tb-biz-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Use-case photos (landscape, rounded card) */
.tb-biz-photo {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--landing-border);
    box-shadow: var(--landing-shadow);
}

.tb-biz-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Landscape video shared by the moving use case and pilot request page. */
.tb-biz-video {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: var(--tb-night);
    box-shadow: var(--landing-shadow);
}

.tb-biz-video .tb-video-shell,
.pilot-video-card .tb-video-shell {
    display: block;
    width: 100%;
}

.tb-landscape-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--tb-night);
    object-fit: cover;
}

/* AI chat mockup for the MCP section */
.tb-biz-chat {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tb-biz-chat__msg {
    border-radius: 18px;
    padding: 1rem 1.2rem;
    font-size: 0.92rem;
    line-height: 1.55;
    box-shadow: var(--landing-shadow);
}

.tb-biz-chat__msg--user {
    align-self: flex-end;
    max-width: 88%;
    background: var(--tb-night);
    color: rgba(255, 255, 255, 0.92);
    border-bottom-right-radius: 6px;
}

.tb-biz-chat__msg--ai {
    align-self: flex-start;
    max-width: 92%;
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    color: var(--tb-text-muted);
    border-bottom-left-radius: 6px;
}

.tb-biz-chat__ai-badge {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tb-primary);
    margin-bottom: 0.4rem;
}

.tb-biz-chat__file {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
    background: var(--tb-bg-soft);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: var(--tb-text);
    font-size: 0.85rem;
}

.tb-biz-clients {
    color: var(--tb-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1.5rem 0 0.9rem;
}

.tb-biz-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.tb-biz-tool {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--tb-text);
    background: var(--tb-bg-soft);
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

.tb-biz-endpoint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 2rem auto 0;
    color: var(--tb-text-muted);
    font-size: 0.92rem;
}

.tb-biz-endpoint code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
    color: var(--tb-text);
    background: var(--tb-surface);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
}

/* ───────── For Home page ───────── */

.tb-home-art {
    margin: 0;
    width: 100%;
}

.tb-home-art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--tb-border);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-home-art figcaption {
    margin-top: 0.6rem;
    text-align: center;
    color: var(--tb-text-muted);
    font-size: 0.85rem;
}

.tb-home-uc {
    margin-top: 3.5rem;
}

.tb-home-uc:first-of-type {
    margin-top: 0;
}

.tb-pricing--duo {
    max-width: 44rem;
}

@media (min-width: 900px) { .tb-pricing--duo { grid-template-columns: repeat(2, 1fr); } }

.tb-home-plans-note {
    text-align: center;
    margin: 2rem auto 0;
    color: var(--tb-text-muted);
    font-size: 0.95rem;
}

.tb-home-plans-note a {
    color: var(--tb-primary);
    font-weight: 600;
}

/* Email-verification banner (home) + badge (profile) */
.tb-verify-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-left: 4px solid var(--tb-accent);
    border-radius: 24px;
    padding: 14px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(8, 40, 52, 0.06);
}

.tb-verify-banner__text {
    flex: 1 1 240px;
    color: var(--tb-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tb-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tb-verify-badge--ok { color: var(--tb-primary); }
.tb-verify-badge--no { color: var(--tb-accent-hover); }

.tb-verify-badge + .db-btn-secondary {
    margin-top: 10px;
}
