:root {
    --tt-blue: #0d6efd;
    --tt-blue-600: #0b5ed7;
    --tt-blue-700: #084298;
    --tt-blue-soft: #eaf3ff;
    --tt-ink: #162033;
    --tt-muted: #667085;
    --tt-grey-25: #fbfcfe;
    --tt-grey-50: #f6f8fb;
    --tt-grey-100: #eef2f6;
    --tt-grey-200: #d9e2ec;
    --tt-grey-700: #344054;
    --tt-success: #16a34a;
    --tt-radius: 14px;
    --tt-radius-sm: 10px;
    --tt-shadow: 0 18px 45px rgba(13, 110, 253, .10);
    --tt-shadow-soft: 0 10px 30px rgba(22, 32, 51, .08);
}

* {
    min-width: 0;
}

body {
    color: var(--tt-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(13, 110, 253, .12);
}

a {
    color: var(--tt-blue);
}

a:hover {
    color: var(--tt-blue-700);
}

.text-primary,
.navbar-brand {
    color: var(--tt-blue) !important;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding-inline: 1rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.btn-lg {
    padding: .8rem 1.2rem;
}

.btn-primary {
    background: var(--tt-blue);
    border-color: var(--tt-blue);
    box-shadow: 0 10px 22px rgba(13, 110, 253, .22);
}

.btn-primary:hover {
    background: var(--tt-blue-600);
    border-color: var(--tt-blue-600);
}

.btn-outline-primary {
    color: var(--tt-blue);
    border-color: rgba(13, 110, 253, .35);
    background: #fff;
}

.btn-outline-primary:hover {
    background: var(--tt-blue);
    border-color: var(--tt-blue);
}

.btn-success {
    background: var(--tt-success);
    border-color: var(--tt-success);
}

.public-nav {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(217, 226, 236, .72);
    backdrop-filter: blur(16px);
}

.public-nav .navbar-toggler {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(13, 110, 253, .18);
    border-radius: 999px;
    background: var(--tt-blue-soft);
    box-shadow: none;
}

.public-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-right: .5rem;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--tt-blue), var(--tt-blue-700));
    box-shadow: 0 12px 24px rgba(13, 110, 253, .25);
}

.brand-logo {
    width: auto;
    max-width: 150px;
    max-height: 46px;
    margin-right: .5rem;
    object-fit: contain;
}

.nav-link {
    color: var(--tt-grey-700);
    font-weight: 650;
}

.nav-link:hover {
    color: var(--tt-blue);
}

.mega-dropdown {
    position: static;
}

.mega-menu {
    right: 1rem;
    left: 1rem;
    width: auto;
    margin-top: .75rem;
    padding: 1rem;
    border: 1px solid rgba(217, 226, 236, .92);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(16, 24, 40, .16);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr .85fr;
    gap: .9rem;
    max-width: 1120px;
    margin-inline: auto;
}

.mega-menu-title {
    margin-bottom: .55rem;
    color: var(--tt-blue);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.mega-link {
    display: grid;
    gap: .15rem;
    padding: .75rem;
    border-radius: 12px;
    color: var(--tt-ink);
    text-decoration: none;
}

.mega-link:hover,
.mega-link:focus {
    color: var(--tt-ink);
    background: var(--tt-blue-soft);
}

.mega-link strong {
    color: var(--tt-ink);
    line-height: 1.2;
}

.mega-link span,
.mega-menu-panel p {
    color: var(--tt-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.mega-menu-panel {
    padding: 1rem;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, var(--tt-blue-soft) 100%);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background:
        radial-gradient(circle at 14% 18%, rgba(13, 110, 253, .18), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(13, 110, 253, .09), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 45%, #eef5ff 100%);
}

.hero::after {
    position: absolute;
    inset: auto -14rem -17rem auto;
    width: 34rem;
    height: 34rem;
    content: "";
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-panel {
    border: 1px solid rgba(217, 226, 236, .86);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--tt-shadow);
    backdrop-filter: blur(12px);
}

.section-soft {
    background: var(--tt-grey-50);
}

.section-band {
    background: linear-gradient(180deg, #fff 0%, var(--tt-grey-50) 100%);
}

.eyebrow {
    color: var(--tt-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.feature-card,
.tt-card {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid rgba(217, 226, 236, .95);
    border-radius: var(--tt-radius);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.feature-card h2,
.feature-card h3 {
    letter-spacing: 0;
}

.feature-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:focus-within {
    border-color: rgba(13, 110, 253, .38);
    box-shadow: 0 18px 48px rgba(13, 110, 253, .14);
}

.readiness-check {
    height: 100%;
    padding: .9rem 1rem .9rem 2.65rem;
    border: 1px solid var(--tt-grey-200);
    border-radius: 14px;
    background: var(--tt-grey-50);
}

.readiness-check .form-check-input {
    margin-left: -1.75rem;
}

.readiness-check:has(.form-check-input:checked) {
    border-color: rgba(13, 110, 253, .42);
    background: var(--tt-blue-soft);
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.partner-logo-card {
    display: flex;
    min-height: 150px;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .65rem;
    border: 1px solid var(--tt-grey-200);
    border-radius: var(--tt-radius);
    background: #fff;
    color: var(--tt-ink);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--tt-shadow-soft);
}

.partner-logo-card:hover {
    border-color: rgba(13, 110, 253, .38);
    color: var(--tt-blue);
}

.partner-logo-card img {
    max-width: 130px;
    max-height: 64px;
    object-fit: contain;
}

.partner-logo-card small {
    color: var(--tt-muted);
}

.terms-document {
    max-width: 920px;
    margin-inline: auto;
    color: #243044;
    line-height: 1.75;
}

.terms-document h2 {
    margin: 0 0 1rem;
    font-size: 1.55rem;
    line-height: 1.25;
}

.terms-document h3 {
    margin: 1.8rem 0 .75rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.terms-document h4,
.terms-document h5,
.terms-document h6 {
    margin: 1.4rem 0 .65rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.terms-document p,
.terms-document ul,
.terms-document ol,
.terms-document blockquote,
.terms-document .table-responsive {
    margin-bottom: 1rem;
}

.terms-document ul,
.terms-document ol {
    padding-left: 1.35rem;
}

.terms-document li + li {
    margin-top: .35rem;
}

.terms-document blockquote {
    padding: .85rem 1rem;
    border-left: 4px solid var(--tt-blue);
    border-radius: 0 10px 10px 0;
    background: var(--tt-grey-50);
}

.terms-document code {
    padding: .12rem .35rem;
    border-radius: 6px;
    color: #004aad;
    background: #eef6ff;
}

.terms-document pre {
    padding: 1rem;
    overflow-x: auto;
    border-radius: 10px;
    background: #101828;
}

.terms-document pre code {
    padding: 0;
    color: #f8fbff;
    background: transparent;
}

.terms-document hr {
    margin: 1.6rem 0;
    border-color: var(--tt-grey-200);
    opacity: 1;
}

.terms-table {
    font-size: .95rem;
}

.terms-table th {
    color: #0b3d91;
    background: #f4f8ff;
}

.terms-directory {
    overflow: hidden;
    border: 1px solid var(--tt-grey-200);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.terms-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--tt-grey-200);
    background: #f8fbff;
}

.terms-search {
    width: min(100%, 340px);
}

.terms-group + .terms-group {
    border-top: 1px solid var(--tt-grey-200);
}

.terms-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.15rem;
    background: var(--tt-grey-50);
}

.terms-group-heading h3 {
    margin: 0;
    font-size: 1rem;
}

.terms-group-heading span,
.terms-updated {
    color: var(--tt-muted);
    font-size: .86rem;
}

.terms-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
}

.terms-list-item + .terms-list-item {
    border-top: 1px solid var(--tt-grey-200);
}

.terms-list-main h4 {
    margin: 0 0 .3rem;
    font-size: 1.02rem;
}

.terms-list-main p {
    margin: 0 0 .35rem;
    color: var(--tt-muted);
}

.terms-empty {
    padding: 1rem 1.15rem;
}

.settings-logo-preview {
    max-width: 180px;
    max-height: 72px;
    object-fit: contain;
}

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 12%, rgba(13, 110, 253, .16), transparent 24rem),
        linear-gradient(135deg, #f8fbff 0%, #eef4ff 45%, #ffffff 100%);
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.auth-panel {
    display: flex;
    padding: clamp(2rem, 5vw, 5rem);
    justify-content: space-between;
    flex-direction: column;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .94), rgba(15, 23, 42, .96)),
        #0d6efd;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.auth-brand img {
    max-width: 170px;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .16));
}

.auth-brand span:last-child {
    display: grid;
    line-height: 1.1;
}

.auth-brand small,
.auth-copy p,
.auth-proof {
    color: rgba(255, 255, 255, .74);
}

.auth-copy {
    max-width: 680px;
}

.auth-copy h1 {
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 4.25rem);
    line-height: 1;
    letter-spacing: 0;
}

.auth-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.auth-proof span {
    padding: .55rem .75rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.auth-card-wrap {
    display: grid;
    min-height: 100vh;
    padding: clamp(1.25rem, 4vw, 3rem);
    place-items: center;
}

.auth-card {
    width: min(100%, 430px);
    padding: clamp(1.3rem, 4vw, 2rem);
    border: 1px solid var(--tt-grey-200);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 80px rgba(16, 24, 40, .13);
}

.auth-card .form-control {
    min-height: 3.25rem;
}

.auth-links {
    display: flex;
    margin-top: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    font-weight: 750;
}

.service-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 13px;
    color: var(--tt-blue);
    background: var(--tt-blue-soft);
    font-weight: 900;
}

.stat {
    padding: 1.25rem;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: var(--tt-radius);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.hosting-hero-panel {
    padding: 1.35rem;
    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--tt-shadow);
    backdrop-filter: blur(14px);
}

.hosting-steps {
    display: grid;
    gap: .8rem;
    margin-bottom: 1rem;
}

.hosting-steps div {
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: .8rem;
    border-radius: var(--tt-radius-sm);
    background: #fff;
}

.hosting-steps strong {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--tt-blue);
}

.hosting-section-head {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}

.hosting-guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.marketing-snapshot {
    padding: 1.35rem;
    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--tt-shadow);
    backdrop-filter: blur(14px);
}

.marketing-snapshot-grid,
.marketing-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.marketing-snapshot-grid div {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border-radius: var(--tt-radius-sm);
    background: #fff;
}

.marketing-snapshot-grid strong {
    color: var(--tt-blue-700);
}

.marketing-snapshot-grid span {
    color: var(--tt-grey-700);
    font-size: .92rem;
}

.marketing-section-head {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}

.marketing-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.marketing-package {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.2rem;
    border: 1px solid rgba(217, 226, 236, .95);
    border-radius: var(--tt-radius);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.marketing-package-featured {
    border-color: rgba(13, 110, 253, .42);
    box-shadow: 0 24px 58px rgba(13, 110, 253, .16);
}

.marketing-price {
    display: grid;
    gap: .1rem;
    margin: .5rem 0 1rem;
    padding: .95rem;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: var(--tt-radius-sm);
    background: linear-gradient(180deg, #fff 0%, var(--tt-blue-soft) 100%);
}

.marketing-price strong {
    color: var(--tt-blue-700);
    font-size: 1.45rem;
    line-height: 1.1;
}

.marketing-price span {
    color: var(--tt-grey-700);
    font-size: .88rem;
}

.marketing-feature-list {
    display: grid;
    gap: .65rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.marketing-feature-list li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--tt-grey-700);
}

.marketing-feature-list li::before {
    position: absolute;
    top: .15rem;
    left: 0;
    display: grid;
    width: 1rem;
    height: 1rem;
    content: "\2713";
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--tt-blue);
    font-size: .65rem;
    font-weight: 900;
}

.marketing-package .btn {
    margin-top: auto;
}

.hosting-comparison-wrap {
    overflow-x: auto;
    border: 1px solid rgba(217, 226, 236, .95);
    border-radius: var(--tt-radius);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.hosting-comparison-table {
    width: 100%;
    min-width: 860px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.hosting-comparison-table th,
.hosting-comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--tt-grey-100);
    vertical-align: top;
}

.hosting-comparison-table thead th {
    color: var(--tt-ink);
    background: var(--tt-grey-50);
}

.hosting-comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 150px;
    background: #fff;
}

.hosting-comparison-table thead th:first-child {
    z-index: 3;
    background: var(--tt-grey-50);
}

.hosting-comparison-table thead span,
.hosting-comparison-table thead small {
    display: block;
}

.hosting-comparison-table .comparison-plan-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .5rem;
    padding: .3rem .55rem;
    border-radius: 999px;
    color: var(--tt-blue-700);
    background: var(--tt-blue-soft);
    font-size: .75rem;
    font-weight: 850;
}

.hosting-comparison-table thead span {
    font-weight: 850;
}

.hosting-comparison-table thead small {
    margin-top: .25rem;
    color: var(--tt-muted);
    font-weight: 600;
}

.hosting-comparison-table tbody tr:last-child th,
.hosting-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}


.trust-pill {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .45rem .75rem;
    border: 1px solid rgba(13, 110, 253, .16);
    border-radius: 999px;
    color: var(--tt-grey-700);
    background: rgba(255, 255, 255, .76);
    font-size: .9rem;
    font-weight: 650;
}

.form-shell {
    max-width: 960px;
}

.form-control,
.form-select {
    border-color: var(--tt-grey-200);
    border-radius: 12px;
    padding: .78rem .95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(13, 110, 253, .7);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .12);
}

.footer {
    background: #101828;
    color: #d0d5dd;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #b9d8ff;
}

.admin-body {
    min-height: 100vh;
    color: #172033;
    background:
        radial-gradient(circle at 92% 0%, rgba(13, 110, 253, .08), transparent 22rem),
        var(--tt-grey-50);
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    width: 286px;
    color: #d7e5ff;
    background:
        linear-gradient(180deg, #101828 0%, #0f172a 100%);
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.admin-sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: .15rem;
}

.admin-nav-group + .admin-nav-group {
    margin-top: .65rem;
}

.admin-nav-group-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem .35rem .45rem .55rem;
    color: rgba(215, 229, 255, .72);
    border: 0;
    background: transparent;
    text-align: left;
}

.admin-nav-group-toggle strong,
.admin-nav-group-toggle small {
    display: block;
}

.admin-nav-group-toggle strong {
    color: rgba(255, 255, 255, .88);
    font-size: .76rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-nav-group-toggle small {
    color: rgba(215, 229, 255, .54);
    font-size: .72rem;
    font-weight: 650;
}

.admin-nav-chevron {
    display: inline-grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .78);
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    transition: transform .18s ease;
}

.admin-nav-group-toggle[aria-expanded="true"] .admin-nav-chevron {
    transform: rotate(180deg);
}

.admin-nav-group-items {
    display: grid;
    gap: .4rem;
    padding-top: .25rem;
}

.admin-brand {
    min-height: 3rem;
}

.admin-brand span:last-child {
    display: grid;
    gap: .1rem;
    line-height: 1.15;
}

.admin-brand small,
.admin-nav-copy small {
    display: block;
    color: rgba(215, 229, 255, .62);
    font-size: .75rem;
    font-weight: 650;
}

.admin-sidebar .brand-mark {
    box-shadow: none;
}

.admin-sidebar a {
    color: #d7e5ff;
    text-decoration: none;
}

.admin-sidebar .admin-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 3.25rem;
    padding: .7rem .8rem;
    color: #d7e5ff;
    border: 1px solid transparent;
    border-radius: 14px;
}

.admin-nav-icon {
    display: inline-grid;
    flex: 0 0 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: 11px;
    color: #bfdbfe;
    background: rgba(255, 255, 255, .07);
    font-size: .85rem;
    font-weight: 900;
}

.admin-nav-copy {
    display: grid;
    gap: .08rem;
    line-height: 1.15;
}

.admin-sidebar .admin-nav-link:hover,
.admin-sidebar .admin-nav-link.active {
    color: #fff;
    border-color: rgba(147, 197, 253, .22);
    background: rgba(13, 110, 253, .22);
}

.admin-sidebar .admin-nav-link.active .admin-nav-icon {
    color: #fff;
    background: var(--tt-blue);
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.admin-main {
    min-height: 100vh;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--tt-grey-200);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
}

.admin-topbar-inner {
    min-height: 4.65rem;
    padding-block: .85rem;
}

.admin-title-block {
    min-width: 0;
}

.admin-content {
    padding: 1.25rem;
}

.admin-page-title {
    letter-spacing: 0;
}

.admin-table-card {
    overflow: hidden;
    border: 1px solid var(--tt-grey-200);
    border-radius: var(--tt-radius);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.admin-table-card .table-responsive {
    margin: 0;
}

.table {
    --bs-table-hover-bg: #f5f9ff;
}

.table thead th {
    color: var(--tt-muted);
    background: var(--tt-grey-50);
    font-size: .78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-body .table td,
.admin-body .table th {
    padding: .95rem;
}

.admin-body .container-fluid {
    max-width: 1500px;
}

.admin-density .form-label {
    margin-bottom: .25rem;
    color: var(--tt-muted);
    font-size: .76rem;
    font-weight: 800;
}

.admin-filter-panel,
.admin-bulk-bar,
.admin-detail-panel {
    border: 1px solid var(--tt-grey-200);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .05);
}

.admin-filter-panel,
.admin-bulk-bar {
    padding: .85rem;
}

.admin-bulk-select {
    max-width: 15rem;
}

.admin-compact-table {
    font-size: .9rem;
}

.admin-compact-table .table thead th,
.admin-compact-table .table td {
    padding: .58rem .72rem;
    vertical-align: top;
}

.admin-compact-table .table thead th {
    white-space: nowrap;
}

.admin-check-cell {
    width: 2.5rem;
    text-align: center;
}

.admin-detail-panel {
    padding: 1rem;
}

.admin-detail-panel h2 {
    letter-spacing: 0;
}

.admin-side-accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 10px;
    --bs-accordion-inner-border-radius: 10px;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .14);
    --bs-accordion-active-bg: #f5f9ff;
    --bs-accordion-active-color: var(--tt-ink);
}

.admin-side-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--tt-grey-200);
    border-radius: 10px;
    background: #fff;
}

.admin-side-accordion .accordion-item + .accordion-item {
    margin-top: .65rem;
}

.admin-side-accordion .accordion-button {
    padding: .8rem .9rem;
    color: var(--tt-ink);
    font-size: .95rem;
    font-weight: 850;
    letter-spacing: 0;
}

.admin-side-accordion .accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 var(--tt-grey-200);
}

.admin-side-accordion .accordion-body {
    padding: .9rem;
}

.admin-detail-panel-header {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.admin-key-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.admin-key-grid > div,
.admin-message-box {
    min-width: 0;
    padding: .65rem .75rem;
    border: 1px solid var(--tt-grey-200);
    border-radius: 10px;
    background: var(--tt-grey-50);
}

.admin-key-grid span,
.admin-message-box span {
    display: block;
    margin-bottom: .2rem;
    color: var(--tt-muted);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-key-grid strong,
.admin-key-grid a,
.admin-message-box p {
    overflow-wrap: anywhere;
}

.admin-compact-list {
    display: grid;
    gap: .55rem;
}

.admin-compact-item,
.admin-activity-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: .65rem 0;
    border-top: 1px solid var(--tt-grey-100);
}

.admin-compact-item:first-child,
.admin-activity-item:first-child {
    border-top: 0;
}

.admin-compact-item p,
.admin-activity-item span {
    margin: .2rem 0 0;
}

.admin-compact-item small,
.admin-activity-item small {
    display: block;
    color: var(--tt-muted);
}

.admin-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1rem;
}

.admin-activity-item {
    display: block;
}

.update-key-grid {
    grid-template-columns: 1fr;
}

.update-file-list {
    display: grid;
    max-height: 24rem;
    overflow: auto;
    gap: .35rem;
    padding: .8rem;
    border: 1px solid var(--tt-grey-200);
    border-radius: 10px;
    background: var(--tt-grey-50);
}

.update-file-list code {
    display: block;
    padding: .35rem .45rem;
    border-radius: 7px;
    color: var(--tt-ink);
    background: #fff;
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.update-log {
    max-height: 22rem;
    overflow: auto;
    padding: .85rem;
    border: 1px solid var(--tt-grey-200);
    border-radius: 10px;
    color: var(--tt-muted);
    background: var(--tt-grey-50);
    font-size: .82rem;
    white-space: pre-wrap;
}

.badge {
    border-radius: 999px;
    padding: .45rem .65rem;
}

.text-bg-primary {
    background-color: var(--tt-blue) !important;
}

.text-bg-light {
    color: var(--tt-grey-700) !important;
    background-color: var(--tt-grey-100) !important;
}

.responsive-preview-section {
    background:
        linear-gradient(180deg, #fff 0%, var(--tt-grey-50) 100%);
}

.responsive-note {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(13, 110, 253, .16);
    border-radius: var(--tt-radius);
    color: var(--tt-grey-700);
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.responsive-device-stack {
    display: grid;
    gap: 1.5rem;
}

.mobile-action-bar {
    position: fixed;
    right: .85rem;
    bottom: calc(.85rem + env(safe-area-inset-bottom));
    left: .85rem;
    z-index: 1030;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    padding: .55rem;
    border: 1px solid rgba(217, 226, 236, .88);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
    backdrop-filter: blur(16px);
}

.mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: .6rem .9rem;
    border-radius: 999px;
    color: var(--tt-blue);
    background: var(--tt-blue-soft);
    font-size: .95rem;
    font-weight: 850;
    text-decoration: none;
}

.mobile-action-primary {
    color: #fff;
    background: var(--tt-blue);
    box-shadow: 0 10px 26px rgba(13, 110, 253, .26);
}

.responsive-device {
    display: grid;
    grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px solid rgba(217, 226, 236, .96);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--tt-shadow-soft);
}

.responsive-device-copy {
    align-self: start;
    padding: .55rem;
}

.device-mockup {
    position: relative;
    display: grid;
    width: 100%;
    place-items: center;
    padding: 1rem;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 30px;
    background:
        linear-gradient(145deg, #111827 0%, #1f2937 54%, #0b1220 100%);
    box-shadow: 0 28px 70px rgba(16, 24, 40, .22);
}

.device-screen {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: #fff;
}

.device-screen iframe {
    display: block;
    border: 0;
    background: #fff;
    transform-origin: top left;
}

.device-camera {
    position: absolute;
    z-index: 2;
    top: .45rem;
    left: 50%;
    width: 4.25rem;
    height: .38rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
}

.responsive-device-phone .device-mockup {
    max-width: 430px;
    margin-inline: auto;
    border-radius: 42px;
    padding: 1.35rem .85rem;
}

.responsive-device-phone .device-screen {
    border-radius: 30px;
}

.responsive-device-phone-landscape .device-mockup {
    max-width: 900px;
    border-radius: 34px;
    padding: .85rem 1.35rem;
}

.responsive-device-phone-landscape .device-camera {
    top: 50%;
    right: .45rem;
    left: auto;
    width: .38rem;
    height: 4.25rem;
    transform: translateY(-50%);
}

.responsive-device-tablet .device-mockup {
    max-width: 860px;
    margin-inline: auto;
    border-radius: 38px;
    padding: 1.45rem 1rem;
}

.responsive-device-tablet .device-screen {
    border-radius: 24px;
}

.responsive-device-desktop .device-mockup {
    border-radius: 18px 18px 8px 8px;
    padding: 1.25rem .85rem .85rem;
}

.responsive-device-desktop .device-mockup::after {
    position: absolute;
    right: 14%;
    bottom: -.85rem;
    left: 14%;
    height: .85rem;
    content: "";
    border-radius: 0 0 16px 16px;
    background: #d9e2ec;
    box-shadow: 0 18px 35px rgba(16, 24, 40, .16);
}

.responsive-device-desktop .device-screen {
    border-radius: 8px;
}

@media (min-width: 992px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100vh;
        z-index: 30;
        overflow: hidden;
    }

    .admin-main {
        width: calc(100% - 286px);
        margin-left: 286px;
    }

    .admin-sidebar-footer {
        flex: 0 0 auto;
    }

    .admin-content {
        padding: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        min-height: auto;
        gap: 2rem;
        padding: 1.25rem;
    }

    .auth-copy h1 {
        font-size: 2rem;
    }

    .auth-card-wrap {
        min-height: auto;
        padding: 1rem;
    }

    body {
        padding-bottom: calc(4.7rem + env(safe-area-inset-bottom));
    }

    .public-nav {
        background: rgba(255, 255, 255, .96);
    }

    .public-nav .container {
        padding-inline: 1rem;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .public-nav .navbar-collapse {
        margin-top: .8rem;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        padding: .85rem;
        border: 1px solid rgba(217, 226, 236, .9);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--tt-shadow-soft);
    }

    .public-nav .navbar-nav {
        gap: .25rem;
    }

    .public-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 2.7rem;
        padding: .65rem .8rem;
        border-radius: 12px;
        background: var(--tt-grey-50);
    }

    .mega-dropdown {
        position: relative;
    }

    .mega-menu {
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        margin: .35rem 0 .5rem;
        padding: .65rem;
        border-radius: 14px;
        box-shadow: none;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .mega-link {
        padding: .7rem;
        background: var(--tt-grey-50);
    }

    .mega-menu-panel {
        padding: .85rem;
    }

    .hero {
        padding: 3.25rem 0 2.65rem;
        border-bottom: 1px solid rgba(217, 226, 236, .76);
    }

    .display-5 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .display-6 {
        font-size: 1.85rem;
        line-height: 1.1;
    }

    .lead {
        font-size: 1.03rem;
        line-height: 1.6;
    }

    section.py-5,
    .section-soft.py-5 {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }

    .hero .d-flex.flex-wrap.gap-3,
    .col-12.d-flex.flex-wrap.gap-3 {
        gap: .65rem !important;
    }

    .public-nav .btn {
        width: 100%;
        margin-top: .5rem;
    }

    .terms-directory-toolbar,
    .terms-group-heading,
    .terms-list-item {
        align-items: stretch;
    }

    .terms-directory-toolbar,
    .terms-list-item {
        grid-template-columns: 1fr;
    }

    .terms-directory-toolbar {
        display: grid;
    }

    .terms-search {
        width: 100%;
    }

    .terms-list-item {
        display: grid;
    }

    .terms-list-item .btn {
        width: 100%;
    }

    .hero .btn-lg,
    form .btn-lg,
    .feature-card .btn {
        width: 100%;
    }

    .feature-card,
    .tt-card,
    .stat,
    .hero-panel,
    .hosting-hero-panel,
    .marketing-snapshot {
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(16, 24, 40, .08);
    }

    .feature-card,
    .tt-card {
        padding: 1.05rem;
    }

    .trust-pill {
        width: fit-content;
        max-width: 100%;
        padding: .5rem .72rem;
        font-size: .86rem;
    }

    .form-control,
    .form-select {
        min-height: 3rem;
        font-size: 1rem;
    }

    textarea.form-control {
        min-height: 8rem;
    }

    .form-check {
        padding: .8rem .85rem .8rem 2.55rem;
        border: 1px solid var(--tt-grey-200);
        border-radius: 14px;
        background: var(--tt-grey-50);
    }

    .form-check-input {
        width: 1.15rem;
        height: 1.15rem;
        margin-left: -1.75rem;
    }

    .hosting-comparison-wrap {
        margin-inline: -1rem;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
        scroll-snap-type: x proximity;
    }

    .hosting-comparison-wrap::before {
        display: block;
        padding: .75rem 1rem .25rem;
        content: "Swipe to compare packages";
        color: var(--tt-muted);
        font-size: .85rem;
        font-weight: 700;
    }

    .hosting-comparison-table th,
    .hosting-comparison-table td {
        padding: .8rem;
    }

    .mobile-action-bar {
        display: grid;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-body {
        padding-bottom: 0;
    }

    .admin-topbar-inner {
        min-height: 4.25rem;
        padding-block: .65rem;
    }

    .admin-menu-button {
        min-width: 4.75rem;
    }

    .admin-topbar-actions {
        gap: .45rem !important;
    }

    .admin-topbar-actions .btn {
        min-height: 2.4rem;
        padding-inline: .75rem;
    }

    .admin-page-title {
        overflow: hidden;
        max-width: 44vw;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-sidebar.offcanvas {
        width: min(88vw, 330px);
    }

    .admin-responsive-table {
        min-width: 0;
    }

    .admin-responsive-table thead {
        display: none;
    }

    .admin-responsive-table,
    .admin-responsive-table tbody,
    .admin-responsive-table tr,
    .admin-responsive-table td {
        display: block;
        width: 100%;
    }

    .admin-responsive-table tbody {
        display: grid;
        gap: .85rem;
        padding: .85rem;
        background: var(--tt-grey-50);
    }

    .admin-responsive-table tr {
        overflow: hidden;
        border: 1px solid var(--tt-grey-200);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
    }

    .admin-responsive-table td {
        display: grid;
        grid-template-columns: minmax(7.5rem, .42fr) minmax(0, 1fr);
        gap: .75rem;
        align-items: start;
        padding: .78rem .9rem;
        border-bottom: 1px solid var(--tt-grey-100);
    }

    .admin-responsive-table td:last-child {
        border-bottom: 0;
    }

    .admin-responsive-table td::before {
        content: attr(data-label);
        color: var(--tt-muted);
        font-size: .75rem;
        font-weight: 850;
        text-transform: uppercase;
    }

    .admin-bulk-bar {
        align-items: stretch !important;
    }

    .admin-bulk-select {
        max-width: none;
        width: 100%;
    }

    .admin-check-cell {
        width: 100%;
        text-align: left;
    }

    .admin-key-grid,
    .admin-activity-grid {
        grid-template-columns: 1fr;
    }

    .admin-detail-panel-header {
        display: grid;
    }

    .admin-body .table-responsive {
        border-radius: 16px;
    }

    .responsive-device {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .responsive-device-copy {
        padding: 0;
    }

    .responsive-device-phone .device-mockup,
    .responsive-device-tablet .device-mockup,
    .responsive-device-phone-landscape .device-mockup {
        max-width: 100%;
    }

    .hosting-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketing-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketing-package-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero {
        padding: 2.65rem 0 2.25rem;
    }

    .hero::after {
        width: 18rem;
        height: 18rem;
        inset: auto -8rem -10rem auto;
    }

    .display-5 {
        font-size: 1.85rem;
    }

    .display-6 {
        font-size: 1.65rem;
    }

    h2,
    .h1 {
        font-size: 1.55rem;
        line-height: 1.18;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        margin-bottom: .75rem;
        border-radius: 12px;
    }

    .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .row.g-3 {
        --bs-gutter-y: .85rem;
    }

    .footer {
        padding-bottom: 6rem !important;
    }

    .hosting-guidance-grid {
        grid-template-columns: 1fr;
    }

    .marketing-snapshot-grid,
    .marketing-process-grid {
        grid-template-columns: 1fr;
    }

    .responsive-device {
        padding: .8rem;
    }

    .device-mockup {
        padding-inline: .65rem;
    }

    .responsive-device-stack {
        gap: 1rem;
    }

    .mobile-action-bar {
        right: .65rem;
        left: .65rem;
    }

    .admin-topbar-inner {
        align-items: flex-start !important;
        flex-wrap: wrap;
    }

    .admin-title-block {
        flex: 1 1 calc(100% - 5.25rem);
    }

    .admin-page-title {
        max-width: 100%;
    }

    .admin-topbar-actions {
        width: 100%;
        margin-left: 0 !important;
    }

    .admin-topbar-actions .btn {
        flex: 1 1 0;
    }

    .admin-content {
        padding: .85rem;
    }

    .admin-body .h2,
    .admin-body h1.h2 {
        font-size: 1.45rem;
    }

    .admin-responsive-table td {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}
