* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #f8fafc;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.tb-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.tb-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

body.admin-bar .tb-nav {
    top: 32px;
}

.tb-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 28px;
}

.tb-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.tb-logo img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 270px;
    object-fit: contain;
}

.tb-desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    color: #374151;
}

.tb-desktop-nav > a:not(.tb-nav-cta):hover,
.tb-footer a:hover {
    color: #f97316;
}

.tb-nav-cta {
    padding: 11px 17px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
}

.tb-menu-toggle,
.tb-mobile-nav {
    display: none;
}

.tb-hero {
    padding: 76px 0 72px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tb-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 56px;
    align-items: center;
}

.tb-eyebrow {
    margin: 0 0 18px;
    color: #f97316;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-hero h1,
.tb-section h2 {
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.055em;
}

.tb-hero h1 {
    max-width: 850px;
    font-size: clamp(46px, 7vw, 84px);
    line-height: 0.98;
}

.tb-intro {
    max-width: 740px;
    margin: 26px 0 0;
    font-size: 21px;
    line-height: 1.62;
    color: #374151;
}

.tb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.tb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.tb-button-primary {
    background: #f97316;
    color: #fff;
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.24);
}

.tb-button-secondary {
    background: #fff;
    color: #111827;
    border-color: rgba(17, 24, 39, 0.12);
}

.tb-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tb-proof span {
    padding: 9px 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.tb-device-card {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 34px;
    background: #111827;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.tb-device-top {
    display: flex;
    gap: 8px;
    padding: 4px 0 22px;
}

.tb-device-top span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.tb-order-card {
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 14px;
    background: #fff;
}

.tb-order-card strong {
    display: block;
    font-size: 20px;
    color: #0f172a;
}

.tb-order-card p {
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.45;
}

.tb-order-card-new {
    border-left: 8px solid #f59e0b;
}

.tb-order-card-progress {
    border-left: 8px solid #8b5cf6;
}

.tb-order-card-ready {
    border-left: 8px solid #fb923c;
    margin-bottom: 0;
}

.tb-section {
    padding: 76px 0;
}

.tb-section h2 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.03;
}

.tb-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.tb-card-grid article,
.tb-panel {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 28px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-card-grid span {
    color: #f97316;
    font-weight: 900;
}

.tb-card-grid h3 {
    margin: 16px 0 10px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.tb-card-grid p,
.tb-panel p,
.tb-section-dark p,
.tb-contact p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 17px;
}

.tb-section-intro {
    max-width: 720px;
    margin: 22px 0 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.7;
}

.tb-showcase {
    background: #fff;
}

.tb-showcase-feature {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
    margin-top: 36px;
    padding: 24px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 30px;
    background: #f8fafc;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.tb-showcase-copy h3 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.tb-showcase-copy p:not(.tb-panel-label) {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.tb-showcase figure {
    margin: 0;
}

.tb-showcase img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.tb-showcase-feature img {
    max-height: 390px;
}

.tb-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.tb-showcase-grid article {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 30px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.tb-showcase-grid img {
    max-height: 320px;
}

.tb-showcase-grid h3 {
    margin: 18px 8px 8px;
    color: #0f172a;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.tb-showcase-grid p {
    margin: 0 8px 8px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.tb-section-dark {
    background: #0f172a;
    color: #fff;
}

.tb-section-dark h2 {
    color: #fff;
}

.tb-section-dark p {
    color: #cbd5e1;
    margin-top: 24px;
}

.tb-split {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.tb-steps {
    display: grid;
    gap: 14px;
}

.tb-steps div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tb-steps strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 999px;
    background: #fb923c;
    color: #431407;
}

.tb-steps span {
    color: #e5e7eb;
    font-weight: 700;
}

.tb-audience-section {
    background: #f8fafc;
}

.tb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tb-panel {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tb-owner-panel {
    background: #fff;
}

.tb-panel-accent {
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.24);
}

.tb-panel-label {
    margin: 0 0 16px !important;
    color: #f97316 !important;
    font-size: 13px !important;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
}

.tb-text-link {
    display: inline-flex;
    margin-top: auto;
    padding-top: 26px;
    color: #f97316;
    font-weight: 800;
}

.tb-contact {
    background: #fff;
}

.tb-contact-heading {
    text-align: center;
}

.tb-contact-heading .tb-eyebrow,
.tb-contact-heading h2,
.tb-contact-heading p {
    margin-left: auto;
    margin-right: auto;
}

.tb-contact-heading h2 {
    max-width: 850px;
}

.tb-contact-heading > p:last-child {
    max-width: 680px;
    margin-top: 20px;
    margin-bottom: 34px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.tb-form-notice {
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 700;
    text-align: left;
}

.tb-form-notice-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.tb-form-notice-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.tb-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 24px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
    text-align: left;
}

.tb-demo-form,
.tb-contact-card {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.tb-demo-form {
    position: relative;
    padding: 28px;
}

.tb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tb-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-field-wide {
    grid-column: 1 / -1;
}

.tb-field label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.tb-field input,
.tb-field select,
.tb-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font: inherit;
    padding: 13px 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tb-field textarea {
    resize: vertical;
    min-height: 140px;
}

.tb-field input:focus,
.tb-field select:focus,
.tb-field textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.tb-form-submit {
    margin-top: 22px;
    border: 0;
    cursor: pointer;
}

.tb-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.tb-contact-card {
    padding: 28px;
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.24);
}

.tb-contact-card h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 32px;
    letter-spacing: -0.04em;
}

.tb-contact-card > p:not(.tb-panel-label) {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
}

.tb-contact-card > a {
    display: inline-flex;
    color: #f97316;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.tb-contact-points {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.tb-contact-points span {
    position: relative;
    padding-left: 22px;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.tb-contact-points span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-footer {
    padding: 64px 0 26px;
    background: #0b1120;
    color: #fff;
}

.tb-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 70px;
    padding-bottom: 46px;
}

.tb-footer-brand {
    max-width: 520px;
}

.tb-footer-brand img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 270px;
    object-fit: contain;
    margin-bottom: 20px;
}

.tb-footer-brand p {
    margin: 0;
    max-width: 500px;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
}

.tb-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 50px;
}

.tb-footer-links div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.tb-footer-links strong {
    margin-bottom: 4px;
}

.tb-footer-links a {
    color: #94a3b8;
}

.tb-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 900px) {
    .tb-desktop-nav {
        display: none;
    }

    .tb-menu-toggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 1px solid rgba(17, 24, 39, 0.12);
        border-radius: 14px;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .tb-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #111827;
    }

    .tb-mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background: #fff;
        border-top: 1px solid rgba(17, 24, 39, 0.08);
        transition: max-height 220ms ease, visibility 220ms ease;
    }

    .tb-mobile-nav.is-open {
        max-height: 320px;
        visibility: visible;
    }

    .tb-mobile-nav .tb-container {
        display: flex;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 18px;
    }

    .tb-mobile-nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
        font-weight: 700;
    }

    .tb-hero-grid,
    .tb-split,
    .tb-two-col,
    .tb-footer-main,
    .tb-showcase-feature,
    .tb-contact-layout {
        grid-template-columns: 1fr;
    }

    .tb-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tb-footer-main {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .tb-container {
        width: min(100% - 28px, 1120px);
    }

    body.admin-bar .tb-nav {
        top: 46px;
    }

    .tb-nav-inner {
        min-height: 72px;
    }

    .tb-logo img {
        height: 38px;
        max-width: 205px;
    }

    .tb-hero {
        padding: 54px 0 58px;
    }

    .tb-hero h1 {
        font-size: 44px;
    }

    .tb-intro {
        font-size: 18px;
    }

    .tb-card-grid,
    .tb-showcase-grid {
        grid-template-columns: 1fr;
    }

    .tb-showcase-feature {
        padding: 18px;
        border-radius: 26px;
    }

    .tb-section {
        padding: 62px 0;
    }

    .tb-panel {
        min-height: auto;
    }

    .tb-form-grid {
        grid-template-columns: 1fr;
    }

    .tb-field-wide {
        grid-column: auto;
    }

    .tb-demo-form,
    .tb-contact-card {
        padding: 20px;
        border-radius: 24px;
    }

    .tb-text-link {
        margin-top: 24px;
        padding-top: 0;
    }

    .tb-footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .tb-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Agency partners page */

.tb-agency-page {
    background: #fff;
}

.tb-agency-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tb-agency-nav > a:not(.tb-button) {
    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

.tb-agency-nav .tb-button {
    padding: 11px 18px;
}

.tb-agency-hero {
    padding: 100px 0 86px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tb-agency-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 58px;
    align-items: center;
}

.tb-agency-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(48px, 6.5vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.tb-agency-lead {
    max-width: 760px;
    margin: 28px 0 0;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.7;
}

.tb-agency-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tb-agency-trust span {
    padding: 9px 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.tb-agency-hero-card,
.tb-agency-case-card {
    padding: 32px;
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 32px;
    background: #fff7ed;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.tb-agency-hero-card h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.tb-agency-hero-card > p:not(.tb-panel-label) {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
}

.tb-agency-mini-list,
.tb-agency-case-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.tb-agency-mini-list span,
.tb-agency-case-list span {
    position: relative;
    padding-left: 24px;
    color: #374151;
    font-weight: 750;
    line-height: 1.5;
}

.tb-agency-mini-list span::before,
.tb-agency-case-list span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-agency-capabilities {
    background: #fff;
}

.tb-agency-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.tb-agency-card-grid article,
.tb-agency-fit-grid article {
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-agency-card-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff7ed;
    color: #f97316;
    font-weight: 900;
}

.tb-agency-card-grid h3,
.tb-agency-fit-grid h3,
.tb-agency-process-grid h3 {
    margin: 20px 0 10px;
    font-size: 23px;
    letter-spacing: -0.03em;
}

.tb-agency-card-grid p,
.tb-agency-fit-grid p,
.tb-agency-process-grid p {
    margin: 0;
    line-height: 1.7;
}

.tb-agency-card-grid p,
.tb-agency-fit-grid p {
    color: #4b5563;
}

.tb-agency-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
}

.tb-agency-process-grid article {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.tb-agency-process-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-weight: 900;
}

.tb-agency-process-grid h3 {
    color: #fff;
}

.tb-agency-process-grid p {
    color: #cbd5e1;
}

.tb-agency-case {
    background: #f8fafc;
}

.tb-agency-case-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 48px;
    align-items: center;
}

.tb-agency-case-grid > div > p:not(.tb-eyebrow) {
    max-width: 760px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.75;
}

.tb-agency-case-grid .tb-button {
    margin-top: 12px;
}

.tb-agency-fit {
    background: #fff;
}

.tb-agency-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.tb-agency-cta {
    padding: 58px 0;
    background: #fff7ed;
    border-top: 1px solid rgba(249, 115, 22, 0.18);
    border-bottom: 1px solid rgba(249, 115, 22, 0.18);
}

.tb-agency-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.tb-agency-cta h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -0.05em;
}

.tb-agency-cta p:not(.tb-eyebrow) {
    max-width: 650px;
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .tb-agency-nav {
        display: none;
    }

    .tb-agency-hero-grid,
    .tb-agency-case-grid {
        grid-template-columns: 1fr;
    }

    .tb-agency-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-agency-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tb-agency-hero {
        padding: 72px 0 62px;
    }

    .tb-agency-hero h1 {
        font-size: 44px;
    }

    .tb-agency-lead {
        font-size: 18px;
    }

    .tb-agency-card-grid,
    .tb-agency-process-grid,
    .tb-agency-fit-grid {
        grid-template-columns: 1fr;
    }

    .tb-agency-hero-card,
    .tb-agency-case-card {
        padding: 22px;
        border-radius: 24px;
    }

    .tb-agency-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* S1.1 Danish managed-service homepage */

.tb-managed-strip {
    position: relative;
    z-index: 2;
    padding: 0 0 34px;
    background: #f8fafc;
}

.tb-managed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -24px;
}

.tb-managed-grid article {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.tb-managed-grid article > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: #fff7ed;
    color: #f97316;
    font-size: 13px;
    font-weight: 900;
}

.tb-managed-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 18px;
}

.tb-managed-grid p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.tb-apps-section {
    background: #fff;
}

.tb-app-grid {
    display: grid;
    gap: 28px;
    margin-top: 40px;
}

.tb-app-card {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 32px;
    background: #f8fafc;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.tb-app-card-reverse .tb-app-copy {
    order: 2;
}

.tb-app-card-reverse .tb-app-media {
    order: 1;
}

.tb-app-copy h3 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.tb-app-copy > p:not(.tb-panel-label) {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.tb-app-points {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.tb-app-points span {
    position: relative;
    padding-left: 24px;
    color: #374151;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.tb-app-points span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-app-media {
    margin: 0;
}

.tb-app-media img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.tb-service-section {
    background: #f8fafc;
}

.tb-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tb-service-card {
    padding: 28px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-service-card-featured {
    border-color: rgba(249, 115, 22, 0.3);
    background: #fff7ed;
}

.tb-service-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff7ed;
    color: #f97316;
    font-weight: 900;
}

.tb-service-card-featured > span {
    background: #f97316;
    color: #fff;
}

.tb-service-card h3 {
    margin: 20px 0 18px;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.tb-service-card ul,
.tb-ownership-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-service-card li,
.tb-ownership-card li {
    position: relative;
    padding-left: 24px;
    color: #4b5563;
    line-height: 1.55;
}

.tb-service-card li::before,
.tb-ownership-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-service-note,
.tb-ownership-note {
    max-width: 900px;
    margin: 26px 0 0;
    padding: 17px 19px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 18px;
    background: #fff;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
}

.tb-ownership-section {
    background: #fff;
}

.tb-ownership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.tb-ownership-card {
    padding: 30px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 30px;
    background: #f8fafc;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-ownership-card-accent {
    border-color: rgba(249, 115, 22, 0.28);
    background: #fff7ed;
}

.tb-ownership-card h3 {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.tb-reference-section {
    background: #0f172a;
    color: #fff;
}

.tb-reference-section h2 {
    color: #fff;
}

.tb-reference-section .tb-section-intro {
    color: #cbd5e1;
}

.tb-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.tb-reference-grid article {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.tb-reference-grid h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 27px;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.tb-reference-grid article > p:not(.tb-panel-label) {
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .tb-managed-grid,
    .tb-service-grid {
        grid-template-columns: 1fr;
    }

    .tb-app-card,
    .tb-ownership-grid,
    .tb-reference-grid {
        grid-template-columns: 1fr;
    }

    .tb-app-card-reverse .tb-app-copy,
    .tb-app-card-reverse .tb-app-media {
        order: initial;
    }
}

@media (max-width: 640px) {
    .tb-managed-strip {
        padding-bottom: 18px;
    }

    .tb-managed-grid {
        margin-top: -10px;
    }

    .tb-managed-grid article,
    .tb-app-card,
    .tb-service-card,
    .tb-ownership-card,
    .tb-reference-grid article {
        padding: 21px;
        border-radius: 24px;
    }

    .tb-app-copy h3 {
        font-size: 34px;
    }

    .tb-service-card h3,
    .tb-ownership-card h3,
    .tb-reference-grid h3 {
        font-size: 25px;
    }
}


/* S1.2 bilingual restaurant site, live references and agency partnership */

.tb-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.tb-language-switch a,
.tb-language-switch span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 999px;
}

.tb-language-switch span[aria-current="page"] {
    background: #111827;
    color: #fff;
}

.tb-language-switch a:hover {
    background: #fff7ed;
    color: #f97316;
}

.tb-mobile-nav .tb-language-switch-mobile {
    width: max-content;
    margin: 8px 0;
}

.tb-reference-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.tb-reference-card-top .tb-panel-label {
    margin-bottom: 0 !important;
}

.tb-reference-card-top > span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 800;
}

.tb-reference-link {
    display: inline-flex;
    margin-top: 22px;
    color: #fb923c;
    font-weight: 850;
}

.tb-reference-link:hover {
    color: #fdba74;
}

.tb-custom-site-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
    margin-top: 24px;
    padding: 30px;
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 28px;
    background: rgba(249, 115, 22, 0.1);
}

.tb-custom-site-panel h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.tb-custom-site-panel > p {
    margin: 0;
    color: #e2e8f0;
    font-size: 17px;
    line-height: 1.75;
}

.tb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.tb-agency-language-note {
    max-width: 720px;
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 4px solid #f97316;
    border-radius: 0 14px 14px 0;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.6;
}

.tb-agency-responsibility-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.tb-agency-responsibility-list div {
    padding: 17px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 18px;
    background: #fff;
}

.tb-agency-responsibility-list strong,
.tb-agency-responsibility-list span {
    display: block;
}

.tb-agency-responsibility-list strong {
    margin-bottom: 6px;
    color: #f97316;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tb-agency-responsibility-list span {
    color: #374151;
    line-height: 1.6;
}

.tb-agency-source-note {
    margin: 18px 0 0;
    color: #7c2d12;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.tb-agency-commercial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.tb-agency-commercial-grid article {
    padding: 20px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 22px;
    background: #fff;
}

.tb-agency-commercial-grid h3 {
    margin: 0 0 9px;
    color: #0f172a;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.tb-agency-commercial-grid p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.tb-agency-ownership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tb-agency-ownership-grid article {
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-agency-ownership-grid h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.tb-agency-ownership-grid article > p:not(.tb-panel-label) {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.tb-agency-boundary-note {
    max-width: 920px;
    margin: 24px 0 0;
    padding: 18px 20px;
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-radius: 18px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .tb-desktop-nav {
        gap: 16px;
        font-size: 14px;
    }

    .tb-language-switch a,
    .tb-language-switch span {
        min-width: 30px;
        padding: 0 6px;
    }
}

@media (max-width: 900px) {
    .tb-custom-site-panel,
    .tb-agency-commercial-grid,
    .tb-agency-ownership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tb-reference-card-top {
        display: grid;
        justify-content: start;
    }

    .tb-reference-card-top > span {
        width: max-content;
    }

    .tb-custom-site-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .tb-custom-site-panel h3 {
        font-size: 30px;
    }

    .tb-agency-commercial-grid article,
    .tb-agency-ownership-grid article {
        padding: 22px;
        border-radius: 22px;
    }
}

/* S1.2-R1 commercial restaurant website */

.tb-commercial-page {
    background: #f8fafc;
}

.tb-commercial-nav {
    background: rgba(255, 255, 255, 0.94);
}

.tb-commercial-hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: var(--tb-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.tb-commercial-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(6, 10, 18, 0.08) 0%,
            rgba(6, 10, 18, 0.16) 34%,
            rgba(6, 10, 18, 0.94) 51%,
            rgba(6, 10, 18, 0.98) 100%
        );
}

.tb-commercial-hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    padding-top: 78px;
    padding-bottom: 78px;
}

.tb-commercial-hero-copy {
    grid-column: 2;
    max-width: 690px;
    justify-self: end;
}

.tb-commercial-hero .tb-eyebrow {
    color: #fdba74;
}

.tb-commercial-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5.8vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.tb-commercial-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: #e2e8f0;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.58;
}

.tb-commercial-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.tb-commercial-price-line strong,
.tb-commercial-price-line span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
}

.tb-commercial-price-line strong {
    background: #f97316;
    color: #fff;
    font-size: 18px;
}

.tb-commercial-price-line span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
}

.tb-button-ghost {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(15, 23, 42, 0.44);
    color: #fff;
    backdrop-filter: blur(8px);
}

.tb-button-ghost:hover {
    border-color: #fff;
    background: rgba(15, 23, 42, 0.7);
}

.tb-commercial-proof {
    margin: 26px 0 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}

.tb-commercial-proof a {
    color: #fdba74;
    font-weight: 800;
}

.tb-benefit-strip {
    position: relative;
    z-index: 2;
    margin-top: -34px;
}

.tb-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
    overflow: hidden;
}

.tb-benefit-grid article {
    position: relative;
    min-height: 126px;
    padding: 26px;
}

.tb-benefit-grid article:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    bottom: 24px;
    width: 1px;
    background: #e2e8f0;
}

.tb-benefit-grid strong,
.tb-benefit-grid span {
    display: block;
}

.tb-benefit-grid strong {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 18px;
}

.tb-benefit-grid span {
    color: #64748b;
    line-height: 1.55;
}

.tb-section-heading {
    max-width: 780px;
}

.tb-section-heading-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tb-section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.tb-section-heading > p:last-child {
    margin: 22px 0 0;
    color: #64748b;
    font-size: 19px;
    line-height: 1.7;
}

.tb-pricing-section {
    padding-top: 112px;
    background:
        radial-gradient(circle at top center, rgba(249, 115, 22, 0.1), transparent 35%),
        #f8fafc;
}

.tb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 52px;
    align-items: stretch;
}

.tb-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 610px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.tb-price-card-featured {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 30px 80px rgba(249, 115, 22, 0.16);
    transform: translateY(-10px);
}

.tb-price-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 18px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tb-price-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #fff7ed;
    color: #f97316;
    font-size: 25px;
    font-weight: 900;
}

.tb-price-card .tb-panel-label {
    margin-bottom: 10px !important;
}

.tb-price-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.tb-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 28px 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.tb-price strong {
    color: #f97316;
    font-size: 66px;
    line-height: 1;
    letter-spacing: -0.055em;
}

.tb-price span {
    color: #475569;
    font-size: 16px;
    font-weight: 800;
}

.tb-price-card ul,
.tb-check-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-price-card li,
.tb-check-list li {
    position: relative;
    padding-left: 28px;
    color: #334155;
    line-height: 1.55;
}

.tb-price-card li::before,
.tb-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-price-card .tb-button {
    width: 100%;
    margin-top: auto;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
}

.tb-pricing-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.tb-pricing-notes div {
    padding: 21px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
}

.tb-pricing-notes strong,
.tb-pricing-notes span {
    display: block;
}

.tb-pricing-notes strong {
    margin-bottom: 8px;
    color: #0f172a;
}

.tb-pricing-notes span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.tb-flow-section {
    background: #fff;
}

.tb-large-visual {
    margin: 40px 0 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 34px;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

.tb-large-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.tb-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.tb-process-grid article {
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 22px;
    background: #f8fafc;
}

.tb-process-grid span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-weight: 900;
}

.tb-process-grid strong {
    color: #0f172a;
    font-size: 18px;
}

.tb-process-grid p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.6;
}

.tb-screens-section {
    background: #0f172a;
    color: #fff;
}

.tb-screens-section .tb-section-heading h2 {
    color: #fff;
}

.tb-screens-section .tb-section-heading > p:last-child {
    color: #cbd5e1;
}

.tb-visual-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.tb-visual-feature-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: #fff;
    color: #0f172a;
}

.tb-visual-crop {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111827;
}

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

.tb-visual-crop-kiosk img {
    object-position: center 48%;
}

.tb-visual-crop-display img {
    object-position: center 61%;
}

.tb-visual-feature-copy {
    padding: 28px;
}

.tb-visual-feature-copy h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.tb-visual-feature-copy > p:not(.tb-panel-label):not(.tb-small-note) {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

.tb-small-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.tb-custom-section {
    background: #fff;
}

.tb-custom-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: center;
}

.tb-custom-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.tb-custom-copy > p:not(.tb-eyebrow) {
    margin: 24px 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.tb-custom-copy .tb-button {
    margin-top: 28px;
}

.tb-custom-visual {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.tb-custom-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.tb-live-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.tb-live-reference-grid article {
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 26px;
    background: #f8fafc;
}

.tb-live-reference-grid h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 29px;
    letter-spacing: -0.04em;
}

.tb-live-reference-grid article > p:not(.tb-panel-label) {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.tb-live-reference-grid a {
    display: inline-flex;
    margin-top: 20px;
    color: #f97316;
    font-weight: 850;
}

.tb-faq-section {
    background: #f8fafc;
}

.tb-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 56px;
    align-items: start;
}

.tb-faq-list {
    display: grid;
    gap: 12px;
}

.tb-faq-list details {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.tb-faq-list summary {
    position: relative;
    padding: 21px 54px 21px 22px;
    cursor: pointer;
    color: #0f172a;
    font-size: 17px;
    font-weight: 850;
    list-style: none;
}

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

.tb-faq-list summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #f97316;
    font-size: 26px;
    font-weight: 700;
}

.tb-faq-list details[open] summary::after {
    content: '–';
}

.tb-faq-list details p {
    margin: 0;
    padding: 0 22px 22px;
    color: #64748b;
    line-height: 1.7;
}

.tb-agency-invite {
    padding: 56px 0;
    background: #fff7ed;
    border-top: 1px solid rgba(249, 115, 22, 0.18);
    border-bottom: 1px solid rgba(249, 115, 22, 0.18);
}

.tb-agency-invite-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.tb-agency-invite h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.tb-agency-invite p:not(.tb-panel-label) {
    max-width: 720px;
    margin: 15px 0 0;
    color: #64748b;
    line-height: 1.7;
}

.tb-commercial-contact {
    background: #fff;
}

.tb-commercial-contact-card {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.tb-commercial-contact-card h3 {
    color: #fff;
}

.tb-commercial-contact-card p:not(.tb-panel-label),
.tb-commercial-contact-card .tb-contact-points span {
    color: #cbd5e1;
}

.tb-commercial-contact-card > a {
    color: #fdba74;
}

/* Agency partnership phase 1 */
.tb-agency-proof {
    background: #f8fafc;
}

.tb-agency-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.tb-agency-proof-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.tb-agency-proof-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #0f172a;
}

.tb-agency-proof-grid figcaption {
    display: grid;
    gap: 6px;
    padding: 22px 24px 24px;
}

.tb-agency-proof-grid strong {
    color: #0f172a;
    font-size: 20px;
}

.tb-agency-proof-grid figcaption span {
    color: #64748b;
    line-height: 1.6;
}

.tb-agency-process-intro {
    max-width: 700px;
    margin: 20px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}

.tb-agency-responsibilities {
    background: #fff;
}

.tb-agency-responsibility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tb-agency-responsibility-grid article {
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 26px;
    background: #f8fafc;
}

.tb-agency-responsibility-grid ul {
    display: grid;
    gap: 13px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tb-agency-responsibility-grid li {
    position: relative;
    padding-left: 24px;
    color: #374151;
    line-height: 1.55;
}

.tb-agency-responsibility-grid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

.tb-agency-support {
    background: #0f172a;
}

.tb-agency-support h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.tb-agency-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.tb-agency-support .tb-section-intro {
    color: #cbd5e1;
}

.tb-agency-support-list {
    display: grid;
    gap: 14px;
}

.tb-agency-support-list span {
    position: relative;
    padding: 18px 18px 18px 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-weight: 750;
    line-height: 1.55;
}

.tb-agency-support-list span::before {
    content: '✓';
    position: absolute;
    top: 18px;
    left: 18px;
    color: #fb923c;
    font-weight: 900;
}

.tb-agency-contact {
    background: #fff;
}

.tb-agency-contact-card {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

.tb-agency-contact-card h3 {
    color: #fff;
}

.tb-agency-contact-card > a {
    display: inline-flex;
    margin-top: 24px;
    color: #fdba74;
    font-weight: 850;
}

.tb-agency-contact-card .tb-contact-points span {
    color: #cbd5e1;
}

@media (max-width: 1100px) {
    .tb-commercial-hero-inner {
        grid-template-columns: minmax(0, 0.72fr) minmax(470px, 1.28fr);
    }

    .tb-commercial-hero h1 {
        font-size: 58px;
    }

    .tb-price-card {
        padding: 26px;
    }

    .tb-price strong {
        font-size: 56px;
    }
}

@media (max-width: 900px) {
    .tb-mobile-nav.is-open {
        max-height: 540px;
    }

    .tb-commercial-hero {
        min-height: 660px;
        background-position: 24% center;
    }

    .tb-commercial-hero::before {
        background: rgba(6, 10, 18, 0.88);
    }

    .tb-commercial-hero-inner {
        grid-template-columns: 1fr;
    }

    .tb-commercial-hero-copy {
        grid-column: 1;
        justify-self: start;
        max-width: 720px;
    }

    .tb-benefit-grid,
    .tb-pricing-grid,
    .tb-pricing-notes,
    .tb-process-grid,
    .tb-visual-feature-grid,
    .tb-custom-layout,
    .tb-faq-layout {
        grid-template-columns: 1fr 1fr;
    }

    .tb-benefit-grid article:nth-child(2)::after {
        display: none;
    }

    .tb-price-card-featured {
        transform: none;
    }

    .tb-pricing-grid .tb-price-card:last-child,
    .tb-custom-layout > *,
    .tb-faq-layout > * {
        grid-column: 1 / -1;
    }

    .tb-agency-invite-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .tb-agency-support-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tb-commercial-hero {
        min-height: 610px;
        background-position: 20% center;
    }

    .tb-commercial-hero::before {
        background: rgba(6, 10, 18, 0.91);
    }

    .tb-commercial-hero-inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .tb-commercial-hero h1 {
        font-size: 43px;
    }

    .tb-commercial-lead {
        font-size: 18px;
    }

    .tb-commercial-price-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .tb-commercial-hero .tb-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tb-commercial-hero .tb-button {
        width: 100%;
    }

    .tb-benefit-strip {
        margin-top: 0;
    }

    .tb-benefit-grid,
    .tb-pricing-grid,
    .tb-pricing-notes,
    .tb-process-grid,
    .tb-visual-feature-grid,
    .tb-custom-layout,
    .tb-live-reference-grid,
    .tb-faq-layout {
        grid-template-columns: 1fr;
    }

    .tb-benefit-grid {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .tb-benefit-grid article {
        min-height: auto;
        padding: 22px 0;
    }

    .tb-benefit-grid article:not(:last-child)::after {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: 1px;
    }

    .tb-pricing-section {
        padding-top: 70px;
    }

    .tb-section-heading h2,
    .tb-custom-copy h2 {
        font-size: 38px;
    }

    .tb-price-card {
        min-height: auto;
        padding: 24px;
        border-radius: 24px;
    }

    .tb-price-card-featured {
        margin-top: 10px;
    }

    .tb-price strong {
        font-size: 54px;
    }

    .tb-large-visual,
    .tb-custom-visual {
        border-radius: 22px;
    }

    .tb-process-grid article,
    .tb-live-reference-grid article,
    .tb-pricing-notes div {
        padding: 20px;
    }

    .tb-visual-feature-card {
        border-radius: 24px;
    }

    .tb-visual-feature-copy {
        padding: 22px;
    }

    .tb-visual-feature-copy h3 {
        font-size: 28px;
    }

    .tb-agency-invite {
        padding: 46px 0;
    }

    .tb-agency-proof-grid,
    .tb-agency-responsibility-grid {
        grid-template-columns: 1fr;
    }

    .tb-agency-proof-grid figure,
    .tb-agency-responsibility-grid article {
        border-radius: 22px;
    }
}

@media (max-width: 900px) {
    .tb-agency-responsibility-grid {
        grid-template-columns: 1fr;
    }
}

/* Restaurant-client homepage hero refresh */
.tb-commercial-hero {
    min-height: 0;
    background:
        radial-gradient(circle at 78% 26%, rgba(249, 115, 22, 0.2), transparent 28%),
        radial-gradient(circle at 72% 78%, rgba(59, 130, 246, 0.12), transparent 30%),
        #07152c;
}

.tb-commercial-hero::before {
    display: none;
}

.tb-commercial-hero-inner {
    width: min(1280px, calc(100% - 64px));
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: center;
    padding-top: clamp(54px, 6vw, 86px);
    padding-bottom: clamp(56px, 6vw, 88px);
}

.tb-commercial-hero-copy {
    grid-column: auto;
    max-width: 620px;
    justify-self: start;
}

.tb-commercial-hero h1 {
    max-width: 620px;
    font-size: clamp(3.2rem, 4.8vw, 5rem);
    line-height: 0.98;
}

.tb-commercial-lead {
    max-width: 580px;
    margin-top: 24px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;
}

.tb-commercial-hero .tb-actions {
    margin-top: 28px;
}

.tb-commercial-hero .tb-button-primary {
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.22);
}

.tb-commercial-hero .tb-button-ghost {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    backdrop-filter: none;
}

.tb-commercial-hero .tb-button-ghost:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
}

.tb-client-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.tb-client-hero-trust span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.tb-commercial-proof {
    margin-top: 20px;
    font-size: 15px;
}

.tb-client-hero-product {
    position: relative;
    min-height: 462px;
    isolation: isolate;
}

.tb-client-hero-product::before {
    content: '';
    position: absolute;
    top: 8%;
    right: 4%;
    width: 78%;
    height: 72%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
    transform: rotate(2deg);
    z-index: -1;
}

.tb-client-product-card {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.tb-client-product-card img {
    display: block;
    width: 100%;
    height: auto;
    background: #e2e8f0;
}

.tb-client-product-card figcaption {
    padding: 10px 14px 11px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
}

.tb-client-product-card-ordering {
    top: 0;
    right: 0;
    width: 84%;
}

.tb-client-product-card-kitchen {
    bottom: 0;
    left: 0;
    width: 49%;
    transform: rotate(-2deg);
}

.tb-client-product-card-kiosk {
    right: 4%;
    bottom: 18px;
    width: 43%;
    transform: rotate(2deg);
}

@media (max-width: 1100px) {
    .tb-commercial-hero-inner {
        grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
        gap: 30px;
    }

    .tb-commercial-hero h1 {
        font-size: clamp(3.2rem, 5.1vw, 4.2rem);
    }

    .tb-client-hero-product {
        min-height: 390px;
    }
}

@media (max-width: 900px) {
    .tb-commercial-hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .tb-commercial-hero-copy {
        max-width: 680px;
    }

    .tb-client-hero-product {
        width: min(100%, 680px);
        min-height: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .tb-commercial-hero-inner {
        width: min(100% - 28px, 1280px);
        gap: 34px;
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .tb-commercial-hero h1 {
        font-size: clamp(3.2rem, 13vw, 4.25rem);
        letter-spacing: -0.06em;
    }

    .tb-commercial-lead {
        margin-top: 20px;
        font-size: 17px;
    }

    .tb-commercial-hero .tb-actions {
        gap: 11px;
        margin-top: 24px;
    }

    .tb-client-hero-trust {
        gap: 8px;
        margin-top: 20px;
    }

    .tb-client-hero-trust span {
        font-size: 12px;
    }

    .tb-commercial-proof {
        margin-top: 18px;
        font-size: 14px;
    }

    .tb-client-hero-product {
        min-height: 305px;
    }

    .tb-client-product-card {
        border-radius: 15px;
    }

    .tb-client-product-card figcaption {
        padding: 7px 9px 8px;
        font-size: 11px;
    }
}

/* Restaurant-site mobile header language access */
.tb-commercial-nav .tb-nav-inner {
    gap: 24px;
}

.tb-commercial-nav .tb-desktop-nav {
    margin-left: auto;
}

.tb-commercial-nav .tb-language-switch {
    color: #374151;
}

@media (min-width: 901px) and (max-width: 1100px) {
    .tb-commercial-nav .tb-nav-inner {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .tb-commercial-nav .tb-nav-inner {
        gap: 12px;
    }

    .tb-commercial-nav .tb-language-switch {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .tb-commercial-nav .tb-nav-inner > .tb-nav-cta {
        display: none;
    }

    .tb-commercial-nav .tb-menu-toggle {
        flex: 0 0 46px;
    }

    .tb-commercial-nav .tb-language-switch a:focus-visible,
    .tb-commercial-nav .tb-menu-toggle:focus-visible {
        outline: 3px solid #f97316;
        outline-offset: 3px;
    }
}

@media (max-width: 360px) {
    .tb-commercial-nav .tb-nav-inner {
        gap: 8px;
    }

    .tb-commercial-nav .tb-logo img {
        height: 34px;
    }

    .tb-commercial-nav .tb-language-switch {
        gap: 2px;
        padding: 3px;
    }

    .tb-commercial-nav .tb-language-switch a,
    .tb-commercial-nav .tb-language-switch span {
        min-width: 30px;
        min-height: 28px;
        padding: 0 5px;
    }

    .tb-commercial-nav .tb-menu-toggle {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}
