/* ==========================================================================
   Theme 3 — TawiOS Single-page Landing (section-switcher)
   Ohio-style fixed sidebar. Clicking a nav item swaps the visible section;
   the page itself does not scroll on desktop. Built on the Theme 3 (t3-)
   design tokens from tawios-auth.css — load that file BEFORE this one.
   Layout classes are namespaced `t3l-` so they never collide with `t3-`.
   ========================================================================== */

:root {
    --t3l-sidebar-width: 320px;
    --t3l-tint: color-mix(in srgb, var(--t3-primary) 9%, #f4f6f4);
    --t3l-tint-strong: color-mix(in srgb, var(--t3-primary) 16%, #eef1ee);
}

html, body.t3l-body {
    height: 100%;
}

body.t3l-body {
    margin: 0;
    font-family: var(--t3-font);
    color: var(--t3-text);
    background: var(--t3-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Home is a fixed-viewport section switcher — the page does not scroll. */
    overflow: hidden;
}

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

/* The sidebar keeps a fully chrome-free look. */
.t3l-sidebar {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE / old Edge */
}

.t3l-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                  /* Chrome / Safari */
}

/* Content panels keep a slim, subtle scrollbar so that when a section is taller
   than the viewport, the overflow is always discoverable (no clipped content). */
.t3l-main,
.t3l-panel {
    scrollbar-width: thin;                                  /* Firefox */
    scrollbar-color: var(--t3-border-hover) transparent;
}

.t3l-main::-webkit-scrollbar,
.t3l-panel::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.t3l-main::-webkit-scrollbar-thumb,
.t3l-panel::-webkit-scrollbar-thumb {
    background: var(--t3-border-hover);
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 20px;
}

.t3l-main::-webkit-scrollbar-thumb:hover,
.t3l-panel::-webkit-scrollbar-thumb:hover {
    background: var(--t3-text-muted);
    background-clip: padding-box;
    border: 3px solid transparent;
}

/* Panels receive programmatic focus on section change — don't draw a focus ring. */
.t3l-panel:focus,
.t3l-panel:focus-visible {
    outline: none;
}

.t3l-shell {
    display: flex;
    height: 100vh;
}

/* ==========================================================================
   Fixed left sidebar (Ohio-style)
   ========================================================================== */

.t3l-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--t3l-sidebar-width);
    display: flex;
    flex-direction: column;
    padding: 29px 29px 22px;
    background: var(--t3-bg);
    border-right: 1px solid var(--t3-border);
    overflow-y: auto;
    z-index: 40;
}

.t3l-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 39px;
}

.t3l-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    /* Logo and name now sit side by side, so the name must be free to shrink. */
    min-width: 0;
    text-decoration: none;
    color: var(--t3-text);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.t3l-brand-logo {
    flex: 0 0 auto;
    max-height: 34px;
    max-width: 34px;
    object-fit: contain;
    border-radius: 6px;
}

/* Name over tagline, as in the app sidebar's head. */
.t3l-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.t3l-brand-name {
    min-width: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.05;
    color: var(--t3-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Same font treatment as the app sidebar's user line (.t3s-brand-user), minus the
   green status dot — that dot signals a signed-in user, which the landing has none of. */
.t3l-brand-tag {
    min-width: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--t3-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hamburger — mobile only */
.t3l-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--t3-border);
    border-radius: 50%;
    background: var(--t3-bg);
    color: var(--t3-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Navigation — modern app-style, each item switches to a section.
   Vertically centred within the available sidebar space. */
.t3l-nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.t3l-nav-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--t3-placeholder);
    padding: 0 10px;
    margin-bottom: 8px;
}

.t3l-nav-item {
    position: relative;
}

.t3l-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--t3-text);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background .18s ease, color .18s ease;
}

.t3l-nav-label {
    flex: 1 1 auto;
    min-width: 0;
}

.t3l-nav-arrow {
    font-size: 11px;
    color: var(--t3-primary);
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity .18s ease, transform .18s ease;
}

/* Hover */
.t3l-nav-link:hover {
    background: var(--t3-subtle-bg);
}

/* Active — soft brand-tint pill */
.t3l-nav-link.is-active {
    background: var(--t3l-tint);
    color: var(--t3-primary);
}

.t3l-nav-link.is-active .t3l-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Quick Apps — secondary nav section */
.t3l-nav-apps {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
}

.t3l-apps {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.t3l-app {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--t3-text-muted);
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}

.t3l-app-ic {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: inherit;
    font-size: 13px;
    transition: color .16s ease;
}

.t3l-app-name {
    flex: 1 1 auto;
    min-width: 0;
}

.t3l-app-go {
    font-size: 10px;
    color: var(--t3-placeholder);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .16s ease, transform .16s ease;
}

.t3l-app:hover {
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
}

.t3l-app:hover .t3l-app-go {
    opacity: 1;
    transform: translateX(0);
}

/* Sidebar bottom: sign in, get started, mini footer */
.t3l-sidebar-bottom {
    margin-top: 19px;
    padding-top: 19px;
    border-top: 1px solid var(--t3-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* On the dark sidebar the near-black button would disappear — invert it. */

/* Social icons */

/* ==========================================================================
   Main viewport + section panels (only one visible at a time)
   ========================================================================== */

.t3l-main {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: var(--t3l-sidebar-width);
    width: calc(100% - var(--t3l-sidebar-width));
    height: 100vh;
    overflow: hidden;
}

.t3l-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    /* `safe` keeps content centred when it fits, but anchors to the top the
       moment it overflows — otherwise flex centring clips the unreachable top. */
    justify-content: safe center;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.t3l-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.t3l-panel.is-active > * {
    animation: t3l-rise .4s ease both;
}

@keyframes t3l-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Padded content panels (modules / features) — sized to fit the viewport. */
.t3l-panel-pad {
    padding: clamp(27px, 5vh, 48px) 6%;
}

.t3l-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t3-text-muted);
}

.t3l-eyebrow .t3l-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--t3-primary);
}

/* ==========================================================================
   HOME — chevron split (">" image layout, auth design language)
   ========================================================================== */

.t3l-home {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    overflow: hidden;
}

.t3l-home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 7%;
    position: relative;
    z-index: 2;
}

/* Soft dark band that hugs the left edge — strongest at the bottom-left and
   stretching vertically up, fading as it rises. Scoped to the content column and
   painted behind the copy (z-index -1) so it is physically confined to the white
   area and never crosses the chevron border onto the image — the image stays clear. */
.t3l-home-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(80% 120% at 0% 100%,
        rgba(16, 24, 40, .20) 0%,
        rgba(16, 24, 40, .09) 38%,
        rgba(16, 24, 40, 0) 70%);
}

.dark-theme .t3l-home-content::before {
    background: radial-gradient(80% 120% at 0% 100%,
        rgba(0, 0, 0, .40) 0%,
        rgba(0, 0, 0, .16) 38%,
        rgba(0, 0, 0, 0) 70%);
}

.t3l-home-title {
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--t3-text);
    margin: 19px 0 17px;
}

.t3l-home-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--t3-text-muted);
    max-width: 460px;
    margin: 0 0 29px;
}

.t3l-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Chevron image panel — left edge points right, forming ">" */
.t3l-home-media {
    position: relative;
    overflow: hidden;
    background: var(--t3-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22% 50%);
    margin-left: -1px;
}

.t3l-home-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Brand tint that fades in from the chevron edge, matching the auth promo. */
.t3l-home-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--t3-primary) 0%, rgba(255, 255, 255, 0) 40%);
    opacity: .55;
}

.t3l-home-watermark {
    position: absolute;
    left: 6%;
    bottom: -0.14em;
    font-size: 20vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--t3-text);
    opacity: .035;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ==========================================================================
   Pills / buttons
   ========================================================================== */

.t3l-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--t3-radius); /* match the login page button shape */
    background: var(--t3-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    box-shadow: var(--t3-shadow-btn);
    transition: background .15s ease, transform .12s ease;
}

.t3l-pill:hover {
    background: var(--t3-primary-hover);
    transform: translateY(-1px);
    color: #fff;
}

.t3l-pill i { transition: transform .15s ease; }
.t3l-pill:hover i { transform: translateX(3px); }

.t3l-pill-outline {
    background: transparent;
    color: var(--t3-text);
    border-color: var(--t3-border);
    box-shadow: var(--t3-shadow-sm);
}

.t3l-pill-outline:hover {
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
    border-color: var(--t3-border-hover);
}

/* ==========================================================================
   Section heads (modules / features)
   ========================================================================== */

.t3l-section-head {
    max-width: 640px;
    margin-bottom: clamp(20px, 4vh, 34px);
}

.t3l-section-title {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--t3-text);
    margin: 14px 0 12px;
}

.t3l-section-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--t3-text-muted);
    margin: 0;
    max-width: 560px;
}

/* Feature grid */
.t3l-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.t3l-feature {
    background: var(--t3-bg);
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius);
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s ease;
}

.t3l-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
    border-color: var(--t3-border-hover);
}

.t3l-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--t3-border);
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
    font-size: 17px;
    margin-bottom: 14px;
}

.t3l-feature h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--t3-text);
    margin: 0 0 7px;
}

.t3l-feature p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--t3-text-muted);
    margin: 0;
}

/* ==========================================================================
   PRICING — data-driven package cards
   ========================================================================== */

.t3l-pricing-head {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.t3l-pricing-head .t3l-eyebrow { justify-content: center; }

/* This head sits over the wedge overlay + background image, so its sub-copy
   ("Start free, add your team…") must stay legible and flip with the theme.
   The full --t3-text token is dark in light mode and light in dark mode;
   softening it with opacity keeps the muted look without washing out. */
.t3l-pricing-head .t3l-section-text {
    color: var(--t3-text);
    opacity: .82;
}

/* Monthly / annual billing switch (rendered only when paid plans exist) */
.t3l-price-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    margin: 0 auto clamp(19px, 3.5vh, 29px);
    padding: 5px;
    border-radius: 40px;
    background: var(--t3-subtle-bg);
    border: 1px solid var(--t3-border);
}

.t3l-price-toggle button {
    display: inline-flex;
    align-items: center;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3-text-muted);
    padding: 7px 19px;
    border-radius: 30px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.t3l-price-toggle button.is-active {
    background: var(--t3-bg);
    color: var(--t3-text);
    box-shadow: var(--t3-shadow-sm);
}

.t3l-price-save {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    background: var(--t3l-tint);
    color: var(--t3-primary);
}

/* Pricing controls row: business-type filter (left) + billing toggle (right).
   Constrained to the card-grid width (3 x 340px + 2 x 24px gaps) and centred so
   the filter aligns to the first card and the toggle to the last card. */
.t3l-price-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    width: 100%;
    max-width: 1068px;
    margin: 0 auto clamp(19px, 3.5vh, 29px);
}

/* When the controls row is used, the billing toggle no longer auto-centres. */
.t3l-price-controls .t3l-price-toggle {
    margin: 0;
}

.t3l-price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.t3l-filter-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 5px;
    border-radius: 40px;
    background: var(--t3-subtle-bg);
    border: 1px solid var(--t3-border);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.t3l-filter-pills::-webkit-scrollbar {
    display: none;
}

.t3l-filter-pills button {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3-text-muted);
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.t3l-filter-pills button:hover {
    color: var(--t3-text);
}

.t3l-filter-pills button.is-active {
    background: var(--t3-bg);
    color: var(--t3-text);
    box-shadow: var(--t3-shadow-sm);
}

@media (max-width: 760px) {
    .t3l-price-controls {
        justify-content: center;
    }

    .t3l-price-filter {
        width: 100%;
        justify-content: center;
    }

    .t3l-price-controls .t3l-price-toggle {
        margin: 0 auto;
    }
}

/* Card grid — centres for a single plan, wraps into a row for many. */
.t3l-price-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.t3l-price {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 340px;
    max-width: 100%;
    padding: 27px 26px;
    background: var(--t3-bg);
    border: 1px solid var(--t3-border);
    border-radius: calc(var(--t3-radius) + 4px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s ease;
}

.t3l-price:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(16, 24, 40, .11);
    border-color: var(--t3-border-hover);
}

/* Featured (recommended) plan — stays a white card, set apart with a brand
   accent ring and a stronger shadow so it lifts off the coloured diagonal. */
.t3l-price.is-featured {
    border-color: color-mix(in srgb, var(--t3-primary) 42%, var(--t3-border));
    box-shadow: 0 26px 54px rgba(16, 24, 40, .20);
}

.t3l-price.is-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(16, 24, 40, .26);
    border-color: var(--t3-primary);
}

.t3l-price-badge {
    position: absolute;
    top: 20px;
    right: 22px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--t3l-tint);
    color: var(--t3-primary);
}

/* On the featured card the badge becomes a solid brand pill for emphasis. */
.t3l-price.is-featured .t3l-price-badge {
    background: var(--t3-primary);
    color: #fff;
}

.t3l-price-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--t3-text-muted);
}

.t3l-price-amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0 2px;
}

.t3l-price-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--t3-text);
}

.t3l-price-per {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--t3-text-muted);
}

.t3l-price-sub {
    font-size: 12.5px;
    color: var(--t3-placeholder);
    margin-bottom: 19px;
}

.t3l-price-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 19px 0 0;
    border-top: 1px solid var(--t3-border);
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1 1 auto;
}

.t3l-price-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--t3-text);
}

.t3l-price-list i {
    flex: 0 0 auto;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--t3l-tint);
    color: var(--t3-primary);
    font-size: 11px;
}

.t3l-price-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 17px;
    border-radius: var(--t3-radius); /* match the login page button shape */
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    background: var(--t3-primary);
    color: #fff;
    box-shadow: var(--t3-shadow-btn);
    transition: background .15s ease, transform .12s ease, color .15s ease;
}

.t3l-price-cta:hover { background: var(--t3-primary-hover); transform: translateY(-1px); color: #fff; }
.t3l-price-cta i { transition: transform .15s ease; }
.t3l-price-cta:hover i { transform: translateX(3px); }

/* Non-featured cards use a calm, soft CTA. */
.t3l-price:not(.is-featured) .t3l-price-cta.is-soft {
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
    border-color: var(--t3-border);
    box-shadow: none;
}

.t3l-price:not(.is-featured) .t3l-price-cta.is-soft:hover {
    background: var(--t3-bg);
    border-color: var(--t3-border-hover);
    color: var(--t3-text);
}

/* Reassurance note under the grid (trial / no-card-required). */
.t3l-price-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(19px, 3.5vh, 29px);
    font-size: 12.5px;
    color: var(--t3-text-muted);
    text-align: center;
}

.t3l-price-note i { color: var(--t3-primary); }

.dark-theme .t3l-price { background: var(--t3-field-bg); }
.dark-theme .t3l-price:hover { box-shadow: 0 22px 48px rgba(0, 0, 0, .45); }

/* Diagonal two-tone backdrop: neutral upper-left, brand-colour lower-right,
   split by a true corner-to-corner diagonal (top-right → bottom-left). A
   stretched SVG draws the crisp edge line so it hits both corners at any
   panel size. */
.t3l-panel-pricing {
    justify-content: flex-start;
    background-color: var(--t3-bg);
    /* Contain the backdrop's negative z-index so it stays above this panel's own
       background-colour instead of sliding behind an ancestor. */
    isolation: isolate;
    /* Pricing never scrolls — clip any overflow and hide the scrollbar entirely. */
    overflow: hidden;
    scrollbar-width: none;              /* Firefox */
    -ms-overflow-style: none;           /* IE / old Edge */
}

.t3l-panel-pricing::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                      /* Chrome / Safari */
}

/* Grey triangle — clipped so its hypotenuse runs corner-to-corner. */
.t3l-panel-pricing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    /* A quiet grey wedge — the brand colour stays on the buttons. */
    background: linear-gradient(135deg, var(--t3-subtle-bg) 0%, color-mix(in srgb, var(--t3-text) 6%, var(--t3-bg)) 100%);
}

/* Crisp diagonal edge line, stretched to hit both corners exactly.
   Dark stroke in light mode; the white variant is restored under .dark-theme. */
.t3l-panel-pricing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23101828' stroke-opacity='0.45' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.dark-theme .t3l-panel-pricing::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Keep the header and cards above the diagonal backdrop. */
.t3l-panel-pricing > * { position: relative; z-index: 1; }

/* Optional per-business-type backdrop image, swapped live by the pricing filter.
   It fills the panel but only ever reads in the neutral upper-left wedge — the
   coloured triangle (::before, z-index 0) paints over its lower-right half.
   Needs the extra class to outrank `.t3l-panel-pricing > *` above. */
.t3l-panel-pricing .t3l-price-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .4s ease;
}

.t3l-panel-pricing .t3l-price-bg.is-set { opacity: 1; }

/* Second diagonal border — runs from the top-left corner down to the centre,
   ending exactly where it meets the existing top-right→bottom-left diagonal.
   Dark stroke in light mode; the white variant is restored under .dark-theme. */
.t3l-price-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cline x1='0' y1='0' x2='50' y2='50' stroke='%23101828' stroke-opacity='0.45' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.dark-theme .t3l-price-bg::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cline x1='0' y1='0' x2='50' y2='50' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Overlay filling the wedge on the OTHER side of the new diagonal — the triangle
   bounded by the top-left corner, the top-right corner and the centre point where
   the two diagonals meet. Mixing against --t3-bg makes it theme-adaptive: a light
   wash in light mode, a dark wash in dark mode. */
.t3l-price-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 50% 50%);
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--t3-bg) 88%, transparent) 0%,
        color-mix(in srgb, var(--t3-bg) 58%, transparent) 45%,
        color-mix(in srgb, var(--t3-bg) 18%, transparent) 100%);
}

/* Oversized faded brand mark in the wedge — the Pricing counterpart of the
   Overview watermark. */
.t3l-price-watermark {
    position: absolute;
    right: 3%;
    bottom: -0.06em;
    margin: 0;
    z-index: 1;
    font-size: min(32vw, 440px);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.04em;
    /* Faintness lives in the colour: the panel's entrance animation sets opacity. */
    color: color-mix(in srgb, var(--t3-text) 5%, transparent);
    pointer-events: none;
    user-select: none;
}

/* Pin the reassurance note into the wedge. */
.t3l-panel-pricing .t3l-price-note {
    margin-top: auto;
    padding-top: clamp(26px, 6vh, 51px);
    color: var(--t3-text-muted);
}

.t3l-panel-pricing .t3l-price-note i { color: var(--t3-text-muted); }

/* ==========================================================================
   Nav dropdowns (Ohio-style "+" expanders)
   ========================================================================== */

.t3l-nav-plus {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--t3-text-muted);
    transition: color .18s ease;
}

.t3l-nav-plus::before,
.t3l-nav-plus::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
}

.t3l-nav-plus::before { top: 50%; left: 0; width: 100%; height: 1.6px; transform: translateY(-50%); }
.t3l-nav-plus::after  { left: 50%; top: 0; width: 1.6px; height: 100%; transform: translateX(-50%); }

.t3l-nav-item.is-open > .t3l-nav-link { color: var(--t3-primary); }
.t3l-nav-item.is-open > .t3l-nav-link .t3l-nav-plus { color: var(--t3-primary); }
.t3l-nav-item.is-open > .t3l-nav-link .t3l-nav-plus::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

/* Smoothly animate the sub-menu height with the grid-rows trick. */
.t3l-subnav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .26s ease;
    padding-left: 5px;
}

.t3l-subnav-inner { overflow: hidden; }

.t3l-nav-item.is-open .t3l-subnav { grid-template-rows: 1fr; }

.t3l-sublink {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 10px;
    margin-top: 2px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--t3-text-muted);
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background .16s ease, color .16s ease;
}

.t3l-sublink::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--t3-border-hover);
    flex: 0 0 auto;
    transition: background .16s ease, transform .16s ease;
}

.t3l-sublink:hover {
    color: var(--t3-text);
    background: var(--t3-subtle-bg);
}

.t3l-sublink.is-active {
    color: var(--t3-primary);
    background: var(--t3l-tint);
    font-weight: 600;
}

.t3l-sublink.is-active::before {
    background: var(--t3-primary);
    transform: scale(1.3);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.t3l-faq {
    max-width: 800px;
}

.t3l-faq-item {
    border-bottom: 1px solid var(--t3-border);
}

.t3l-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 17px 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--t3-text);
    text-align: left;
    transition: color .15s ease;
}

.t3l-faq-q:hover { color: var(--t3-primary); }
.t3l-faq-item.is-open .t3l-faq-q { color: var(--t3-primary); }
.t3l-faq-item.is-open .t3l-faq-q .t3l-nav-plus { color: var(--t3-primary); }
.t3l-faq-item.is-open .t3l-faq-q .t3l-nav-plus::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

.t3l-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .26s ease;
}

.t3l-faq-a-inner { overflow: hidden; }

.t3l-faq-item.is-open .t3l-faq-a { grid-template-rows: 1fr; }

.t3l-faq-a p {
    margin: 0;
    padding: 0 4px 19px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--t3-text-muted);
    max-width: 660px;
}

/* ==========================================================================
   Testimonials / customer quotes
   ========================================================================== */

.t3l-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.t3l-quote {
    display: flex;
    flex-direction: column;
    gap: 13px;
    background: var(--t3-bg);
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius);
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s ease;
}

.t3l-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
    border-color: var(--t3-border-hover);
}

.t3l-quote-stars {
    display: flex;
    gap: 3px;
    color: #f5a623;
    font-size: 12px;
}

.t3l-quote p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--t3-text);
}

.t3l-quote-by {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.t3l-quote-av {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t3l-tint);
    color: var(--t3-primary);
    font-weight: 700;
    font-size: 14px;
}

.t3l-quote-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--t3-text);
}

.t3l-quote-role {
    font-size: 12px;
    color: var(--t3-text-muted);
}

.dark-theme .t3l-quote { background: var(--t3-field-bg); }
.dark-theme .t3l-quote:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }

/* ==========================================================================
   Mobile drawer backdrop
   ========================================================================== */

.t3l-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .5);
    z-index: 35;
}

.t3l-backdrop.is-visible { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .t3l-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t3l-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    :root { --t3l-sidebar-width: 300px; }

    /* Sidebar becomes an off-canvas drawer */
    .t3l-sidebar {
        transform: translateX(-100%);
        transition: transform .28s ease;
        box-shadow: 0 0 60px rgba(16, 24, 40, .18);
    }

    .t3l-sidebar.is-open { transform: translateX(0); }

    /* On mobile the page scrolls naturally; panels take natural height. */
    body.t3l-body { overflow-x: hidden; overflow-y: auto; }

    .t3l-shell { height: auto; min-height: 100vh; flex-direction: column; }

    .t3l-main {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    /* Content sections size to their content on mobile (no forced full-screen
       height — that left large empty gaps on short sections). */
    .t3l-panel {
        position: static;
        display: none;
        min-height: 0;
        justify-content: flex-start;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .t3l-panel.is-active { display: flex; }

    /* Panel is static on mobile — keep it a positioning context so the pricing
       diagonal backdrop pseudo-elements still anchor to it. */
    .t3l-panel-pricing { position: relative; }

    /* Home stays a full-height hero. svh avoids the mobile-browser chrome jump;
       vh is the fallback for older browsers. */
    .t3l-home {
        position: static;
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
        grid-template-columns: 1fr;
    }

    /* Show the product visual on mobile too (as a banner below the copy),
       dropping the desktop chevron clip so it reads as a clean image. */
    .t3l-home-media {
        position: relative;
        min-height: 240px;
        clip-path: none;
        margin-left: 0;
    }

    .t3l-home-content {
        padding: 48px 6%;
    }

    /* Top bar with hamburger */
    .t3l-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 5%;
        border-bottom: 1px solid var(--t3-border);
        position: sticky;
        top: 0;
        background: var(--t3-bg);
        z-index: 30;
    }

    .t3l-burger { display: inline-flex; }
}

@media (min-width: 1025px) {
    .t3l-topbar { display: none; }
}

@media (max-width: 720px) {
    .t3l-feature-grid { grid-template-columns: 1fr; }
    .t3l-quotes { grid-template-columns: 1fr; }
    .t3l-home-title { font-size: 28px; }
}

/* Small phones — tighten spacing, keep type readable, full-width CTAs. */
@media (max-width: 600px) {
    .t3l-panel-pad { padding: 37px 5%; }

    .t3l-home-content { padding: 41px 6%; }
    .t3l-home-title { font-size: 24px; }
    .t3l-home-text { font-size: 15px; margin-bottom: 24px; }

    /* Stack the hero buttons full-width for easy tapping. */
    .t3l-home-actions { width: 100%; gap: 10px; }
    .t3l-home-actions .t3l-pill { flex: 1 1 100%; justify-content: center; }

    .t3l-section-title { font-size: 22px; }
    .t3l-section-text { font-size: 14.5px; }

    /* Roomier cards without wasting width. */
    .t3l-feature { padding: 19px; }
    .t3l-price { padding: 22px 19px; width: 100%; }
    .t3l-price-value { font-size: 30px; }

    .t3l-faq-q { font-size: 14.5px; padding: 15px 2px; }
    .t3l-home-media { min-height: 200px; }
}

/* ==========================================================================
   Dark mode — tokens from tawios-auth.css
   ========================================================================== */

.dark-theme.t3l-body { background: var(--t3-bg); }

.dark-theme .t3l-sidebar,
.dark-theme .t3l-topbar { background: var(--t3-bg); }

.dark-theme {
    --t3l-tint: color-mix(in srgb, var(--t3-primary) 16%, #1a1c26);
    --t3l-tint-strong: color-mix(in srgb, var(--t3-primary) 24%, #1a1c26);
}

.dark-theme .t3l-feature { background: var(--t3-field-bg); }

.dark-theme .t3l-home-watermark { color: #fff; opacity: .05; }

.dark-theme .t3l-feature:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

/* ==========================================================================
   Industry packages — products, industries, solutions, case studies,
   resources. Content comes from Theme/TawiosSite.php. Deliberately quiet: ink,
   greys and hairline borders; the brand colour is kept to buttons, the eyebrow
   dot and active links.
   ========================================================================== */

.t3l-acc-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--t3-border);
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
    font-size: 16px;
}

.t3l-acc-icon.is-sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
}

.t3l-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--t3-text);
    text-decoration: none;
}

.t3l-more i { font-size: 11px; transition: transform .15s ease; }
.t3l-more:hover { color: var(--t3-primary); }
.t3l-more:hover i,
a:hover > .t3l-more i { transform: translateX(3px); }

.t3l-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 30px;
    background: var(--t3-subtle-bg);
    border: 1px solid var(--t3-border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--t3-text);
}

.t3l-ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.t3l-ticks li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: var(--t3-text);
}

.t3l-ticks i {
    font-size: 10.5px;
    color: var(--t3-text-muted);
}

/* Shared card chrome for the new grids. */
.t3l-pkg,
.t3l-ind,
.t3l-story,
.t3l-built,
.t3l-help {
    background: var(--t3-bg);
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius);
    color: var(--t3-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s ease;
}

.t3l-pkg:hover,
.t3l-ind:hover,
.t3l-story:hover,
.t3l-built:hover,
.t3l-help:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
    border-color: var(--t3-border-hover);
    color: var(--t3-text);
}

/* ---- Home: package chips under the hero actions ---- */
.t3l-home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    max-width: 520px;
    position: relative;
}

.t3l-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 30px;
    border: 1px solid var(--t3-border);
    background: var(--t3-bg);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--t3-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .12s ease;
}

.t3l-chip i { color: var(--t3-text-muted); font-size: 12px; }

.t3l-chip:hover {
    border-color: var(--t3-border-hover);
    color: var(--t3-text);
    transform: translateY(-1px);
}

/* ---- Products: package cards ---- */
.t3l-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.t3l-pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
}

.t3l-pkg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.t3l-pkg-sector,
.t3l-story-sector,
.t3l-story-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--t3-text-muted);
}

.t3l-pkg h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 0 6px;
}

.t3l-pkg p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--t3-text-muted);
    margin: 0 0 14px;
}

.t3l-pkg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}

.t3l-pkg-list li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    color: var(--t3-text);
}

.t3l-pkg-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--t3-border-hover);
}

/* ---- Product (package) detail ---- */
.t3l-product-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 32px;
    margin-bottom: clamp(20px, 3.5vh, 30px);
}

.t3l-product-head .t3l-section-head { margin-bottom: 0; max-width: 680px; }
.t3l-product-head .t3l-section-text { max-width: 640px; }

.t3l-product-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: start;
}

.t3l-product-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.t3l-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--t3-text-muted);
    margin: 0;
}

.t3l-built-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.t3l-built {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.t3l-story-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: var(--t3-radius);
    background: var(--t3-subtle-bg);
    border: 1px solid var(--t3-border);
}

.t3l-story-mini strong {
    font-size: 15px;
    line-height: 1.4;
    color: var(--t3-text);
}

.t3l-story-mini .t3l-more { padding-top: 6px; }

.t3l-caps {
    list-style: none;
    margin: 0;
    padding: 4px 20px;
    background: var(--t3-bg);
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius);
}

.t3l-caps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--t3-border);
    font-size: 13px;
    line-height: 1.5;
    color: var(--t3-text-muted);
}

.t3l-caps li:last-child { border-bottom: none; }

.t3l-caps strong {
    display: block;
    font-size: 14px;
    color: var(--t3-text);
    margin-bottom: 1px;
}

.t3l-cap-ic {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid var(--t3-border);
    background: var(--t3-subtle-bg);
    color: var(--t3-text);
    font-size: 13px;
}

.t3l-core-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.t3l-core-strip > span:first-child {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--t3-text-muted);
    margin-right: 4px;
}

.t3l-core-strip .t3l-more {
    margin: 0 0 0 auto;
    padding-top: 0;
}

/* ---- Industries ---- */
.t3l-tabs {
    display: flex;
    margin-bottom: 22px;
    min-width: 0;
}

.t3l-ind-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.t3l-ind {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.t3l-ind[hidden] { display: none; }

.t3l-ind h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    margin: 4px 0 0;
}

.t3l-ind p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--t3-text-muted);
    margin: 0 0 2px;
}

/* ---- Solutions: which packages use it ---- */
.t3l-solution { display: flex; flex-direction: column; }

.t3l-uses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
}

.t3l-uses a {
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid var(--t3-border);
    background: var(--t3-bg);
    color: var(--t3-text-muted);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

.t3l-uses a:hover { border-color: var(--t3-border-hover); color: var(--t3-text); }

/* ---- Case studies ---- */
.t3l-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.t3l-story {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.t3l-story-sector { display: inline-flex; align-items: center; gap: 7px; }

.t3l-story h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin: 0;
}

.t3l-story dl { margin: 0; }

.t3l-story dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t3-text-muted);
}

.t3l-story dd {
    margin: 3px 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--t3-text-muted);
}

.t3l-story dd:last-child { margin-bottom: 0; }

.t3l-story .t3l-ticks { padding-top: 4px; }

.t3l-note {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0 0;
    font-size: 12.5px;
    color: var(--t3-text-muted);
}

/* ---- Resources: getting started ---- */
.t3l-steps {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.t3l-steps li { position: relative; }

.t3l-step-no {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--t3-text-muted);
    margin-bottom: 8px;
}

.t3l-steps h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}

.t3l-steps p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--t3-text-muted);
    margin: 0;
}

.t3l-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.t3l-help {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--t3-text-muted);
    min-width: 0;
}

.t3l-help:hover { color: var(--t3-text-muted); }

.t3l-help .t3l-feature-icon { margin: 0; flex: 0 0 auto; }

.t3l-help > span:last-child { min-width: 0; overflow-wrap: anywhere; }

.t3l-help strong {
    display: block;
    font-size: 14.5px;
    color: var(--t3-text);
    margin-bottom: 2px;
}

/* ---- Product page: intro beside a sample screen ---- */
.t3l-product-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
}

.t3l-product-intro .t3l-section-head { margin-bottom: 22px; }

.t3l-pill-wa {
    padding: 13px 15px;
    background: transparent;
    color: var(--t3-text);
    border-color: var(--t3-border);
    box-shadow: none;
    font-size: 17px;
}

.t3l-pill-wa:hover { background: var(--t3-subtle-bg); color: var(--t3-text); }
.t3l-wa-label { display: none; }

.t3l-screen {
    position: relative;
    margin: 0;
    border-radius: 14px;
    border: 1px solid var(--t3-border);
    background: var(--t3-bg);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .10);
    overflow: hidden;
}

.t3l-screen-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--t3-subtle-bg);
    border-bottom: 1px solid var(--t3-border);
}

.t3l-screen-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--t3-border-hover);
}

.t3l-screen-bar em {
    margin-left: 8px;
    font-style: normal;
    font-size: 11.5px;
    color: var(--t3-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t3l-screen-body { padding: 16px 18px 14px; }

.t3l-screen-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.t3l-screen-head strong { font-size: 14.5px; color: var(--t3-text); }

.t3l-screen-head span {
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--t3-subtle-bg);
    color: var(--t3-text-muted);
    font-size: 11px;
    font-weight: 700;
}

.t3l-screen-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.t3l-screen-stats div {
    padding: 9px 10px;
    border-radius: 9px;
    background: var(--t3-subtle-bg);
    min-width: 0;
}

.t3l-screen-stats b {
    display: block;
    font-size: 16px;
    color: var(--t3-text);
    letter-spacing: -.01em;
}

.t3l-screen-stats small {
    display: block;
    font-size: 10.5px;
    color: var(--t3-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t3l-screen-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.t3l-screen-rows li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid var(--t3-border);
    font-size: 12.5px;
}

.t3l-screen-ref { font-weight: 700; color: var(--t3-text); }

.t3l-screen-detail {
    color: var(--t3-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t3l-screen-status {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.t3l-screen-status {
    border: 1px solid var(--t3-border);
    color: var(--t3-text-muted);
}

.t3l-screen-status.is-ok { color: var(--t3-text); }

.t3l-screen figcaption {
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t3-placeholder);
}

/* ---- Book a demo ---- */
.t3l-demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    max-width: 1100px;
}

.t3l-demo-ticks { margin-bottom: 24px; }
.t3l-demo-ticks li { font-size: 14px; }

.t3l-demo-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.t3l-demo-contact .fa-whatsapp { font-size: 16px; }

.t3l-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--t3-text);
    text-decoration: none;
}

.t3l-demo-link i { color: var(--t3-text-muted); }
.t3l-demo-link:hover { color: var(--t3-primary); }

.t3l-demo-form {
    display: grid;
    gap: 14px;
    padding: 26px;
    border-radius: 14px;
    border: 1px solid var(--t3-border);
    background: var(--t3-bg);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .08);
}

.t3l-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.t3l-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.t3l-field > span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--t3-text);
}

.t3l-field em { font-style: normal; font-weight: 400; color: var(--t3-text-muted); }

.t3l-field input,
.t3l-field select,
.t3l-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius-sm);
    background: var(--t3-field-bg);
    color: var(--t3-text);
    font: inherit;
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.t3l-field textarea { resize: vertical; }

.t3l-field input:focus,
.t3l-field select:focus,
.t3l-field textarea:focus {
    outline: none;
    border-color: var(--t3-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--t3-primary) 18%, transparent);
}

.t3l-form-msg { font-size: 13px; min-height: 0; }
.t3l-form-msg:empty { display: none; }
.t3l-form-msg.is-ok { color: var(--t3-success); font-weight: 600; }
.t3l-form-msg.is-error { color: var(--t3-danger); }

.t3l-demo-submit { justify-content: center; }
.t3l-demo-submit[disabled] { opacity: .6; pointer-events: none; }

/* Step 2 of the demo form: the emailed code replaces the fields until it is entered. */
.t3l-demo-form.is-verifying > .t3l-field-row,
.t3l-demo-form.is-verifying > .t3l-field,
.t3l-demo-form.is-verifying > .t3l-demo-send,
.t3l-demo-form.is-verifying > .t3l-demo-note { display: none; }
.t3l-demo-verify { display: grid; gap: 12px; }
.t3l-demo-verify[hidden] { display: none; }
.t3l-demo-verify-lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--t3-text); }
.t3l-demo-verify .t3l-field input { font-size: 22px; letter-spacing: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.t3l-demo-verify-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.t3l-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--t3-primary); text-decoration: underline; cursor: pointer; }
.t3l-linkbtn[disabled] { opacity: .5; pointer-events: none; }
.t3l-demo-note { margin: -4px 0 0; font-size: 12px; color: var(--t3-text-muted); text-align: center; }

/* ---- Floating WhatsApp button, stacked above the theme switch ---- */
.t3l-wa-fab {
    position: fixed;
    right: 16px;
    bottom: 140px;
    z-index: 90;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #10141c;
    color: #fff;
    font-size: 21px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .25);
    transition: transform .15s ease;
}

.t3l-wa-fab:hover { color: #fff; transform: scale(1.06); }

/* ---- Responsive ---- */
@media (max-width: 1400px) {
    .t3l-ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
    .t3l-pkg-grid,
    .t3l-story-grid,
    .t3l-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t3l-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .t3l-product-head,
    .t3l-demo { grid-template-columns: minmax(0, 1fr); }
    .t3l-screen { max-width: 560px; }
}

@media (max-width: 1024px) {
    .t3l-wa-fab { right: 12px; bottom: 120px; }
}

@media (max-width: 900px) {
    .t3l-product-body,
    .t3l-help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .t3l-pkg-grid,
    .t3l-story-grid,
    .t3l-ind-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .t3l-steps,
    .t3l-built-grid { grid-template-columns: 1fr; }
    .t3l-core-strip .t3l-more { margin-left: 0; width: 100%; }
    .t3l-pkg, .t3l-story { padding: 19px; }
    .t3l-field-row { grid-template-columns: 1fr; }
    .t3l-demo-form { padding: 20px; }
    .t3l-wa-fab { width: 40px; height: 40px; font-size: 20px; bottom: 116px; }
    .t3l-pill-wa { font-size: 13px; }
    .t3l-pill-wa .fa-whatsapp { font-size: 17px; }
    .t3l-wa-label { display: inline; }
}

/* ---- Dark mode ---- */
.dark-theme .t3l-pkg,
.dark-theme .t3l-ind,
.dark-theme .t3l-story,
.dark-theme .t3l-built,
.dark-theme .t3l-help,
.dark-theme .t3l-caps,
.dark-theme .t3l-chip,
.dark-theme .t3l-screen,
.dark-theme .t3l-demo-form { background: var(--t3-field-bg); }

.dark-theme .t3l-screen { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }


.dark-theme .t3l-pkg:hover,
.dark-theme .t3l-ind:hover,
.dark-theme .t3l-story:hover,
.dark-theme .t3l-built:hover,
.dark-theme .t3l-help:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }

.dark-theme .t3l-story-mini { background: var(--t3-field-bg); }

/* ==========================================================================
   Home on tablets & phones — no photo. Below 1024px the hero image used to
   drop under the copy as a cropped banner; the copy now carries the screen on
   its own, and the six packages become a grid of tappable tiles
   (three across on tablets, two on phones).
   ========================================================================== */
@media (max-width: 1024px) {
    .t3l-home-media { display: none; }

    .t3l-home { align-content: center; }

    /* The dark corner band was there to sit against the photo. */
    .t3l-home-content::before { display: none; }

    .t3l-home-content { padding-top: 40px; padding-bottom: 44px; }
    .t3l-home-chips { max-width: 560px; }
}

@media (max-width: 1024px) {
    /* The off-canvas drawer's shadow bled in along the left edge while closed. */
    .t3l-sidebar { box-shadow: none; }
    .t3l-sidebar.is-open { box-shadow: 0 0 60px rgba(16, 24, 40, .18); }

    .t3l-home-chips {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 26px;
    }

    .t3l-chip {
        gap: 10px;
        padding: 10px 11px;
        border-radius: 12px;
        font-size: 12.5px;
        line-height: 1.25;
        box-shadow: var(--t3-shadow-sm);
    }

    .t3l-chip i {
        width: 28px;
        height: 28px;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--t3-subtle-bg);
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .t3l-home-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop keeps the short corner mark; the full-name wordmark is for small screens. */
.t3l-home-wordmark { display: none; }

/* ==========================================================================
   Home on tablets & phones — exactly one screen, wordmark along the bottom.
   The shell used to be a full 100vh *below* the sticky top bar, so the page
   always scrolled by the bar's height into empty space.
   ========================================================================== */
@media (max-width: 1024px) {
    :root { --t3l-topbar-h: 73px; }

    .t3l-topbar { height: var(--t3l-topbar-h); box-sizing: border-box; }

    .t3l-shell {
        min-height: calc(100vh - var(--t3l-topbar-h));
        min-height: calc(100svh - var(--t3l-topbar-h));
    }

    .t3l-home {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - var(--t3l-topbar-h));
        min-height: calc(100svh - var(--t3l-topbar-h));
    }

    /* Room at the bottom for the wordmark, so the tiles never sit on it. */
    .t3l-home-content {
        flex: 1 1 auto;
        padding-bottom: calc(14vw + 40px);
    }

    .t3l-home-watermark { display: none; }

    /* Ends before the floating WhatsApp / theme buttons on the right. */
    .t3l-home-wordmark {
        display: block;
        position: absolute;
        left: 6%;
        bottom: 22px;
        width: min(calc(94% - 84px), 620px);
        height: auto;
        aspect-ratio: 1000 / 140;
        overflow: visible;
        pointer-events: none;
        user-select: none;
    }

    .t3l-home-wordmark text {
        font-family: inherit;
        font-size: 184px;
        font-weight: 800;
        fill: var(--t3-text);
        opacity: .045;
    }

    .dark-theme .t3l-home-wordmark text { fill: #fff; opacity: .06; }
}

/* Short phones (e.g. 360×640): tighten the hero so it still fits one screen. */
@media (max-width: 600px) and (max-height: 760px) {
    .t3l-home-content { padding-top: 18px; padding-bottom: calc(10vw + 34px); }
    .t3l-home-content .t3l-eyebrow { margin-bottom: 10px; }
    .t3l-home-title { font-size: 22px; margin-bottom: 10px; }
    .t3l-home-text { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
    /* Hero only: product pages reuse .t3l-home-actions with three buttons (incl.
       WhatsApp), which on one unwrapped line pushed the panel wider than the phone. */
    .t3l-home .t3l-home-actions { flex-wrap: nowrap; gap: 8px; }
    .t3l-home .t3l-home-actions .t3l-pill {
        flex: 1 1 0;
        justify-content: center;
        padding: 11px 10px;
        font-size: 13.5px;
        white-space: nowrap;
    }
    .t3l-home-chips { margin-top: 16px; gap: 8px; }
    .t3l-chip { padding: 7px 9px; }
    .t3l-home-wordmark { bottom: 16px; }
}

/* ==========================================================================
   Healthcare site: ecosystem status, "In development" tags, journey, about
   ========================================================================== */

/* Ecosystem status pill: Available now / Available · expanding / In development. */
.t3l-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    width: max-content;
    padding: 3px 10px;
    border-radius: 30px;
    border: 1px solid var(--t3-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--t3-text-muted);
    background: var(--t3-bg);
}

.t3l-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.t3l-status.is-live {
    color: var(--t3-success);
    border-color: color-mix(in srgb, var(--t3-success) 35%, transparent);
    background: color-mix(in srgb, var(--t3-success) 8%, var(--t3-bg));
}

.t3l-status.is-growing {
    color: var(--t3-info);
    border-color: color-mix(in srgb, var(--t3-info) 35%, transparent);
    background: color-mix(in srgb, var(--t3-info) 8%, var(--t3-bg));
}

.t3l-status.is-roadmap { color: var(--t3-text-muted); }

.dark-theme .t3l-status.is-live { color: #47cd89; }
.dark-theme .t3l-status.is-growing { color: #84adff; }

.t3l-section-head > .t3l-status { margin: 4px 0 12px; }

/* "In development" next to a capability or organisation type. */
.t3l-soon {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 20px;
    border: 1px dashed var(--t3-border-hover);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .02em;
    vertical-align: 1px;
    color: var(--t3-text-muted);
    white-space: nowrap;
}

.t3l-caps li.is-soon .t3l-cap-ic { opacity: .55; }
.t3l-caps li.is-soon strong { color: var(--t3-text-muted); }
.t3l-ticks.is-soon li { color: var(--t3-text-muted); }
.t3l-ind > .t3l-status { margin-top: -4px; }

/* How it works: eight stages, four to a row. */
.t3l-journey h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t3l-journey h3 i {
    font-size: 13px;
    color: var(--t3-primary);
}

.t3l-journey li {
    padding: 18px;
    border: 1px solid var(--t3-border);
    border-radius: var(--t3-radius);
    background: var(--t3-bg);
}

.t3l-journey .t3l-step-no { font-size: 22px; margin-bottom: 6px; }

/* Sub-headings between grids (devices, about). */
.t3l-sub-title { margin: 30px 0 14px; }

/* About: vision and mission side by side. */
.t3l-about-vm { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
.t3l-about-vm p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t3-text); }

/* About: where each ecosystem stands. */
.t3l-roadmap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.t3l-roadmap .t3l-built-name { flex: 1 1 auto; }

@media (max-width: 720px) {
    .t3l-about-vm,
    .t3l-roadmap { grid-template-columns: 1fr; }
    .t3l-roadmap .t3l-built { flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   Phones: never wider than the screen
   Grid/flex children default to min-width:auto, so one long unwrapped line
   (button row, mock screen, long word) used to stretch its column and let the
   section panel scroll sideways. Columns may shrink, text may break, and the
   panels themselves never scroll horizontally (pill strips keep their own
   horizontal scroller).
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* clip, not hidden: .t3l-main holds the sticky top bar and must not become
       a scroll container. */
    .t3l-panel,
    .t3l-main {
        overflow-x: clip;
    }

    .t3l-panel :is(.t3l-product-head, .t3l-product-body, .t3l-demo, .t3l-help-grid) > * {
        min-width: 0;
    }

    .t3l-panel :is(h1, h2, h3, p, li, .t3l-section-text) {
        overflow-wrap: anywhere;
    }

    .t3l-panel :is(img, svg, video, iframe, figure, table) {
        max-width: 100%;
    }
}

/* "Back to pricing" above the demo form (shown when the visitor came from /pricing). */
.t3l-demo-top { display: flex; justify-content: flex-end; width: 100%; max-width: 1100px; margin: 0 0 14px; }
.t3l-demo-top[hidden] { display: none; }
.t3l-demo-back { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border: 1px solid var(--t3-border); border-radius: 0; background: var(--t3-bg); color: var(--t3-text); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .15s ease; }
.t3l-demo-back:hover { border-color: var(--t3-text); color: var(--t3-text); text-decoration: none; }
.t3l-demo-back i { font-size: 12px; transition: transform .15s ease; }
.t3l-demo-back:hover i { transform: translateX(-2px); }
