/* ============================================================
   THNEA Core — Design System
   Replicates the ShineGPL-style front-end adapted for Forex tools.
   Fonts: Poppins (body) + Plus Jakarta Sans (components)
   ============================================================ */

:root {
    --thnea-navy: #071A33;
    --thnea-navy-2: #0B2447;
    --thnea-primary: #2563EB;
    --thnea-primary-dark: #1D4ED8;
    --thnea-primary-darker: #1E40AF;
    --thnea-primary-5: rgba(37, 99, 235, 0.05);
    --thnea-primary-10: rgba(37, 99, 235, 0.10);
    --thnea-primary-15: rgba(37, 99, 235, 0.15);
    --thnea-primary-20: rgba(37, 99, 235, 0.20);
    --thnea-primary-30: rgba(37, 99, 235, 0.30);
    --thnea-primary-40: rgba(37, 99, 235, 0.40);
    --thnea-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --thnea-blue-soft: #EAF2FF;
    --thnea-ice: #8CC2FF;
    --thnea-black: #071A33;
    --thnea-text: #24324A;
    --thnea-muted: #62748A;
    --thnea-muted-2: #475569;
    --thnea-border: #DCE6F2;
    --thnea-border-2: #C5D5E8;
    --thnea-bg: #F4F7FD;
    --thnea-bg-2: #EAF1FA;
    --thnea-white: #ffffff;
    --thnea-red: #ef4444;
    --thnea-gold: #8CC2FF;
    --thnea-radius: 14px;
    --thnea-radius-btn: 12px;
    --thnea-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --thnea-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --thnea-font-ui: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Theme page-title cleanup (custom layouts have their own) ---------- */

.home .entry-header,
.home .page-header,
body:has(.thnea-single-tool) .entry-header,
body:has(.thnea-plans-page) .entry-header,
body:has(.thnea-changelog-page) .entry-header,
body:has(.thnea-archive-page) .entry-header,
body:has(.thnea-dl-instruction) .entry-header,
body:has(.thnea-products-page) .entry-header {
    display: none !important;
}

/* Keep the shared site header/footer; remove the duplicate auth-page widget. */
.elementor-widget-html:has(.thnea-auth-header) {
    display: none !important;
}

/* ---------- Base ---------- */

* {
    -webkit-tap-highlight-color: transparent;
}

body.thnea-body,
body {
    background: var(--thnea-bg);
    font-family: var(--thnea-font-body);
    color: var(--thnea-black);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
    letter-spacing: 0.005em;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.015em;
}

.thnea-site-header,
.thnea-homepage-main,
.thnea-single-tool,
.thnea-archive-page,
.thnea-plans-page,
.thnea-site-footer,
.thnea-dl-instruction {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.thnea-site-header *,
.thnea-homepage-main *,
.thnea-site-footer * {
    box-sizing: border-box;
}

.thnea-site-header svg,
.thnea-homepage-main svg,
.thnea-download-locker-card svg,
.thnea-dl-instruction svg,
.thnea-site-footer svg,
.thnea-plans-page svg,
.thnea-archive-page svg,
.thnea-single-tool svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ============================================================
   HEADER — floating pill
   ============================================================ */

.thnea-site-header {
    width: auto;
    padding: 14px 10px 16px;
    position: relative;
    z-index: 999;
    font-family: var(--thnea-font-ui);
    /* deep-navy brand band behind the white pills */
    background: linear-gradient(180deg, #08213F 0%, #071A33 100%);
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
    box-shadow: 0 18px 42px -30px rgba(7, 26, 51, 0.8);
}

.thnea-site-header.is-stuck {
    position: sticky;
    top: 0;
    animation: thneaHeaderFade 0.3s var(--thnea-ease);
}

.thnea-site-header.is-stuck .thnea-header-container {
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.13), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    border-color: var(--thnea-border-2);
}

.thnea-site-header.is-stuck .thnea-subnav-container {
    display: none;
}

@keyframes thneaHeaderFade {
    from { opacity: 0.85; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.thnea-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 0 20px;
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.thnea-header-container:hover {
    border-color: var(--thnea-border-2);
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.11), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
}

.thnea-header-logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.thnea-header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* round brand mark (site icon / cropped logo / icon box) */
.thnea-brand-icon-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(7, 26, 51, 0.35);
}

.thnea-brand-logo-crop {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(7, 26, 51, 0.35);
    background: var(--thnea-white);
}

.thnea-brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thnea-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s var(--thnea-ease);
}

.thnea-brand-icon:hover {
    transform: scale(1.05);
}

.thnea-brand-mark {
    width: 100%;
    height: 100%;
    display: block;
}

.thnea-brand-icon .thnea-brand-mark,
.thnea-footer-logo-fallback .thnea-brand-mark {
    width: 100% !important;
    height: 100% !important;
}

.thnea-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--thnea-black);
    white-space: nowrap;
}

.thnea-brand-highlight {
    color: var(--thnea-primary-dark);
}

/* Search — reference-style pill with animated focus, spinner & clear */

.thnea-header-search-wrap {
    flex: 1;
    max-width: 460px;
    position: relative;
}

.thnea-header-search-form {
    display: flex;
    align-items: center;
    min-width: 0;
    background: var(--thnea-bg-2);
    border: 1.5px solid rgba(0, 0, 0, 0.09);
    border-radius: 9999px;
    padding: 4px 6px 4px 18px;
    height: 44px;
    width: 100%;
    transition: all 0.25s var(--thnea-ease);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.thnea-header-search-form:hover {
    border-color: var(--thnea-primary-30);
    background: var(--thnea-white);
}

.thnea-header-search-form:focus-within {
    border-color: var(--thnea-primary);
    background: var(--thnea-white);
    box-shadow: 0 0 0 3px var(--thnea-primary-10), 0 2px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

input.thnea-hdr-search-input[type="search"],
input.thnea-hdr-search-input {
    caret-color: #2563EB;
    flex: 1;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-black);
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

input.thnea-hdr-search-input[type="search"]::-webkit-search-cancel-button,
input.thnea-hdr-search-input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    display: none;
}

.thnea-hdr-search-input::placeholder {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.thnea-header-search-form:focus-within .thnea-hdr-search-input::placeholder {
    color: var(--thnea-muted);
}

/* spinner + clear inside the field (right side) */
.thnea-ajax-search-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
    flex-shrink: 0;
    animation: thneaDropIn 0.2s var(--thnea-ease);
}

.thnea-ajax-search-actions[hidden] {
    display: none;
}

.thnea-ajax-spinner {
    display: none;
    width: 16px;
    height: 16px;
    color: var(--thnea-primary);
    animation: thneaSearchSpin 0.75s linear infinite;
}

.thnea-ajax-spinner.is-loading {
    display: inline-flex;
}

.thnea-ajax-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    background: #cbd5e1;
    color: #475569;
    cursor: pointer;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--thnea-ease);
}

.thnea-ajax-clear-btn svg {
    width: 12px;
    height: 12px;
    display: block;
}

.thnea-ajax-clear-btn:hover {
    background: #ef4444;
    color: var(--thnea-white);
    transform: scale(1.06);
}

.thnea-ajax-clear-btn:active {
    transform: scale(0.94);
}

@keyframes thneaSearchSpin {
    to { transform: rotate(360deg); }
}

button.thnea-hdr-search-btn,
.thnea-header-search-form .thnea-hdr-search-btn {
    border: none !important;
    cursor: pointer;
    background: var(--thnea-gradient);
    color: var(--thnea-white);
    width: 34px !important;
    height: 34px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    line-height: 1;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    box-shadow: 0 3px 10px var(--thnea-primary-30);
    transition: all 0.25s var(--thnea-ease);
    outline: none;
}

button.thnea-hdr-search-btn svg,
.thnea-header-search-form .thnea-hdr-search-btn svg {
    width: 15px;
    height: 15px;
    display: block;
    transition: transform 0.3s var(--thnea-ease);
}

@media (hover: hover) {
    button.thnea-hdr-search-btn:hover,
    .thnea-header-search-form .thnea-hdr-search-btn:hover {
        filter: brightness(1.06);
        transform: translateY(-1px) scale(1.06);
        box-shadow: 0 5px 14px var(--thnea-primary-40);
    }
    button.thnea-hdr-search-btn:hover svg,
    .thnea-header-search-form .thnea-hdr-search-btn:hover svg {
        transform: scale(1.1);
    }
}

.thnea-header-search-form:focus-within .thnea-hdr-search-btn {
    box-shadow: 0 3px 12px var(--thnea-primary-40);
}

/* Live search results dropdown */

.thnea-hdr-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    border-radius: 16px;
    box-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.18);
    padding: 8px;
    display: none;
    z-index: 60;
}

.thnea-hdr-search-results.is-open {
    display: block;
    animation: thneaDropIn 0.24s var(--thnea-ease);
}

.thnea-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 11px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.thnea-search-result-item:hover {
    background: var(--thnea-bg-2);
}

.thnea-search-result-thumb {
    width: 56px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--thnea-border);
    background: var(--thnea-bg-2);
    flex-shrink: 0;
}

.thnea-search-result-thumb.is-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thnea-muted);
}

.thnea-search-result-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.thnea-search-result-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--thnea-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thnea-search-result-meta {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--thnea-primary-dark);
}

.thnea-search-empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 13px;
    color: var(--thnea-muted);
    font-weight: 500;
}

/* Header right */

.thnea-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.thnea-header-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    border: none;
    border-radius: 9999px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    text-decoration: none !important;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px var(--thnea-primary-30);
    transition: all 0.2s var(--thnea-ease);
    white-space: nowrap;
}

.thnea-header-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--thnea-primary-40);
    filter: brightness(1.04);
}

.thnea-header-client-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--thnea-text);
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    padding: 9px 14px;
    border-radius: 9999px;
    border: 1.5px solid var(--thnea-border);
    background: var(--thnea-white);
    transition: all 0.2s var(--thnea-ease);
    white-space: nowrap;
}

.thnea-header-client-login-btn:hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-5);
}

.thnea-client-login-icon {
    display: inline-flex;
    align-items: center;
}

.thnea-client-login-icon svg {
    width: 16px;
    height: 16px;
}

.thnea-user-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 2px solid var(--thnea-primary-30);
    display: block;
}

.thnea-header-client-login-btn.is-logged {
    padding: 2px;
    border: 2px solid var(--thnea-primary-30);
}

/* guest: round avatar-style person icon */
.thnea-header-client-login-btn.is-guest {
    padding: 3px;
    border: none;
    border-radius: 50%;
    background: transparent;
}

.thnea-guest-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--thnea-primary-10);
    border: 2px solid var(--thnea-primary-30);
    color: var(--thnea-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.thnea-guest-avatar svg {
    width: 17px;
    height: 17px;
}

@media (hover: hover) {
    .thnea-header-client-login-btn.is-guest:hover .thnea-guest-avatar {
        background: var(--thnea-primary-10);
        border-color: var(--thnea-primary);
        color: var(--thnea-primary-darker);
    }
}

.thnea-header-client-login-btn.is-logged .thnea-user-avatar {
    width: 34px !important;
    height: 34px !important;
    border: none;
}

/* "Menu" toggle (mobile only) */
.thnea-subnav-mobile-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--thnea-font-ui);
    font-size: 14px;
    font-weight: 800;
    color: var(--thnea-primary-darker);
    padding: 8px 10px;
}

.thnea-subnav-mobile-toggle svg {
    width: 18px;
    height: 18px;
}

.thnea-subnav-mobile-toggle .thnea-toggle-icon-close {
    display: none;
}

.thnea-subnav-mobile-toggle.is-open .thnea-toggle-icon-open {
    display: none;
}

.thnea-subnav-mobile-toggle.is-open .thnea-toggle-icon-close {
    display: inline-flex;
}

button.thnea-subnav-mobile-toggle:hover,
.thnea-subnav-mobile-toggle:hover {
    color: var(--thnea-primary-darker) !important;
    background: transparent !important;
    opacity: 0.75;
}

@media (hover: hover) {
    button.thnea-subnav-mobile-toggle:hover,
    .thnea-subnav-mobile-toggle:hover {
        color: var(--thnea-primary-dark) !important;
        background: var(--thnea-primary-10) !important;
        border-radius: 10px;
        opacity: 1;
    }
}

/* Subnav bar */

.thnea-subnav-container {
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 0 10px;
}

.thnea-subnav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    border-radius: 9999px;
    padding: 7px 10px 7px 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.thnea-subnav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: visible;
    scrollbar-width: none;
}

.thnea-subnav-list::-webkit-scrollbar {
    display: none;
}

.thnea-subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-muted-2);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.thnea-subnav-link:hover {
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-10);
}

.thnea-subnav-link.is-active {
    color: var(--thnea-white);
    background: var(--thnea-gradient);
    box-shadow: 0 3px 10px var(--thnea-primary-30);
}

/* hover dropdowns (Forex Robots / Forex Indicators) */

.thnea-subnav-item {
    position: relative;
    display: inline-flex;
}

.thnea-subnav-link .thnea-subnav-caret {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform 0.25s var(--thnea-ease), opacity 0.2s ease;
}

.thnea-subnav-item:hover .thnea-subnav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.thnea-subnav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 14px;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s var(--thnea-ease), visibility 0.25s;
    z-index: 80;
}

.thnea-subnav-item:hover .thnea-subnav-dropdown,
.thnea-subnav-item:focus-within .thnea-subnav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.thnea-subnav-dropdown-inner {
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.2);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.thnea-subnav-dropdown-inner a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-text);
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s var(--thnea-ease);
}

.thnea-subnav-dropdown-inner a:hover {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    padding-left: 18px;
}

.thnea-dropdown-arrow {
    width: 12px;
    height: 12px;
    color: var(--thnea-primary);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s var(--thnea-ease);
}

.thnea-subnav-dropdown-inner a:hover .thnea-dropdown-arrow {
    opacity: 1;
    transform: translateX(0);
}

.thnea-subnav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

@media (min-width: 769px) {
    .thnea-subnav-right .thnea-social-round {
        display: inline-flex !important;
    }
}

/* Narrow desktops: the subnav row would overflow (site-wide horizontal
   scrollbar around 980-1110px). The social icons are decorative and stay
   in the footer, so drop them before the bar runs out of room. */
@media (min-width: 769px) and (max-width: 1120px) {
    .thnea-subnav-right .thnea-social-round {
        display: none !important;
    }
}

.thnea-changelog-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-primary-dark) !important;
    text-decoration: none !important;
    padding: 7px 14px;
    border-radius: 9999px;
    background: var(--thnea-primary-10);
    white-space: nowrap;
}

.thnea-changelog-pulse:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--thnea-primary-darker) !important;
    transform: translateY(-1px);
}

.thnea-changelog-pulse svg {
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-changelog-pulse:hover svg {
    transform: scale(1.1);
}

.thnea-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--thnea-primary);
}

.thnea-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--thnea-primary);
    animation: thneaPulse 1.8s ease-out infinite;
}

/* Premium Files chip (subnav right, reference-style) */

.thnea-premium-files-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-primary-dark) !important;
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-premium-files-chip svg {
    width: 13px;
    height: 13px;
}

.thnea-premium-files-chip:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--thnea-primary-darker) !important;
    border-color: rgba(37, 99, 235, 0.45);
}

/* Social round icon buttons (desktop subnav, left of What's New) */

.thnea-social-round {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--thnea-white) !important;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: all 0.22s var(--thnea-ease);
}

.thnea-social-round svg {
    width: 15px;
    height: 15px;
}

.thnea-social-round.is-tg { background: linear-gradient(135deg, #2AABEE, #229ED9); box-shadow: 0 3px 10px rgba(34, 158, 217, 0.3); }
.thnea-social-round.is-tg-dm { background: linear-gradient(135deg, #229ED9, #1B7FB0); box-shadow: 0 3px 10px rgba(34, 158, 217, 0.25); }
.thnea-social-round.is-yt { background: linear-gradient(135deg, #ff0000, #cc0000); box-shadow: 0 3px 10px rgba(255, 0, 0, 0.25); }

@media (hover: hover) {
    .thnea-social-round:hover {
        transform: translateY(-2px) scale(1.08);
        filter: brightness(1.08);
    }
    .thnea-social-round.is-tg:hover { box-shadow: 0 6px 16px rgba(34, 158, 217, 0.45); }
    .thnea-social-round.is-tg-dm:hover { box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4); }
    .thnea-social-round.is-yt:hover { box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4); }
}

@keyframes thneaPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes thneaDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile drawer */

.thnea-mobile-nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--thnea-white);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 44px -12px rgba(15, 23, 42, 0.22);
    z-index: 1001;
    padding: 18px 18px 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s var(--thnea-ease), visibility 0.28s;
}

.thnea-mobile-nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.thnea-mobile-nav-inner {
    display: flex;
    flex-direction: column;
}

.thnea-drawer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--thnea-muted);
    padding: 2px 8px 12px;
    border-bottom: 1px solid var(--thnea-bg-2);
    margin-bottom: 8px;
}

.thnea-drawer-heading svg {
    width: 15px;
    height: 15px;
    color: var(--thnea-primary);
}

.thnea-mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.thnea-mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-text);
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s var(--thnea-ease);
    -webkit-tap-highlight-color: transparent;
}

.thnea-mobile-menu-list a > svg:first-child {
    width: 19px;
    height: 19px;
    color: var(--thnea-primary);
}

.thnea-mobile-menu-list .thnea-menu-arrow {
    width: 14px;
    height: 14px;
    margin-left: auto;
    color: var(--thnea-muted);
    opacity: 0.55;
    transition: transform 0.2s var(--thnea-ease), opacity 0.2s ease, color 0.2s ease;
}

.thnea-mobile-menu-list a:active {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
}

@media (hover: hover) {
    .thnea-mobile-menu-list a:hover {
        background: var(--thnea-primary-10);
        color: var(--thnea-primary-darker);
        padding-left: 16px;
    }
    .thnea-mobile-menu-list a:hover .thnea-menu-arrow {
        transform: translateX(3px);
        opacity: 1;
        color: var(--thnea-primary-dark);
    }
}

.thnea-mobile-cta {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.thnea-mobile-cta-premium {
    flex: 1;
    text-align: center;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    padding: 13px;
    border-radius: var(--thnea-radius-btn);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px var(--thnea-primary-30);
    -webkit-tap-highlight-color: transparent;
}

.thnea-mobile-cta-login {
    flex: 1;
    text-align: center;
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text) !important;
    padding: 12px;
    border-radius: var(--thnea-radius-btn);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

@keyframes thneaDrawerIn {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.thnea-mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thnea-mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 13px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-text);
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.thnea-mobile-menu-list a:hover {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-dark);
}

.thnea-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.thnea-mobile-cta-premium {
    text-align: center;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    padding: 13px;
    border-radius: var(--thnea-radius-btn);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px var(--thnea-primary-30);
}

.thnea-mobile-cta-login {
    text-align: center;
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text) !important;
    padding: 12px;
    border-radius: var(--thnea-radius-btn);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
}

/* ============================================================
   HOMEPAGE — hero
   ============================================================ */

.thnea-homepage-main {
    font-family: var(--thnea-font-ui);
}

.thnea-hero-section {
    width: 100%;
    padding: 8px 0 44px;
    position: relative;
    background: radial-gradient(circle at 50% 20%, var(--thnea-primary-5) 0%, transparent 65%);
    text-align: center;
}

.thnea-hero-inner-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.thnea-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-primary-30);
    color: var(--thnea-primary-darker);
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 22px;
    box-shadow: 0 3px 10px var(--thnea-primary-15);
}

.thnea-hero-badge svg {
    color: var(--thnea-primary);
}

.thnea-hero-h1 {
    margin: 0 auto 20px;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thnea-hero-title-prefix {
    display: block;
    font-size: clamp(24px, 4.2vw, 46px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--thnea-black);
    margin-bottom: 4px;
    font-family: var(--thnea-font-body);
}

/* Rotator — typewriter headline (solid brand green, mobile-safe) */

.thnea-hero-rotator {
    display: inline-block;
    position: relative;
    min-height: 1.25em;
    color: var(--thnea-primary);
    font-size: clamp(30px, 4.8vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.22;
    font-family: var(--thnea-font-body);
    text-shadow: 0 4px 18px rgba(37, 99, 235, 0.22);
}

.thnea-rotator-text {
    white-space: nowrap;
}

.thnea-rotator-caret {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    margin-left: 4px;
    border-radius: 2px;
    background: var(--thnea-primary);
    vertical-align: -0.12em;
    animation: thneaCaretBlink 1s step-end infinite;
}

@keyframes thneaCaretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.thnea-hero-tagline {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--thnea-muted);
    font-weight: 500;
}

.thnea-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.thnea-hero-cta-primary,
.thnea-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: var(--thnea-radius-btn);
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-hero-cta-primary {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 8px 22px var(--thnea-primary-30);
}

.thnea-hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--thnea-primary-40);
}

.thnea-hero-cta-secondary {
    background: var(--thnea-white);
    color: var(--thnea-primary-dark) !important;
    border: 1.5px solid var(--thnea-primary-30);
}

.thnea-hero-cta-secondary:hover {
    background: var(--thnea-primary-5);
    transform: translateY(-2px);
}

/* Hero cards — bigger card form (desktop grid / mobile singles) */

.thnea-hero-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1240px;
    margin: 0 auto;
}

.thnea-hero-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s var(--thnea-ease), box-shadow 0.3s var(--thnea-ease), border-color 0.2s ease;
}

.thnea-hero-card:hover {
    transform: translateY(-5px);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 14px 30px var(--thnea-primary-15);
}

.thnea-hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--thnea-ease), background 0.25s ease, color 0.25s ease;
}

.thnea-hero-card-icon svg {
    width: 24px;
    height: 24px;
}

.thnea-hero-card:hover .thnea-hero-card-icon {
    background: var(--thnea-gradient);
    color: var(--thnea-white);
    transform: scale(1.06) rotate(-4deg);
    box-shadow: 0 8px 18px var(--thnea-primary-30);
}

.thnea-hero-card-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.thnea-hero-card-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--thnea-black);
    font-family: var(--thnea-font-ui);
    letter-spacing: -0.01em;
}

.thnea-hero-card-desc {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 600;
}

/* ============================================================
   HOMEPAGE — posts sections & cards
   ============================================================ */

.thnea-posts-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.thnea-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.thnea-section-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    min-width: 0;
}

.thnea-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    border-radius: 9999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    flex-shrink: 0;
}

.thnea-section-badge svg {
    width: 13px;
    height: 13px;
}

.thnea-section-title {
    margin: 0;
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--thnea-black);
    line-height: 1.25;
    font-family: var(--thnea-font-body);
}

.thnea-section-subtitle {
    margin: 0;
    font-size: 13.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.55;
}

@media (min-width: 1100px) {
    .thnea-section-header-left {
        flex-wrap: nowrap;
    }

    .thnea-section-subtitle {
        white-space: nowrap;
    }
}

.thnea-section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    font-size: 13px;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 9999px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 16px var(--thnea-primary-30);
    transition: all 0.25s var(--thnea-ease);
}

.thnea-section-view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-section-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--thnea-primary-40);
    filter: brightness(1.05);
}

.thnea-section-view-all:hover svg {
    transform: translateX(3px);
}

/* Cards grid — 3 per row, 16:9 thumbnails, bigger cards */

.thnea-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.thnea-card-item {
    background: var(--thnea-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
    transition: transform 0.35s var(--thnea-ease), box-shadow 0.35s var(--thnea-ease), border-color 0.25s ease;
}

.thnea-card-item:hover {
    transform: translateY(-6px);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 16px 36px var(--thnea-primary-15), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.thnea-card-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--thnea-bg-2);
}

/* Kept for backwards compatibility — the base rule is 16:9 everywhere. */
.thnea-homepage-main .thnea-card-thumb-wrap {
    aspect-ratio: 16 / 9;
}

.thnea-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.thnea-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--thnea-ease);
}

.thnea-card-item:hover .thnea-card-img {
    transform: scale(1.06);
}

.thnea-card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thnea-muted);
    background: linear-gradient(145deg, #F4F7FD 0%, #DCE6F2 100%);
}

.thnea-card-img-fallback svg {
    width: 64px;
    height: 64px;
    opacity: 0.4;
}

/* chips (version / tier) below the image */

.thnea-card-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.thnea-card-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--thnea-font-ui);
}

.thnea-card-chip svg {
    width: 12px;
    height: 12px;
}

.thnea-card-chip.is-version {
    background: var(--thnea-bg-2);
    border: 1px solid var(--thnea-border);
    color: var(--thnea-muted-2);
}

.thnea-card-chip.is-free {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    border: 1px solid var(--thnea-primary-30);
}

.thnea-card-chip.is-premium {
    background: rgba(37, 99, 235, 0.12);
    color: #1D4ED8;
    border: 1px solid rgba(37, 99, 235, 0.35);
}

.thnea-card-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.thnea-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.012em;
    font-family: var(--thnea-font-body);
}

.thnea-card-title a {
    color: var(--thnea-black);
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.thnea-card-title a:hover {
    color: var(--thnea-primary-dark);
}

.thnea-card-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.thnea-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--thnea-muted);
}

.thnea-card-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--thnea-primary);
}

.thnea-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--thnea-bg-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.thnea-card-license {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.thnea-license-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--thnea-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.thnea-license-val {
    font-size: 13.5px;
    font-weight: 800;
}

.thnea-license-val.is-free {
    color: var(--thnea-primary-dark);
}

.thnea-license-val.is-premium {
    color: #1D4ED8;
}

.thnea-license-val.is-post {
    color: var(--thnea-muted);
}

.thnea-card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker) !important;
    font-size: 12.5px;
    font-weight: 800;
    padding: 9px 15px;
    border-radius: 9999px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-card-action-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s var(--thnea-ease);
}

.thnea-card-action-btn:hover {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px var(--thnea-primary-30);
}

.thnea-card-action-btn:hover svg {
    transform: translateX(2px);
}

/* ============================================================
   ABOUT section
   ============================================================ */

.thnea-about-faq-section {
    max-width: 1240px;
    margin: 26px auto 0;
    padding: 30px 24px 40px;
}

.thnea-about-faq-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.thnea-about-card {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 32px 34px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.thnea-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.thnea-about-title {
    margin: 0 0 14px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: var(--thnea-font-body);
}

.thnea-about-text p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--thnea-muted-2);
    font-weight: 500;
    margin: 0 0 12px;
}

.thnea-about-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.thnea-about-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--thnea-text);
}

.thnea-about-point svg {
    color: var(--thnea-primary);
    width: 18px;
    height: 18px;
}

.thnea-about-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thnea-about-stat {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.3s var(--thnea-ease), border-color 0.2s ease;
}

.thnea-about-stat:hover {
    transform: translateY(-3px);
    border-color: var(--thnea-primary-30);
}

.thnea-about-stat strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--thnea-primary-dark);
    letter-spacing: -0.02em;
}

.thnea-about-stat span {
    font-size: 13px;
    color: var(--thnea-muted);
    font-weight: 600;
}

/* ============================================================
   SINGLE TOOL PAGE
   ============================================================ */

.thnea-single-tool {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    font-family: var(--thnea-font-ui);
}

.thnea-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thnea-muted);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.thnea-breadcrumb a {
    color: var(--thnea-muted);
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.thnea-breadcrumb a:hover {
    color: var(--thnea-primary-dark);
}

.thnea-breadcrumb svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.thnea-breadcrumb-current {
    color: var(--thnea-black);
    font-weight: 700;
}

.thnea-tool-header {
    margin-bottom: 24px;
}

.thnea-tool-title {
    margin: 0 0 12px;
    font-size: clamp(21px, calc((100vw - 241px) / 24), 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    font-family: var(--thnea-font-body);
}

.thnea-tool-meta-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.thnea-tool-meta-chip {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--thnea-muted-2);
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    padding: 6px 13px;
    border-radius: 9999px;
}

.thnea-tool-meta-chip.is-platform {
    color: var(--thnea-primary-darker);
    background: var(--thnea-primary-10);
    border-color: var(--thnea-primary-30);
}

.thnea-tool-meta-chip.is-tier-free {
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-10);
    border-color: var(--thnea-primary-30);
}

.thnea-tool-meta-chip.is-tier-premium {
    color: #1D4ED8;
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.thnea-tool-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--thnea-primary-dark) !important;
    text-decoration: none !important;
}

.thnea-tool-demo-link:hover {
    text-decoration: underline !important;
}

.thnea-tool-content-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 26px;
    align-items: start;
}

.thnea-tool-featured {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--thnea-border);
    margin-bottom: 22px;
    background: var(--thnea-white);
}

.thnea-tool-featured img {
    width: 100%;
    display: block;
}

/* Quick specs panel */

.thnea-tool-specs {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.thnea-tool-specs-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-family: var(--thnea-font-body);
}

.thnea-tool-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.thnea-tool-specs-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--thnea-border);
}

.thnea-tool-specs-list li:last-child {
    border-bottom: none;
}

.thnea-spec-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--thnea-muted);
}

.thnea-spec-label svg {
    width: 14px;
    height: 14px;
    color: var(--thnea-primary);
}

.thnea-spec-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--thnea-black);
    text-align: right;
}

.thnea-spec-value.is-free { color: var(--thnea-primary-dark); }
.thnea-spec-value.is-premium { color: #1D4ED8; }

.thnea-tool-desc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    border-radius: 9999px;
    padding: 5px 13px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.thnea-tool-desc-badge svg {
    width: 13px;
    height: 13px;
}

.thnea-tool-desc-head {
    display: flex;
    margin-bottom: 12px;
}

.thnea-tool-description {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 18px;
    padding: 28px 30px;
}

.thnea-tool-description h2,
.thnea-tool-description h3 {
    font-family: var(--thnea-font-body);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--thnea-black);
    margin: 26px 0 12px;
    line-height: 1.3;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thnea-tool-description h3::before {
    content: '';
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--thnea-gradient);
    flex-shrink: 0;
}

.thnea-tool-description h2 { font-size: clamp(15px, calc((100vw - 241px) / 27), 22px); }
.thnea-tool-description h2::before { height: 23px; }

.thnea-tool-description p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--thnea-muted-2);
    font-weight: 500;
    margin: 0 0 16px;
}

.thnea-tool-description ul,
.thnea-tool-description ol {
    padding-left: 6px;
    color: var(--thnea-muted-2);
    font-size: 14.5px;
    line-height: 1.85;
    list-style: none;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.thnea-tool-description ul li {
    position: relative;
    padding-left: 28px;
}

.thnea-tool-description ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--thnea-primary-10);
    border: 1.5px solid var(--thnea-primary-30);
}

.thnea-tool-description ul li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 12px;
    width: 5px;
    height: 3px;
    border-left: 2px solid var(--thnea-primary-dark);
    border-bottom: 2px solid var(--thnea-primary-dark);
    transform: rotate(-45deg);
}

.thnea-tool-description ol { padding-left: 24px; list-style: decimal; }

.thnea-tool-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.thnea-tool-description a {
    color: var(--thnea-primary-dark);
    font-weight: 600;
}

/* Download locker card */

.thnea-download-locker-card {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 24px;
}

.thnea-download-locker-header {
    text-align: center;
    margin-bottom: 20px;
}

.thnea-locker-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.thnea-locker-badge.is-free {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
    border: 1px solid var(--thnea-primary-30);
}

.thnea-locker-badge.is-premium {
    background: rgba(37, 99, 235, 0.12);
    color: #1D4ED8;
    border: 1px solid rgba(37, 99, 235, 0.35);
}

.thnea-locker-badge.is-source {
    background: rgba(15, 23, 42, 0.06);
    color: #24324A;
    border: 1px solid rgba(15, 23, 42, 0.16);
}

.thnea-locker-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.35;
    font-family: var(--thnea-font-body);
}

.thnea-locker-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* Big download button */

.thnea-smart-dl-btn-container {
    text-align: center;
    margin: 20px 0;
}

.thnea-smart-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    border: none;
    border-radius: var(--thnea-radius-btn);
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px var(--thnea-primary-30);
    transition: all 0.2s var(--thnea-ease);
    font-family: var(--thnea-font-ui);
    touch-action: manipulation;
    width: 100%;
}

.thnea-smart-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px var(--thnea-primary-40);
    filter: brightness(1.04);
}

.thnea-smart-dl-btn.is-premium {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.thnea-smart-dl-btn.is-premium:hover {
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.thnea-smart-dl-btn.is-source {
    background: linear-gradient(135deg, #071A33 0%, #24324A 100%);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.32);
}

.thnea-smart-dl-btn.is-source:hover {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.42);
}

.thnea-source-upsell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 14px 0 4px;
    padding: 16px 18px;
    border: 1.5px dashed rgba(30, 64, 175, 0.36);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.09), rgba(37, 99, 235, 0.035));
    text-align: center;
}

.thnea-source-upsell strong {
    color: #1E40AF;
    font-family: var(--thnea-font-ui);
    font-size: 13px;
    font-weight: 800;
}

.thnea-source-upsell span {
    max-width: 360px;
    color: var(--thnea-muted-2);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.thnea-source-upsell a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1D4ED8;
    font-family: var(--thnea-font-ui);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.thnea-source-upsell a:hover {
    color: #1E40AF;
}

.thnea-smart-dl-btn.is-waiting {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

/* Premium lock block */

.thnea-premium-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.07), rgba(37, 99, 235, 0.03));
    border: 1.5px dashed rgba(37, 99, 235, 0.4);
    border-radius: 16px;
    padding: 22px 18px;
}

.thnea-premium-lock-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: var(--thnea-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.thnea-premium-lock-icon svg {
    width: 24px;
    height: 24px;
}

.thnea-premium-lock-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thnea-premium-lock-text strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--thnea-black);
}

.thnea-premium-lock-text span {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* VIP upgrade box */

.thnea-vip-upgrade-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--thnea-bg);
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    padding: 15px 16px;
    margin-top: 16px;
}

.thnea-vip-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.thnea-vip-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: var(--thnea-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thnea-vip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.thnea-vip-info strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--thnea-black);
    line-height: 1.35;
}

.thnea-vip-info span {
    font-size: 11.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.5;
}

.thnea-vip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: var(--thnea-white) !important;
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s var(--thnea-ease);
}

.thnea-vip-btn svg {
    width: 13px;
    height: 13px;
}

.thnea-vip-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.thnea-locker-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--thnea-bg-2);
}

.thnea-locker-audit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--thnea-muted);
    font-weight: 600;
}

.thnea-locker-audit svg {
    color: var(--thnea-primary);
}

/* Related */

.thnea-related-section {
    margin-top: 44px;
}

/* ============================================================
   ARCHIVE / SEARCH
   ============================================================ */

.thnea-archive-page {
    font-family: var(--thnea-font-ui);
}

.thnea-archive-hero {
    background: radial-gradient(circle at 50% 0%, var(--thnea-primary-5) 0%, transparent 70%);
    padding: 36px 24px 28px;
    text-align: center;
}

.thnea-archive-title {
    margin: 8px 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    font-family: var(--thnea-font-body);
}

.thnea-archive-subtitle {
    font-size: 14.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    margin: 0;
}

.thnea-archive-grid-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 24px 44px;
}

.thnea-archive-pagination {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

.thnea-archive-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.thnea-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    justify-content: center;
    border-radius: 9999px;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-archive-pagination .page-numbers.current {
    background: var(--thnea-gradient);
    border-color: transparent;
    color: var(--thnea-white);
}

.thnea-archive-pagination .page-numbers:not(.current):hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark);
}

.thnea-archive-pagination .page-numbers svg {
    width: 13px;
    height: 13px;
}

.thnea-archive-empty {
    text-align: center;
    padding: 70px 20px;
}

.thnea-archive-empty h2 {
    font-family: var(--thnea-font-body);
    font-weight: 800;
    margin-bottom: 8px;
}

.thnea-archive-empty p {
    color: var(--thnea-muted);
    margin-bottom: 22px;
}

.thnea-archive-empty .thnea-smart-dl-btn {
    width: auto;
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
}

/* ============================================================
   DOWNLOAD INSTRUCTION PAGE
   ============================================================ */

.thnea-dl-instruction {
    max-width: 720px;
    margin: 26px auto 50px;
    padding: 0 20px;
    font-family: var(--thnea-font-ui);
}

.thnea-dl-box {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 22px;
    padding: 34px 32px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.07);
    text-align: center;
}

.thnea-dl-locked {
    border: 1.5px solid rgba(37, 99, 235, 0.35);
}

.thnea-dl-title {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.6vw, 27px);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--thnea-font-body);
}

.thnea-dl-subtitle {
    font-size: 14px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.7;
    margin: 0 0 10px;
}

.thnea-dl-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    margin: 24px 0;
}

.thnea-dl-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--thnea-bg);
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    padding: 14px 16px;
}

.thnea-dl-step-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--thnea-gradient);
    color: var(--thnea-white);
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--thnea-primary-30);
}

.thnea-dl-step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.thnea-dl-step-text strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--thnea-black);
}

.thnea-dl-step-text span {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.55;
}

.thnea-dl-ready-zone {
    margin-top: 22px;
}

/* countdown inside the download button */

.thnea-smart-dl-btn .thnea-dl-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.thnea-smart-dl-btn.is-waiting {
    animation: thneaDlPulse 1.6s ease-in-out infinite;
}

@keyframes thneaDlPulse {
    0%, 100% { box-shadow: 0 6px 20px var(--thnea-primary-30); }
    50% { box-shadow: 0 6px 30px var(--thnea-primary-40); }
}

.thnea-dl-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--thnea-muted);
    font-weight: 600;
}

/* ============================================================
   SOCIAL CTA — Telegram & YouTube (tool pages + drawer)
   ============================================================ */

.thnea-social-cta {
    margin-top: 44px;
}

.thnea-social-head {
    text-align: center;
    margin-bottom: 22px;
}

.thnea-social-head .thnea-section-subtitle {
    max-width: 520px;
    margin: 0 auto;
}

.thnea-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.thnea-social-card {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: transform 0.3s var(--thnea-ease), box-shadow 0.3s var(--thnea-ease), border-color 0.2s ease;
}

.thnea-social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.thnea-social-card.is-telegram:hover { border-color: #229ED9; }
.thnea-social-card.is-telegram-personal:hover { border-color: #229ED9; }
.thnea-social-card.is-youtube:hover { border-color: #ff0000; }

.thnea-social-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thnea-white);
}

.thnea-social-icon svg {
    width: 26px;
    height: 26px;
}

.thnea-social-card.is-telegram .thnea-social-icon { background: linear-gradient(135deg, #2AABEE, #229ED9); box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35); }
.thnea-social-card.is-telegram-personal .thnea-social-icon { background: linear-gradient(135deg, #229ED9, #1B7FB0); box-shadow: 0 6px 16px rgba(34, 158, 217, 0.3); }
.thnea-social-card.is-youtube .thnea-social-icon { background: linear-gradient(135deg, #ff0000, #cc0000); box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3); }

.thnea-social-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.thnea-social-text strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    letter-spacing: -0.01em;
}

.thnea-social-text span {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.6;
}

.thnea-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--thnea-radius-btn);
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    text-decoration: none !important;
    color: var(--thnea-white) !important;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-social-btn svg {
    width: 16px;
    height: 16px;
}

.thnea-social-btn.is-telegram { background: linear-gradient(135deg, #2AABEE, #229ED9); box-shadow: 0 5px 14px rgba(34, 158, 217, 0.35); }
.thnea-social-btn.is-telegram:hover { transform: translateY(-2px); filter: brightness(1.05); }
.thnea-social-btn.is-telegram-personal { background: linear-gradient(135deg, #229ED9, #1B7FB0); box-shadow: 0 5px 14px rgba(34, 158, 217, 0.3); }
.thnea-social-btn.is-telegram-personal:hover { transform: translateY(-2px); filter: brightness(1.05); }
.thnea-social-btn.is-youtube { background: linear-gradient(135deg, #ff0000, #cc0000); box-shadow: 0 5px 14px rgba(255, 0, 0, 0.3); }
.thnea-social-btn.is-youtube:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* compact (mobile drawer) */

.thnea-social-cta.is-compact {
    margin-top: auto;
    padding-top: 18px;
}

.thnea-social-cta.is-compact .thnea-social-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.thnea-social-cta.is-compact .thnea-social-card {
    flex-direction: row;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 14px;
}

.thnea-social-cta.is-compact .thnea-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.thnea-social-cta.is-compact .thnea-social-icon svg {
    width: 20px;
    height: 20px;
}

.thnea-social-cta.is-compact .thnea-social-btn {
    width: auto;
    padding: 9px 14px;
    font-size: 12px;
}

.thnea-drawer-section-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--thnea-muted);
    margin: 4px 6px 8px;
}

.thnea-dl-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text) !important;
    border-radius: var(--thnea-radius-btn);
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    font-family: var(--thnea-font-ui);
}

.thnea-dl-btn-ghost:hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark) !important;
}

.thnea-dl-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.thnea-dl-actions .thnea-smart-dl-btn,
.thnea-dl-actions .thnea-dl-btn-ghost {
    width: min(340px, 100%);
}

/* ============================================================
   PLANS & CHANGELOG
   ============================================================ */

/* ---------- Pricing page ---------- */

.thnea-plans-page {
    font-family: var(--thnea-font-body);
    padding-bottom: 28px;
}

.thnea-plans-page,
.thnea-plans-page *,
.thnea-plans-page *::before,
.thnea-plans-page *::after {
    box-sizing: border-box;
}

/* Headings always use the homepage heading font (Poppins), never the
   theme's global Marcellus serif. */
.thnea-plans-page h1,
.thnea-plans-page h2,
.thnea-plans-page h3,
.thnea-plans-page h4 {
    font-family: var(--thnea-font-body);
    letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */

.thnea-plans-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 20px 32px;
    text-align: center;
    background:
        radial-gradient(ellipse 58% 72% at 50% -8%, rgba(37, 99, 235, 0.16), transparent 72%),
        radial-gradient(ellipse 42% 60% at 92% 24%, rgba(37, 99, 235, 0.10), transparent 72%),
        radial-gradient(ellipse 36% 56% at 6% 34%, rgba(37, 99, 235, 0.09), transparent 72%),
        linear-gradient(180deg, #F2F7FF 0%, rgba(248, 250, 252, 0) 84%);
}

.thnea-plans-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 62% 74% at 50% 32%, #000 18%, transparent 76%);
    mask-image: radial-gradient(ellipse 62% 74% at 50% 32%, #000 18%, transparent 76%);
    pointer-events: none;
}

.thnea-plans-hero-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    width: 480px;
    height: 480px;
    margin-left: -240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 68%);
    filter: blur(4px);
    pointer-events: none;
    animation: thneaPlansGlow 9s ease-in-out infinite;
}

@keyframes thneaPlansGlow {
    0%, 100% {
        opacity: 0.72;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate3d(0, 20px, 0) scale(1.08);
    }
}

.thnea-plans-eyebrow,
.thnea-plans-title,
.thnea-plans-subtitle,
.thnea-plans-trust {
    position: relative;
    z-index: 1;
}

.thnea-plans-eyebrow,
.thnea-faq-eyebrow,
.thnea-plans-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #1D4ED8;
    font-family: var(--thnea-font-ui);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.thnea-plans-eyebrow svg,
.thnea-faq-eyebrow svg,
.thnea-plans-section-eyebrow svg {
    width: 15px;
    height: 15px;
}

.thnea-plans-title {
    margin: 16px auto 10px;
    max-width: 820px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: clamp(30px, 3.9vw, 44px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.028em;
    text-wrap: balance;
}

.thnea-plans-title-accent {
    background: linear-gradient(118deg, #1E40AF 0%, #2563EB 48%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.thnea-plans-subtitle {
    margin: 0 auto;
    max-width: 590px;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-body);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.72;
    text-wrap: balance;
}

.thnea-plans-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 24px auto 0;
}

.thnea-plans-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(15, 23, 42, 0.075);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--thnea-text);
    font-family: var(--thnea-font-ui);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
    transition: transform 0.3s var(--thnea-ease), box-shadow 0.3s var(--thnea-ease), border-color 0.3s ease;
}

.thnea-plans-trust svg {
    width: 15px;
    height: 15px;
    color: var(--thnea-primary-dark);
    transition: transform 0.3s var(--thnea-ease);
}

.thnea-plans-trust .is-platform svg {
    color: #2563eb;
}

.thnea-plans-trust .is-instant svg {
    color: #2563EB;
}

.thnea-plans-trust .is-updates svg {
    color: #1D4ED8;
}

.thnea-plans-trust .is-original svg {
    color: #2563EB;
}

/* ---------- Plan cards ---------- */

.thnea-plans-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.thnea-plan-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: 28px 22px 20px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 18px;
    background: var(--thnea-white);
    box-shadow: 0 6px 22px -14px rgba(15, 23, 42, 0.22);
    transition: transform 0.35s var(--thnea-ease), box-shadow 0.35s var(--thnea-ease), border-color 0.25s ease;
}

.thnea-plan-card > *:not(.thnea-plan-badge) {
    position: relative;
    z-index: 1;
}

/* soft light sweep on hover (kept inside the card bounds) */
.thnea-plan-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-image: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.72) 50%, transparent 62%);
    background-repeat: no-repeat;
    background-size: 240% 100%;
    background-position: 200% 0;
    opacity: 0;
    pointer-events: none;
    transition: background-position 0.9s var(--thnea-ease), opacity 0.25s ease;
}

.thnea-plan-card.is-featured {
    border-color: var(--thnea-primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.07), #ffffff 46%);
    box-shadow: 0 16px 38px -22px rgba(37, 99, 235, 0.55);
}

.thnea-plan-card.is-lifetime {
    border-color: rgba(29, 78, 216, 0.55);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), #ffffff 46%);
}

/* breathing ring around the highlighted plans */
.thnea-plan-card.is-featured::before,
.thnea-plan-card.is-lifetime::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    animation: thneaPlanHalo 4.6s ease-in-out infinite;
}

.thnea-plan-card.is-featured::before {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.42), 0 22px 46px -20px rgba(37, 99, 235, 0.5);
}

.thnea-plan-card.is-lifetime::before {
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.38), 0 22px 46px -20px rgba(29, 78, 216, 0.42);
    animation-delay: -1.6s;
}

@keyframes thneaPlanHalo {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.thnea-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    z-index: 3;
    padding: 6px 16px;
    border-radius: 9999px;
    color: var(--thnea-white);
    background-image: linear-gradient(135deg, #2563EB 0%, #1D4ED8 46%, #60A5FA 74%, #2563EB 100%);
    background-size: 220% 220%;
    box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.7);
    font-family: var(--thnea-font-ui);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transform: translateX(-50%);
    animation: thneaBadgeShift 6s ease-in-out infinite;
}

.thnea-plan-card.is-lifetime .thnea-plan-badge {
    background-image: linear-gradient(135deg, #2563EB 0%, #1D4ED8 46%, #60A5FA 74%, #2563EB 100%);
    box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.7);
}

@keyframes thneaBadgeShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.thnea-plan-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.thnea-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.05));
    color: #1D4ED8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 14px -10px rgba(37, 99, 235, 0.6);
    transition: transform 0.35s var(--thnea-ease), box-shadow 0.35s var(--thnea-ease);
}

.thnea-plan-icon svg {
    width: 22px;
    height: 22px;
}

.thnea-plan-card.is-free .thnea-plan-icon {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0.04));
    color: #2563EB;
}

.thnea-plan-card.is-month .thnea-plan-icon {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0.04));
    color: #2563eb;
}

.thnea-plan-card.is-lifetime .thnea-plan-icon {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.05));
    color: #1D4ED8;
}

.thnea-plan-name {
    margin: 0 0 3px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.012em;
    text-align: left;
}

.thnea-plan-duration {
    display: block;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-ui);
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.thnea-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin: 20px 0 15px;
}

.thnea-plan-amount {
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.thnea-plan-card.is-lifetime .thnea-plan-amount {
    color: #1D4ED8;
}

.thnea-plan-divider {
    height: 1px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, transparent, var(--thnea-border) 10%, var(--thnea-border) 90%, transparent);
}

.thnea-plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.thnea-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--thnea-muted-2);
    font-family: var(--thnea-font-body);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.55;
    transition: color 0.2s ease;
}

.thnea-plan-features svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 2px;
    color: var(--thnea-primary);
    transition: transform 0.25s var(--thnea-ease);
}

/* checkmarks pop in once the card reveals */
.thnea-plan-card.is-visible .thnea-plan-features li svg {
    animation: thneaCheckIn 0.42s var(--thnea-ease) backwards;
}

.thnea-plan-card.is-visible .thnea-plan-features li:nth-child(1) svg {
    animation-delay: 0.05s;
}

.thnea-plan-card.is-visible .thnea-plan-features li:nth-child(2) svg {
    animation-delay: 0.1s;
}

.thnea-plan-card.is-visible .thnea-plan-features li:nth-child(3) svg {
    animation-delay: 0.15s;
}

.thnea-plan-card.is-visible .thnea-plan-features li:nth-child(4) svg {
    animation-delay: 0.2s;
}

.thnea-plan-card.is-visible .thnea-plan-features li:nth-child(5) svg {
    animation-delay: 0.25s;
}

@keyframes thneaCheckIn {
    from {
        opacity: 0;
        transform: scale(0.35);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thnea-plan-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: var(--thnea-radius-btn);
    font-family: var(--thnea-font-ui);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none !important;
    transition: transform 0.25s var(--thnea-ease), box-shadow 0.25s var(--thnea-ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.thnea-plan-cta > span,
.thnea-plan-cta > svg {
    position: relative;
    z-index: 1;
}

.thnea-plan-cta svg {
    width: 17px;
    height: 17px;
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-plan-cta:hover svg {
    transform: translateX(3px);
}

.thnea-plan-cta.is-primary {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 8px 20px -10px rgba(29, 78, 216, 0.7);
}

.thnea-plan-card.is-lifetime .thnea-plan-cta.is-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 8px 20px -10px rgba(29, 78, 216, 0.72);
}

.thnea-plan-cta.is-primary::before {
    content: "";
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: -45%;
    width: 34%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    transition: left 0.65s var(--thnea-ease);
}

.thnea-plan-cta.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.8);
}

.thnea-plan-cta.is-ghost {
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text) !important;
}

.thnea-plan-cta.is-ghost:hover {
    border-color: var(--thnea-primary);
    background: var(--thnea-primary-5);
    color: var(--thnea-primary-dark) !important;
}

.thnea-plan-activation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 11px;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}

.thnea-plan-activation svg {
    width: 12px;
    height: 12px;
    color: #94a3b8;
}

.thnea-plans-note {
    max-width: 820px;
    margin: 2px auto 0;
    padding: 14px 24px 26px;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-body);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.65;
    text-align: center;
}

/* ---------- Guarantees / benefits ---------- */

.thnea-plans-guarantees {
    max-width: 1240px;
    margin: 10px auto 58px;
    padding: 0 24px;
}

.thnea-plans-section-head {
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
}

.thnea-plans-section-eyebrow {
    margin-bottom: 12px;
}

.thnea-plans-section-head h2 {
    margin: 0 0 8px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.thnea-plans-section-head p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.thnea-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.thnea-guarantee-item {
    --gi-accent: #2563EB;
    --gi-soft: rgba(37, 99, 235, 0.10);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    background: var(--thnea-white);
    box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.18);
    transition: transform 0.35s var(--thnea-ease), box-shadow 0.35s var(--thnea-ease), border-color 0.25s ease;
}

.thnea-guarantee-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gi-accent), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.thnea-guarantee-item.is-platform {
    --gi-accent: #3b82f6;
    --gi-soft: rgba(59, 130, 246, 0.10);
}

.thnea-guarantee-item.is-instant {
    --gi-accent: #2563EB;
    --gi-soft: rgba(37, 99, 235, 0.13);
}

.thnea-guarantee-item.is-risk {
    --gi-accent: #2563EB;
    --gi-soft: rgba(37, 99, 235, 0.11);
}

.thnea-guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: var(--gi-soft);
    color: var(--gi-accent);
    transition: transform 0.35s var(--thnea-ease), box-shadow 0.35s var(--thnea-ease);
}

.thnea-guarantee-icon svg {
    width: 20px;
    height: 20px;
}

.thnea-guarantee-item h3 {
    margin: 2px 0 4px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.thnea-guarantee-item p {
    margin: 0;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-body);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.55;
}

/* ---------- FAQ ---------- */

.thnea-plans-faq {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.thnea-faq-card {
    position: relative;
    overflow: hidden;
    padding: 34px clamp(18px, 3.2vw, 40px);
    border: 1px solid var(--thnea-border);
    border-radius: 24px;
    background:
        radial-gradient(ellipse 62% 55% at 50% -12%, rgba(37, 99, 235, 0.09), transparent 72%),
        linear-gradient(180deg, #ffffff, #FBFDFF);
    box-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.35);
}

.thnea-faq-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 68%);
    pointer-events: none;
}

.thnea-plans-faq-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    text-align: center;
}

.thnea-faq-eyebrow {
    margin-bottom: 12px;
}

.thnea-plans-faq-heading h2 {
    margin: 0 0 8px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.thnea-plans-faq-heading p {
    margin: 0;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

.thnea-faq-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thnea-faq-item {
    border: 1px solid var(--thnea-border);
    border-radius: 12px;
    background: var(--thnea-white);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.thnea-faq-item:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.thnea-faq-item[open] {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.035), #ffffff 42%);
    box-shadow: 0 12px 26px -20px rgba(37, 99, 235, 0.5);
}

.thnea-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 15px 18px;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.005em;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.thnea-faq-item summary::-webkit-details-marker {
    display: none;
}

.thnea-faq-question {
    flex: 1 1 auto;
}

.thnea-faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--thnea-bg);
    color: var(--thnea-muted);
    transition: background 0.3s ease, color 0.3s ease;
}

.thnea-faq-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--thnea-ease);
}

.thnea-faq-item[open] .thnea-faq-toggle {
    background: rgba(37, 99, 235, 0.13);
    color: var(--thnea-primary-dark);
}

.thnea-faq-item[open] .thnea-faq-toggle svg {
    transform: rotate(180deg);
}

.thnea-faq-item.is-closing .thnea-faq-toggle svg {
    transform: rotate(0deg);
}

.thnea-faq-answer {
    overflow: hidden;
    transition: height 0.38s var(--thnea-ease), opacity 0.28s ease;
}

.thnea-faq-answer-inner {
    padding: 0 18px 17px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--thnea-muted-2);
    font-family: var(--thnea-font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.68;
}

.thnea-faq-answer p {
    margin: 13px 0 0;
}

/* ---------- Motion-safe hover states ---------- */

@media (hover: hover) {
    .thnea-plans-trust span:hover {
        transform: translateY(-2px);
        border-color: rgba(37, 99, 235, 0.28);
        box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.35);
    }

    .thnea-plans-trust span:hover svg {
        transform: scale(1.14);
    }

    .thnea-plan-card:hover {
        transform: translateY(-6px);
        border-color: var(--thnea-primary-30);
        box-shadow: 0 24px 48px -24px rgba(37, 99, 235, 0.42);
    }

    .thnea-plan-card:hover::after {
        background-position: -100% 0;
        opacity: 1;
    }

    .thnea-plan-card:hover .thnea-plan-icon {
        transform: translateY(-2px) rotate(-5deg) scale(1.06);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 20px -8px rgba(37, 99, 235, 0.55);
    }

    .thnea-plan-card.is-lifetime:hover {
        border-color: #1D4ED8;
        box-shadow: 0 24px 48px -24px rgba(29, 78, 216, 0.42);
    }

    .thnea-plan-card.is-lifetime:hover .thnea-plan-icon {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 20px -8px rgba(29, 78, 216, 0.5);
    }

    .thnea-plan-features li:hover {
        color: var(--thnea-black);
    }

    .thnea-plan-features li:hover svg {
        transform: scale(1.15);
    }

    .thnea-plan-cta.is-primary:hover::before {
        left: 120%;
    }

    .thnea-guarantee-item:hover {
        transform: translateY(-4px);
        border-color: var(--gi-accent);
        box-shadow: 0 16px 30px -18px var(--gi-accent);
    }

    .thnea-guarantee-item:hover::before {
        opacity: 0.9;
    }

    .thnea-guarantee-item:hover .thnea-guarantee-icon {
        transform: translateY(-2px) scale(1.06) rotate(-4deg);
        box-shadow: 0 10px 18px -10px var(--gi-accent);
    }

    .thnea-faq-item:hover .thnea-faq-toggle {
        background: rgba(37, 99, 235, 0.10);
        color: var(--thnea-primary-dark);
    }
}

/* keyboard focus */
.thnea-plan-cta:focus-visible,
.thnea-faq-item summary:focus-visible {
    outline: 2px solid var(--thnea-primary);
    outline-offset: 3px;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .thnea-plans-hero-glow,
    .thnea-plan-card::before,
    .thnea-plan-badge,
    .thnea-plan-card.is-visible .thnea-plan-features li svg {
        animation: none !important;
    }

    .thnea-plan-card::after {
        opacity: 0 !important;
    }

    .thnea-plan-card,
    .thnea-plan-icon,
    .thnea-plan-cta,
    .thnea-plan-cta::before,
    .thnea-plan-features svg,
    .thnea-plans-trust span,
    .thnea-plans-trust svg,
    .thnea-guarantee-item,
    .thnea-guarantee-item::before,
    .thnea-guarantee-icon,
    .thnea-faq-toggle,
    .thnea-faq-toggle svg,
    .thnea-faq-answer {
        transition: none !important;
    }
}

/* Changelog — reference-style hero card + release rows */


.thnea-changelog-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 26px 20px 50px;
    font-family: var(--thnea-font-ui);
}

.thnea-changelog-hero-card {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.thnea-changelog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thnea-muted);
    margin-bottom: 16px;
}

.thnea-changelog-breadcrumb a {
    color: var(--thnea-muted);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.thnea-changelog-breadcrumb a:hover {
    color: var(--thnea-primary-dark);
}

.thnea-crumb-sep {
    color: var(--thnea-border-2);
}

.thnea-changelog-feed-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.09);
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    color: var(--thnea-primary-darker);
    border-radius: 9999px;
    padding: 6px 15px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.thnea-changelog-feed-chip svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.thnea-feed-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--thnea-primary);
}

.thnea-feed-dot::after {
    content: '';
    position: absolute;
    inset: -3.5px;
    border-radius: 50%;
    border: 1.5px solid var(--thnea-primary);
    animation: thneaPulse 1.8s ease-out infinite;
}

.thnea-changelog-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--thnea-black);
    line-height: 1.15;
    font-family: var(--thnea-font-body);
}

.thnea-changelog-subtitle {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--thnea-muted-2);
    font-weight: 500;
}

.thnea-changelog-count {
    border-top: 1px solid var(--thnea-bg-2);
    padding-top: 16px;
    font-size: 13px;
    color: var(--thnea-muted);
    font-weight: 600;
}

.thnea-changelog-count strong {
    color: var(--thnea-black);
    font-weight: 800;
}

.thnea-changelog-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thnea-changelog-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 92px 100px;
    align-items: center;
    gap: 14px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 16px;
    padding: 16px 20px;
    transition: transform 0.25s var(--thnea-ease), border-color 0.2s ease, box-shadow 0.25s ease;
}

.thnea-changelog-item-side {
    display: contents;
}

.thnea-changelog-item-side .thnea-changelog-ver,
.thnea-changelog-item-side .thnea-changelog-tier {
    justify-self: center;
    margin: 0;
}

.thnea-changelog-item:hover {
    border-color: var(--thnea-primary-30);
    box-shadow: 0 10px 24px var(--thnea-primary-15);
    transform: translateY(-2px);
}

.thnea-changelog-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.thnea-changelog-item-icon .thnea-brand-mark {
    width: 100%;
    height: 100%;
}

.thnea-changelog-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.thnea-changelog-item-main .thnea-changelog-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--thnea-black);
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--thnea-font-body);
}

.thnea-changelog-item-main .thnea-changelog-title:hover {
    color: var(--thnea-primary-dark);
}

.thnea-changelog-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--thnea-muted);
}



.thnea-changelog-ver {
    background: var(--thnea-bg-2);
    border: 1px solid var(--thnea-border);
    color: var(--thnea-muted-2);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 9999px;
    min-width: 76px;
    text-align: center;
    box-sizing: border-box;
}

.thnea-changelog-tier {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    min-width: 88px;
    text-align: center;
    box-sizing: border-box;
}

.thnea-changelog-tier.is-free {
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
}

.thnea-changelog-tier.is-premium {
    background: rgba(37, 99, 235, 0.14);
    color: #1D4ED8;
}

@media (max-width: 640px) {
    .thnea-changelog-hero-card {
        padding: 22px 18px;
    }

    .thnea-changelog-item {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 14px;
        gap: 8px 12px;
    }

    .thnea-changelog-item-icon {
        grid-row: 1 / span 2;
    }

    .thnea-changelog-item-side {
        display: flex;
        grid-column: 2;
        justify-content: flex-start;
    }

    .thnea-changelog-ver,
    .thnea-changelog-tier {
        padding: 3px 10px;
        font-size: 10.5px;
        min-width: 0;
    }

    .thnea-changelog-item-side .thnea-changelog-ver,
    .thnea-changelog-item-side .thnea-changelog-tier {
        justify-self: start;
    }

    .thnea-changelog-item-icon {
        width: 34px;
        height: 34px;
    }

    .thnea-changelog-item-main .thnea-changelog-title {
        white-space: normal;
        font-size: 13.5px;
    }
}

/* ============================================================
   FOOTER — reference-matched (ShineGPL style)
   ============================================================ */

.thnea-site-footer {
    margin-top: 34px;
    background: linear-gradient(180deg, #071A33 0%, #06162D 100%);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #cbd5e1;
    padding-top: 50px;
}

.thnea-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 25px;
}

.thnea-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

/* brand column */

.thnea-footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.thnea-footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.thnea-footer-logo-crop {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    flex-shrink: 0;
}

.thnea-footer-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.thnea-footer-logo-fallback .thnea-brand-mark {
    width: 48px;
    height: 48px;
}

.thnea-footer-brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
}

.thnea-footer-brand-highlight {
    color: #2563EB;
}

.thnea-footer-tagline {
    margin: 16px 0 0;
    font-size: 13.5px;
    line-height: 1.7;
    font-weight: 400;
    color: #cbd5e1;
}

.thnea-footer-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #60A5FA;
    margin-top: 16px;
}

.thnea-footer-trust-tag svg {
    width: 14px;
    height: 14px;
    color: #60A5FA;
}

/* link columns */

.thnea-footer-col-title {
    position: relative;
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    padding-bottom: 12px;
}

.thnea-footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    transition: width 0.35s var(--thnea-ease);
}

.thnea-footer-col:hover .thnea-footer-col-title::after {
    width: 52px;
}

.thnea-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.thnea-footer-link-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.25s var(--thnea-ease);
}

.thnea-footer-link-icon {
    width: 13px;
    height: 13px;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.25s var(--thnea-ease);
}

.thnea-footer-link-item a:hover {
    color: #60A5FA;
    transform: translateX(5px);
}

.thnea-footer-link-item a:hover .thnea-footer-link-icon {
    color: #60A5FA;
    transform: translateX(0) scale(1.15);
}

.thnea-footer-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #60A5FA;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 5px;
    padding: 2px 7px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.thnea-footer-link-item a:hover .thnea-footer-badge {
    background: rgba(37, 99, 235, 0.28);
    box-shadow: 0 0 10px rgba(140, 194, 255, 0.35);
}

/* disclaimer card */

.thnea-footer-disclaimer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 22px 28px;
    margin-top: 40px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

@media (hover: hover) {
    .thnea-footer-disclaimer-card:hover {
        border-color: rgba(140, 194, 255, 0.25);
        background: rgba(37, 99, 235, 0.04);
    }

    .thnea-footer-trust-tag:hover {
        background: rgba(37, 99, 235, 0.18);
        box-shadow: 0 0 14px rgba(140, 194, 255, 0.2);
    }
}

.thnea-footer-trust-tag {
    transition: background 0.2s ease, box-shadow 0.25s ease;
}

.thnea-footer-disclaimer-header {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.thnea-footer-disclaimer-header svg {
    width: 16px;
    height: 16px;
    color: #60A5FA;
    flex-shrink: 0;
}

.thnea-footer-disclaimer-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    font-weight: 400;
    color: #cbd5e1;
}

/* bottom bar: copyright + status + back-to-top (in bar, like reference) */

.thnea-footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 25px;
}

.thnea-footer-copyright {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
}

.thnea-footer-copyright a {
    color: #cbd5e1;
    text-decoration: none !important;
}

.thnea-footer-copyright a:hover {
    color: #60A5FA;
}

.thnea-footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #DCE6F2;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--thnea-ease);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.thnea-footer-back-to-top:focus { outline: none; }
.thnea-footer-back-to-top:focus-visible { box-shadow: 0 0 0 2px rgba(140, 194, 255, 0.5); }

.thnea-footer-back-to-top svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-footer-back-to-top.is-pressed {
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(140, 194, 255, 0.55);
    color: #ffffff;
    transform: translateY(1px);
}

/* post-tap focus must look identical to the idle state */
.thnea-footer-back-to-top:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #DCE6F2;
    box-shadow: none;
}

@media (hover: hover) {
    .thnea-footer-back-to-top:hover {
        background: rgba(37, 99, 235, 0.18);
        border-color: rgba(140, 194, 255, 0.45);
        color: #ffffff;
    }
    .thnea-footer-back-to-top:hover svg {
        transform: translateY(-2px);
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
    .thnea-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .thnea-plans-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 1024px) {
    .thnea-tool-content-wrap {
        grid-template-columns: 1fr;
    }
    .thnea-download-locker-card {
        position: static;
    }
    .thnea-about-faq-grid {
        grid-template-columns: 1fr;
    }
    .thnea-guarantee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .thnea-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .thnea-plans-hero {
        padding: 38px 16px 26px;
    }
    .thnea-plans-title {
        margin-top: 14px;
        font-size: clamp(27px, 7.4vw, 33px);
    }
    .thnea-plans-subtitle {
        font-size: 14.5px;
    }
    .thnea-plans-grid,
    .thnea-guarantee-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .thnea-plans-grid {
        padding: 26px 16px 10px;
        gap: 18px;
    }
    .thnea-plan-card {
        padding: 26px 22px 20px;
    }
    .thnea-plans-guarantees {
        margin-bottom: 46px;
        padding: 0 16px;
    }
    .thnea-plans-trust {
        gap: 8px;
    }
    .thnea-plans-trust span {
        padding: 7px 11px;
        font-size: 11px;
    }
    .thnea-plans-note {
        padding: 12px 20px 22px;
    }
    .thnea-plans-faq {
        padding: 0 12px 46px;
    }
    .thnea-faq-card {
        padding: 26px 14px 18px;
        border-radius: 20px;
    }
    .thnea-faq-item summary {
        padding: 14px;
        font-size: 13.5px;
    }
    .thnea-faq-answer-inner {
        padding: 0 14px 15px;
        font-size: 12.5px;
    }
    .thnea-plans-faq-heading h2 {
        font-size: 24px;
    }
}

/* Mobile header — mirrors the reference:
   56px pill, icon logo (no text), visible search, icon-only login,
   no premium button, "Menu" toggle in the subnav row */
@media (max-width: 768px) {

    .thnea-mobile-nav-panel {
        display: block;
    }

    /* hero badge stays on one line */
    .thnea-hero-badge {
        font-size: 10.5px;
        padding: 6px 12px;
        gap: 6px;
        white-space: nowrap;
        max-width: calc(100vw - 28px);
        margin-bottom: 16px;
    }

    .thnea-hero-badge svg {
        width: 13px;
        height: 13px;
    }
    .thnea-site-header {
        padding: 10px 8px 12px;
    }

    .thnea-header-container {
        height: 56px;
        padding: 0 12px 0 10px;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .thnea-header-right {
        flex-shrink: 0;
        gap: 0;
    }

    .thnea-header-client-login-btn,
    .thnea-header-client-login-btn.is-logged {
        padding: 2px;
    }

    .thnea-header-client-login-btn.is-logged .thnea-user-avatar {
        width: 26px !important;
        height: 26px !important;
    }

    .thnea-brand-name {
        display: none;
    }

    .thnea-header-search-wrap {
        max-width: none;
        min-width: 0;
    }

    .thnea-header-search-form {
        height: 38px;
        padding: 2px 4px 2px 12px;
    }

    .thnea-hdr-search-input {
        padding: 0 4px 0 8px;
        font-size: 12.5px;
    }

    .thnea-hdr-search-btn {
        width: 28px;
        height: 28px;
    }

    .thnea-hdr-search-btn svg {
        width: 13px;
        height: 13px;
    }

    .thnea-hdr-search-results {
        top: calc(100% + 8px);
    }

    .thnea-header-premium-btn {
        display: none;
    }

    .thnea-header-client-login-btn {
        padding: 3px;
        border: none;
        border-radius: 50%;
        background: transparent;
    }

    .thnea-header-client-login-btn .thnea-client-login-text {
        display: none;
    }

    .thnea-header-client-login-btn .thnea-client-login-icon svg {
        width: 19px;
        height: 19px;
        color: var(--thnea-muted-2);
    }

    .thnea-header-client-login-btn.is-logged {
        border: 2px solid var(--thnea-primary-30);
    }

    .thnea-header-client-login-btn.is-logged .thnea-user-avatar {
        width: 30px !important;
        height: 30px !important;
    }

    /* Subnav row: show "Menu" toggle + pulse, hide inline links */
    .thnea-subnav-container {
        margin: 8px auto 0;
        padding: 0 6px;
    }

    .thnea-subnav-bar {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 5px 8px 5px 6px;
    }

    /* three EXACTLY equal chips (reference-matched) */
    .thnea-subnav-mobile-toggle,
    .thnea-changelog-pulse,
    .thnea-premium-files-chip {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        height: 30px;
        padding: 0 12px;
        gap: 5px;
        font-size: 12px !important;
        font-weight: 700 !important;
        font-family: var(--thnea-font-ui);
        background: rgba(37, 99, 235, 0.09) !important;
        border: none !important;
        color: var(--thnea-primary-darker) !important;
        border-radius: 9999px !important;
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
        white-space: nowrap;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--thnea-ease);
    }

    .thnea-changelog-pulse svg,
    .thnea-premium-files-chip svg {
        display: none;
    }

    .thnea-subnav-mobile-toggle svg {
        display: inline-flex !important;
        width: 15px;
        height: 15px;
    }

    /* default: show ☰, hide ✕ (swap when open) */
    .thnea-subnav-mobile-toggle .thnea-toggle-icon-open {
        display: inline-flex !important;
    }

    .thnea-subnav-mobile-toggle .thnea-toggle-icon-close {
        display: none !important;
    }

    .thnea-subnav-mobile-toggle.is-open .thnea-toggle-icon-open {
        display: none !important;
    }

    .thnea-subnav-mobile-toggle.is-open .thnea-toggle-icon-close {
        display: inline-flex !important;
    }

    .thnea-subnav-mobile-toggle:hover,
    .thnea-changelog-pulse:hover,
    .thnea-premium-files-chip:hover,
    button.thnea-subnav-mobile-toggle:hover {
        background: rgba(37, 99, 235, 0.2) !important;
        color: var(--thnea-primary-darker) !important;
        transform: translateY(-1px) !important;
        box-shadow: none !important;
        filter: none !important;
    }

    button.thnea-subnav-mobile-toggle.is-open {
        background: var(--thnea-gradient) !important;
        color: var(--thnea-white) !important;
        box-shadow: 0 4px 12px rgba(7, 26, 51, 0.3);
    }

    button.thnea-subnav-mobile-toggle:active {
        transform: scale(0.94);
    }

    button.thnea-subnav-mobile-toggle:focus,
    .thnea-subnav-mobile-toggle:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    button.thnea-subnav-mobile-toggle:focus-visible {
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(140, 194, 255, 0.45) !important;
        border-radius: 10px;
    }

    /* mobile bar: Menu + Changelog + Premium Files */
    .thnea-social-round {
        display: none !important;
    }



    .thnea-subnav-bar {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 5px 8px 5px 6px;
    }

    .thnea-changelog-pulse {
        flex-shrink: 0;
        gap: 6px;
        font-size: 11.5px;
        padding: 6px 11px;
        white-space: nowrap;
    }

    .thnea-changelog-pulse svg {
        width: 12px;
        height: 12px;
    }

    .thnea-subnav-bar {
        flex: 1;
        padding: 5px 8px 5px 4px;
    }

    .thnea-subnav-list {
        display: none;
    }

    .thnea-subnav-right {
        flex: 1;
        justify-content: flex-end;
        display: flex;
    }

    /* hero cards: one single card per row */
    .thnea-hero-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .thnea-hero-card {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .thnea-hero-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .thnea-hero-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .thnea-hero-card-title {
        font-size: 14.5px;
    }

    .thnea-hero-card-desc {
        font-size: 12px;
    }

    /* copyright single line on mobile */
    .thnea-footer-copyright {
        white-space: nowrap;
        font-size: 11.5px;
        width: 100%;
    }

    .thnea-copyright-tail {
        display: none;
    }

    /* footer — single column, back-to-top full width at the very bottom */
    .thnea-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .thnea-footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .thnea-footer-back-to-top {
        width: 100%;
    }

    .thnea-footer-disclaimer-card {
        padding: 18px;
        margin-top: 32px;
    }

    .thnea-footer-container {
        padding: 0 20px 25px;
    }

    .thnea-social-grid {
        grid-template-columns: 1fr;
    }

    .thnea-dl-instruction {
        padding: 0 14px;
    }

}

@media (max-width: 860px) {
    .thnea-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .thnea-hero-section {
        padding: 4px 0 32px;
    }
    .thnea-posts-container {
        gap: 38px;
    }
    .thnea-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .thnea-section-header-left {
        gap: 10px;
    }

    .thnea-section-badge {
        margin-bottom: 2px;
    }

    .thnea-section-subtitle {
        max-width: 100%;
    }

    .thnea-section-view-all {
        padding: 10px 18px;
        font-size: 12.5px;
    }
}

@media (max-width: 560px) {
    .thnea-cards-grid {
        grid-template-columns: 1fr;
    }
    .thnea-about-card {
        padding: 24px 20px;
    }
    .thnea-tool-description {
        padding: 20px 18px;
    }
    .thnea-vip-upgrade-box {
        flex-direction: column;
        text-align: center;
    }
    .thnea-footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .thnea-footer-risk {
        text-align: left;
    }
}

/* Small phones — shrink fixed header parts so nothing overflows the pill */
@media (max-width: 420px) {
    .thnea-header-container {
        padding: 0 12px 0 8px;
        gap: 6px;
    }

    .thnea-brand-icon-img,
    .thnea-brand-icon,
    .thnea-brand-logo-crop {
        width: 38px;
        height: 38px;
    }

    .thnea-header-client-login-btn,
    .thnea-header-client-login-btn.is-logged {
        padding: 2px;
    }

    .thnea-header-client-login-btn.is-logged .thnea-user-avatar {
        width: 26px !important;
        height: 26px !important;
    }

    .thnea-guest-avatar {
        width: 27px;
        height: 27px;
    }

    .thnea-guest-avatar svg {
        width: 15px;
        height: 15px;
    }

    .thnea-header-search-form {
        padding: 2px 4px 2px 10px;
    }

    .thnea-brand-icon-img,
    .thnea-brand-icon,
    .thnea-brand-logo-crop {
        width: 34px;
        height: 34px;
    }

    .thnea-header-client-login-btn.is-guest .thnea-guest-avatar,
    .thnea-guest-avatar {
        width: 30px;
        height: 30px;
    }

    .thnea-header-client-login-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .thnea-guest-avatar {
        background: var(--thnea-gradient) !important;
        border: none !important;
        color: var(--thnea-white) !important;
        box-shadow: 0 3px 10px rgba(7, 26, 51, 0.3);
    }

    .thnea-guest-avatar svg {
        width: 18px;
        height: 18px;
    }

    .thnea-header-client-login-btn.is-logged .thnea-user-avatar {
        width: 28px !important;
        height: 28px !important;
    }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.thnea-reveal {
    opacity: 0;
    translate: 0 24px;
    transition: opacity 0.65s ease, translate 0.65s var(--thnea-ease);
    will-change: opacity, translate;
}

.thnea-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .thnea-reveal {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

/* search input caret + selection visibility (mobile long-press editing) */
input.thnea-hdr-search-input::selection {
    background: rgba(37, 99, 235, 0.3);
    color: #071A33;
}

input.thnea-hdr-search-input::-moz-selection {
    background: rgba(37, 99, 235, 0.3);
    color: #071A33;
}


/* ============================================================
   MOBILE MENU TOGGLE OPEN STATE — final override (last in file)
   ============================================================ */

@media (max-width: 768px) {
    button#thneaSubnavToggle.thnea-subnav-mobile-toggle.is-open,
    #thneaSubnavToggle.thnea-subnav-mobile-toggle.is-open {
        background: var(--thnea-gradient) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(7, 26, 51, 0.3) !important;
    }

    #thneaSubnavToggle.thnea-subnav-mobile-toggle.is-open span {
        color: #ffffff !important;
    }

    /* dropdown anchored to the whole header — true screen centering */
    .thnea-header-search-wrap {
        position: static;
    }

    .thnea-hdr-search-results {
        position: absolute;
        top: calc(100% + 4px);
        left: 50%;
        right: auto;
        width: min(400px, calc(100vw - 20px));
        transform: translateX(-50%);
        z-index: 1002;
    }

    /* search clear/spinner floats over the input — submit button never moves */
    .thnea-ajax-search-actions {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
    }

    input.thnea-hdr-search-input {
        padding-right: 44px !important;
    }

    /* top bar overflow guard: nothing pokes out of the pill */
    .thnea-header-container {
        overflow: hidden;
    }
}

/* ============================================================
   FILTER BAR + PRODUCTS PAGE + PAGINATION
   ============================================================ */

/* Filter bar — advanced dropdowns + View All (reference-style, animated) */

.thnea-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 24px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: visible;
    transition: opacity 0.25s ease;
}

.thnea-filter-bar.is-applying {
    opacity: 0.65;
    pointer-events: none;
}

.thnea-filter-bar.is-applying .thnea-filter-select {
    background-color: var(--thnea-primary-10);
}

.thnea-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thnea-filter-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--thnea-muted);
    font-family: var(--thnea-font-ui);
}

.thnea-filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--thnea-bg-2) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 10px;
    padding: 9px 38px 9px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-black);
    cursor: pointer;
    min-width: 175px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s var(--thnea-ease);
}

.thnea-filter-select:hover {
    border-color: var(--thnea-primary-30);
    background-color: var(--thnea-white);
    transform: translateY(-1px);
}

.thnea-filter-select:focus {
    outline: none;
    border-color: var(--thnea-primary);
    background-color: var(--thnea-white);
    box-shadow: 0 0 0 3px var(--thnea-primary-10);
}

.thnea-filter-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* View All — gradient pill in the filter bar */
.thnea-filter-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    padding: 11px 24px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 6px 16px var(--thnea-primary-30);
    transition: all 0.25s var(--thnea-ease);
}

.thnea-filter-view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-filter-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--thnea-primary-40);
    filter: brightness(1.05);
}

.thnea-filter-view-all:hover svg {
    transform: translateX(3px);
}

/* Reset Filters — ghost style (products page, when filters active) */
.thnea-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--thnea-border);
    background: var(--thnea-white);
    color: var(--thnea-text) !important;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-filter-reset svg {
    width: 12px;
    height: 12px;
    color: var(--thnea-red);
}

.thnea-filter-reset:hover {
    border-color: var(--thnea-red);
    color: var(--thnea-red) !important;
}

/* products page */

.thnea-products-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 24px 50px;
    font-family: var(--thnea-font-ui);
}

.thnea-products-hero {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.thnea-products-toolbar {
    margin-top: 22px;
}

.thnea-products-grid-wrap {
    margin-top: 4px;
}

.thnea-products-pagination {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.thnea-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 9999px;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text);
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--thnea-font-ui);
    text-decoration: none !important;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-page-num svg {
    width: 13px;
    height: 13px;
}

.thnea-page-num:hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark);
    transform: translateY(-1px);
}

.thnea-page-num.is-current {
    background: var(--thnea-gradient);
    border-color: transparent;
    color: var(--thnea-white) !important;
    box-shadow: 0 5px 14px var(--thnea-primary-30);
}

.thnea-page-num.is-next {
    background: var(--thnea-primary-10);
    border-color: var(--thnea-primary-30);
    color: var(--thnea-primary-darker) !important;
}

.thnea-products-empty {
    text-align: center;
    padding: 60px 20px;
}

.thnea-products-empty h2 {
    font-family: var(--thnea-font-body);
    font-weight: 800;
    margin-bottom: 8px;
}

.thnea-products-empty p {
    color: var(--thnea-muted);
    margin-bottom: 20px;
}

.thnea-products-empty .thnea-smart-dl-btn {
    display: inline-flex;
    width: auto;
}

@media (max-width: 768px) {
    .thnea-filter-bar {
        padding: 12px;
        gap: 10px;
    }

    .thnea-filter-group {
        flex: 1 1 100%;
        gap: 8px;
    }

    .thnea-filter-label {
        min-width: 64px;
    }

    .thnea-filter-select {
        flex: 1;
        min-width: 0;
        padding: 10px 34px 10px 12px;
    }

    .thnea-filter-actions {
        margin-left: 0;
        width: 100%;
    }

    .thnea-filter-view-all {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .thnea-filter-reset {
        width: 100%;
        justify-content: center;
        padding: 11px;
    }

    .thnea-products-hero {
        padding: 22px 18px;
    }

    .thnea-page-num {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 12.5px;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.thnea-contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 26px 24px 50px;
    font-family: var(--thnea-font-ui);
}

.thnea-contact-hero {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.thnea-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 22px;
    margin-top: 22px;
    align-items: start;
}

.thnea-contact-channels-title,
.thnea-contact-form-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    font-family: var(--thnea-font-body);
}

.thnea-contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
    text-decoration: none !important;
    transition: transform 0.25s var(--thnea-ease), border-color 0.2s ease, box-shadow 0.25s ease;
}

.thnea-contact-channel:hover {
    transform: translateY(-3px);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 12px 26px var(--thnea-primary-15);
}

.thnea-contact-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--thnea-white);
}

.thnea-contact-channel.is-telegram .thnea-contact-channel-icon {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    box-shadow: 0 5px 14px rgba(34, 158, 217, 0.3);
}

.thnea-contact-channel.is-youtube .thnea-contact-channel-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 5px 14px rgba(255, 0, 0, 0.25);
}

.thnea-contact-channel.is-email .thnea-contact-channel-icon {
    background: var(--thnea-gradient);
    box-shadow: 0 5px 14px var(--thnea-primary-30);
}

.thnea-contact-channel-icon svg {
    width: 20px;
    height: 20px;
}

.thnea-contact-channel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.thnea-contact-channel-text strong {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--thnea-black);
}

.thnea-contact-channel-text span {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thnea-contact-channel-arrow {
    width: 14px;
    height: 14px;
    color: var(--thnea-muted);
    transition: transform 0.2s var(--thnea-ease), color 0.2s ease;
}

.thnea-contact-channel:hover .thnea-contact-channel-arrow {
    color: var(--thnea-primary);
    transform: translateX(3px);
}

.thnea-contact-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.thnea-contact-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--thnea-bg-2);
    border: 1px solid var(--thnea-border);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--thnea-muted-2);
}

.thnea-contact-meta-chip svg {
    width: 13px;
    height: 13px;
    color: var(--thnea-primary);
}

.thnea-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--thnea-bg);
    border: 1px dashed var(--thnea-border-2);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--thnea-muted-2);
    font-weight: 500;
}

.thnea-contact-note svg {
    width: 16px;
    height: 16px;
    color: var(--thnea-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.thnea-contact-form-wrap {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.thnea-contact-field {
    margin-bottom: 14px;
}

.thnea-contact-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--thnea-black);
    margin-bottom: 6px;
    font-family: var(--thnea-font-ui);
}

.thnea-contact-field input,
.thnea-contact-field textarea {
    width: 100%;
    border: 1.5px solid var(--thnea-border);
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-black);
    background: var(--thnea-bg-2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.thnea-contact-field input:focus,
.thnea-contact-field textarea:focus {
    outline: none;
    border-color: var(--thnea-primary);
    background: var(--thnea-white);
    box-shadow: 0 0 0 3px var(--thnea-primary-10);
}

.thnea-contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.thnea-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    border: none;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    cursor: pointer;
    box-shadow: 0 6px 16px var(--thnea-primary-30);
    transition: all 0.25s var(--thnea-ease);
}

.thnea-contact-submit svg {
    width: 15px;
    height: 15px;
}

.thnea-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--thnea-primary-40);
}

.thnea-contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.thnea-contact-status {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 700;
    display: none;
}

.thnea-contact-status:not(:empty) {
    display: block;
}

.thnea-contact-status.is-success {
    color: var(--thnea-primary-dark);
}

.thnea-contact-status.is-error {
    color: var(--thnea-red);
}

.thnea-hp-field {
    position: absolute !important;
    left: -9999px !important;
}

@media (max-width: 860px) {
    .thnea-contact-grid {
        grid-template-columns: 1fr;
    }

    .thnea-contact-hero {
        padding: 22px 18px;
    }

    .thnea-contact-form-wrap {
        padding: 20px 18px;
    }
}

.thnea-contact-channels-wrap {
    margin-top: 22px;
}

/* WP default pagination (archive pages) → pill style */
.thnea-archive-page .page-numbers,
.thnea-products-page .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 9999px;
    background: var(--thnea-white);
    border: 1.5px solid var(--thnea-border);
    color: var(--thnea-text);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s var(--thnea-ease);
}

.thnea-archive-page .page-numbers.current,
.thnea-products-page .page-numbers.current {
    background: var(--thnea-gradient);
    border-color: transparent;
    color: var(--thnea-white) !important;
}

.thnea-archive-page .page-numbers:not(.current):hover,
.thnea-products-page .page-numbers:not(.current):hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark);
    transform: translateY(-1px);
}

/* ============================================================
   COMMENTS — guest-friendly, design-matched
   ============================================================ */

.thnea-single-tool .comments-area,
.thnea-comments-card {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 28px 30px;
    margin-top: 44px;
    font-family: var(--thnea-font-ui);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.thnea-single-tool .comments-title,
.comment-reply-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--thnea-black);
    margin: 0 0 18px;
    font-family: var(--thnea-font-body);
}

.comment-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-list .comment,
.comment-list .pingback {
    background: var(--thnea-bg);
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    padding: 16px 18px;
}

.comment-list .comment.depth-2,
.comment-list .comment.depth-3 {
    margin-left: 28px;
    background: var(--thnea-white);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--thnea-primary-30);
}

.comment-author .fn,
.comment-author .fn a {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--thnea-black);
    text-decoration: none !important;
}

.comment-metadata {
    font-size: 11.5px;
}

.comment-metadata a {
    color: var(--thnea-muted);
    text-decoration: none !important;
}

.comment-content p {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--thnea-muted-2);
}

.reply a,
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    color: var(--thnea-primary-dark) !important;
    background: var(--thnea-primary-10);
    border-radius: 9999px;
    padding: 6px 14px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.reply a:hover,
.comment-reply-link:hover {
    background: var(--thnea-primary-20);
}

/* form */

#commentform .comment-form-comment label,
#commentform .comment-form-author label,
#commentform .comment-form-email label,
.comment-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--thnea-black);
    margin-bottom: 6px;
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    border: 1.5px solid var(--thnea-border);
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-black);
    background: var(--thnea-bg-2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

#commentform textarea:focus,
#commentform input:focus,
.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
    border-color: var(--thnea-primary);
    background: var(--thnea-white);
    box-shadow: 0 0 0 3px var(--thnea-primary-10);
}

#commentform textarea {
    min-height: 120px;
    resize: vertical;
}

#commentform .submit,
.comment-form .submit,
#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    border: none;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--thnea-font-ui);
    cursor: pointer;
    box-shadow: 0 6px 16px var(--thnea-primary-30);
    transition: all 0.25s var(--thnea-ease);
}

#commentform .submit:hover,
.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--thnea-primary-40);
}

.logged-in-as,
.must-log-in,
.comment-notes {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 600;
    margin: 0 0 14px;
}

.must-log-in a,
.logged-in-as a {
    color: var(--thnea-primary-dark);
    font-weight: 800;
}

/* tags row on single posts */

.thnea-tool-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.thnea-tool-tags-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--thnea-muted);
}

.thnea-tool-tags a {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--thnea-primary-darker);
    background: var(--thnea-primary-10);
    border: 1px solid var(--thnea-primary-30);
    padding: 5px 13px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.thnea-tool-tags a:hover {
    background: var(--thnea-primary-20);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .thnea-single-tool .comments-area,
    .thnea-comments-card {
        padding: 20px 16px;
    }

    .comment-list .comment.depth-2,
    .comment-list .comment.depth-3 {
        margin-left: 12px;
    }
}

/* v290-single-fixes */

/* hide the theme's large featured image above the title on single posts */
.single .post-image,
.single-post .post-image,
.single .featured-image,
.wp-post-image.fluid {
    display: none !important;
}

/* our in-content featured image: smaller, centered */
.thnea-single-tool .thnea-tool-featured {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.thnea-tool-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* hide theme entry meta/footer (cats/tags) after our layout on singles */
.single .entry-footer,
.single .entry-meta,
.single-post .cat-links,
.single-post .tags-links {
    display: none !important;
}

/* compact social cards (2x2 grid on tool pages) */
.thnea-single-tool .thnea-social-cta .thnea-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.thnea-single-tool .thnea-social-card {
    flex-direction: row;
    padding: 13px 15px;
    gap: 11px;
    border-radius: 14px;
}

.thnea-single-tool .thnea-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.thnea-single-tool .thnea-social-icon svg {
    width: 17px;
    height: 17px;
}

.thnea-single-tool .thnea-social-text strong {
    font-size: 13.5px;
}

.thnea-single-tool .thnea-social-text span {
    display: none;
}

.thnea-single-tool .thnea-social-btn {
    width: auto;
    padding: 8px 13px;
    font-size: 11.5px;
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .thnea-single-tool .thnea-social-cta .thnea-social-grid {
        grid-template-columns: 1fr;
    }
}

/* nicer "More Trading Tools" */
.thnea-related-section {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.thnea-related-section .thnea-section-title {
    text-align: center;
    position: relative;
    margin-bottom: 24px;
}

.thnea-related-section .thnea-section-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--thnea-gradient);
    margin: 10px auto 0;
}

/* v300-mobile-fixes */

/* mobile: single page stack — sidebar (locker) below content, full width */
@media (max-width: 768px) {
    .thnea-tool-content-wrap {
        display: flex !important;
        flex-direction: column;
    }

    .thnea-tool-sidebar {
        order: 2;
        width: 100% !important;
    }

    .thnea-tool-main {
        order: 1;
        width: 100% !important;
    }

    .thnea-download-locker-card {
        padding: 20px 16px;
    }

    .thnea-locker-title {
        font-size: 16px;
    }

    .thnea-locker-subtitle {
        font-size: 12.5px;
    }

    .thnea-smart-dl-btn {
        font-size: 13.5px;
        padding: 12px 18px;
        gap: 7px;
    }

    .thnea-contact-meta-row {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .thnea-single-tool .thnea-smart-dl-btn {
        display: flex;
        box-sizing: border-box;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 11px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .thnea-single-tool .thnea-smart-dl-btn svg {
        flex-shrink: 0;
    }

    .thnea-single-tool .thnea-smart-dl-btn span {
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .thnea-subnav-right {
        gap: 4px;
    }

    .thnea-changelog-pulse,
    .thnea-premium-files-chip {
        gap: 5px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 11px;
    }
}

/* locker title short + centered on all sizes */
.thnea-locker-title {
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}

.thnea-locker-subtitle {
    text-align: center;
}

/* Single tool page layout refinements */
.thnea-single-tool .thnea-breadcrumb {
    display: none !important;
}

.thnea-single-tool .thnea-locker-badge {
    max-width: 100%;
    justify-content: center;
    padding: 6px 12px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-align: center;
}

.thnea-single-tool .thnea-vip-upgrade-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
}

.thnea-single-tool .thnea-vip-left {
    width: 100%;
    align-items: flex-start;
}

.thnea-single-tool .thnea-vip-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.thnea-single-tool .thnea-related-section .thnea-card-thumb-wrap {
    aspect-ratio: 16 / 9;
}

@media (max-width: 640px) {
    .thnea-single-tool .thnea-social-card {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 10px 12px;
        padding: 14px;
        text-align: left;
    }

    .thnea-single-tool .thnea-social-icon {
        grid-column: 1;
        grid-row: 1;
        flex-shrink: 0;
    }

    .thnea-single-tool .thnea-social-text {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .thnea-single-tool .thnea-social-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
        padding: 10px 14px;
        font-size: 12px;
        white-space: normal;
    }

    .thnea-single-tool .thnea-related-section {
        padding: 18px 14px 16px;
        border-radius: 16px;
    }

    .thnea-single-tool .thnea-related-section .thnea-section-title {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-license {
        width: 100%;
        justify-content: space-between;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Compact "More Trading Tools" cards on single tool pages */
.thnea-single-tool .thnea-related-section {
    padding: 20px 18px 18px;
    border-radius: 16px;
}

.thnea-single-tool .thnea-related-section .thnea-cards-grid {
    gap: 14px;
}

.thnea-single-tool .thnea-related-section .thnea-card-thumb-wrap {
    aspect-ratio: 4 / 3;
}

.thnea-single-tool .thnea-related-section .thnea-card-body {
    padding: 10px 12px 12px;
    gap: 6px;
}

.thnea-single-tool .thnea-related-section .thnea-card-title {
    font-size: 14px;
    line-height: 1.3;
}

.thnea-single-tool .thnea-related-section .thnea-card-chips {
    gap: 6px;
}

.thnea-single-tool .thnea-related-section .thnea-card-chip {
    font-size: 10px;
    padding: 2px 7px;
}

.thnea-single-tool .thnea-related-section .thnea-card-meta-row {
    display: none;
}

.thnea-single-tool .thnea-related-section .thnea-card-footer {
    padding-top: 8px;
    gap: 8px;
}

.thnea-single-tool .thnea-related-section .thnea-card-license {
    font-size: 12px;
}

.thnea-single-tool .thnea-related-section .thnea-card-action-btn {
    padding: 7px 12px;
    font-size: 12px;
}

@media (max-width: 640px) {
    .thnea-single-tool .thnea-related-section .thnea-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-item {
        flex-direction: row;
        align-items: stretch;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-thumb-wrap {
        flex: 0 0 34%;
        width: 34%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-body {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 12px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-title {
        font-size: 13.5px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-action-btn {
        width: auto;
        flex-shrink: 0;
    }
}

/* ============================================================
   ACCOUNT PAGE  (/account/, /account/profile/, /account/payments/)
   Header + footer stay untouched (same as the homepage).
   ============================================================ */

body.thnea-account-view .entry-header {
    display: none !important;
}

.thnea-account-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4px 0 36px;
    font-family: var(--thnea-font-ui);
    color: var(--thnea-text);
}

@media (min-width: 700px) {
    .thnea-account-page {
        padding: 6px 0 42px;
    }
}

@media (min-width: 981px) {
    .thnea-account-page {
        padding: 4px 24px 46px;
    }
}

.thnea-account-page *,
.thnea-account-page *::before,
.thnea-account-page *::after {
    box-sizing: border-box;
}

/* ---------- Hero (member view) ---------- */

.thnea-account-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 20px;
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    background:
        radial-gradient(120% 160% at 100% 0%, var(--thnea-primary-15) 0%, rgba(37, 99, 235, 0) 58%),
        var(--thnea-white);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

@media (min-width: 700px) {
    .thnea-account-hero {
        padding: 28px 30px;
        gap: 26px;
    }
}

.thnea-account-hero-copy {
    min-width: 0;
}

.thnea-account-hero .thnea-changelog-breadcrumb {
    margin-bottom: 12px;
    font-size: 12.5px;
}

.thnea-account-hero .thnea-changelog-feed-chip,
.thnea-account-auth-aside .thnea-changelog-feed-chip {
    margin-bottom: 14px;
}

.thnea-account-hero-title {
    margin: 0 0 8px;
    font-family: var(--thnea-font-body);
    font-size: clamp(23px, 3.2vw, 33px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--thnea-black);
    overflow-wrap: anywhere;
}

.thnea-account-hero-sub {
    margin: 0;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.68;
    font-weight: 500;
    color: var(--thnea-muted-2);
}

@media (min-width: 700px) {
    .thnea-account-hero-sub {
        font-size: 14.5px;
    }
}

.thnea-account-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.thnea-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--thnea-border);
    border-radius: 9999px;
    background: var(--thnea-bg-2);
    color: var(--thnea-muted-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.5;
}

.thnea-account-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--thnea-gradient);
    color: var(--thnea-white);
    font-family: var(--thnea-font-body);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px var(--thnea-primary-30);
    user-select: none;
}

@media (min-width: 700px) {
    .thnea-account-avatar {
        width: 64px;
        height: 64px;
        font-size: 23px;
    }
}

/* ---------- Member shell: navigation + content ---------- */

.thnea-account-panel--member {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}

@media (min-width: 981px) {
    .thnea-account-panel--member {
        grid-template-columns: 262px minmax(0, 1fr);
        gap: 20px;
        margin-top: 20px;
        align-items: start;
    }

    .thnea-account-panel--member > .pms-account-navigation {
        position: sticky;
        top: 110px;
    }

    body.admin-bar .thnea-account-panel--member > .pms-account-navigation {
        top: 142px;
    }
}

/* ---------- Account navigation ---------- */

.thnea-account-page .pms-account-navigation {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 18px;
    padding: 9px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.thnea-account-page .pms-account-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thnea-account-page .pms-account-navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.thnea-account-page .pms-account-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 12px;
    color: var(--thnea-text) !important;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.thnea-account-page .pms-account-navigation a::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    opacity: 0.75;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 18px 18px;
    mask-size: 18px 18px;
}

.thnea-account-page .pms-account-navigation a[aria-current="page"],
.thnea-account-page .pms-account-navigation a.pms-account-navigation-link--active {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 8px 18px var(--thnea-primary-30) !important;
}

.thnea-account-page .pms-account-navigation a[aria-current="page"]::before,
.thnea-account-page .pms-account-navigation a.pms-account-navigation-link--active::before {
    opacity: 1;
}

.thnea-account-page .pms-account-navigation a:not([aria-current="page"]):not(.pms-account-navigation-link--active):hover {
    background: var(--thnea-bg-2);
    color: var(--thnea-primary-darker) !important;
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--subscriptions a::before {
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='3'/%3E%3Cpath d='M2.5 10h19'/%3E%3Cpath d='M6.5 14.5h4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='3'/%3E%3Cpath d='M2.5 10h19'/%3E%3Cpath d='M6.5 14.5h4'/%3E%3C/svg%3E");
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--profile a::before {
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12.2a3.9 3.9 0 1 0 0-7.8 3.9 3.9 0 0 0 0 7.8Z'/%3E%3Cpath d='M4.6 20.4c.9-3.6 3.8-5.5 7.4-5.5s6.5 1.9 7.4 5.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12.2a3.9 3.9 0 1 0 0-7.8 3.9 3.9 0 0 0 0 7.8Z'/%3E%3Cpath d='M4.6 20.4c.9-3.6 3.8-5.5 7.4-5.5s6.5 1.9 7.4 5.5'/%3E%3C/svg%3E");
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--payments a::before {
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.2h12v17.6l-3-1.9-3 1.9-3-1.9-3 1.9V3.2Z'/%3E%3Cpath d='M9.2 8.2h5.6'/%3E%3Cpath d='M9.2 12.2h5.6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.2h12v17.6l-3-1.9-3 1.9-3-1.9-3 1.9V3.2Z'/%3E%3Cpath d='M9.2 8.2h5.6'/%3E%3Cpath d='M9.2 12.2h5.6'/%3E%3C/svg%3E");
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--logout a::before {
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 20.5H6a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2h3.5'/%3E%3Cpath d='m15.5 16.5 4.5-4.5-4.5-4.5'/%3E%3Cpath d='M20 12H9.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 20.5H6a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2h3.5'/%3E%3Cpath d='m15.5 16.5 4.5-4.5-4.5-4.5'/%3E%3Cpath d='M20 12H9.5'/%3E%3C/svg%3E");
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--logout {
    margin-top: 4px;
    padding-top: 5px;
    border-top: 1px solid var(--thnea-border);
}

.thnea-account-page .pms-account-navigation li.pms-account-navigation-link--logout a:hover {
    background: rgba(239, 68, 68, 0.09);
    color: var(--thnea-red) !important;
}

/* Mobile: wrapped pill tabs (every section stays visible) */
@media (max-width: 980px) {
    .thnea-account-page .pms-account-navigation {
        padding: 8px;
        border-radius: 16px;
    }

    .thnea-account-page .pms-account-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .thnea-account-page .pms-account-navigation li {
        flex: 0 0 auto;
    }

    .thnea-account-page .pms-account-navigation a {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .thnea-account-page .pms-account-navigation a::before {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
        -webkit-mask-size: 16px 16px;
        mask-size: 16px 16px;
    }

    .thnea-account-page .pms-account-navigation li.pms-account-navigation-link--logout {
        margin-top: 0;
        margin-left: auto;
        padding-top: 0;
        padding-left: 6px;
        border-top: 0;
        border-left: 1px solid var(--thnea-border);
    }

    .thnea-account-page .pms-account-navigation li.pms-account-navigation-link--logout a {
        border-radius: 10px;
    }
}

/* ---------- Content card ---------- */

.thnea-account-content {
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    background: var(--thnea-white);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
    font-family: var(--thnea-font-ui);
}

@media (min-width: 700px) {
    .thnea-account-content {
        padding: 28px 28px;
    }
}

.thnea-account-content > *:first-child {
    margin-top: 0;
}

.thnea-account-content > *:last-child {
    margin-bottom: 0;
}

.thnea-account-content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--thnea-muted-2);
}

.thnea-account-content a {
    color: var(--thnea-primary-darker);
    font-weight: 700;
    text-decoration: none;
}

.thnea-account-content a:hover {
    text-decoration: underline;
}

/* ---------- Empty states ---------- */

.thnea-account-empty {
    padding: 10px 2px 6px;
    text-align: center;
}

.thnea-account-empty-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border: 1px solid var(--thnea-primary-30);
    border-radius: 20px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-darker);
}

.thnea-account-empty-icon svg {
    width: 30px;
    height: 30px;
}

.thnea-account-empty-title {
    margin: 0 0 8px;
    font-family: var(--thnea-font-body);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--thnea-black);
}

@media (min-width: 700px) {
    .thnea-account-empty-title {
        font-size: 21px;
    }
}

.thnea-account-empty-text {
    max-width: 440px;
    margin: 0 auto 20px;
    font-size: 14px;
    line-height: 1.72;
    color: var(--thnea-muted);
}

.thnea-account-empty-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.thnea-account-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 22px var(--thnea-primary-30);
    transition: transform 0.18s var(--thnea-ease), box-shadow 0.18s ease;
}

.thnea-account-empty-btn:hover {
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px var(--thnea-primary-40);
}

.thnea-account-empty-btn svg {
    width: 16px;
    height: 16px;
}

.thnea-account-empty-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--thnea-muted) !important;
    text-decoration: none !important;
}

.thnea-account-empty-link:hover {
    color: var(--thnea-primary-darker) !important;
}

.thnea-account-content .pms-no-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 34px 8px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--thnea-muted);
}

.thnea-account-content .pms-no-payments::before {
    content: "";
    width: 44px;
    height: 44px;
    background-color: var(--thnea-primary-dark);
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.2h12v17.6l-3-1.9-3 1.9-3-1.9-3 1.9V3.2Z'/%3E%3Cpath d='M9.2 8.2h5.6'/%3E%3Cpath d='M9.2 12.2h5.6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.2h12v17.6l-3-1.9-3 1.9-3-1.9-3 1.9V3.2Z'/%3E%3Cpath d='M9.2 8.2h5.6'/%3E%3Cpath d='M9.2 12.2h5.6'/%3E%3C/svg%3E");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* ---------- Forms (PMS login + edit profile) ---------- */

.thnea-account-page .pms-form p {
    margin: 0 0 16px;
}

.thnea-account-page .pms-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thnea-muted);
}

.thnea-account-page .pms-form input[type="text"],
.thnea-account-page .pms-form input[type="email"],
.thnea-account-page .pms-form input[type="password"],
.thnea-account-page .pms-form input[type="tel"],
.thnea-account-page .pms-form input[type="url"],
.thnea-account-page .pms-form input[type="number"],
.thnea-account-page .pms-form input[type="search"],
.thnea-account-page .pms-form input[type="date"],
.thnea-account-page .pms-form select,
.thnea-account-page .pms-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--thnea-border-2);
    border-radius: 12px;
    background: var(--thnea-white);
    color: var(--thnea-black);
    font-family: var(--thnea-font-ui);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.thnea-account-page .pms-form textarea {
    min-height: 110px;
    resize: vertical;
}

.thnea-account-page .pms-form input::placeholder {
    color: var(--thnea-muted);
    font-weight: 500;
    opacity: 1;
}

.thnea-account-page .pms-form input[type="text"]:focus,
.thnea-account-page .pms-form input[type="email"]:focus,
.thnea-account-page .pms-form input[type="password"]:focus,
.thnea-account-page .pms-form input[type="tel"]:focus,
.thnea-account-page .pms-form input[type="url"]:focus,
.thnea-account-page .pms-form input[type="number"]:focus,
.thnea-account-page .pms-form input[type="search"]:focus,
.thnea-account-page .pms-form input[type="date"]:focus,
.thnea-account-page .pms-form select:focus,
.thnea-account-page .pms-form textarea:focus {
    outline: none;
    border-color: var(--thnea-primary);
    box-shadow: 0 0 0 4px var(--thnea-primary-15);
}

.thnea-account-page .pms-form input:disabled {
    border-color: var(--thnea-border);
    background: var(--thnea-bg-2);
    color: var(--thnea-muted);
    cursor: not-allowed;
}

.thnea-account-page .pms-form input[type="submit"],
.thnea-account-page .pms-form button[type="submit"],
.thnea-account-page .pms-form .button-primary,
.thnea-account-page .pms-form .pms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 26px;
    border: 0;
    border-radius: 12px;
    background: var(--thnea-gradient) !important;
    color: var(--thnea-white) !important;
    font-family: var(--thnea-font-ui);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-shadow: none;
    cursor: pointer;
    box-shadow: 0 10px 22px var(--thnea-primary-30);
    transition: transform 0.18s var(--thnea-ease), box-shadow 0.18s ease;
}

.thnea-account-page .pms-form input[type="submit"]:hover,
.thnea-account-page .pms-form button[type="submit"]:hover,
.thnea-account-page .pms-form .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px var(--thnea-primary-40);
}

.thnea-account-page .pms-form input[type="submit"]:focus-visible,
.thnea-account-page .pms-form button[type="submit"]:focus-visible {
    outline: 2px solid var(--thnea-primary-darker);
    outline-offset: 2px;
}

/* Login form footer links */
.thnea-account-page .pms-form .login-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--thnea-border);
    font-size: 13px;
    color: var(--thnea-muted);
}

.thnea-account-page .pms-form .login-extra .separator {
    color: var(--thnea-border-2);
}

.thnea-account-page .pms-form .login-extra input[type="hidden"] {
    display: none;
}

.thnea-account-page .pms-form .login-extra a {
    color: var(--thnea-primary-darker);
    font-weight: 800;
    text-decoration: none;
}

.thnea-account-page .pms-form .login-extra a:hover {
    text-decoration: underline;
}

/* Edit profile form */
.thnea-account-content .pms-form-fields-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 760px) {
    .thnea-account-content .pms-form-fields-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.thnea-account-content .pms-form-fields-wrapper > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thnea-account-content .pms-field:has(textarea) {
    grid-column: 1 / -1;
}

.thnea-account-content .pms-form-fields-wrapper > li:last-child {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.thnea-account-content .pms-form input[type="submit"] {
    width: auto;
    min-width: 190px;
}

@media (max-width: 600px) {
    .thnea-account-content .pms-form input[type="submit"] {
        width: 100%;
    }
}

/* PMS notices */
.thnea-account-content .pms-message,
.thnea-account-content .pms-error,
.thnea-account-content .pms-success,
.thnea-account-content .pms-warning {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--thnea-border);
    border-radius: 12px;
    background: var(--thnea-bg-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--thnea-text);
}

.thnea-account-content .pms-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.thnea-account-content .pms-success {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: var(--thnea-primary-darker);
}

/* Tables (subscriptions / payments when data exists) */
.thnea-account-content table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    overflow: hidden;
    font-size: 13.5px;
}

.thnea-account-content thead th {
    padding: 12px 14px;
    border-bottom: 1px solid var(--thnea-border);
    background: var(--thnea-bg-2);
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thnea-muted);
}

.thnea-account-content tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--thnea-border);
    color: var(--thnea-muted-2);
    font-weight: 600;
    vertical-align: middle;
}

.thnea-account-content tbody tr:last-child td {
    border-bottom: 0;
}

.thnea-account-content tbody tr:hover td {
    background: var(--thnea-primary-5);
}

@media (max-width: 700px) {
    .thnea-account-content table {
        display: block;
        overflow-x: auto;
    }

    .thnea-account-content .pms-table {
        white-space: nowrap;
    }

    .thnea-account-content .pms-account-subscription-details-table {
        white-space: normal;
    }
}

/* Active subscription: key/value details table */
.thnea-account-content .pms-account-subscription-details-table {
    max-width: 700px;
    margin: 0 0 18px;
}

.thnea-account-content .pms-account-subscription-details-table tbody td {
    padding: 13px 16px;
    vertical-align: top;
}

.thnea-account-content .pms-account-subscription-details-table tbody td:first-child {
    width: 42%;
    background: var(--thnea-bg);
    color: var(--thnea-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.thnea-account-content .pms-account-subscription-details-table tbody td:last-child {
    color: var(--thnea-black);
    font-weight: 700;
}

.thnea-account-content .pms-account-subscription-details-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Status dot + colour */
.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td[class*="status-"]::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
}

.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-active {
    color: var(--thnea-primary-darker);
}

.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-pending {
    color: #1D4ED8;
}

.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-canceled,
.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-expired,
.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-paused,
.thnea-account-content .pms-account-subscription-details-table tbody .pms-account-subscription-details-table__status td.status-abandoned {
    color: var(--thnea-muted);
}

/* Payment method row */
.thnea-account-content .pms-account-subscription-details-table__payment-method__wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.thnea-account-content .pms-account-subscription-details-table__payment-method__brand svg {
    display: block;
    height: 22px;
    width: auto;
}

.thnea-account-content .pms-account-subscription-details-table__payment-method__number {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.thnea-account-content .pms-account-subscription-details-table__payment-method__expiration {
    display: inline-flex;
    padding: 2px 9px;
    border: 1px solid var(--thnea-border);
    border-radius: 9999px;
    background: var(--thnea-bg-2);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--thnea-muted-2);
}

/* Subscription action links */
.thnea-account-content .pms-account-subscription-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 0 16px;
    border: 1px solid var(--thnea-border-2);
    border-radius: 10px;
    background: var(--thnea-white);
    color: var(--thnea-text) !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.thnea-account-content .pms-account-subscription-action-link:hover {
    border-color: var(--thnea-primary);
    background: var(--thnea-primary-5);
    color: var(--thnea-primary-darker) !important;
    transform: translateY(-1px);
}

.thnea-account-content .pms-account-subscription-action-link__renew,
.thnea-account-content .pms-account-subscription-action-link__retry {
    border-color: transparent;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 6px 14px var(--thnea-primary-30);
}

.thnea-account-content .pms-account-subscription-action-link__renew:hover,
.thnea-account-content .pms-account-subscription-action-link__retry:hover {
    color: var(--thnea-white) !important;
    box-shadow: 0 9px 18px var(--thnea-primary-40);
}

.thnea-account-content .pms-account-subscription-action-link__cancel,
.thnea-account-content .pms-account-subscription-action-link__abandon {
    border-color: #fecaca;
    color: #b91c1c !important;
}

.thnea-account-content .pms-account-subscription-action-link__cancel:hover,
.thnea-account-content .pms-account-subscription-action-link__abandon:hover {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b !important;
}

/* PMS pagination (payment history) */
.thnea-account-content .pms-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
}

.thnea-account-content .pms-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 9999px;
    background: var(--thnea-white);
    color: var(--thnea-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.thnea-account-content .pms-pagination .page-numbers.current {
    border-color: transparent;
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
}

.thnea-account-content .pms-pagination .page-numbers:not(.current):hover {
    border-color: var(--thnea-primary);
    color: var(--thnea-primary-dark);
    transform: translateY(-1px);
}

/* ---------- Guest sign-in view ---------- */

.thnea-account-page--auth {
    max-width: 1080px;
}

.thnea-account-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--thnea-border);
    border-radius: 22px;
    background:
        radial-gradient(120% 170% at 0% 0%, var(--thnea-primary-15) 0%, rgba(37, 99, 235, 0) 55%),
        var(--thnea-white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

@media (min-width: 900px) {
    .thnea-account-auth {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 40px;
        align-items: center;
        padding: 34px 38px;
    }
}

@media (max-width: 899px) {
    .thnea-account-auth {
        max-width: 520px;
        margin: 0 auto;
    }
}

.thnea-account-auth-aside {
    min-width: 0;
    max-width: 560px;
}

.thnea-account-auth-aside .thnea-account-hero-title {
    margin-bottom: 10px;
}

.thnea-account-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.thnea-account-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--thnea-muted-2);
}

.thnea-account-perk-icon {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--thnea-primary-15);
    color: var(--thnea-primary-darker);
}

.thnea-account-perk-icon svg {
    width: 12px;
    height: 12px;
}

.thnea-account-auth-card {
    min-width: 0;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 22px 18px;
    border: 1px solid var(--thnea-border);
    border-radius: 18px;
    background: var(--thnea-white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

@media (min-width: 900px) {
    .thnea-account-auth-card {
        max-width: none;
        margin: 0;
    }
}

@media (min-width: 700px) {
    .thnea-account-auth-card {
        padding: 26px 24px;
    }
}

.thnea-account-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thnea-primary-darker);
}

.thnea-account-auth-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--thnea-primary);
    box-shadow: 0 0 0 3px var(--thnea-primary-15);
}

.thnea-account-auth-card .pms-form {
    margin: 0;
}

.thnea-account-auth-card .pms-form input[type="submit"] {
    width: 100%;
}

.thnea-account-auth-card .pms-form .login-submit {
    margin-bottom: 0;
}

/* Small screens: tighter auth card */
@media (max-width: 480px) {
    .thnea-account-auth {
        padding: 16px;
        border-radius: 18px;
    }

    .thnea-account-auth-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .thnea-account-page .pms-form input[type="text"],
    .thnea-account-page .pms-form input[type="email"],
    .thnea-account-page .pms-form input[type="password"],
    .thnea-account-page .pms-form select,
    .thnea-account-page .pms-form textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }
}

/* ============================================================
   REGISTER PAGE - premium dark membership signup
   ============================================================ */

body.thnea-register-view {
    background: #071A33;
}

body.thnea-register-view .entry-header {
    display: none !important;
}

body.thnea-register-view .site-content {
    padding: 0;
}

body.thnea-register-view .elementor-2366,
body.thnea-register-view .elementor-element-33a48be9 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.thnea-register-view .elementor-element-33a48be9 > .e-con-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.thnea-register-view .elementor-widget-shortcode {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

body.thnea-register-view .elementor-widget-shortcode .elementor-widget-container {
    margin: 0;
    padding: 0;
}

/*
 * The register page predates this module and still has legacy Customizer CSS
 * scoped to body.page-id-2366. That CSS caps the widget at 620px and adds an
 * old heading/status card. These higher-specificity rules let the branded
 * full-width layout win without touching the saved Customizer CSS.
 */
body.thnea-register-view.page-id-2366 .elementor-widget-shortcode {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

body.thnea-register-view.page-id-2366 .elementor-widget-shortcode::before {
    content: none !important;
    display: none !important;
}

body.thnea-register-view.page-id-2366 .elementor-element-28de40b {
    display: none !important;
}

.thnea-register-page {
    --reg-ink: #071A33;
    --reg-ink-2: #0B2447;
    --reg-forest: #0F2F5F;
    --reg-paper: #F7FAFF;
    --reg-paper-2: #EAF2FF;
    --reg-gold: #8CC2FF;
    --reg-gold-dark: #3B82F6;
    --reg-line: rgba(7, 26, 51, 0.14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px 24px 58px;
    background: #071A33;
    color: #EDF5FF;
    font-family: var(--thnea-font-body);
}

.thnea-register-page *,
.thnea-register-page *::before,
.thnea-register-page *::after {
    box-sizing: border-box;
}

.thnea-register-page svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.thnea-register-grid-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 68%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 68%);
    pointer-events: none;
}

.thnea-register-orb {
    position: absolute;
    z-index: -1;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.thnea-register-orb.is-one {
    top: -100px;
    right: 12%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 40% 42%, rgba(140, 194, 255, 0.14), transparent 68%);
}

.thnea-register-orb.is-two {
    bottom: -160px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 58% 38%, rgba(37, 99, 235, 0.24), transparent 70%);
}

.thnea-register-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

/* ---------- Top bar ---------- */

.thnea-register-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 24px;
    font-family: var(--thnea-font-ui);
}

.thnea-register-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(237, 245, 255, 0.52);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.thnea-register-breadcrumb a {
    color: rgba(237, 245, 255, 0.66);
    text-decoration: none;
    transition: color 0.18s ease;
}

.thnea-register-breadcrumb a:hover {
    color: #ffffff;
}

.thnea-register-crumb-sep {
    color: rgba(237, 245, 255, 0.24);
}

.thnea-register-topbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(237, 245, 255, 0.56);
    font-size: 11.5px;
    font-weight: 600;
}

.thnea-register-topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 11px;
    border: 1px solid rgba(237, 245, 255, 0.18);
    border-radius: 9999px;
    color: #EDF5FF;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.thnea-register-topbar-links a:hover {
    border-color: rgba(140, 194, 255, 0.55);
    background: rgba(140, 194, 255, 0.12);
}

.thnea-register-topbar-links a svg {
    width: 13px;
    height: 13px;
}

/* ---------- Split board ---------- */

.thnea-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    overflow: hidden;
    border: 1px solid rgba(237, 245, 255, 0.13);
    border-radius: 30px;
    background: var(--reg-ink-2);
    box-shadow:
        0 44px 100px -46px rgba(0, 0, 0, 0.88),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: thneaRegisterRise 0.68s var(--thnea-ease) both;
}

/* ---------- Left: membership story ---------- */

.thnea-register-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 40px 38px 32px;
    background:
        radial-gradient(560px 420px at 0% 0%, rgba(37, 99, 235, 0.34), transparent 68%),
        linear-gradient(180deg, #0B2447 0%, #081A33 100%);
    border-right: 1px solid rgba(237, 245, 255, 0.08);
}

.thnea-register-aside::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--reg-gold) 0%, rgba(140, 194, 255, 0.16) 46%, transparent 100%);
    opacity: 0.8;
    pointer-events: none;
}

.thnea-register-brandline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thnea-register-monogram {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(140, 194, 255, 0.55);
    border-radius: 50%;
    background: rgba(140, 194, 255, 0.08);
    color: var(--reg-gold);
    font-family: var(--thnea-font-body);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.thnea-register-brandcopy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.thnea-register-brandcopy strong {
    color: #EDF5FF;
    font-family: var(--thnea-font-ui);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
}

.thnea-register-brandcopy small {
    color: rgba(237, 245, 255, 0.45);
    font-family: var(--thnea-font-ui);
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.thnea-register-title {
    max-width: 430px;
    margin: clamp(38px, 5vw, 62px) 0 16px;
    color: #EDF5FF;
    font-family: var(--thnea-font-body);
    font-size: clamp(42px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.thnea-register-title > span {
    color: var(--reg-gold);
}

.thnea-register-subtitle {
    max-width: 390px;
    margin: 0;
    color: rgba(237, 245, 255, 0.62);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.76;
}

.thnea-register-perks {
    display: flex;
    flex-direction: column;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.thnea-register-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid rgba(237, 245, 255, 0.09);
}

.thnea-register-perks li:last-child {
    border-bottom: 1px solid rgba(237, 245, 255, 0.09);
}

.thnea-register-perk-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(140, 194, 255, 0.28);
    border-radius: 8px;
    color: var(--reg-gold);
}

.thnea-register-perk-icon svg {
    width: 15px;
    height: 15px;
}

.thnea-register-perk-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.thnea-register-perk-copy strong {
    color: rgba(255, 250, 240, 0.94);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.45;
}

.thnea-register-perk-copy span {
    color: rgba(237, 245, 255, 0.50);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.55;
}

.thnea-register-lifetime-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 26px;
    padding: 15px;
    border: 1px solid rgba(140, 194, 255, 0.27);
    border-radius: 12px;
    background: rgba(140, 194, 255, 0.07);
}

.thnea-register-lifetime-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--reg-gold);
    color: #06162D;
}

.thnea-register-lifetime-icon svg {
    width: 15px;
    height: 15px;
}

.thnea-register-lifetime-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.thnea-register-lifetime-copy strong {
    display: block;
    margin: 0 0 3px;
    color: #8CC2FF;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.thnea-register-lifetime-copy span {
    display: block;
    color: rgba(237, 245, 255, 0.55);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
}

.thnea-register-aside-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: auto;
    padding-top: 30px;
    color: rgba(237, 245, 255, 0.42);
    font-family: var(--thnea-font-ui);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.thnea-register-aside-foot span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.thnea-register-aside-foot svg {
    width: 12px;
    height: 12px;
    color: var(--reg-gold);
}

/* ---------- Right: form card ---------- */

.thnea-register-card {
    position: relative;
    min-width: 0;
    padding: 38px 40px 28px;
    background:
        radial-gradient(540px 240px at 100% 0%, rgba(140, 194, 255, 0.07), transparent 70%),
        linear-gradient(180deg, #FBFDFF 0%, var(--reg-paper) 100%);
    color: var(--thnea-black);
}

.thnea-register-card-head {
    padding: 0 0 20px;
    border-bottom: 1px solid var(--reg-line);
}

.thnea-register-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5B6B82;
    font-family: var(--thnea-font-ui);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.thnea-register-card-meta span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2563EB;
}

.thnea-register-card-meta span:last-child::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.thnea-register-card-head h2 {
    margin: 13px 0 6px;
    color: #0B1B33;
    font-family: var(--thnea-font-body);
    font-size: clamp(27px, 2.5vw, 33px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.thnea-register-card-head p {
    max-width: 470px;
    margin: 0;
    color: #5B6B82;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
}

/* ---------- PMS form ---------- */

.thnea-register-form {
    margin-top: 22px;
}

.thnea-register-form .pms-form {
    margin: 0;
    font-family: var(--thnea-font-ui);
}

.thnea-register-form .pms-form-fields-wrapper {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thnea-register-form .pms-account-section-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 14px;
    margin: 0 0 4px;
    padding: 0;
}

.thnea-register-form .pms-field {
    margin: 0;
    padding: 0;
    list-style: none;
}

.thnea-register-step {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    padding: 0 0 11px;
    border-bottom: 1px solid var(--reg-line);
}

.thnea-register-step.is-plan {
    display: flex;
    margin: 22px 0 12px;
    padding: 18px 0 0;
    border-top: 1px solid var(--reg-line);
    border-bottom: 0;
}

.thnea-register-step-number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 26px;
    height: 22px;
    padding: 0 5px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 4px;
    color: #1D4ED8;
    font-family: var(--thnea-font-ui);
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
}

.thnea-register-step-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.thnea-register-step-copy strong {
    color: #0B1B33;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.thnea-register-step-copy small {
    color: #5B6B82;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.45;
}

.thnea-register-form .pms-field label {
    display: block;
    margin: 0 0 6px;
    color: #4B5C72;
    font-family: var(--thnea-font-ui);
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.thnea-register-form .pms-field input[type="text"],
.thnea-register-form .pms-field input[type="email"],
.thnea-register-form .pms-field input[type="password"],
.thnea-register-form .pms-field input[type="tel"],
.thnea-register-form .pms-field input[type="url"],
.thnea-register-form .pms-field input[type="number"],
.thnea-register-form .pms-field select,
.thnea-register-form .pms-field textarea {
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #DCE6F2;
    border-radius: 9px;
    background: #ffffff;
    color: #0B1B33;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: inset 0 1px 2px rgba(7, 26, 51, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.thnea-register-form .pms-field input::placeholder {
    color: #8FA3BA;
    font-weight: 500;
    opacity: 1;
}

.thnea-register-form .pms-field input[type="text"]:focus,
.thnea-register-form .pms-field input[type="email"]:focus,
.thnea-register-form .pms-field input[type="password"]:focus,
.thnea-register-form .pms-field input[type="tel"]:focus,
.thnea-register-form .pms-field input[type="url"]:focus,
.thnea-register-form .pms-field input[type="number"]:focus,
.thnea-register-form .pms-field select:focus,
.thnea-register-form .pms-field textarea:focus {
    outline: none;
    border-color: #2563EB;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.thnea-register-form .pms-full-name-field,
.thnea-register-form .pms-user-email-field {
    grid-column: 1 / -1;
}

.thnea-register-form .pms-pass1-field,
.thnea-register-form .pms-pass2-field {
    min-width: 0;
}

.thnea-password-wrap {
    position: relative;
}

.thnea-password-wrap input {
    padding-right: 46px !important;
}

.thnea-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #6C7C91;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

.thnea-password-toggle:hover {
    background: #EAF2FF;
    color: #1D4ED8;
}

.thnea-password-toggle svg {
    width: 16px;
    height: 16px;
}

/* ---------- Plan selector ---------- */

.thnea-register-form .pms-field-subscriptions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.thnea-register-form .pms-subscription-plan {
    position: relative;
    margin: 0;
    border: 1px solid #DCE6F2;
    border-radius: 11px;
    background: #ffffff;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.thnea-register-form .pms-subscription-plan:hover {
    border-color: #C5D5E8;
    transform: translateY(-1px);
}

.thnea-register-form .pms-subscription-plan label {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 13px 12px 7px;
    border: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.thnea-register-form .pms-subscription-plan label input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    grid-column: 1;
    grid-row: 1;
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1.5px solid #C5D5E8;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 3px #ffffff;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.thnea-register-form .pms-subscription-plan label input[type="radio"]:checked {
    border-color: #2563EB;
    background: #2563EB;
    box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.thnea-register-form .pms-subscription-plan-name {
    grid-column: 2;
    grid-row: 1;
    color: #0B1B33;
    font-family: var(--thnea-font-body);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
}

.thnea-register-form .pms-subscription-plan-price {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    align-items: baseline;
    justify-content: flex-end;
    gap: 1px;
    color: #0B1B33;
    font-family: var(--thnea-font-body);
    white-space: nowrap;
}

.thnea-register-form .pms-subscription-plan-price-value {
    order: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.thnea-register-form .pms-subscription-plan-currency {
    order: -1;
    color: #5B6B82;
    font-size: 11px;
    font-weight: 800;
}

.thnea-register-form .pms-subscription-plan-price .pms-divider:not(.pms-duration-divider) {
    display: none;
}

.thnea-register-form .pms-subscription-plan-price .pms-duration-divider {
    order: 1;
    margin: 0 2px;
    color: #C5D5E8;
    font-size: 9px;
    font-weight: 600;
}

.thnea-register-form .pms-subscription-plan-duration {
    order: 2;
    color: #5B6B82;
    font-family: var(--thnea-font-ui);
    font-size: 9.5px;
    font-weight: 700;
}

.thnea-register-form .pms-subscription-plan-trial,
.thnea-register-form .pms-subscription-plan-sign-up-fee {
    display: none;
}

.thnea-register-form .pms-subscription-plan-description {
    margin: 0;
    padding: 0 12px 12px 35px;
    color: #5B6B82;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.55;
}

.thnea-register-form .pms-subscription-plan:has(input[type="radio"]:checked) {
    border-color: rgba(37, 99, 235, 0.62);
    background: #f6fbf8;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 8px 18px -18px rgba(37, 99, 235, 0.6);
}

.thnea-register-form .pms-subscription-plan-2459:has(input[type="radio"]:checked) {
    border-color: rgba(37, 99, 235, 0.58);
    background: #EDF5FF;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 8px 18px -18px rgba(37, 99, 235, 0.6);
}

.thnea-register-form .pms-subscription-plan-2459::before {
    content: "Most popular";
    position: absolute;
    top: -8px;
    right: 10px;
    padding: 3px 7px;
    border-radius: 9999px;
    background: var(--reg-gold);
    box-shadow: 0 4px 10px -7px rgba(37, 99, 235, 0.8);
    color: #06162D;
    font-family: var(--thnea-font-ui);
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.thnea-register-form .pms-subscription-plan-auto-renew {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    padding: 9px 11px;
    border: 1px dashed #DCE6F2;
    border-radius: 9px;
    background: #F4F8FE;
}

.thnea-register-form .pms-subscription-plan-auto-renew label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #5B6B82;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.thnea-register-form .pms-subscription-plan-auto-renew input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #2563EB;
    cursor: pointer;
}

/* ---------- Submit + feedback ---------- */

.thnea-register-form .pms-form input[type="submit"],
.thnea-register-form .pms-form button[type="submit"],
.thnea-register-form .pms-form .pms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff !important;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: none;
    box-shadow: 0 14px 26px -16px rgba(7, 26, 51, 0.8);
    cursor: pointer;
    transition: transform 0.2s var(--thnea-ease), box-shadow 0.2s ease, background 0.2s ease;
}

.thnea-register-form .pms-form input[type="submit"]:hover,
.thnea-register-form .pms-form button[type="submit"]:hover,
.thnea-register-form .pms-form .pms-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    box-shadow: 0 18px 30px -15px rgba(7, 26, 51, 0.88);
}

.thnea-register-form .pms-form input[type="submit"]:focus-visible,
.thnea-register-form .pms-form button[type="submit"]:focus-visible,
.thnea-register-form .pms-subscription-plan label input[type="radio"]:focus-visible {
    outline: 2px solid var(--reg-gold-dark);
    outline-offset: 3px;
}

.thnea-register-form .pms-form a {
    color: #1D4ED8;
    font-weight: 700;
}

.thnea-register-form .pms-form .pms-error,
.thnea-register-form .pms-form .pms-error-message,
.thnea-register-form .pms-form .pms-warning,
.thnea-register-form .pms-form .pms-form-error {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #efc8bf;
    border-radius: 9px;
    background: #fff6f3;
    color: #8f2f20;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.thnea-register-form .pms-form .pms-success,
.thnea-register-form .pms-form .pms-form-success {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #BFD9FF;
    border-radius: 9px;
    background: #F2F7FF;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.thnea-register-form .pms-field-error input[type="text"],
.thnea-register-form .pms-field-error input[type="email"],
.thnea-register-form .pms-field-error input[type="password"] {
    border-color: #c65443;
    background: #fff8f6;
}

.thnea-register-form .pms_field-errors-wrapper {
    margin-top: 6px;
}

.thnea-register-form .pms_field-errors-wrapper p {
    margin: 0;
    color: #a23e2e;
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.45;
}

.thnea-register-form .pms_field-errors-wrapper p + p {
    margin-top: 3px;
}

/* ---------- Footnotes ---------- */

.thnea-register-card-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--reg-line);
    color: #5B6B82;
    font-family: var(--thnea-font-ui);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.55;
}

.thnea-register-card-foot svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 1px;
    color: #3B82F6;
}

.thnea-register-free {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px 10px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 11px 16px;
    border: 1px solid rgba(237, 245, 255, 0.14);
    border-radius: 9999px;
    background: rgba(237, 245, 255, 0.04);
    color: rgba(237, 245, 255, 0.54);
    font-family: var(--thnea-font-ui);
    font-size: 11px;
    font-weight: 600;
}

.thnea-register-free > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(237, 245, 255, 0.86);
    font-weight: 800;
}

.thnea-register-free > span svg {
    width: 13px;
    height: 13px;
    color: var(--reg-gold);
}

.thnea-register-free p {
    margin: 0;
}

.thnea-register-free a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #8CC2FF;
    font-weight: 800;
    text-decoration: none;
}

.thnea-register-free a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.thnea-register-free a svg {
    width: 13px;
    height: 13px;
}

@keyframes thneaRegisterRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1020px) {
    .thnea-register-layout {
        grid-template-columns: 1fr;
    }

    .thnea-register-card {
        order: 1;
    }

    .thnea-register-aside {
        order: 2;
        border-top: 1px solid rgba(237, 245, 255, 0.09);
        border-right: 0;
    }

    .thnea-register-aside::after {
        top: auto;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 3px;
        background: linear-gradient(90deg, var(--reg-gold), transparent 70%);
    }

    .thnea-register-aside-foot {
        margin-top: 28px;
        padding-top: 20px;
    }

    .thnea-register-title {
        max-width: 620px;
        margin-top: 34px;
    }
}

@media (max-width: 680px) {
    .thnea-register-page {
        padding: 20px 13px 40px;
    }

    .thnea-register-topbar {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .thnea-register-topbar-links > span {
        display: none;
    }

    .thnea-register-layout {
        border-radius: 20px;
    }

    .thnea-register-card {
        padding: 28px 18px 20px;
    }

    .thnea-register-card-meta {
        font-size: 8px;
    }

    .thnea-register-card-head h2 {
        font-size: 28px;
    }

    .thnea-register-form {
        margin-top: 18px;
    }

    .thnea-register-form .pms-account-section-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .thnea-register-form .pms-field input[type="text"],
    .thnea-register-form .pms-field input[type="email"],
    .thnea-register-form .pms-field input[type="password"],
    .thnea-register-form .pms-field select,
    .thnea-register-form .pms-field textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .thnea-register-form .pms-field-subscriptions {
        grid-template-columns: 1fr;
    }

    .thnea-register-form .pms-subscription-plan-description {
        padding-left: 35px;
    }

    .thnea-register-aside {
        padding: 28px 20px 24px;
    }

    .thnea-register-title {
        margin-top: 28px;
        font-size: clamp(35px, 10.5vw, 44px);
    }

    .thnea-register-subtitle {
        font-size: 13px;
    }

    .thnea-register-perks {
        margin-top: 24px;
    }

    .thnea-register-free {
        width: 100%;
        border-radius: 14px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thnea-register-layout,
    .thnea-register-card,
    .thnea-register-aside {
        animation: none !important;
    }

    .thnea-register-page *,
    .thnea-register-page *::before,
    .thnea-register-page *::after {
        transition: none !important;
    }
}

/* ============================================================
   BRAND SYSTEM — DEEP NAVY / ROYAL BLUE
   Applies to the plugin-powered pages and the Elementor login.
   ============================================================ */

body:not(.wp-admin) {
    background-color: #071A33;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px, 54px 54px;
    background-attachment: fixed, fixed;
}

@keyframes thneaPageEnter {
    from { opacity: 0; }
    to { opacity: 1; }
}

body:not(.wp-admin) #page {
    animation: thneaPageEnter 0.32s var(--thnea-ease) both;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.wp-admin) #page {
        animation: none !important;
    }
}

::selection {
    background: rgba(37, 99, 235, 0.18);
    color: var(--thnea-navy);
}

/* The register page is already a full dark/white board. */
body.page-id-2366 {
    background-color: #071A33 !important;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.035) 1px, transparent 1px) !important;
    background-size: 54px 54px, 54px 54px !important;
    background-attachment: fixed, fixed !important;
}

/* Keep the register page and its footer edge visually continuous. */
body.page-id-2366 .thnea-site-footer,
body:not(.wp-admin) .thnea-site-footer {
    margin-top: 0;
}

/* White centre canvas, brand-coloured side gutters.
   The home page keeps a white middle exactly as requested, while every
   inner page gets the same framed treatment as the register board. */
body:not(.wp-admin):not(.page-id-2366):not(.page-id-2367) #page {
    width: calc(100% - 40px);
    max-width: 1360px;
    margin: 22px auto 34px;
    border: 1px solid rgba(237, 245, 255, 0.10);
    border-radius: 28px;
    background: #ffffff;
    overflow: clip;
    box-shadow:
        0 34px 90px -42px rgba(0, 0, 0, 0.88),
        0 0 0 1px rgba(140, 194, 255, 0.05);
}

/* ---------- Login: match the register page's dark board ---------- */

body.page-id-2367 {
    background-color: #071A33 !important;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.035) 1px, transparent 1px) !important;
    background-size: 54px 54px, 54px 54px !important;
    background-attachment: fixed, fixed !important;
    color: #EDF5FF !important;
}

body.page-id-2367 #page {
    min-height: 100vh;
    background: transparent !important;
}

/* ---------- Login: override the Elementor widget's legacy green CSS ---------- */

body.page-id-2367 .elementor-widget-shortcode {
    border: 1px solid var(--thnea-border) !important;
    border-top: 4px solid var(--thnea-primary) !important;
    color: var(--thnea-text) !important;
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55) !important;
}

body.page-id-2367 .elementor-widget-shortcode:before {
    color: var(--thnea-navy) !important;
}

body.page-id-2367 .pms-form label {
    color: var(--thnea-text) !important;
}

body.page-id-2367 .pms-form input[type=text],
body.page-id-2367 .pms-form input[type=email],
body.page-id-2367 .pms-form input[type=password] {
    border-color: var(--thnea-border-2) !important;
    background: #F7FAFF !important;
    color: var(--thnea-navy) !important;
}

body.page-id-2367 .pms-form input::placeholder {
    color: #8FA3BA !important;
}

body.page-id-2367 .pms-form input[type=text]:focus,
body.page-id-2367 .pms-form input[type=email]:focus,
body.page-id-2367 .pms-form input[type=password]:focus {
    background: #ffffff !important;
    border-color: var(--thnea-primary) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}

body.page-id-2367 .pms-form .login-remember input {
    accent-color: var(--thnea-primary) !important;
}

body.page-id-2367 .pms-form #wp-submit {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.5) !important;
}

body.page-id-2367 .pms-form #wp-submit:hover {
    box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.55) !important;
    filter: brightness(1.05);
}

body.page-id-2367 .pms-form a {
    color: var(--thnea-primary-dark) !important;
}

body.page-id-2367 .pms-form a:hover {
    color: var(--thnea-primary-darker) !important;
}

body.page-id-2367 .pms-alert:not(.pms-alert-error) {
    border-color: #BFD9FF !important;
    background: #EAF2FF !important;
    color: #1E40AF !important;
}

body.page-id-2367 .pms-alert a {
    color: var(--thnea-primary-dark) !important;
}

body.page-id-2367 .thnea-auth-more {
    border-color: var(--thnea-border) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: var(--thnea-muted) !important;
}

body.page-id-2367 .thnea-auth-more strong {
    color: var(--thnea-navy) !important;
}

body.page-id-2367 .thnea-auth-links a {
    color: var(--thnea-primary-dark) !important;
}

body.page-id-2367 .thnea-auth-links a:hover {
    color: var(--thnea-primary-darker) !important;
}

/* ---------- Shared light-surface polish ---------- */

.thnea-site-footer .thnea-footer-brand-highlight,
.thnea-site-footer .thnea-footer-heading {
    color: var(--thnea-ice);
}

.thnea-site-footer a:hover {
    color: var(--thnea-ice);
}

.thnea-plan-card.is-lifetime .thnea-plan-name {
    color: var(--thnea-primary-darker);
}

.thnea-source-upsell {
    border-color: rgba(37, 99, 235, 0.32);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
}

.thnea-smart-dl-btn.is-premium {
    color: #ffffff;
}

.thnea-card-item:hover {
    border-color: rgba(37, 99, 235, 0.28);
}

@media (max-width: 782px) {
    body:not(.wp-admin):not(.page-id-2366):not(.page-id-2367) #page {
        width: calc(100% - 20px);
        margin: 14px auto 24px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    body:not(.wp-admin):not(.page-id-2366):not(.page-id-2367) #page {
        width: calc(100% - 12px);
        margin: 10px auto 20px;
        border-radius: 18px;
    }
}

/* ============================================================
   LEGAL PAGES — shared brand treatment
   Privacy, Terms, Refund, License and Trading Risk Disclaimer.
   The legacy Elementor HTML template is stripped in PHP/JS; this
   layer styles the clean legal markup and the standard WP page.
   ============================================================ */

body.thnea-legal-page {
    background-color: #071A33 !important;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.035) 1px, transparent 1px) !important;
    background-size: 54px 54px, 54px 54px !important;
    background-attachment: fixed, fixed !important;
    color: #071A33 !important;
    font-family: var(--thnea-font-body) !important;
}

body.thnea-legal-page::before {
    content: none !important;
}

body.thnea-legal-page #page {
    background: #ffffff !important;
    color: #071A33 !important;
}

/* Hide the duplicate chrome even if the PHP filter is bypassed by a cache. */
body.thnea-legal-page #page header.site-header,
body.thnea-legal-page #page footer.site-footer,
body.thnea-legal-page #page .skip-link,
body.thnea-legal-page #page .theme-toggle,
body.thnea-legal-page #page .menu-toggle {
    display: none !important;
}

body.thnea-legal-page .thnea-legal-shell {
    width: 100%;
    color: #071A33;
    font-family: var(--thnea-font-body);
}

body.thnea-legal-page .thnea-legal-shell main {
    display: block;
    margin: 0;
    padding: 0;
}

body.thnea-legal-page .thnea-legal-shell .container {
    width: min(1160px, 100% - 48px);
    margin-inline: auto;
}

body.thnea-legal-page .thnea-legal-shell .legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 76px) 0 44px;
    border-bottom: 1px solid #DCE6F2;
    border-radius: 28px 28px 0 0;
    background:
        radial-gradient(58% 95% at 50% -20%, rgba(37, 99, 235, 0.14), transparent 72%),
        radial-gradient(42% 70% at 94% 8%, rgba(37, 99, 235, 0.09), transparent 70%),
        #ffffff;
}

body.thnea-legal-page .thnea-legal-shell .legal-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    align-items: center;
    gap: 32px;
}

body.thnea-legal-page .thnea-legal-shell .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #2563EB;
    font: 700 11px/1.4 var(--thnea-font-ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.thnea-legal-page .thnea-legal-shell .eyebrow::before {
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
}

body.thnea-legal-page .thnea-legal-shell .legal-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #071A33;
    font: 700 clamp(34px, 4.3vw, 50px)/1.1 var(--thnea-font-body);
    letter-spacing: -0.035em;
    white-space: normal;
}

body.thnea-legal-page .thnea-legal-shell .legal-summary {
    max-width: 72ch;
    margin: 18px 0 0;
    color: #62748A;
    font: 400 16.5px/1.75 var(--thnea-font-body);
}

body.thnea-legal-page .thnea-legal-shell .updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #64748B;
    font: 500 12.5px/1.4 var(--thnea-font-ui);
}

body.thnea-legal-page .thnea-legal-shell .updated svg {
    width: 15px;
    height: 15px;
    color: #2563EB;
}

body.thnea-legal-page .thnea-legal-shell .legal-mark {
    display: grid;
    width: 108px;
    height: 108px;
    place-items: center;
    justify-self: end;
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.10), rgba(37, 99, 235, 0.035));
    color: #2563EB;
    box-shadow: 0 18px 40px -26px rgba(37, 99, 235, 0.55);
}

body.thnea-legal-page .thnea-legal-shell .legal-mark svg {
    width: 46px;
    height: 46px;
    animation: none;
}

body.thnea-legal-page .thnea-legal-shell .legal-layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 58px);
    padding-block: 52px 84px;
}

body.thnea-legal-page .thnea-legal-shell .toc {
    position: sticky;
    top: 100px;
    padding: 18px;
    border: 1px solid #E2EBF6;
    border-radius: 16px;
    background: #F8FBFF;
}

body.thnea-legal-page .thnea-legal-shell .toc h2 {
    margin: 0 0 12px;
    color: #62748A;
    font: 700 10.5px/1.3 var(--thnea-font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.thnea-legal-page .thnea-legal-shell .toc ol {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.thnea-legal-page .thnea-legal-shell .toc a {
    display: block;
    padding: 7px 9px;
    border-left: 2px solid transparent;
    border-radius: 0 7px 7px 0;
    color: #4B5B6D;
    font: 500 12.8px/1.4 var(--thnea-font-body);
    text-decoration: none;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
}

body.thnea-legal-page .thnea-legal-shell .toc a:hover,
body.thnea-legal-page .thnea-legal-shell .toc a:focus-visible {
    border-left-color: #2563EB;
    background: #EAF2FF;
    color: #1D4ED8;
    outline: none;
}

body.thnea-legal-page .thnea-legal-shell .legal-content {
    min-width: 0;
    max-width: 820px;
}

body.thnea-legal-page .thnea-legal-shell .legal-section {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #E6EEF8;
    scroll-margin-top: 110px;
}

body.thnea-legal-page .thnea-legal-shell .legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

body.thnea-legal-page .thnea-legal-shell .legal-section h2 {
    margin: 0 0 12px;
    color: #071A33;
    font: 600 20px/1.35 var(--thnea-font-body);
    letter-spacing: -0.02em;
}

body.thnea-legal-page .thnea-legal-shell .legal-section h3 {
    margin: 22px 0 8px;
    color: #071A33;
    font: 600 16.5px/1.45 var(--thnea-font-body);
}

body.thnea-legal-page .thnea-legal-shell .legal-section p,
body.thnea-legal-page .thnea-legal-shell .legal-section li {
    max-width: 78ch;
    color: #475569;
    font: 400 15.2px/1.78 var(--thnea-font-body);
}

body.thnea-legal-page .thnea-legal-shell .legal-section p {
    margin: 0 0 14px;
}

body.thnea-legal-page .thnea-legal-shell .legal-section p:last-child {
    margin-bottom: 0;
}

body.thnea-legal-page .thnea-legal-shell .legal-section ul {
    display: grid;
    gap: 8px;
    max-width: 78ch;
    margin: 12px 0 0;
    padding-left: 20px;
}

body.thnea-legal-page .thnea-legal-shell .legal-section li::marker {
    color: #2563EB;
}

body.thnea-legal-page .thnea-legal-shell .legal-content strong {
    color: #071A33;
    font-weight: 600;
}

body.thnea-legal-page .thnea-legal-shell .legal-content a:not(.action-link) {
    color: #1D4ED8;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.28);
    text-underline-offset: 3px;
    transition: color 0.18s;
}

body.thnea-legal-page .thnea-legal-shell .legal-content a:not(.action-link):hover {
    color: #1E40AF;
    text-decoration-color: #1E40AF;
}

body.thnea-legal-page .thnea-legal-shell .note {
    max-width: 78ch;
    margin: 18px 0 0;
    padding: 15px 18px;
    border-left: 3px solid #2563EB;
    border-radius: 0 12px 12px 0;
    background: #EFF6FF;
    color: #38506A;
    font: 400 14px/1.7 var(--thnea-font-body);
}

body.thnea-legal-page .thnea-legal-shell .legal-hero .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    body.thnea-legal-page .thnea-legal-shell .legal-hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-mark {
        display: none;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 34px 64px;
    }

    body.thnea-legal-page .thnea-legal-shell .toc {
        position: static;
        padding: 13px 14px;
    }

    body.thnea-legal-page .thnea-legal-shell .toc ol {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    body.thnea-legal-page .thnea-legal-shell .toc li {
        flex: 0 0 auto;
    }

    body.thnea-legal-page .thnea-legal-shell .toc a {
        min-height: 36px;
        padding: 8px 11px;
        border: 1px solid #DCE6F2;
        border-radius: 999px;
        white-space: nowrap;
    }

    body.thnea-legal-page .thnea-legal-shell .toc a:hover,
    body.thnea-legal-page .thnea-legal-shell .toc a:focus-visible {
        border-color: #2563EB;
    }
}

@media (max-width: 782px) {
    body.thnea-legal-page .thnea-legal-shell .legal-hero {
        border-radius: 22px 22px 0 0;
    }
}

@media (max-width: 520px) {
    body.thnea-legal-page .thnea-legal-shell .container {
        width: calc(100% - 32px);
    }

    body.thnea-legal-page .thnea-legal-shell .legal-hero {
        padding: 38px 0 30px;
        border-radius: 18px 18px 0 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-hero h1 {
        font-size: clamp(28px, 8.4vw, 34px);
        white-space: normal;
    }

    body.thnea-legal-page .thnea-legal-shell .eyebrow {
        margin-bottom: 12px;
        font-size: 9.5px;
        letter-spacing: 0.10em;
        white-space: normal;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-summary {
        margin-top: 13px;
        font-size: 14.5px;
        line-height: 1.7;
    }

    body.thnea-legal-page .thnea-legal-shell .updated {
        margin-top: 15px;
        font-size: 11.5px;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section h2 {
        font-size: 18px;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section p,
    body.thnea-legal-page .thnea-legal-shell .legal-section li {
        font-size: 14.5px;
        line-height: 1.72;
    }

    body.thnea-legal-page .thnea-legal-shell .note {
        padding: 13px 14px;
        font-size: 13.5px;
    }
}

/* Standard WordPress page: Trading Risk Disclaimer (2546). */
body.page-id-2546.thnea-legal-page .inside-article {
    padding: 0 !important;
}

body.page-id-2546.thnea-legal-page .entry-header {
    display: block !important;
    margin: 0 !important;
    padding: clamp(46px, 7vw, 72px) 24px 34px !important;
    border-bottom: 1px solid #DCE6F2;
    border-radius: 28px 28px 0 0;
    background:
        radial-gradient(58% 95% at 50% -20%, rgba(37, 99, 235, 0.14), transparent 72%),
        radial-gradient(42% 70% at 94% 8%, rgba(37, 99, 235, 0.09), transparent 70%),
        #ffffff;
}

body.page-id-2546.thnea-legal-page .entry-header::before {
    display: block;
    max-width: 1160px;
    margin: 0 auto 14px;
    color: #2563EB;
    font: 700 10.5px/1.4 var(--thnea-font-ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    content: "LEGAL / TRADING RISK";
}

body.page-id-2546.thnea-legal-page .entry-title {
    max-width: 1160px;
    margin: 0 auto !important;
    color: #071A33 !important;
    font: 700 clamp(32px, 4.3vw, 48px)/1.12 var(--thnea-font-body) !important;
    letter-spacing: -0.035em;
}

body.page-id-2546.thnea-legal-page .entry-content {
    max-width: 820px;
    margin: 0 auto !important;
    padding: 42px 24px 72px !important;
}

body.page-id-2546.thnea-legal-page .entry-content h2 {
    margin: 34px 0 12px;
    color: #071A33 !important;
    font: 600 20px/1.35 var(--thnea-font-body) !important;
    letter-spacing: -0.02em;
}

body.page-id-2546.thnea-legal-page .entry-content h2:first-child {
    margin-top: 0;
}

body.page-id-2546.thnea-legal-page .entry-content p {
    max-width: 78ch;
    margin: 0 0 16px;
    color: #475569;
    font: 400 15.2px/1.78 var(--thnea-font-body);
}

body.page-id-2546.thnea-legal-page .entry-content strong {
    color: #071A33;
    font-weight: 600;
}

body.page-id-2546.thnea-legal-page .entry-content a {
    color: #1D4ED8;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.28);
    text-underline-offset: 3px;
}

@media (max-width: 782px) {
    body.page-id-2546.thnea-legal-page .entry-header {
        border-radius: 22px 22px 0 0;
    }
}

@media (max-width: 520px) {
    body.page-id-2546.thnea-legal-page .entry-header {
        padding: 38px 18px 28px !important;
        border-radius: 18px 18px 0 0;
    }

    body.page-id-2546.thnea-legal-page .entry-content {
        padding: 30px 18px 54px !important;
    }

    body.page-id-2546.thnea-legal-page .entry-content h2 {
        font-size: 18px;
    }

    body.page-id-2546.thnea-legal-page .entry-content p {
        font-size: 14.5px;
        line-height: 1.72;
    }
}


/* ============================================================
   ABOUT PAGE — THNEA
   Page-specific premium layout for /about/
   ============================================================ */

body.page-id-2361 #page {
    overflow: hidden;
}

body.page-id-2361 .inside-article {
    padding: 0 !important;
}

body.page-id-2361 .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

body.page-id-2361 .entry-content:not(:first-child) {
    margin-top: 0 !important;
}

body.page-id-2361 .thnea-ab-page {
    background: var(--thnea-white);
    color: var(--thnea-text);
    font-family: var(--thnea-font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
}

body.page-id-2361 .thnea-ab-page *,
body.page-id-2361 .thnea-ab-page *::before,
body.page-id-2361 .thnea-ab-page *::after {
    box-sizing: border-box;
}

body.page-id-2361 .thnea-ab-page a {
    text-decoration: none;
}

body.page-id-2361 .thnea-ab-page svg {
    display: block;
    max-width: 100%;
}

body.page-id-2361 .thnea-ab-container {
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* ---------- Hero ---------- */

body.page-id-2361 .thnea-ab-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 62px 0 54px;
    border-bottom: 1px solid #e0eaf6;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 58%, #e8f1ff 100%);
}

body.page-id-2361 .thnea-ab-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -250px;
    right: -150px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.17), transparent 68%);
    pointer-events: none;
}

body.page-id-2361 .thnea-ab-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    pointer-events: none;
}

body.page-id-2361 .thnea-ab-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    gap: 52px;
    align-items: center;
}

body.page-id-2361 .thnea-ab-hero-copy {
    min-width: 0;
}

body.page-id-2361 .thnea-ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--thnea-primary-darker);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

body.page-id-2361 .thnea-ab-eyebrow svg {
    width: 14px;
    height: 14px;
    color: var(--thnea-primary);
}

body.page-id-2361 .thnea-ab-hero h1 {
    max-width: 660px;
    margin: 0 0 20px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: clamp(38px, 4.25vw, 57px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
}

body.page-id-2361 .thnea-ab-hero h1 span {
    color: var(--thnea-primary);
}

body.page-id-2361 .thnea-ab-lead {
    max-width: 590px;
    margin: 0 0 27px;
    color: #475569;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.75;
}

body.page-id-2361 .thnea-ab-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-id-2361 .thnea-ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.22s var(--thnea-ease), box-shadow 0.22s var(--thnea-ease), background 0.22s ease, border-color 0.22s ease;
}

body.page-id-2361 .thnea-ab-btn svg {
    width: 16px;
    height: 16px;
}

body.page-id-2361 .thnea-ab-btn:hover {
    transform: translateY(-2px);
}

body.page-id-2361 .thnea-ab-btn-primary {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

body.page-id-2361 .thnea-ab-btn-primary:hover {
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

body.page-id-2361 .thnea-ab-btn-ghost {
    border-color: #c9d9ed;
    background: var(--thnea-white);
    color: var(--thnea-primary-dark) !important;
}

body.page-id-2361 .thnea-ab-btn-ghost:hover {
    border-color: rgba(37, 99, 235, 0.38);
    background: var(--thnea-primary-5);
}

body.page-id-2361 .thnea-ab-hero-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

body.page-id-2361 .thnea-ab-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}

body.page-id-2361 .thnea-ab-hero-points svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--thnea-primary);
}

/* ---------- Hero panel ---------- */

body.page-id-2361 .thnea-ab-hero-panel {
    position: relative;
    overflow: hidden;
    padding: 27px 26px 22px;
    border: 1px solid rgba(140, 194, 255, 0.13);
    border-radius: 22px;
    background: linear-gradient(160deg, #0b2447 0%, #071a33 78%);
    color: var(--thnea-white);
    box-shadow: 0 24px 55px rgba(7, 26, 51, 0.25);
}

body.page-id-2361 .thnea-ab-hero-panel::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 68%);
    pointer-events: none;
}

body.page-id-2361 .thnea-ab-panel-head,
body.page-id-2361 .thnea-ab-panel-row,
body.page-id-2361 .thnea-ab-panel-foot {
    position: relative;
    z-index: 1;
}

body.page-id-2361 .thnea-ab-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.page-id-2361 .thnea-ab-panel-label {
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.page-id-2361 .thnea-ab-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ff0c5;
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

body.page-id-2361 .thnea-ab-panel-status > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #57e397;
    box-shadow: 0 0 0 4px rgba(87, 227, 151, 0.12);
}

body.page-id-2361 .thnea-ab-panel-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 0;
}

body.page-id-2361 .thnea-ab-panel-row + .thnea-ab-panel-row {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

body.page-id-2361 .thnea-ab-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid rgba(140, 194, 255, 0.14);
    border-radius: 10px;
    background: rgba(140, 194, 255, 0.09);
    color: #9dc9ff;
}

body.page-id-2361 .thnea-ab-panel-icon svg {
    width: 17px;
    height: 17px;
}

body.page-id-2361 .thnea-ab-panel-row strong {
    display: block;
    margin-bottom: 3px;
    color: #f5f9ff;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
}

body.page-id-2361 .thnea-ab-panel-row p {
    margin: 0;
    color: rgba(226, 238, 255, 0.66);
    font-size: 12.3px;
    font-weight: 400;
    line-height: 1.55;
}

body.page-id-2361 .thnea-ab-panel-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(226, 238, 255, 0.48);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 600;
}

body.page-id-2361 .thnea-ab-panel-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(226, 238, 255, 0.4);
}

/* ---------- Stats strip ---------- */

body.page-id-2361 .thnea-ab-stats {
    border-bottom: 1px solid #e5edf7;
    background: var(--thnea-white);
}

body.page-id-2361 .thnea-ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-id-2361 .thnea-ab-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 23px 22px;
    border-left: 1px solid #e5edf7;
}

body.page-id-2361 .thnea-ab-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

body.page-id-2361 .thnea-ab-stat strong {
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body.page-id-2361 .thnea-ab-stat span {
    color: #62748a;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
}

/* ---------- Shared sections ---------- */

body.page-id-2361 .thnea-ab-section {
    padding: 70px 0;
}

body.page-id-2361 .thnea-ab-section + .thnea-ab-section {
    border-top: 1px solid #eef3f9;
}

body.page-id-2361 .thnea-ab-section-head {
    max-width: 690px;
    margin: 0 0 32px;
}

body.page-id-2361 .thnea-ab-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid #dbe9ff;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--thnea-primary-darker);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-id-2361 .thnea-ab-section h2 {
    margin: 0;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

body.page-id-2361 .thnea-ab-section-head > p {
    margin: 12px 0 0;
    color: #5c6b80;
    font-size: 14.5px;
    line-height: 1.75;
}

body.page-id-2361 .thnea-ab-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ---------- Who we are ---------- */

body.page-id-2361 .thnea-ab-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(260px, 0.66fr);
    gap: 40px;
    align-items: start;
}

body.page-id-2361 .thnea-ab-story-copy > p {
    margin: 0 0 15px;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

body.page-id-2361 .thnea-ab-story-copy > p:last-of-type {
    margin-bottom: 0;
}

body.page-id-2361 .thnea-ab-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

body.page-id-2361 .thnea-ab-checks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--thnea-text);
    font-size: 12.8px;
    font-weight: 600;
    line-height: 1.5;
}

body.page-id-2361 .thnea-ab-checks svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--thnea-primary);
}

body.page-id-2361 .thnea-ab-quote-card {
    padding: 28px;
    border: 1px solid #dbe8f8;
    border-radius: 20px;
    background: linear-gradient(150deg, #f7faff 0%, #edf5ff 100%);
}

body.page-id-2361 .thnea-ab-quote-mark {
    display: block;
    height: 33px;
    margin-bottom: 10px;
    color: var(--thnea-primary);
    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 0.85;
    opacity: 0.35;
}

body.page-id-2361 .thnea-ab-quote-card blockquote {
    margin: 0;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

body.page-id-2361 .thnea-ab-quote-caption {
    margin: 14px 0 0;
    color: #62748a;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.5;
}

/* ---------- Philosophy ---------- */

body.page-id-2361 .thnea-ab-values {
    background: #fbfdff;
}

body.page-id-2361 .thnea-ab-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.page-id-2361 .thnea-ab-value-card {
    position: relative;
    padding: 24px;
    border: 1px solid #e1ebf7;
    border-radius: 18px;
    background: var(--thnea-white);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: transform 0.24s var(--thnea-ease), border-color 0.24s ease, box-shadow 0.24s ease;
}

body.page-id-2361 .thnea-ab-value-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
    transform: translateY(-4px);
}

body.page-id-2361 .thnea-ab-value-num {
    color: #8ca3bf;
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.page-id-2361 .thnea-ab-value-icon,
body.page-id-2361 .thnea-ab-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--thnea-primary-dark);
}

body.page-id-2361 .thnea-ab-value-icon {
    margin: 17px 0 15px;
}

body.page-id-2361 .thnea-ab-value-icon svg {
    width: 21px;
    height: 21px;
}

body.page-id-2361 .thnea-ab-value-card h3,
body.page-id-2361 .thnea-ab-process-step h3,
body.page-id-2361 .thnea-ab-why-card h3 {
    margin: 0 0 8px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

body.page-id-2361 .thnea-ab-value-card h3 {
    font-size: 17px;
}

body.page-id-2361 .thnea-ab-value-card p {
    margin: 0;
    color: #5c6b80;
    font-size: 13.2px;
    line-height: 1.7;
}

/* ---------- Process ---------- */

body.page-id-2361 .thnea-ab-process {
    border-top: 1px solid #e8f0fa;
    border-bottom: 1px solid #e8f0fa;
    background: #f7faff;
}

body.page-id-2361 .thnea-ab-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

body.page-id-2361 .thnea-ab-process-step {
    padding: 20px;
    border: 1px solid #e0eaf6;
    border-radius: 16px;
    background: var(--thnea-white);
}

body.page-id-2361 .thnea-ab-step-num {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 7px;
    background: #edf4ff;
    color: var(--thnea-primary);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
}

body.page-id-2361 .thnea-ab-process-step h3 {
    margin-top: 16px;
    font-size: 16.5px;
}

body.page-id-2361 .thnea-ab-process-step p {
    margin: 0;
    color: #5c6b80;
    font-size: 12.8px;
    line-height: 1.68;
}

/* ---------- Why THNEA ---------- */

body.page-id-2361 .thnea-ab-why-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

body.page-id-2361 .thnea-ab-why-card {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 22px;
    border: 1px solid #e1ebf7;
    border-radius: 16px;
    background: var(--thnea-white);
    transition: border-color 0.24s ease, transform 0.24s var(--thnea-ease);
}

body.page-id-2361 .thnea-ab-why-card:nth-child(4),
body.page-id-2361 .thnea-ab-why-card:nth-child(5) {
    grid-column: span 3;
}

body.page-id-2361 .thnea-ab-why-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    transform: translateY(-3px);
}

body.page-id-2361 .thnea-ab-why-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

body.page-id-2361 .thnea-ab-why-icon svg {
    width: 18px;
    height: 18px;
}

body.page-id-2361 .thnea-ab-why-card h3 {
    font-size: 15.5px;
}

body.page-id-2361 .thnea-ab-why-card p {
    margin: 0;
    color: #5c6b80;
    font-size: 12.8px;
    line-height: 1.62;
}

/* ---------- Mission ---------- */

body.page-id-2361 .thnea-ab-mission {
    padding: 0 0 56px;
}

body.page-id-2361 .thnea-ab-mission-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    padding: 42px 40px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 14%, rgba(37, 99, 235, 0.38), transparent 31%),
        linear-gradient(135deg, #071a33 0%, #0b2447 100%);
    color: var(--thnea-white);
    box-shadow: 0 24px 50px rgba(7, 26, 51, 0.18);
}

body.page-id-2361 .thnea-ab-mission-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(140, 194, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

body.page-id-2361 .thnea-ab-mission-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

body.page-id-2361 .thnea-ab-kicker-light {
    border-color: rgba(140, 194, 255, 0.18);
    background: rgba(140, 194, 255, 0.1);
    color: #b9d9ff;
}

body.page-id-2361 .thnea-ab-mission h2 {
    max-width: 640px;
    margin: 12px 0 12px;
    color: var(--thnea-white);
    font-family: var(--thnea-font-body);
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

body.page-id-2361 .thnea-ab-mission p {
    max-width: 620px;
    margin: 0;
    color: rgba(226, 238, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.75;
}

body.page-id-2361 .thnea-ab-mission-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    width: 188px;
}

body.page-id-2361 .thnea-ab-btn-light {
    background: var(--thnea-white);
    color: var(--thnea-navy) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

body.page-id-2361 .thnea-ab-btn-light:hover {
    background: #edf5ff;
}

body.page-id-2361 .thnea-ab-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: var(--thnea-white) !important;
}

body.page-id-2361 .thnea-ab-btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    body.page-id-2361 .thnea-ab-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
        gap: 36px;
    }

    body.page-id-2361 .thnea-ab-lead {
        font-size: 15.5px;
    }

    body.page-id-2361 .thnea-ab-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-2361 .thnea-ab-why-card,
    body.page-id-2361 .thnea-ab-why-card:nth-child(4),
    body.page-id-2361 .thnea-ab-why-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 980px) {
    body.page-id-2361 .thnea-ab-hero {
        padding: 48px 0 44px;
    }

    body.page-id-2361 .thnea-ab-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.page-id-2361 .thnea-ab-hero-panel {
        max-width: 660px;
    }

    body.page-id-2361 .thnea-ab-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-2361 .thnea-ab-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-2361 .thnea-ab-story-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    body.page-id-2361 .thnea-ab-quote-card {
        max-width: 560px;
    }

    body.page-id-2361 .thnea-ab-mission-card {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-id-2361 .thnea-ab-mission-actions {
        flex-direction: row;
        width: auto;
    }
}

@media (max-width: 680px) {
    body.page-id-2361 .thnea-ab-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.page-id-2361 .thnea-ab-hero {
        padding: 36px 0 34px;
    }

    body.page-id-2361 .thnea-ab-eyebrow {
        margin-bottom: 16px;
        font-size: 10px;
    }

    body.page-id-2361 .thnea-ab-hero h1 {
        margin-bottom: 16px;
        font-size: clamp(31px, 8.8vw, 41px);
        line-height: 1.06;
    }

    body.page-id-2361 .thnea-ab-lead {
        margin-bottom: 22px;
        font-size: 14.7px;
        line-height: 1.7;
    }

    body.page-id-2361 .thnea-ab-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    body.page-id-2361 .thnea-ab-btn {
        width: 100%;
        min-height: 46px;
    }

    body.page-id-2361 .thnea-ab-hero-points {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 21px;
    }

    body.page-id-2361 .thnea-ab-hero-panel {
        padding: 21px 19px 18px;
        border-radius: 18px;
    }

    body.page-id-2361 .thnea-ab-panel-head {
        padding-bottom: 14px;
    }

    body.page-id-2361 .thnea-ab-panel-row {
        padding: 14px 0;
    }

    body.page-id-2361 .thnea-ab-panel-row strong {
        font-size: 13px;
    }

    body.page-id-2361 .thnea-ab-panel-row p {
        font-size: 11.8px;
    }

    body.page-id-2361 .thnea-ab-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-2361 .thnea-ab-stat {
        padding: 16px 12px;
    }

    body.page-id-2361 .thnea-ab-stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    body.page-id-2361 .thnea-ab-stat:nth-child(1),
    body.page-id-2361 .thnea-ab-stat:nth-child(2) {
        border-bottom: 1px solid #e5edf7;
    }

    body.page-id-2361 .thnea-ab-stat strong {
        font-size: 18px;
    }

    body.page-id-2361 .thnea-ab-stat span {
        font-size: 11.8px;
    }

    body.page-id-2361 .thnea-ab-section {
        padding: 44px 0;
    }

    body.page-id-2361 .thnea-ab-section-head {
        margin-bottom: 24px;
    }

    body.page-id-2361 .thnea-ab-section h2 {
        font-size: clamp(24px, 6.7vw, 30px);
    }

    body.page-id-2361 .thnea-ab-section-head > p {
        font-size: 13.7px;
        line-height: 1.7;
    }

    body.page-id-2361 .thnea-ab-story-copy > p {
        font-size: 14.2px;
        line-height: 1.74;
    }

    body.page-id-2361 .thnea-ab-checks {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    body.page-id-2361 .thnea-ab-checks li {
        font-size: 12.5px;
    }

    body.page-id-2361 .thnea-ab-quote-card {
        padding: 23px 20px;
        border-radius: 17px;
    }

    body.page-id-2361 .thnea-ab-quote-mark {
        height: 29px;
        font-size: 50px;
    }

    body.page-id-2361 .thnea-ab-quote-card blockquote {
        font-size: 17.5px;
    }

    body.page-id-2361 .thnea-ab-values-grid,
    body.page-id-2361 .thnea-ab-process-grid,
    body.page-id-2361 .thnea-ab-why-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-2361 .thnea-ab-value-card {
        padding: 21px 19px;
    }

    body.page-id-2361 .thnea-ab-value-icon {
        margin: 14px 0 13px;
    }

    body.page-id-2361 .thnea-ab-process-step {
        padding: 18px;
    }

    body.page-id-2361 .thnea-ab-why-card {
        padding: 19px;
    }

    body.page-id-2361 .thnea-ab-mission {
        padding-bottom: 38px;
    }

    body.page-id-2361 .thnea-ab-mission-card {
        gap: 25px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    body.page-id-2361 .thnea-ab-mission h2 {
        font-size: 25px;
    }

    body.page-id-2361 .thnea-ab-mission p {
        font-size: 13.8px;
    }

    body.page-id-2361 .thnea-ab-mission-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 420px) {
    body.page-id-2361 .thnea-ab-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-id-2361 .thnea-ab-hero h1 {
        font-size: 32px;
    }

    body.page-id-2361 .thnea-ab-hero-panel {
        padding: 19px 16px 16px;
    }

    body.page-id-2361 .thnea-ab-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body.page-id-2361 .thnea-ab-panel-status {
        font-size: 10px;
    }

    body.page-id-2361 .thnea-ab-stat {
        padding: 14px 10px;
    }

    body.page-id-2361 .thnea-ab-stat strong {
        font-size: 17px;
    }

    body.page-id-2361 .thnea-ab-section {
        padding: 38px 0;
    }

    body.page-id-2361 .thnea-ab-section h2 {
        font-size: 24px;
    }

    body.page-id-2361 .thnea-ab-mission-card {
        padding: 25px 18px;
    }

    body.page-id-2361 .thnea-ab-mission h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-2361 .thnea-ab-page *,
    body.page-id-2361 .thnea-ab-page *::before,
    body.page-id-2361 .thnea-ab-page *::after {
        transition: none !important;
    }
}



/* ============================================================
   MOBILE POLISH — global header/footer touch targets
   ============================================================ */

@media (max-width: 768px) {
    .thnea-header-logo-link {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .thnea-header-search-form {
        height: 44px;
    }

    .thnea-hdr-search-input {
        min-height: 40px;
        height: 40px;
        font-size: 12.5px;
    }

    .thnea-hdr-search-btn {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .thnea-header-client-login-btn,
    .thnea-header-client-login-btn.is-guest,
    .thnea-header-client-login-btn.is-logged {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
    }

    .thnea-subnav-mobile-toggle,
    .thnea-changelog-pulse,
    .thnea-premium-files-chip,
    button.thnea-subnav-mobile-toggle {
        height: 38px;
        min-height: 38px;
    }

    .thnea-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 24px;
    }

    .thnea-footer-brand-col {
        grid-column: 1 / -1;
    }

    .thnea-footer-col {
        min-width: 0;
    }

    .thnea-footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }

    .thnea-footer-col:nth-child(4) .thnea-footer-links-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 2px;
    }

    .thnea-footer-col-title {
        margin-bottom: 12px;
        padding-bottom: 9px;
        font-size: 12px;
    }

    .thnea-footer-links-list {
        row-gap: 2px;
        min-width: 0;
    }

    .thnea-footer-link-item {
        min-width: 0;
    }

    .thnea-footer-link-item a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 40px;
        font-size: 12.5px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .thnea-footer-link-icon {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .thnea-footer-tagline {
        max-width: 58ch;
    }

    .thnea-footer-disclaimer-card {
        margin-top: 24px;
        padding: 18px;
    }

    .thnea-footer-bottom-bar {
        margin-top: 24px;
        padding-top: 20px;
    }
}



/* MOBILE POLISH FIX — final tap targets */
@media (max-width: 768px) {
    button.thnea-hdr-search-btn,
    .thnea-header-search-form .thnea-hdr-search-btn {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .thnea-footer-back-to-top {
        height: 44px;
        min-height: 44px;
        padding: 10px 18px;
    }

    .thnea-footer-copyright a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 0 2px;
    }
}



@media (max-width: 768px) {
    .thnea-header-search-form .thnea-hdr-search-btn {
        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        flex: 0 0 38px !important;
    }
}


/* ============================================================
   MOBILE LAYOUT FIXES — THNEA
   Legal pages + footer single-column mobile layout
   ============================================================ */

/* ---------- Legal pages: prevent grid min-content overflow ---------- */

@media (max-width: 900px) {
    body.thnea-legal-page .thnea-legal-shell .container {
        width: calc(100% - 32px);
        max-width: 100%;
        min-width: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 26px;
    }

    body.thnea-legal-page .thnea-legal-shell .toc {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    body.thnea-legal-page .thnea-legal-shell .toc ol {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
    }

    body.thnea-legal-page .thnea-legal-shell .toc li {
        min-width: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section p,
    body.thnea-legal-page .thnea-legal-shell .legal-section li,
    body.thnea-legal-page .thnea-legal-shell .legal-section h2,
    body.thnea-legal-page .thnea-legal-shell .legal-section h3,
    body.thnea-legal-page .thnea-legal-shell .note {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section a {
        overflow-wrap: anywhere;
    }

    body.thnea-legal-page .thnea-legal-shell .toc a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 520px) {
    body.thnea-legal-page .thnea-legal-shell .container {
        width: calc(100% - 28px);
    }

    body.thnea-legal-page .thnea-legal-shell .legal-layout {
        padding-block: 28px 54px;
    }

    body.thnea-legal-page .thnea-legal-shell .toc {
        padding: 12px;
    }

    body.thnea-legal-page .thnea-legal-shell .toc ol {
        gap: 6px;
    }

    body.thnea-legal-page .thnea-legal-shell .legal-section h2 {
        overflow-wrap: break-word;
    }
}

/* ---------- Footer: one item per row on mobile ---------- */

@media (max-width: 768px) {
    body .thnea-site-footer .thnea-footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        width: 100%;
    }

    body .thnea-site-footer .thnea-footer-brand-col,
    body .thnea-site-footer .thnea-footer-col,
    body .thnea-site-footer .thnea-footer-col:nth-child(4) {
        grid-column: 1 / -1 !important;
        width: 100%;
        min-width: 0;
    }

    body .thnea-site-footer .thnea-footer-links-list,
    body .thnea-site-footer .thnea-footer-col:nth-child(4) .thnea-footer-links-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0;
        row-gap: 0;
        width: 100%;
        min-width: 0;
    }

    body .thnea-site-footer .thnea-footer-link-item {
        width: 100%;
        min-width: 0;
    }

    body .thnea-site-footer .thnea-footer-link-item a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 9px 0;
        border-bottom: 1px solid rgba(140, 194, 255, 0.10);
        font-size: 13px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    body .thnea-site-footer .thnea-footer-link-item:last-child a {
        border-bottom: 0;
    }

    body .thnea-site-footer .thnea-footer-link-icon {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
    }

    body .thnea-site-footer .thnea-footer-col-title {
        margin-bottom: 8px;
        padding-bottom: 10px;
    }

    body .thnea-site-footer .thnea-footer-tagline {
        max-width: 100%;
    }

    body .thnea-site-footer .thnea-footer-disclaimer-card {
        margin-top: 26px;
    }

    body .thnea-site-footer .thnea-footer-bottom-bar {
        margin-top: 24px;
    }
}


/* ============================================================
   CONTACT PAGE — THNEA
   Page-specific premium layout for /contact/
   ============================================================ */

body.page-id-77 #page {
    overflow: hidden;
}

body.page-id-77 .inside-article {
    padding: 0 !important;
}

body.page-id-77 .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

body.page-id-77 .entry-content:not(:first-child) {
    margin-top: 0 !important;
}

body.page-id-77 .thnea-ct-page {
    background: var(--thnea-white);
    color: var(--thnea-text);
    font-family: var(--thnea-font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
}

body.page-id-77 .thnea-ct-page *,
body.page-id-77 .thnea-ct-page *::before,
body.page-id-77 .thnea-ct-page *::after {
    box-sizing: border-box;
}

body.page-id-77 .thnea-ct-page a {
    text-decoration: none;
}

body.page-id-77 .thnea-ct-page svg {
    display: block;
    max-width: 100%;
}

body.page-id-77 .thnea-ct-container {
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* ---------- Hero ---------- */

body.page-id-77 .thnea-ct-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 60px 0 54px;
    border-bottom: 1px solid #e0eaf6;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 58%, #e8f1ff 100%);
}

body.page-id-77 .thnea-ct-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -250px;
    right: -150px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.17), transparent 68%);
    pointer-events: none;
}

body.page-id-77 .thnea-ct-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    pointer-events: none;
}

body.page-id-77 .thnea-ct-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.94fr);
    gap: 52px;
    align-items: center;
}

body.page-id-77 .thnea-ct-hero-copy {
    min-width: 0;
}

body.page-id-77 .thnea-ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--thnea-primary-darker);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

body.page-id-77 .thnea-ct-eyebrow svg {
    width: 14px;
    height: 14px;
    color: var(--thnea-primary);
}

body.page-id-77 .thnea-ct-hero h1 {
    max-width: 660px;
    margin: 0 0 20px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: clamp(38px, 4.25vw, 57px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
}

body.page-id-77 .thnea-ct-hero h1 span {
    color: var(--thnea-primary);
}

body.page-id-77 .thnea-ct-lead {
    max-width: 590px;
    margin: 0 0 27px;
    color: #475569;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.75;
}

body.page-id-77 .thnea-ct-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-id-77 .thnea-ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.22s var(--thnea-ease), box-shadow 0.22s var(--thnea-ease), background 0.22s ease, border-color 0.22s ease;
}

body.page-id-77 .thnea-ct-btn svg {
    width: 16px;
    height: 16px;
}

body.page-id-77 .thnea-ct-btn:hover {
    transform: translateY(-2px);
}

body.page-id-77 .thnea-ct-btn-primary {
    background: var(--thnea-gradient);
    color: var(--thnea-white) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

body.page-id-77 .thnea-ct-btn-primary:hover {
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

body.page-id-77 .thnea-ct-btn-ghost {
    border-color: #c9d9ed;
    background: var(--thnea-white);
    color: var(--thnea-primary-dark) !important;
}

body.page-id-77 .thnea-ct-btn-ghost:hover {
    border-color: rgba(37, 99, 235, 0.38);
    background: var(--thnea-primary-5);
}

body.page-id-77 .thnea-ct-hero-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

body.page-id-77 .thnea-ct-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}

body.page-id-77 .thnea-ct-hero-points svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--thnea-primary);
}

/* ---------- Hero support panel ---------- */

body.page-id-77 .thnea-ct-hero-panel {
    position: relative;
    overflow: hidden;
    padding: 26px 25px 20px;
    border: 1px solid rgba(140, 194, 255, 0.13);
    border-radius: 22px;
    background: linear-gradient(160deg, #0b2447 0%, #071a33 78%);
    color: var(--thnea-white);
    box-shadow: 0 24px 55px rgba(7, 26, 51, 0.25);
}

body.page-id-77 .thnea-ct-hero-panel::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 68%);
    pointer-events: none;
}

body.page-id-77 .thnea-ct-panel-head,
body.page-id-77 .thnea-ct-panel-row,
body.page-id-77 .thnea-ct-panel-foot {
    position: relative;
    z-index: 1;
}

body.page-id-77 .thnea-ct-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.page-id-77 .thnea-ct-panel-label {
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.page-id-77 .thnea-ct-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ff0c5;
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

body.page-id-77 .thnea-ct-panel-status > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #57e397;
    box-shadow: 0 0 0 4px rgba(87, 227, 151, 0.12);
}

body.page-id-77 .thnea-ct-panel-row {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 68px;
    padding: 13px 0;
    color: inherit;
    text-decoration: none !important;
}

body.page-id-77 .thnea-ct-panel-row + .thnea-ct-panel-row {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

body.page-id-77 a.thnea-ct-panel-row:hover .thnea-ct-panel-text strong {
    color: #ffffff;
}

body.page-id-77 a.thnea-ct-panel-row:hover .thnea-ct-panel-arrow {
    color: #9dc9ff;
    transform: translateX(3px);
}

body.page-id-77 .thnea-ct-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid rgba(140, 194, 255, 0.14);
    border-radius: 11px;
    background: rgba(140, 194, 255, 0.09);
    color: #9dc9ff;
}

body.page-id-77 .thnea-ct-panel-icon svg {
    width: 18px;
    height: 18px;
}

body.page-id-77 .thnea-ct-panel-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

body.page-id-77 .thnea-ct-panel-text strong {
    color: #f5f9ff;
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
}

body.page-id-77 .thnea-ct-panel-text span {
    color: rgba(226, 238, 255, 0.66);
    font-size: 12.2px;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body.page-id-77 .thnea-ct-panel-arrow {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: rgba(226, 238, 255, 0.45);
    transition: transform 0.2s ease, color 0.2s ease;
}

body.page-id-77 .thnea-ct-panel-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(226, 238, 255, 0.48);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 600;
}

body.page-id-77 .thnea-ct-panel-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(226, 238, 255, 0.4);
}

/* ---------- Stats strip ---------- */

body.page-id-77 .thnea-ct-stats {
    border-bottom: 1px solid #e5edf7;
    background: var(--thnea-white);
}

body.page-id-77 .thnea-ct-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-id-77 .thnea-ct-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 23px 22px;
    border-left: 1px solid #e5edf7;
}

body.page-id-77 .thnea-ct-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

body.page-id-77 .thnea-ct-stat strong {
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body.page-id-77 .thnea-ct-stat span {
    color: #62748a;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
}

/* ---------- Shared sections ---------- */

body.page-id-77 .thnea-ct-section {
    padding: 68px 0;
}

body.page-id-77 .thnea-ct-section + .thnea-ct-section {
    border-top: 1px solid #eef3f9;
}

body.page-id-77 .thnea-ct-section-head {
    max-width: 680px;
    margin: 0 0 32px;
}

body.page-id-77 .thnea-ct-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.page-id-77 .thnea-ct-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid #dbe9ff;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--thnea-primary-darker);
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-id-77 .thnea-ct-section h2 {
    margin: 0;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-body);
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

body.page-id-77 .thnea-ct-section-head > p {
    margin: 12px 0 0;
    color: #5c6b80;
    font-size: 14.5px;
    line-height: 1.75;
}

/* ---------- Channel cards ---------- */

body.page-id-77 .thnea-ct-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

body.page-id-77 .thnea-ct-channel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 25px 24px 22px;
    border: 1px solid #e1ebf7;
    border-radius: 18px;
    background: var(--thnea-white);
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: transform 0.24s var(--thnea-ease), border-color 0.24s ease, box-shadow 0.24s ease;
}

body.page-id-77 .thnea-ct-channel-card:hover {
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.09);
    transform: translateY(-4px);
}

body.page-id-77 .thnea-ct-channel-card.is-featured {
    border-color: rgba(37, 99, 235, 0.36);
    background: linear-gradient(155deg, #f8fbff 0%, #edf5ff 100%);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.10);
}

body.page-id-77 .thnea-ct-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 15px;
    border-radius: 13px;
    color: var(--thnea-white);
}

body.page-id-77 .thnea-ct-channel-icon.is-telegram {
    background: linear-gradient(135deg, #2aabee, #229ed9);
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.28);
}

body.page-id-77 .thnea-ct-channel-icon.is-email {
    background: var(--thnea-gradient);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

body.page-id-77 .thnea-ct-channel-icon svg {
    width: 22px;
    height: 22px;
}

body.page-id-77 .thnea-ct-channel-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid #dbe9ff;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--thnea-primary-darker);
    font-family: var(--thnea-font-ui);
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-id-77 .thnea-ct-channel-badge.is-fast {
    border-color: rgba(37, 99, 235, 0.24);
    background: var(--thnea-primary);
    color: #ffffff;
}

body.page-id-77 .thnea-ct-channel-card h3 {
    margin: 13px 0 7px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

body.page-id-77 .thnea-ct-channel-card p {
    margin: 0 0 18px;
    color: #5c6b80;
    font-size: 13.2px;
    line-height: 1.7;
}

body.page-id-77 .thnea-ct-channel-card p strong {
    color: var(--thnea-navy);
    font-weight: 700;
    overflow-wrap: anywhere;
}

body.page-id-77 .thnea-ct-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--thnea-primary-dark);
    font-family: var(--thnea-font-ui);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-id-77 .thnea-ct-channel-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

body.page-id-77 .thnea-ct-channel-card:hover .thnea-ct-channel-link svg {
    transform: translateX(3px);
}

/* ---------- Help cards ---------- */

body.page-id-77 .thnea-ct-help {
    background: #fbfdff;
}

body.page-id-77 .thnea-ct-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.page-id-77 .thnea-ct-help-card {
    padding: 24px;
    border: 1px solid #e1ebf7;
    border-radius: 18px;
    background: var(--thnea-white);
    transition: border-color 0.24s ease, transform 0.24s var(--thnea-ease);
}

body.page-id-77 .thnea-ct-help-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    transform: translateY(-3px);
}

body.page-id-77 .thnea-ct-help-num {
    color: #8ca3bf;
    font-family: var(--thnea-font-ui);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.page-id-77 .thnea-ct-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 16px 0 14px;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--thnea-primary-dark);
}

body.page-id-77 .thnea-ct-help-icon svg {
    width: 21px;
    height: 21px;
}

body.page-id-77 .thnea-ct-help-card h3 {
    margin: 0 0 8px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

body.page-id-77 .thnea-ct-help-card p {
    margin: 0;
    color: #5c6b80;
    font-size: 13.2px;
    line-height: 1.7;
}

/* ---------- Process + checklist ---------- */

body.page-id-77 .thnea-ct-process {
    border-top: 1px solid #e8f0fa;
    border-bottom: 1px solid #e8f0fa;
    background: #f7faff;
}

body.page-id-77 .thnea-ct-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 44px;
    align-items: start;
}

body.page-id-77 .thnea-ct-process-copy {
    min-width: 0;
}

body.page-id-77 .thnea-ct-process-copy > p {
    max-width: 620px;
    margin: 12px 0 0;
    color: #5c6b80;
    font-size: 14.5px;
    line-height: 1.75;
}

body.page-id-77 .thnea-ct-steps {
    display: grid;
    gap: 0;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

body.page-id-77 .thnea-ct-steps li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid #e2ebf6;
}

body.page-id-77 .thnea-ct-steps li:last-child {
    padding-bottom: 0;
}

body.page-id-77 .thnea-ct-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 9px;
    background: #edf4ff;
    color: var(--thnea-primary);
    font-family: var(--thnea-font-ui);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
}

body.page-id-77 .thnea-ct-steps h3 {
    margin: 0 0 4px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-id-77 .thnea-ct-steps p {
    margin: 0;
    color: #5c6b80;
    font-size: 13.2px;
    line-height: 1.65;
}

body.page-id-77 .thnea-ct-checklist-card {
    padding: 27px 25px;
    border: 1px solid #dbe8f8;
    border-radius: 20px;
    background: linear-gradient(150deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.06);
}

body.page-id-77 .thnea-ct-checklist-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--thnea-white);
    color: var(--thnea-primary);
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.10);
}

body.page-id-77 .thnea-ct-checklist-icon svg {
    width: 21px;
    height: 21px;
}

body.page-id-77 .thnea-ct-checklist-card h3 {
    margin: 0 0 14px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

body.page-id-77 .thnea-ct-checks {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-id-77 .thnea-ct-checks li {
    position: relative;
    padding-left: 20px;
    color: #42546a;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 1.55;
}

body.page-id-77 .thnea-ct-checks li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--thnea-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

body.page-id-77 .thnea-ct-checklist-card > p {
    margin: 17px 0 0;
    padding-top: 15px;
    border-top: 1px solid #dce8f6;
    color: #62748a;
    font-size: 11.8px;
    line-height: 1.65;
}

/* ---------- YouTube ---------- */

body.page-id-77 .thnea-ct-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.page-id-77 .thnea-ct-video-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px 23px;
    border: 1px solid #e1ebf7;
    border-radius: 17px;
    background: var(--thnea-white);
    color: inherit;
    transition: transform 0.24s var(--thnea-ease), border-color 0.24s ease, box-shadow 0.24s ease;
}

body.page-id-77 .thnea-ct-video-card:hover {
    border-color: rgba(220, 38, 38, 0.30);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.07);
    transform: translateY(-3px);
}

body.page-id-77 .thnea-ct-video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(255, 0, 0, 0.22);
}

body.page-id-77 .thnea-ct-video-icon svg {
    width: 23px;
    height: 23px;
}

body.page-id-77 .thnea-ct-video-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

body.page-id-77 .thnea-ct-video-text strong {
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-id-77 .thnea-ct-video-text span {
    color: #62748a;
    font-size: 12.2px;
    line-height: 1.5;
}

body.page-id-77 .thnea-ct-video-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    color: #b91c1c;
    font-family: var(--thnea-font-ui);
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

body.page-id-77 .thnea-ct-video-cta svg {
    width: 13px;
    height: 13px;
}

/* ---------- FAQ ---------- */

body.page-id-77 .thnea-ct-faq {
    background: #fbfdff;
}

body.page-id-77 .thnea-ct-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.page-id-77 .thnea-ct-faq-item {
    border: 1px solid #e1ebf7;
    border-radius: 15px;
    background: var(--thnea-white);
    overflow: hidden;
}

body.page-id-77 .thnea-ct-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 16px 48px 16px 19px;
    color: var(--thnea-navy);
    font-family: var(--thnea-font-ui);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

body.page-id-77 .thnea-ct-faq-item summary::-webkit-details-marker {
    display: none;
}

body.page-id-77 .thnea-ct-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--thnea-primary);
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-50%);
}

body.page-id-77 .thnea-ct-faq-item[open] summary::after {
    content: "−";
}

body.page-id-77 .thnea-ct-faq-item[open] summary {
    border-bottom: 1px solid #e8f0fa;
}

body.page-id-77 .thnea-ct-faq-item p {
    margin: 0;
    padding: 15px 19px 18px;
    color: #5c6b80;
    font-size: 13px;
    line-height: 1.72;
}

/* ---------- CTA ---------- */

body.page-id-77 .thnea-ct-cta {
    padding: 0 0 56px;
    background: #fbfdff;
}

body.page-id-77 .thnea-ct-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    padding: 42px 40px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 14%, rgba(37, 99, 235, 0.38), transparent 31%),
        linear-gradient(135deg, #071a33 0%, #0b2447 100%);
    color: var(--thnea-white);
    box-shadow: 0 24px 50px rgba(7, 26, 51, 0.18);
}

body.page-id-77 .thnea-ct-cta-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(140, 194, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

body.page-id-77 .thnea-ct-cta-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

body.page-id-77 .thnea-ct-kicker-light {
    border-color: rgba(140, 194, 255, 0.18);
    background: rgba(140, 194, 255, 0.1);
    color: #b9d9ff;
}

body.page-id-77 .thnea-ct-cta-card h2 {
    max-width: 640px;
    margin: 12px 0 12px;
    color: var(--thnea-white);
    font-family: var(--thnea-font-body);
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

body.page-id-77 .thnea-ct-cta-card p {
    max-width: 620px;
    margin: 0;
    color: rgba(226, 238, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.75;
}

body.page-id-77 .thnea-ct-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    width: 194px;
}

body.page-id-77 .thnea-ct-btn-light {
    background: var(--thnea-white);
    color: var(--thnea-navy) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

body.page-id-77 .thnea-ct-btn-light:hover {
    background: #edf5ff;
}

body.page-id-77 .thnea-ct-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: var(--thnea-white) !important;
}

body.page-id-77 .thnea-ct-btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    body.page-id-77 .thnea-ct-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
        gap: 36px;
    }

    body.page-id-77 .thnea-ct-lead {
        font-size: 15.5px;
    }

    body.page-id-77 .thnea-ct-process-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        gap: 32px;
    }
}

@media (max-width: 980px) {
    body.page-id-77 .thnea-ct-hero {
        padding: 48px 0 44px;
    }

    body.page-id-77 .thnea-ct-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.page-id-77 .thnea-ct-hero-panel {
        max-width: 660px;
    }

    body.page-id-77 .thnea-ct-channel-grid,
    body.page-id-77 .thnea-ct-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-77 .thnea-ct-channel-card:last-child,
    body.page-id-77 .thnea-ct-help-card:last-child {
        grid-column: 1 / -1;
    }

    body.page-id-77 .thnea-ct-process-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    body.page-id-77 .thnea-ct-checklist-card {
        max-width: 620px;
    }

    body.page-id-77 .thnea-ct-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-id-77 .thnea-ct-cta-actions {
        flex-direction: row;
        width: auto;
    }
}

@media (max-width: 680px) {
    body.page-id-77 .thnea-ct-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.page-id-77 .thnea-ct-hero {
        padding: 36px 0 34px;
    }

    body.page-id-77 .thnea-ct-eyebrow {
        margin-bottom: 16px;
        font-size: 10px;
    }

    body.page-id-77 .thnea-ct-hero h1 {
        margin-bottom: 16px;
        font-size: clamp(31px, 8.8vw, 41px);
        line-height: 1.06;
    }

    body.page-id-77 .thnea-ct-lead {
        margin-bottom: 22px;
        font-size: 14.7px;
        line-height: 1.7;
    }

    body.page-id-77 .thnea-ct-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    body.page-id-77 .thnea-ct-btn {
        width: 100%;
        min-height: 46px;
    }

    body.page-id-77 .thnea-ct-hero-points {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 21px;
    }

    body.page-id-77 .thnea-ct-hero-panel {
        padding: 21px 19px 18px;
        border-radius: 18px;
    }

    body.page-id-77 .thnea-ct-panel-head {
        padding-bottom: 14px;
    }

    body.page-id-77 .thnea-ct-panel-row {
        min-height: 64px;
        padding: 12px 0;
    }

    body.page-id-77 .thnea-ct-panel-text strong {
        font-size: 13px;
    }

    body.page-id-77 .thnea-ct-panel-text span {
        font-size: 11.8px;
    }

    body.page-id-77 .thnea-ct-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-77 .thnea-ct-stat {
        padding: 16px 12px;
    }

    body.page-id-77 .thnea-ct-stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    body.page-id-77 .thnea-ct-stat:nth-child(1),
    body.page-id-77 .thnea-ct-stat:nth-child(2) {
        border-bottom: 1px solid #e5edf7;
    }

    body.page-id-77 .thnea-ct-stat strong {
        font-size: 17px;
    }

    body.page-id-77 .thnea-ct-stat span {
        font-size: 11.8px;
    }

    body.page-id-77 .thnea-ct-section {
        padding: 44px 0;
    }

    body.page-id-77 .thnea-ct-section-head {
        margin-bottom: 24px;
    }

    body.page-id-77 .thnea-ct-section h2 {
        font-size: clamp(24px, 6.7vw, 30px);
    }

    body.page-id-77 .thnea-ct-section-head > p {
        font-size: 13.7px;
        line-height: 1.7;
    }

    body.page-id-77 .thnea-ct-channel-grid,
    body.page-id-77 .thnea-ct-help-grid,
    body.page-id-77 .thnea-ct-video-grid,
    body.page-id-77 .thnea-ct-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-id-77 .thnea-ct-channel-card:last-child,
    body.page-id-77 .thnea-ct-help-card:last-child {
        grid-column: auto;
    }

    body.page-id-77 .thnea-ct-channel-card,
    body.page-id-77 .thnea-ct-help-card {
        padding: 21px 19px;
    }

    body.page-id-77 .thnea-ct-process-copy > p {
        font-size: 13.7px;
        line-height: 1.7;
    }

    body.page-id-77 .thnea-ct-steps h3 {
        font-size: 14.8px;
    }

    body.page-id-77 .thnea-ct-checklist-card {
        padding: 22px 19px;
        border-radius: 17px;
    }

    body.page-id-77 .thnea-ct-video-card {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 19px;
    }

    body.page-id-77 .thnea-ct-video-text {
        flex-basis: calc(100% - 62px);
    }

    body.page-id-77 .thnea-ct-video-cta {
        margin-left: 62px;
    }

    body.page-id-77 .thnea-ct-faq-item summary {
        min-height: 58px;
        padding: 15px 46px 15px 17px;
        font-size: 13px;
    }

    body.page-id-77 .thnea-ct-faq-item p {
        padding: 14px 17px 17px;
        font-size: 12.8px;
    }

    body.page-id-77 .thnea-ct-cta {
        padding-bottom: 38px;
    }

    body.page-id-77 .thnea-ct-cta-card {
        gap: 25px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    body.page-id-77 .thnea-ct-cta-card h2 {
        font-size: 25px;
    }

    body.page-id-77 .thnea-ct-cta-card p {
        font-size: 13.8px;
    }

    body.page-id-77 .thnea-ct-cta-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 420px) {
    body.page-id-77 .thnea-ct-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-id-77 .thnea-ct-hero h1 {
        font-size: 32px;
    }

    body.page-id-77 .thnea-ct-hero-panel {
        padding: 19px 16px 16px;
    }

    body.page-id-77 .thnea-ct-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body.page-id-77 .thnea-ct-panel-status {
        font-size: 10px;
    }

    body.page-id-77 .thnea-ct-stat {
        padding: 14px 10px;
    }

    body.page-id-77 .thnea-ct-stat strong {
        font-size: 16px;
    }

    body.page-id-77 .thnea-ct-section {
        padding: 38px 0;
    }

    body.page-id-77 .thnea-ct-section h2 {
        font-size: 24px;
    }

    body.page-id-77 .thnea-ct-cta-card {
        padding: 25px 18px;
    }

    body.page-id-77 .thnea-ct-cta-card h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-77 .thnea-ct-page *,
    body.page-id-77 .thnea-ct-page *::before,
    body.page-id-77 .thnea-ct-page *::after {
        transition: none !important;
    }
}


/* ============================================================
   LEGAL TOC — mobile wrap fix
   Show every legal section link without horizontal clipping
   ============================================================ */

@media (max-width: 900px) {
    body.thnea-legal-page .thnea-legal-shell .toc {
        overflow: visible;
    }

    body.thnea-legal-page .thnea-legal-shell .toc ol {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        overflow-x: visible;
        overflow-y: visible;
        padding-bottom: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .toc li {
        flex: 0 1 auto;
        min-width: 0;
    }

    body.thnea-legal-page .thnea-legal-shell .toc a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}


/* ============================================================
   FOOTER — premium deep-navy finish
   Keeps the top edge aligned with the page background, then
   deepens into a softer, more premium footer surface.
   ============================================================ */

.thnea-site-footer {
    position: relative;
    isolation: isolate;
    background-color: #071A33;
    background-image:
        radial-gradient(ellipse 70% 52% at 82% 100%, rgba(37, 99, 235, 0.14), transparent 64%),
        linear-gradient(180deg, #071A33 0%, #06182F 12%, #041226 40%, #020D1C 72%, #020A16 100%);
}

/* Continue the page grid into the first part of the footer and fade it out. */
.thnea-site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 200px;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(237, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 245, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px, 54px 54px;
    background-attachment: fixed, fixed;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 44%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 44%, transparent 100%);
}

.thnea-footer-container {
    position: relative;
    z-index: 1;
}

.thnea-footer-disclaimer-card {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.075), rgba(255, 255, 255, 0.025));
    border-color: rgba(140, 194, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.thnea-footer-trust-tag {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.38);
}

.thnea-footer-bottom-bar {
    border-top-color: rgba(140, 194, 255, 0.14);
}

/* Footer text selection: white on brand blue instead of dark-on-dark. */
body .thnea-site-footer::selection,
body .thnea-site-footer ::selection {
    background: #2563EB;
    color: #ffffff;
    text-shadow: none;
}

body .thnea-site-footer::-moz-selection,
body .thnea-site-footer ::-moz-selection {
    background: #2563EB;
    color: #ffffff;
    text-shadow: none;
}

/* ============================================================
   SINGLE TOOL 3.1.22 — PREMIUM SIDEBAR / GUEST COMMENTS
   ============================================================ */

.thnea-tool-content-wrap {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 28px;
}

.thnea-tool-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.thnea-tool-sidebar > * {
    margin-bottom: 0 !important;
}

.thnea-tool-sidebar .thnea-download-locker-card {
    position: static;
    top: auto;
}

/* Shared sidebar panel language */

.thnea-sidebar-panel {
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    padding: 19px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.thnea-sidebar-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.thnea-sidebar-panel-head > div {
    min-width: 0;
}

.thnea-sidebar-panel-head h3,
.thnea-tool-specs-title {
    margin: 0;
    font-family: var(--thnea-font-body);
    font-size: 14.5px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--thnea-black);
}

.thnea-sidebar-panel-icon {
    width: 35px;
    height: 35px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thnea-primary-dark);
    background: linear-gradient(145deg, var(--thnea-primary-10), rgba(37, 99, 235, 0.04));
    border: 1px solid var(--thnea-primary-20);
    flex-shrink: 0;
}

.thnea-sidebar-panel-icon svg {
    width: 17px;
    height: 17px;
}

.thnea-sidebar-panel-sub {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--thnea-muted);
}

/* Technical specs */

.thnea-tool-sidebar .thnea-tool-specs {
    padding: 19px;
    margin-bottom: 0;
}

.thnea-tool-sidebar .thnea-tool-specs-list li {
    padding: 9px 0;
}

.thnea-tool-sidebar .thnea-spec-label,
.thnea-tool-sidebar .thnea-spec-value {
    font-size: 11.8px;
}

.thnea-tool-sidebar .thnea-spec-label svg {
    width: 13px;
    height: 13px;
}

/* View Demo */

.thnea-sidebar-demo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none !important;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(140, 194, 255, 0.24), transparent 48%),
        linear-gradient(138deg, #071A33 0%, #0B2851 52%, #1749A8 132%);
    border: 1px solid rgba(140, 194, 255, 0.22);
    box-shadow: 0 14px 30px rgba(7, 26, 51, 0.18);
    transition: transform 0.3s var(--thnea-ease), box-shadow 0.3s var(--thnea-ease), border-color 0.25s ease;
}

.thnea-sidebar-demo::after {
    content: '';
    position: absolute;
    inset: auto -40px -95px auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.38), transparent 66%);
    z-index: -1;
    pointer-events: none;
}

.thnea-sidebar-demo:hover {
    transform: translateY(-3px);
    border-color: rgba(140, 194, 255, 0.46);
    box-shadow: 0 20px 38px rgba(7, 26, 51, 0.24);
}

.thnea-demo-play {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #ff5151 0%, #e00000 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(224, 0, 0, 0.35);
    transition: transform 0.3s var(--thnea-ease);
}

.thnea-sidebar-demo:hover .thnea-demo-play {
    transform: scale(1.06);
}

.thnea-demo-play svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    margin-left: 2px;
}

.thnea-demo-play-ring {
    position: absolute;
    inset: -5px;
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    animation: thneaDemoPulse 2.4s ease-out infinite;
    pointer-events: none;
}

.thnea-demo-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.thnea-demo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 9.5px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A9CBFF;
}

.thnea-demo-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5252;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.16);
    animation: thneaDemoDot 1.8s ease-in-out infinite;
}

.thnea-demo-body strong {
    font-family: var(--thnea-font-body);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.thnea-demo-copy {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(234, 242, 255, 0.72);
    white-space: normal;
}

.thnea-demo-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #DBEAFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s var(--thnea-ease), background 0.25s ease;
}

.thnea-demo-arrow svg {
    width: 12px;
    height: 12px;
}

.thnea-sidebar-demo:hover .thnea-demo-arrow {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.14);
}

/* Share */

.thnea-share-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.thnea-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 9px 8px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 13px;
    background: var(--thnea-white);
    color: var(--thnea-black) !important;
    font-family: var(--thnea-font-ui);
    font-size: 11.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.005em;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s var(--thnea-ease), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.thnea-share-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thnea-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.35);
}

.thnea-share-btn:active {
    transform: translateY(0);
}

.thnea-share-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--thnea-primary-15);
}

.thnea-share-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    background: var(--thnea-bg);
    transition: background 0.2s ease, color 0.2s ease;
}

.thnea-share-icon svg {
    width: 13px;
    height: 13px;
}

.thnea-share-btn.is-whatsapp .thnea-share-icon { color: #16A34A; background: rgba(22, 163, 74, 0.11); }
.thnea-share-btn.is-telegram .thnea-share-icon { color: #229ED9; background: rgba(34, 158, 217, 0.12); }
.thnea-share-btn.is-copy .thnea-share-icon { color: var(--thnea-primary-dark); background: var(--thnea-primary-10); }

.thnea-share-btn.is-whatsapp:hover { border-color: rgba(22, 163, 74, 0.45); background: rgba(22, 163, 74, 0.05); }
.thnea-share-btn.is-telegram:hover { border-color: rgba(34, 158, 217, 0.5); background: rgba(34, 158, 217, 0.05); }
.thnea-share-btn.is-copy:hover { border-color: var(--thnea-primary-40); background: var(--thnea-primary-5); }

.thnea-share-btn.is-copied {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.4);
    color: #15803D !important;
}

.thnea-share-btn.is-copied .thnea-share-icon {
    color: #15803D;
    background: rgba(22, 163, 74, 0.16);
}

/* Native share sheet (mobile browsers) */
.thnea-share-native {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 9px;
    padding: 11px 14px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 13px;
    background: var(--thnea-bg);
    color: var(--thnea-black) !important;
    font-family: var(--thnea-font-ui);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.thnea-share-native[hidden] {
    display: none;
}

.thnea-share-native:hover {
    border-color: var(--thnea-primary-30);
    background: var(--thnea-white);
}

.thnea-share-native svg {
    width: 15px;
    height: 15px;
    color: var(--thnea-primary-dark);
}

/* Narrow sidebars: stack icon above label so nothing gets truncated */
@media (max-width: 600px) {
    .thnea-share-grid {
        gap: 8px;
    }

    .thnea-share-btn {
        flex-direction: column;
        gap: 5px;
        padding: 10px 4px;
        font-size: 10.5px;
    }

    .thnea-share-label {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .thnea-share-icon {
        width: 24px;
        height: 24px;
    }

    .thnea-share-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Safety */

.thnea-sidebar-safety {
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.075), transparent 55%),
        var(--thnea-white);
}

.thnea-safety-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.thnea-safety-shield {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #071A33, #153C78);
    color: #8CC2FF;
    box-shadow: 0 7px 16px rgba(7, 26, 51, 0.2);
}

.thnea-safety-shield svg {
    width: 20px;
    height: 20px;
}

.thnea-safety-eyebrow {
    display: block;
    margin-bottom: 2px;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--thnea-primary-dark);
}

.thnea-safety-head h3 {
    margin: 0;
    font-family: var(--thnea-font-body);
    font-size: 14.5px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--thnea-black);
}

.thnea-safety-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.thnea-safety-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.4px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--thnea-muted-2);
}

.thnea-safety-list li > span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-dark);
    border: 1px solid var(--thnea-primary-20);
}

.thnea-safety-list svg {
    width: 10px;
    height: 10px;
    stroke-width: 3;
}

/* Stay Connect — four equal cards in one row */

.thnea-sidebar-connect {
    padding: 18px;
}

.thnea-connect-head {
    justify-content: space-between;
    margin-bottom: 12px;
}

.thnea-connect-pulse {
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #22C55E;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    animation: thneaConnectPulse 2.2s ease-in-out infinite;
}

.thnea-connect-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.thnea-connect-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 84px;
    padding: 11px 4px 9px;
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    background: var(--thnea-bg);
    text-decoration: none !important;
    transition: transform 0.25s var(--thnea-ease), box-shadow 0.25s var(--thnea-ease), border-color 0.2s ease, background 0.2s ease;
}

.thnea-connect-card:hover {
    transform: translateY(-3px);
    background: var(--thnea-white);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 9px 18px rgba(15, 23, 42, 0.08);
}

.thnea-connect-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.25s var(--thnea-ease);
}

.thnea-connect-card:hover .thnea-connect-icon {
    transform: scale(1.08) rotate(-3deg);
}

.thnea-connect-icon svg {
    width: 20px;
    height: 20px;
}

.thnea-connect-card.is-telegram .thnea-connect-icon {
    background: linear-gradient(145deg, #2AABEE, #1B86B9);
    box-shadow: 0 5px 12px rgba(34, 158, 217, 0.3);
}

.thnea-connect-card.is-telegram-personal .thnea-connect-icon {
    background: linear-gradient(145deg, #229ED9, #146C98);
    box-shadow: 0 5px 12px rgba(34, 158, 217, 0.24);
}

.thnea-connect-card.is-youtube .thnea-connect-icon {
    background: linear-gradient(145deg, #FF4545, #D90000);
    box-shadow: 0 5px 12px rgba(217, 0, 0, 0.26);
}

.thnea-connect-card.is-yt2 .thnea-connect-icon {
    background: linear-gradient(145deg, #E22D2D, #A80000);
    box-shadow: 0 5px 12px rgba(168, 0, 0, 0.22);
}

.thnea-connect-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-family: var(--thnea-font-ui);
    font-size: 10.4px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--thnea-black);
}

@keyframes thneaDemoPulse {
    0% { transform: scale(0.92); opacity: 0.8; }
    65% { transform: scale(1.14); opacity: 0; }
    100% { transform: scale(1.14); opacity: 0; }
}

@keyframes thneaDemoDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes thneaConnectPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12); }
    50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.03); }
}

/* ============================================================
   SINGLE POST COMMENTS — COMPACT GUEST CARD
   ============================================================ */

.single-post .comments-area {
    width: auto;
    max-width: 1240px;
    margin: 28px auto 42px;
    padding: 23px 26px 25px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    border-radius: 20px;
    font-family: var(--thnea-font-ui);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

/* Only signed-in members can read or post comments on tool pages. */
body:not(.logged-in) .thnea-single-tool ~ .comments-area,
body:not(.logged-in) .single-post .thnea-single-tool + .comments-area {
    display: none !important;
}

.single-post .comments-area #comments {
    max-width: 100%;
}

.single-post .comments-title,
.single-post .comment-reply-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 15px;
    font-family: var(--thnea-font-body);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--thnea-black);
}

.single-post .comment-reply-title small {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
}

.single-post .comment-reply-title small a,
.single-post #cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 9999px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-dark) !important;
    text-decoration: none !important;
    font-size: 10.5px;
    font-weight: 800;
}

.thnea-cf-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-10);
    border: 1px solid var(--thnea-primary-20);
}

.thnea-cf-title-icon svg {
    width: 16px;
    height: 16px;
}

.single-post .comment-list {
    list-style: none;
    margin: 0 0 17px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-post .comment-list .comment,
.single-post .comment-list .pingback {
    position: relative;
    margin: 0;
    padding: 13px 15px 12px 18px;
    background: linear-gradient(180deg, #F8FAFE 0%, var(--thnea-bg) 100%);
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    overflow: hidden;
    animation: thneaCommentIn 0.4s var(--thnea-ease) both;
}

.single-post .comment-list .comment::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--thnea-gradient);
    opacity: 0.7;
}

.single-post .comment-list .comment.depth-2,
.single-post .comment-list .comment.depth-3 {
    margin-left: 22px;
    background: var(--thnea-white);
}

.single-post .comment-list .children {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-post .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.single-post .comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.single-post .comment-author .avatar,
.single-post .comment-author img {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid var(--thnea-white);
    box-shadow: 0 0 0 1.5px var(--thnea-primary-20);
    object-fit: cover;
}

.single-post .comment-author .fn,
.single-post .comment-author .fn a {
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--thnea-black);
    text-decoration: none !important;
}

.single-post .comment-metadata {
    margin-left: auto;
    font-size: 10.5px;
    line-height: 1.3;
    font-weight: 600;
}

.single-post .comment-metadata a {
    color: var(--thnea-muted);
    text-decoration: none !important;
}

.single-post .comment-content {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--thnea-muted-2);
}

.single-post .comment-content p {
    margin: 0 0 8px;
    font-size: inherit;
    line-height: inherit;
}

.single-post .comment-content p:last-child {
    margin-bottom: 0;
}

.single-post .comment-list .reply {
    margin-top: 7px;
}

.single-post .comment-reply-link,
.single-post .reply a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: var(--thnea-primary-10);
    color: var(--thnea-primary-dark) !important;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s var(--thnea-ease);
}

.single-post .comment-reply-link:hover,
.single-post .reply a:hover {
    background: var(--thnea-primary-20);
    transform: translateY(-1px);
}

.single-post .comment-awaiting-moderation {
    display: inline-flex;
    margin-top: 4px;
    padding: 4px 9px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #B45309;
    font-size: 10.5px;
    font-weight: 700;
}

.single-post .comment-respond {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--thnea-border);
}

.single-post .comment-list + #respond,
.single-post .comment-list + .comment-respond {
    margin-top: 18px;
}

/* ============================================================
   COMMENT FORM — compact single-line fields + beautiful submit
   Bottom row: Post Comment | Full Name | Email Address | Website
   Mobile: stacked into one column
   ============================================================ */

.single-post .thnea-comment-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 10px;
    margin: 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.02) 0%, var(--thnea-white) 100%);
    border: 1.5px solid var(--thnea-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Full-width rows */
.single-post .thnea-comment-form .comment-form-comment,
.single-post .thnea-comment-form .comment-notes,
.single-post .thnea-comment-form .logged-in-as,
.single-post .thnea-comment-form .must-log-in,
.single-post .thnea-comment-form .comment-form-cookies-consent,
.single-post .thnea-comment-form .comment-form-wpcom {
    grid-column: 1 / -1;
    margin: 0;
}

/* Bottom row — Submit button first, then Full Name, Email Address, Website */
.single-post .thnea-comment-form .form-submit,
.single-post .thnea-comment-form .comment-form-author,
.single-post .thnea-comment-form .comment-form-email,
.single-post .thnea-comment-form .comment-form-url {
    grid-column: span 1;
    margin: 0;
    min-width: 0;
}

.single-post .thnea-comment-form .comment-form-comment { order: 1; }
.single-post .thnea-comment-form .form-submit         { order: 2; }
.single-post .thnea-comment-form .comment-form-author { order: 3; }
.single-post .thnea-comment-form .comment-form-email  { order: 4; }
.single-post .thnea-comment-form .comment-form-url    { order: 5; }

.single-post #commentform.thnea-comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--thnea-text);
    letter-spacing: 0.01em;
}

.single-post .thnea-comment-form .required {
    color: #E11D48;
    font-weight: 800;
    margin-left: 2px;
}

.single-post .thnea-comment-form .optional {
    color: var(--thnea-muted);
    font-weight: 500;
    font-size: 10.5px;
}

.single-post .thnea-cf-control {
    position: relative;
    display: block;
}

.single-post .thnea-cf-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: var(--thnea-muted);
    pointer-events: none;
    transition: color 0.25s ease;
    z-index: 1;
}

.single-post .thnea-cf-icon svg {
    width: 15px;
    height: 15px;
}

.single-post #commentform.thnea-comment-form input[type="text"],
.single-post #commentform.thnea-comment-form input[type="email"],
.single-post #commentform.thnea-comment-form input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px 11px 38px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 12px;
    background: var(--thnea-white);
    color: var(--thnea-black);
    font-family: var(--thnea-font-ui);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.single-post #commentform.thnea-comment-form input[type="text"]::placeholder,
.single-post #commentform.thnea-comment-form input[type="email"]::placeholder,
.single-post #commentform.thnea-comment-form input[type="url"]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.single-post #commentform.thnea-comment-form input:focus {
    outline: none;
    border-color: var(--thnea-primary);
    background: var(--thnea-white);
    box-shadow: 0 0 0 3.5px var(--thnea-primary-10), 0 2px 8px rgba(37, 99, 235, 0.08);
}

.single-post .thnea-cf-control:focus-within .thnea-cf-icon {
    color: var(--thnea-primary-dark);
}

/* Textarea (comment body) */

.single-post #commentform.thnea-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    height: 140px;
    min-height: 140px;
    resize: vertical;
    padding: 13px 16px;
    border: 1.5px solid var(--thnea-border);
    border-radius: 12px;
    background: var(--thnea-white);
    color: var(--thnea-black);
    font-family: var(--thnea-font-ui);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.single-post #commentform.thnea-comment-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.single-post #commentform.thnea-comment-form textarea:focus {
    outline: none;
    border-color: var(--thnea-primary);
    background: var(--thnea-white);
    box-shadow: 0 0 0 3.5px var(--thnea-primary-10), 0 2px 8px rgba(37, 99, 235, 0.08);
}

/* Notes / logged-in / must-log-in */

.single-post .comment-notes,
.single-post .logged-in-as,
.single-post .must-log-in {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--thnea-primary-15);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--thnea-primary-5) 0%, rgba(37, 99, 235, 0.02) 100%);
    color: var(--thnea-muted-2);
    font-size: 11.5px;
    line-height: 1.55;
    font-weight: 500;
}

.single-post .comment-notes a,
.single-post .logged-in-as a {
    color: var(--thnea-primary-dark) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.single-post .comment-notes a:hover,
.single-post .logged-in-as a:hover {
    text-decoration: underline !important;
}

.thnea-comment-note-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-10);
    border-radius: 6px;
    padding: 2px;
}

.thnea-comment-note-icon svg {
    width: 14px;
    height: 14px;
}

/* Cookies consent */

.single-post .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.single-post .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--thnea-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.single-post .comment-form-cookies-consent label {
    margin: 0;
    color: var(--thnea-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit button row */

.single-post .thnea-comment-form .form-submit {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    align-self: end;
    padding-top: 0;
}

.single-post #commentform .thnea-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    padding: 10px 20px;
    border: none;
    border-radius: 14px;
    background: var(--thnea-gradient);
    color: #ffffff !important;
    font-family: var(--thnea-font-ui);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.005em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 10px 22px -8px var(--thnea-primary-40), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.25s var(--thnea-ease), box-shadow 0.25s var(--thnea-ease), filter 0.25s ease;
    position: relative;
    overflow: hidden;
}

.single-post #commentform .thnea-comment-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.single-post #commentform .thnea-comment-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 30px -8px var(--thnea-primary-40), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.single-post #commentform .thnea-comment-submit:hover::before {
    left: 100%;
}

.single-post #commentform .thnea-comment-submit:active {
    transform: translateY(0) scale(0.985);
    box-shadow: 0 6px 16px -8px var(--thnea-primary-40), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.single-post #commentform .thnea-comment-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3.5px var(--thnea-primary-20), 0 10px 22px -8px var(--thnea-primary-40);
}

.single-post #commentform .thnea-comment-submit svg {
    width: 14px;
    height: 14px;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.25s var(--thnea-ease), background 0.25s ease;
}

.single-post #commentform .thnea-comment-submit:hover svg {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.3);
}

.single-post #commentform .thnea-comment-submit-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-post #commentform .thnea-comment-submit.is-loading {
    opacity: 0.88;
    pointer-events: none;
}

.single-post #commentform .thnea-comment-submit.is-loading svg {
    animation: thneaCommentSend 0.9s ease-in-out infinite;
}

/* Comment title styling */

.single-post .comment-reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 800;
    color: var(--thnea-black);
    font-family: var(--thnea-font-body);
    letter-spacing: -0.01em;
}

.single-post .comment-reply-title small {
    margin-left: auto;
}

.single-post .comment-reply-title small a {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--thnea-muted) !important;
    text-decoration: none !important;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid var(--thnea-border);
    transition: all 0.2s ease;
}

.single-post .comment-reply-title small a:hover {
    color: var(--thnea-primary-dark) !important;
    border-color: var(--thnea-primary-30);
    background: var(--thnea-primary-5);
}

.single-post .no-comments {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px dashed var(--thnea-border-2);
    border-radius: 12px;
    background: var(--thnea-bg);
    color: var(--thnea-muted);
    font-size: 12px;
    font-weight: 600;
}

@keyframes thneaCommentIn {
    from { opacity: 0; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes thneaCommentSend {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(3px); opacity: 0.6; }
}

@media (max-width: 1279px) {
    .thnea-tool-content-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .single-post .comments-area {
        margin: 18px 0 28px;
        padding: 14px 12px 16px;
        border-radius: 16px;
    }

    .single-post .thnea-comment-form {
        padding: 14px;
    }

    .single-post .thnea-comment-form {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .single-post .thnea-comment-form .comment-form-author,
    .single-post .thnea-comment-form .comment-form-email,
    .single-post .thnea-comment-form .comment-form-url {
        grid-column: 1 / -1;
    }

    .single-post #commentform.thnea-comment-form textarea {
        height: 118px;
        min-height: 118px;
    }

    .single-post #commentform .thnea-comment-submit {
        width: 100%;
        justify-content: center;
    }

    .single-post .comment-reply-title {
        font-size: 16px;
    }

    .single-post .comment-reply-title small {
        width: 100%;
        margin-left: 0;
    }

    .single-post .comment-list .comment.depth-2,
    .single-post .comment-list .comment.depth-3 {
        margin-left: 10px;
    }

    .single-post #commentform .thnea-comment-submit {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .thnea-connect-grid {
        gap: 5px;
    }

    .thnea-connect-card {
        min-height: 78px;
        padding: 9px 3px 8px;
    }

    .thnea-connect-icon {
        width: 33px;
        height: 33px;
        border-radius: 10px;
    }

    .thnea-connect-icon svg {
        width: 17px;
        height: 17px;
    }

    .thnea-connect-name {
        font-size: 9.6px;
    }

    .thnea-connect-card .thnea-connect-name {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
        line-height: 1.15;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thnea-demo-play-ring,
    .thnea-demo-live,
    .thnea-connect-pulse,
    .single-post .comment-list .comment,
    .single-post #commentform .thnea-comment-submit.is-loading svg {
        animation: none !important;
    }

    .thnea-sidebar-demo,
    .thnea-connect-card,
    .thnea-share-btn,
    .thnea-demo-play,
    .thnea-demo-arrow,
    .single-post .comment-reply-link {
        transition: none !important;
    }
}

/* ============================================================
   PHONE POLISH (≤640px)
   The theme wraps everything in .inside-article (30px 20px). Stacked with the
   plugin's own paddings that left phone cards narrow with a wide empty gutter,
   so here we reclaim the horizontal space and let cards breathe.
   ============================================================ */

@media (max-width: 640px) {
    /* Reclaim the theme wrapper gutter so cards use nearly the full width */
    body.home .inside-article,
    body.single-post .inside-article {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Home & archive card grids */
    .thnea-posts-container {
        padding-left: 0;
        padding-right: 0;
    }

    .thnea-cards-grid {
        gap: 14px;
    }

    .thnea-card-item {
        border-radius: 16px;
    }

    .thnea-card-body {
        padding: 14px;
        gap: 9px;
    }

    .thnea-card-title {
        font-size: 16.5px;
        line-height: 1.34;
    }

    .thnea-card-meta-row {
        font-size: 12.5px;
    }

    .thnea-card-action-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    /* Single tool page — trim every nested padding so content fills the width */
    .thnea-single-tool {
        padding: 16px 8px 30px;
    }

    .thnea-tool-title {
        font-size: 15.5px;
        line-height: 1.3;
        letter-spacing: -0.04em;
    }

    .thnea-tool-description {
        padding: 14px 9px;
        border-radius: 14px;
    }

    .thnea-download-locker-card {
        padding: 16px 13px;
        border-radius: 14px;
    }

    /* "More Trading Tools" */
    .thnea-single-tool .thnea-related-section {
        padding: 16px 12px 14px;
        border-radius: 16px;
    }

    .thnea-single-tool .thnea-related-section .thnea-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-item {
        flex-direction: column;
        align-items: stretch;
        border-radius: 14px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-thumb-wrap {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-body {
        padding: 13px 14px 14px;
        gap: 8px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-title {
        font-size: 16px;
        line-height: 1.35;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-chips {
        gap: 7px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-chip {
        font-size: 10.5px;
        padding: 3px 8px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-license {
        font-size: 12.5px;
    }

    .thnea-single-tool .thnea-related-section .thnea-card-action-btn {
        padding: 8px 13px;
        font-size: 12.5px;
    }
}

/* ============================================================
   FLOATING "BACK TO TOP" FAB — desktop (≥769px)
   Arrow-only circular button on the right edge. It fades/slides in
   after ~25% scroll, carries a thin scroll-progress ring, a one-off
   ripple pulse and a gentle arrow float. On phones the in-footer
   button stays exactly as before and this FAB is not rendered.
   ============================================================ */

.thnea-top-fab {
    display: none;
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 9990;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 9999px;
    background: var(--thnea-gradient);
    color: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow:
        0 14px 30px -10px rgba(37, 99, 235, 0.62),
        0 4px 12px rgba(7, 26, 51, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
    transition:
        opacity 0.34s ease,
        transform 0.46s cubic-bezier(0.22, 1.2, 0.36, 1),
        box-shadow 0.3s ease,
        filter 0.3s ease,
        visibility 0s linear 0.34s;
}

.thnea-top-fab.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

/* thin scroll-progress ring hugging the button */
.thnea-top-fab-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.thnea-top-fab-ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.26);
    stroke-width: 2.5;
}

.thnea-top-fab-ring-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 144.51;
    stroke-dashoffset: 144.51;
    transition: stroke-dashoffset 0.2s linear;
}

/* the arrow */
.thnea-top-fab-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.thnea-top-fab-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s var(--thnea-ease);
}

/* appear animation: ripple pulse + gentle arrow float, then settle */
.thnea-top-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.thnea-top-fab.is-visible .thnea-top-fab-pulse {
    animation: thnea-fab-pulse 2.4s ease-out 0.2s 2;
}

.thnea-top-fab.is-visible .thnea-top-fab-icon {
    animation: thnea-fab-float 2.8s ease-in-out 0.2s 3;
}

@keyframes thnea-fab-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.42); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes thnea-fab-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}

@media (hover: hover) {
    .thnea-top-fab.is-visible:hover {
        transform: translateY(-4px) scale(1.06);
        filter: brightness(1.07);
        box-shadow:
            0 22px 40px -12px rgba(37, 99, 235, 0.7),
            0 8px 18px rgba(7, 26, 51, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.42);
    }

    .thnea-top-fab.is-visible:hover .thnea-top-fab-icon {
        animation: none;
    }

    .thnea-top-fab.is-visible:hover .thnea-top-fab-icon svg {
        transform: translateY(-2px);
    }
}

.thnea-top-fab.is-visible:active {
    transform: translateY(1px) scale(0.96);
}

.thnea-top-fab:focus-visible {
    box-shadow:
        0 0 0 4px var(--thnea-primary-20),
        0 14px 30px -10px rgba(37, 99, 235, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (min-width: 769px) {
    .thnea-top-fab {
        display: inline-flex;
    }

    /* Desktop uses the floating arrow instead of the in-footer button. */
    .thnea-footer-back-to-top {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thnea-top-fab,
    .thnea-top-fab-icon svg,
    .thnea-top-fab-ring-progress {
        transition-duration: 0.001s !important;
    }

    .thnea-top-fab.is-visible .thnea-top-fab-pulse,
    .thnea-top-fab.is-visible .thnea-top-fab-icon {
        animation: none !important;
    }
}

/* ============================================================
   PREMIUM FILES PAGE — members library listing
   Reuses .thnea-products-page / .thnea-cards-grid; only the hero
   accent and the empty state get their own styling.
   ============================================================ */

.thnea-premium-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 55%),
        var(--thnea-white);
    border-color: var(--thnea-primary-20);
}

.thnea-premium-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.thnea-premium-hero > * {
    position: relative;
    z-index: 1;
}

.thnea-premium-feed-chip {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.06) 100%);
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--thnea-primary-dark);
}

.thnea-premium-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--thnea-white);
    border: 1px dashed var(--thnea-border-2);
    border-radius: 20px;
    margin-top: 22px;
    padding: 56px 24px;
}

.thnea-premium-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 18px;
    color: var(--thnea-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1.5px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.45);
}

.thnea-premium-empty-icon svg {
    width: 28px;
    height: 28px;
}

.thnea-premium-empty h2 {
    font-size: clamp(20px, 2.4vw, 26px);
    letter-spacing: -0.02em;
}

.thnea-premium-empty p {
    max-width: 520px;
    line-height: 1.7;
}

.thnea-premium-empty .thnea-smart-dl-btn {
    width: auto;
    gap: 8px;
}

.thnea-premium-empty .thnea-smart-dl-btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .thnea-premium-empty {
        padding: 42px 18px;
    }

    .thnea-premium-empty .thnea-smart-dl-btn {
        width: 100%;
    }
}

/* ============================================================
   3.1.34 — SINGLE POST REFINEMENTS
   * headings scale with the viewport so H1/H2/H3 stay on one line
   * wider reading frame on big desktop windows (>=1440px)
   * comment form: submit button hugs its label, lined up with the fields
   * mobile: content shifted slightly left, breathing room on the right
   ============================================================ */

/* Fluid H3 — always a step below H2, always fits its column. */
.thnea-tool-description h3 {
    font-size: clamp(14px, calc((100vw - 241px) / 27 - 2px), 19px);
}

/* If a heading is truly too long for one line, break it evenly. */
.thnea-tool-description h2,
.thnea-tool-description h3 {
    text-wrap: balance;
}

/* Wide desktop window: bigger white canvas, header/footer/content
   all share the same 60px inset so nothing looks off-centre. */
@media (min-width: 1440px) {
    body.single-post:not(.wp-admin):not(.page-id-2366):not(.page-id-2367) #page {
        max-width: 1560px;
    }

    body.single-post .thnea-header-container,
    body.single-post .thnea-footer-container {
        /* Header/footer live outside #page, so anchor them to the canvas:
           exactly 60px inset from the white card, same as the content. */
        max-width: min(1440px, calc(100% - 160px));
    }

    body.single-post .thnea-single-tool {
        max-width: calc(100% - 38px);
    }

    body.single-post .thnea-tool-content-wrap {
        grid-template-columns: minmax(0, 1fr) 440px;
    }
}

/* ---------- Comment form: compact submit, perfectly aligned row ---------- */

.single-post .thnea-comment-form {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.single-post .thnea-comment-form .form-submit {
    align-self: end;
    margin: 0 0 10px;
    padding-top: 0;
}

.single-post #commentform .thnea-comment-submit {
    width: auto;
    min-width: 0;
    padding: 11px 18px;
    font-size: 13px;
    gap: 8px;
}

.single-post #commentform .thnea-comment-submit svg {
    padding: 3px;
}

/* ---------- Mobile single post ---------- */

@media (max-width: 640px) {
    /* Content sits a touch to the left, keeps air on the right. */
    body.single-post .inside-article {
        padding: 30px 14px 30px 6px;
    }

    .thnea-tool-description p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* Full-width submit button on phones. */
    .single-post .thnea-comment-form {
        grid-template-columns: 1fr;
    }

    .single-post .thnea-comment-form .form-submit {
        margin: 0;
    }

    .single-post #commentform .thnea-comment-submit {
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ------------------------------------------------------------------
   HOMEPAGE SEO / AI-DISCOVERABILITY BLOCK  (3.2.0)
   Keyword intro + FAQ. Rendered by Thnea_SEO::render_home_seo_section()
   and mirrored 1:1 in the FAQPage structured data.
   ------------------------------------------------------------------ */
.thnea-seo-section {
    padding: 54px 0 62px;
}

.thnea-seo-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.thnea-seo-title {
    margin: 0 0 16px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--thnea-navy, #071A33);
    font-family: var(--thnea-font-body);
}

.thnea-seo-text p {
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--thnea-text, #24324A);
}

.thnea-seo-faq-heading {
    margin-top: 42px;
}

.thnea-seo-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px;
}

.thnea-seo-faq-item {
    background: var(--thnea-white, #fff);
    border: 1px solid var(--thnea-border, #DCE6F2);
    border-radius: var(--thnea-radius, 14px);
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.thnea-seo-faq-q {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--thnea-navy, #071A33);
    font-family: var(--thnea-font-body);
}

.thnea-seo-faq-a {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--thnea-text, #24324A);
}

@media (max-width: 640px) {
    .thnea-seo-section {
        padding: 40px 0 48px;
    }

    .thnea-seo-inner {
        padding: 0 18px;
    }

    .thnea-seo-faq {
        grid-template-columns: 1fr;
    }

    .thnea-seo-faq-q {
        font-size: 15px;
    }

    .thnea-seo-text p,
    .thnea-seo-faq-a {
        font-size: 13.5px;
    }
}


/* ============================================================
   3.3.0 — MONETISATION: ad slots, link library, affiliate,
   recommended brokers, promo strip
   ============================================================ */

.thnea-ad-slot {
    margin: 18px 0;
}

.thnea-ad-slot iframe,
.thnea-ad-slot ins,
.thnea-ad-slot img {
    max-width: 100%;
}

.thnea-ad-slot--empty {
    border: 1.5px dashed var(--thnea-border-2);
    border-radius: 14px;
    background: repeating-linear-gradient(
        45deg,
        rgba(37, 99, 235, 0.03),
        rgba(37, 99, 235, 0.03) 10px,
        transparent 10px,
        transparent 20px
    );
    padding: 22px 16px;
    text-align: center;
}

.thnea-ad-slot--empty span {
    font-size: 12px;
    font-weight: 700;
    color: var(--thnea-muted);
    letter-spacing: 0.02em;
}

/* Link library panel ------------------------------------------------ */

.thnea-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.thnea-link-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--thnea-border);
    border-radius: 12px;
    background: var(--thnea-bg);
    color: var(--thnea-text);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.thnea-link-list a:hover {
    transform: translateY(-2px);
    border-color: var(--thnea-primary-30);
    background: var(--thnea-primary-5);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.10);
}

.thnea-link-ico {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    color: var(--thnea-primary);
    flex-shrink: 0;
}

.thnea-link-ico svg {
    width: 15px;
    height: 15px;
}

.thnea-link-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thnea-link-arrow {
    display: inline-flex;
    color: var(--thnea-muted);
    flex-shrink: 0;
}

.thnea-link-arrow svg {
    width: 15px;
    height: 15px;
}

/* Affiliate product cards ------------------------------------------- */

.thnea-affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thnea-affiliate-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--thnea-border);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--thnea-white) 0%, var(--thnea-bg) 100%);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.thnea-affiliate-card:hover {
    transform: translateY(-3px);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.14);
}

.thnea-affiliate-thumb {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--thnea-white);
    border: 1px solid var(--thnea-border);
    display: block;
}

.thnea-affiliate-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thnea-affiliate-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.thnea-affiliate-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thnea-primary-dark);
    background: var(--thnea-primary-10);
    border-radius: 999px;
    padding: 3px 8px;
}

.thnea-affiliate-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--thnea-black);
    line-height: 1.3;
}

.thnea-affiliate-desc {
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.5;
}

.thnea-affiliate-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.thnea-affiliate-price {
    font-size: 15px;
    font-weight: 900;
    color: var(--thnea-primary-dark);
    font-variant-numeric: tabular-nums;
}

.thnea-affiliate-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
    color: var(--thnea-primary);
}

.thnea-affiliate-cta svg {
    width: 14px;
    height: 14px;
}

/* Recommended brokers ------------------------------------------------ */

.thnea-brokers-note {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.55;
}

.thnea-broker-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.thnea-broker-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--thnea-border);
    border-radius: 14px;
    background: var(--thnea-white);
    text-decoration: none;
    color: inherit;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.thnea-broker-row:hover {
    transform: translateY(-2px);
    border-color: var(--thnea-primary-30);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.thnea-broker-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--thnea-navy);
    color: var(--thnea-white);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.thnea-broker-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thnea-broker-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.thnea-broker-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--thnea-black);
}

.thnea-broker-note {
    font-size: 12px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.45;
}

.thnea-broker-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 999px;
    padding: 4px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Homepage / archive promo strip ------------------------------------- */

.thnea-promo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    margin: 26px 0 6px;
}

.thnea-promo-strip .thnea-sidebar-panel {
    height: 100%;
}

.thnea-promo-strip .thnea-affiliate-list {
    gap: 12px;
}

/* ============================================================
   3.3.0 — DOWNLOAD PAGE: separate animated countdown ring,
   separate download button, promo blocks
   ============================================================ */

.thnea-dl-countdown {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 26px 0 8px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid var(--thnea-primary-15);
    text-align: left;
}

.thnea-dl-ring {
    position: relative;
    width: 132px;
    height: 132px;
    flex-shrink: 0;
}

.thnea-dl-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.thnea-dl-ring-track,
.thnea-dl-ring-bar {
    fill: none;
    stroke-width: 9;
    stroke-linecap: round;
}

.thnea-dl-ring-track {
    stroke: var(--thnea-primary-10);
}

.thnea-dl-ring-bar {
    stroke: url(#thneaRingGrad);
    stroke: var(--thnea-primary);
    stroke-dasharray: 364.42;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.22s linear, stroke 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.35));
}

.thnea-dl-ring.is-done .thnea-dl-ring-bar {
    stroke: #10B981;
}

.thnea-dl-ring-num {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.thnea-dl-ring-value {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    color: var(--thnea-navy);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.thnea-dl-ring-unit {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--thnea-muted);
    margin-top: 4px;
}

.thnea-dl-ring-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--thnea-primary-30);
    opacity: 0;
    pointer-events: none;
}

.thnea-dl-ring.is-running .thnea-dl-ring-pulse {
    animation: thneaRingPulse 2s ease-out infinite;
}

.thnea-dl-ring.is-running .thnea-dl-ring-value {
    animation: thneaRingBlink 1s steps(2, jump-none) infinite;
}

.thnea-dl-ring.is-done .thnea-dl-ring-pulse {
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.6);
    animation: thneaRingDone 0.7s ease-out 1;
}

@keyframes thneaRingPulse {
    0% { transform: scale(0.94); opacity: 0.75; }
    100% { transform: scale(1.16); opacity: 0; }
}

@keyframes thneaRingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes thneaRingDone {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.22); opacity: 0; }
}

.thnea-dl-countdown-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.thnea-dl-countdown-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--thnea-navy);
    letter-spacing: -0.01em;
}

.thnea-dl-countdown-sub {
    font-size: 13px;
    color: var(--thnea-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* Separate download button card -------------------------------------- */

.thnea-dl-ready-zone {
    margin-top: 16px;
    padding: 22px;
    border-radius: 18px;
    border: 1.5px solid var(--thnea-border);
    background: var(--thnea-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.thnea-dl-ready-zone.is-waiting {
    background: var(--thnea-bg);
    border-style: dashed;
}

.thnea-dl-ready-zone:not(.is-waiting) {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--thnea-white) 70%);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
    animation: thneaReadyIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes thneaReadyIn {
    from { transform: translateY(10px) scale(0.985); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.thnea-dl-ready-zone .thnea-smart-dl-btn {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    gap: 10px;
}

.thnea-dl-ready-zone.is-waiting .thnea-smart-dl-btn {
    animation: none;
    cursor: not-allowed;
    filter: grayscale(0.35);
    opacity: 0.85;
    box-shadow: none;
}

.thnea-dl-ready-zone:not(.is-waiting) .thnea-smart-dl-btn {
    animation: thneaDlPulse 2.4s ease-in-out infinite;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.35);
}

.thnea-dl-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.thnea-dl-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--thnea-muted);
}

.thnea-dl-trust svg {
    width: 14px;
    height: 14px;
    color: #10B981;
}

/* Wide ad / promo blocks around the download card -------------------- */

.thnea-dl-instruction > .thnea-ad-slot {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.thnea-dl-instruction > .thnea-promo-strip {
    margin-top: 22px;
}

/* ============================================================
   RESPONSIVE TWEAKS (3.3.0)
   ============================================================ */

@media (max-width: 640px) {
    .thnea-dl-countdown {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 14px;
    }

    .thnea-dl-ring {
        width: 116px;
        height: 116px;
    }

    .thnea-dl-ring-value {
        font-size: 33px;
    }

    .thnea-promo-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .thnea-dl-ready-zone {
        padding: 16px 14px;
    }
}

/* ===================================================================
   HOMEPAGE SHOWCASE BLOCK (3.6.0)
   Replaces the former "Our Mission" block, the keyword intro and the
   homepage FAQ. One section, responsive 4 -> 2 -> 1 cards.
   =================================================================== */
.thnea-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 62px 0 68px;
    border-top: 1px solid var(--thnea-border, #DCE6F2);
    background:
        radial-gradient(900px 380px at 50% -8%, rgba(37, 99, 235, 0.10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--thnea-bg, #F4F7FD) 100%);
}

.thnea-showcase-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.thnea-showcase-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.thnea-showcase-head .thnea-section-badge {
    margin-bottom: 0;
}

.thnea-showcase-title {
    margin: 0;
    font-family: var(--thnea-font-body, 'Poppins', sans-serif);
    font-size: clamp(23px, 3vw, 37px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--thnea-black, #071A33);
}

.thnea-showcase-lead {
    margin: 0;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.75;
    color: var(--thnea-muted-2, #475569);
}

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

.thnea-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px 26px;
    background: var(--thnea-white, #fff);
    border: 1px solid var(--thnea-border, #DCE6F2);
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.thnea-showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--thnea-border-2, #C5D5E8);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.thnea-showcase-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--thnea-primary-10, rgba(37, 99, 235, 0.10));
    color: var(--thnea-primary-darker, #1E40AF);
}

.thnea-showcase-card-icon svg {
    width: 22px;
    height: 22px;
}

.thnea-showcase-card-title {
    margin: 0 0 8px;
    font-family: var(--thnea-font-ui, 'Poppins', sans-serif);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--thnea-black, #071A33);
}

.thnea-showcase-card-text {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.7;
    color: var(--thnea-muted, #62748A);
}

.thnea-showcase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 26px 0 0;
    padding: 22px 24px;
    list-style: none;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed var(--thnea-border-2, #C5D5E8);
    border-radius: 18px;
}

.thnea-showcase-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.thnea-showcase-step-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--thnea-primary, #2563EB), var(--thnea-primary-darker, #1E40AF));
    color: #fff;
    font-family: var(--thnea-font-ui, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28);
}

.thnea-showcase-step-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.thnea-showcase-step-title {
    font-family: var(--thnea-font-ui, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--thnea-black, #071A33);
}

.thnea-showcase-step-text {
    font-size: 13.4px;
    line-height: 1.6;
    color: var(--thnea-muted-2, #475569);
}

.thnea-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.thnea-showcase-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: var(--thnea-radius-btn, 12px);
    font-family: var(--thnea-font-ui, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.thnea-showcase-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.thnea-showcase-cta--primary {
    background: linear-gradient(135deg, var(--thnea-primary, #2563EB), var(--thnea-primary-darker, #1E40AF));
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.30);
}

.thnea-showcase-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.36);
}

.thnea-showcase-cta--ghost {
    background: var(--thnea-white, #fff);
    border: 1px solid var(--thnea-border-2, #C5D5E8);
    color: var(--thnea-primary-darker, #1E40AF);
}

.thnea-showcase-cta--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--thnea-primary-30, rgba(37, 99, 235, 0.30));
    background: var(--thnea-primary-5, rgba(37, 99, 235, 0.05));
}

@media (max-width: 1080px) {
    .thnea-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 860px) {
    .thnea-showcase-section {
        padding: 48px 0 52px;
    }

    .thnea-showcase-head {
        margin-bottom: 30px;
    }

    .thnea-showcase-steps {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
    }
}

@media (max-width: 640px) {
    .thnea-showcase-section {
        padding: 40px 0 44px;
    }

    .thnea-showcase-container {
        padding: 0 16px;
    }

    .thnea-showcase-head {
        gap: 11px;
        margin-bottom: 26px;
    }

    .thnea-showcase-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .thnea-showcase-card {
        padding: 20px 18px 22px;
        border-radius: 16px;
    }

    .thnea-showcase-card-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 13px;
    }

    .thnea-showcase-card-title {
        font-size: 15.5px;
    }

    .thnea-showcase-steps {
        margin-top: 18px;
        border-radius: 16px;
    }

    .thnea-showcase-step-num {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 12px;
    }

    .thnea-showcase-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
        margin-top: 26px;
    }

    .thnea-showcase-cta {
        width: 100%;
        padding: 14px 18px;
        font-size: 14.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thnea-showcase-card,
    .thnea-showcase-cta {
        transition: none;
    }

    .thnea-showcase-card:hover,
    .thnea-showcase-cta:hover {
        transform: none;
    }
}