:root {
    color-scheme: light;
    --bg: #f7f4f0;
    --bg-alt: #f7f4f0;
    --surface: #ffffff;
    --ink: #0a0c10;
    --ink-soft: #3a414d;
    --muted: #5c6470;
    --line: rgba(10, 12, 16, 0.1);
    --line-strong: rgba(10, 12, 16, 0.16);
    --navy: #ffffff;
    --accent: #ff7c1d;
    --accent-2: #ff7c1d;
    --accent-deep: #e56a12;
    --glow: rgba(255, 124, 29, 0.3);
    --danger: #e11d48;
    --ok: #059669;
    --shadow: 0 18px 50px rgba(10, 12, 16, 0.08);
    --shadow-lg: 0 28px 70px rgba(10, 12, 16, 0.12);
    --header-bg: rgba(255, 255, 255, 0.94);
    --header-bg-scrolled: rgba(10, 12, 16, 0.96);
    --header-glass-border: rgba(10, 12, 16, 0.1);
    --header-glass-shadow: 0 8px 32px rgba(10, 12, 16, 0.08);
    --header-text: #0a0c10;
    --header-text-soft: rgba(10, 12, 16, 0.7);
    --menu-bg: #ffffff;
    --header-hover: rgba(10, 12, 16, 0.06);
    --header-logo-filter: brightness(0);
    --hero-bg: #ffffff;
    --hero-text: #0a0c10;
    --hero-muted: #3a414d;
    --hero-card: #f7f4f0;
    --panel-bg: #ffffff;
    --panel-text: #0a0c10;
    --panel-muted: #3a414d;
    --footer-bg: #ffffff;
    --footer-text: #3a414d;
    --on-accent: #ffffff;
    --featured-bg: #0a0c10;
    --featured-text: #ffffff;
    --input-bg: #ffffff;
    --logo-filter: brightness(0);
    --partner-filter: none;
    --grid-line: rgba(10, 12, 16, 0.06);
    --radius: 18px;
    --radius-sm: 12px;
    --max: 1180px;
    --header: 88px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0c10;
    --bg-alt: #0a0c10;
    --surface: #141820;
    --ink: #f3f1ee;
    --ink-soft: #c5c8cc;
    --muted: #9aa0a8;
    --line: rgba(243, 241, 238, 0.1);
    --line-strong: rgba(243, 241, 238, 0.16);
    --navy: #141820;
    --accent: #ff7c1d;
    --accent-2: #ff7c1d;
    --accent-deep: #ff7c1d;
    --glow: rgba(255, 124, 29, 0.28);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.4);
    --header-bg: rgba(12, 14, 20, 0.94);
    --header-bg-scrolled: rgba(10, 12, 16, 0.98);
    --header-glass-border: rgba(255, 255, 255, 0.12);
    --header-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
    --header-text: #ffffff;
    --header-text-soft: rgba(243, 241, 238, 0.78);
    --menu-bg: #141820;
    --header-hover: rgba(255, 255, 255, 0.08);
    --header-logo-filter: none;
    --hero-bg: #0a0c10;
    --hero-text: #ffffff;
    --hero-muted: #c8c4be;
    --hero-card: #141820;
    --panel-bg: #141820;
    --panel-text: #ffffff;
    --panel-muted: #c5c8cc;
    --footer-bg: #141820;
    --footer-text: #c5c8cc;
    --on-accent: #0a0c10;
    --featured-bg: #0a0c10;
    --featured-text: #ffffff;
    --input-bg: #141820;
    --logo-filter: none;
    --partner-filter: brightness(1.25);
    --grid-line: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s ease, color .2s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.accent {
    color: var(--accent-deep);
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.accent-light {
    color: var(--accent);
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

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

.ts-section {
    padding: 96px 0;
}

.ts-section-sm {
    padding: 72px 0;
}

.ts-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 124, 29, 0.12);
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.ts-title {
    font-size: clamp(32px, 4vw, 48px);
    max-width: 720px;
}

.ts-lead {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 560px;
}

.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.ts-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.ts-btn:hover svg:not(.ts-btn-spin) {
    transform: translateX(3px);
}

.ts-btn .ts-btn-spin {
    animation: tsBtnSpin .9s linear infinite;
}

@keyframes tsBtnSpin {
    to { transform: rotate(360deg); }
}

.ts-btn:active {
    transform: translateY(0) scale(0.97);
}

.ts-btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 10px 30px var(--glow);
}

.ts-btn-dark {
    background: #0a0c10;
    color: #ffffff;
}

html[data-theme="dark"] .ts-btn-dark {
    background: #ffffff;
    color: #0a0c10;
}

.ts-btn-ghost {
    background: transparent;
    color: var(--hero-text);
    border: 1px solid var(--line-strong);
}

.ts-btn-line {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.ts-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent-deep);
    transition: gap .2s ease, color .2s ease;
}

.ts-link:hover {
    gap: 12px;
}

.ts-link:hover span {
    text-decoration: underline;
}

/* Header — white menubar */
.ts-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    height: auto;
    min-height: var(--header);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 0;
    padding: 12px 0;
    transition: padding .25s ease;
}

.ts-header-inner {
    position: relative;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 14px 8px 18px;
    background: var(--header-bg);
    border: 1px solid var(--header-glass-border);
    border-radius: 22px;
    box-shadow: var(--header-glass-shadow);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    backdrop-filter: saturate(180%) blur(28px);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ts-header-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 48%);
    z-index: 0;
}

html[data-theme="dark"] .ts-header-inner::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%);
}

.ts-header-inner > * {
    position: relative;
    z-index: 1;
}

.ts-logo img {
    width: 270px;
    height: auto;
    filter: var(--header-logo-filter);
    transition: transform .25s ease, filter .25s ease;
}

.ts-logo:hover img {
    transform: scale(1.03);
}

.ts-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-nav > a,
.ts-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 0;
    background: none;
    color: var(--header-text-soft);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color .2s ease;
}

.ts-nav > a:hover,
.ts-drop > button:hover,
.ts-nav > a.is-active {
    color: var(--header-text);
}

.ts-drop {
    position: relative;
}

.ts-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    background: var(--menu-bg);
    border: 1px solid var(--header-glass-border);
    border-radius: 16px;
    box-shadow: var(--header-glass-shadow);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    display: none;
    z-index: 30;
}

.ts-drop-menu::before,
.ts-account-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 18px;
}

.ts-drop.is-open .ts-drop-menu,
.ts-drop:hover .ts-drop-menu {
    display: grid;
}

.ts-drop-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--header-text-soft);
    font-weight: 600;
}

.ts-drop-menu a:hover {
    background: var(--header-hover);
    color: var(--header-text);
}

.ts-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-account {
    position: relative;
}

.ts-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 240px;
    padding: 10px;
    background: var(--menu-bg);
    border: 1px solid var(--header-glass-border);
    border-radius: 16px;
    box-shadow: var(--header-glass-shadow);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    display: none;
    z-index: 30;
}

.ts-account.is-open .ts-account-menu {
    display: grid;
}

.ts-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--header-text-soft);
}

.ts-account-menu a:hover {
    background: var(--header-hover);
    color: var(--header-text);
}

.ts-header .ts-btn-ghost {
    color: var(--header-text);
    border-color: var(--header-glass-border);
}

.ts-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--header-glass-border);
    border-radius: 12px;
    background: var(--header-hover);
    cursor: pointer;
}

.ts-menu-btn span,
.ts-menu-btn span::before,
.ts-menu-btn span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--header-text);
    margin: 0 auto;
    position: relative;
}

.ts-menu-btn span::before,
.ts-menu-btn span::after {
    content: "";
    position: absolute;
    left: 0;
}

.ts-menu-btn span::before { top: -6px; }
.ts-menu-btn span::after { top: 6px; }

.ts-page {
    padding-top: var(--header);
    min-height: 100vh;
}

.ts-page:has(.ts-hero) {
    padding-top: 0;
}

.ts-page:has(.ts-hero) .ts-hero {
    padding-top: calc(var(--header) + 24px);
}

/* Hero */
.ts-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 80% 10%, rgba(255, 124, 29, 0.18), transparent 50%),
        radial-gradient(700px 420px at 10% 80%, rgba(255, 124, 29, 0.1), transparent 50%),
        var(--hero-bg);
    color: var(--hero-text);
    padding: 88px 0 72px;
}

.ts-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
    pointer-events: none;
}

.ts-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.ts-hero h1 {
    color: var(--hero-text);
    font-size: clamp(40px, 6vw, 72px);
    margin: 14px 0 22px;
}

.ts-hero p {
    color: var(--hero-muted);
    font-size: 18px;
    max-width: 540px;
}

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

.ts-hero-cards {
    display: grid;
    gap: 14px;
}

.ts-mini-card {
    padding: 18px 18px 18px 20px;
    border-radius: 16px;
    background: var(--hero-card);
    border: 1px solid var(--line);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ts-mini-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.ts-mini-card h3 {
    color: var(--hero-text);
    font-size: 16px;
    margin-bottom: 6px;
}

.ts-mini-card p {
    font-size: 14px;
    color: var(--hero-muted);
}

/* Partners */
.ts-partners {
    background: var(--bg);
    padding: 12px 0 36px;
    overflow: hidden;
}

.ts-partners-label {
    margin: 0 0 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ts-partners-slider {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ts-partners-track {
    display: flex;
    width: max-content;
    animation: tsPartnerSlide 42s linear infinite;
}

.ts-partners-slider:hover .ts-partners-track {
    animation-play-state: paused;
}

.ts-partners-set {
    display: flex;
    align-items: center;
    gap: 52px;
    padding: 0 26px;
}

.ts-partner-item {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 132px;
    height: 52px;
}

.ts-partner-item img {
    max-height: 38px;
    max-width: 150px;
    width: auto;
    height: auto;
    opacity: 0.78;
    filter: var(--partner-filter);
}

.ts-partner-item.is-propeller img {
    max-height: 28px;
    background: #111;
    border-radius: 4px;
    padding: 4px 10px;
}

html[data-theme="dark"] .ts-partner-item.is-mono img {
    filter: invert(1) brightness(1.08);
}

@keyframes tsPartnerSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Cards / grids */
.ts-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 40px;
}

.ts-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.ts-card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ts-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ts-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ts-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 124, 29, 0.12);
    margin-bottom: 16px;
    overflow: hidden;
    font-weight: 800;
    color: var(--accent-deep);
    font-size: 13px;
}

.ts-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ts-card h3,
.ts-card h5 {
    font-size: 20px;
    margin-bottom: 10px;
}

.ts-card p {
    color: var(--ink-soft);
    font-size: 15px;
}

.ts-panel {
    background: var(--panel-bg);
    color: var(--panel-text);
}

.ts-panel .ts-kicker {
    background: rgba(255, 124, 29, 0.12);
    color: var(--accent);
}

.ts-panel h2,
.ts-panel h3,
.ts-panel h4,
.ts-panel h5 {
    color: var(--panel-text);
}

.ts-panel p {
    color: var(--panel-muted);
}

.ts-card-soft {
    background: var(--hero-card) !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
}

.ts-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ts-stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ts-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.ts-stat strong {
    display: block;
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}

.ts-stat span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.ts-explore-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.ts-media-card {
    overflow: hidden;
    padding: 0;
}

.ts-media-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .45s ease;
}

.ts-media-card:hover img {
    transform: scale(1.05);
}

.ts-media-card .ts-card-body {
    padding: 20px;
}

.ts-wide {
    grid-column: span 1;
}

.ts-quote {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ts-quote:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ts-stars {
    color: #f5b942;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.ts-quote p {
    color: var(--ink-soft);
}

.ts-quote footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-quote img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

/* Inner page hero */
.ts-page-hero {
    background:
        radial-gradient(600px 280px at 90% 10%, rgba(255, 124, 29, 0.16), transparent 50%),
        var(--hero-bg);
    color: var(--hero-text);
    padding: 56px 0 48px;
}

.ts-crumbs {
    display: flex;
    gap: 10px;
    color: var(--hero-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.ts-crumbs a:hover { color: var(--hero-text); }
.ts-page-hero h1 {
    color: var(--hero-text);
    font-size: clamp(32px, 5vw, 52px);
}

/* Pricing */
.ts-pricing-section {
    padding-top: 40px;
}

.ts-pricing-head {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ts-switch {
    display: inline-flex;
    padding: 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 4px;
}

.ts-switch button {
    border: 0;
    background: transparent;
    min-width: 118px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s ease, color .2s ease;
}

.ts-switch button em {
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 124, 29, 0.14);
    color: var(--accent-deep);
}

.ts-switch button.is-active {
    background: var(--ink);
    color: var(--bg);
}

.ts-switch button.is-active em {
    background: rgba(255, 124, 29, 0.95);
    color: #0a0c10;
}

.ts-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.ts-price-grid.is-hidden,
.yearlyPriceList {
    display: none !important;
}

.yearlyPriceList.is-visible {
    display: grid !important;
}

.ts-price {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 24px 24px;
    box-shadow: none;
    text-align: left;
    transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}

.ts-price:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-strong);
}

.ts-price.is-featured {
    background: var(--surface);
    color: inherit;
    border: 2px solid var(--accent);
    box-shadow: 0 18px 50px rgba(255, 124, 29, 0.14);
    transform: translateY(-6px);
}

.ts-price.is-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(255, 124, 29, 0.2);
}

.ts-price.is-featured h3,
.ts-price.is-featured p,
.ts-price.is-featured li {
    color: inherit;
}

.ts-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0c10;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.ts-price-top {
    display: grid;
    gap: 8px;
}

.ts-price h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: left;
}

.ts-price-desc {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    min-height: 44px;
}

.ts-price .amount {
    margin: 6px 0 0;
    font-size: clamp(40px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--ink);
    text-align: left;
}

.ts-price .amount span {
    margin-left: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--muted);
}

.ts-price.is-featured .amount span {
    color: var(--muted);
}

.ts-price-note {
    margin: 0;
    color: var(--ok);
    font-size: 13px;
    font-weight: 700;
}

.ts-price-limits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ts-price-limits > div {
    display: grid;
    gap: 2px;
    padding: 12px 12px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.ts-price.is-featured .ts-price-limits > div {
    background: rgba(255, 124, 29, 0.08);
    border-color: rgba(255, 124, 29, 0.22);
}

.ts-price-limits strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.1;
}

.ts-price-limits span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.3;
}

.ts-price > .ts-btn {
    width: 100%;
    margin-top: 2px;
}

.ts-price-features {
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 9px;
    list-style: none;
    flex: 1;
}

.ts-price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.4;
}

.ts-price-check {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(5, 150, 105, 0.12);
    position: relative;
}

.ts-price-check::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--ok);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ts-price.is-featured .ts-price-check {
    background: rgba(255, 124, 29, 0.16);
}

.ts-price.is-featured .ts-price-check::before {
    border-color: var(--accent-deep);
}

/* FAQ */
.ts-faq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}

.ts-faq-nav {
    display: grid;
    gap: 8px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.ts-faq-nav button {
    text-align: left;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;
}

.ts-faq-nav button.is-active {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
}

.ts-faq-panel { display: none; }
.ts-faq-panel.is-active { display: block; }

.ts-acc {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}

.ts-acc button {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 16px 18px;
    font-weight: 700;
    cursor: pointer;
}

.ts-acc .ts-acc-body {
    display: none;
    padding: 0 18px 16px;
    color: var(--ink-soft);
}

.ts-acc.is-open .ts-acc-body {
    display: block;
}

/* Contact */
.ts-contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 32px;
}

.ts-form-card,
.ts-side-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.ts-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ts-field {
    display: grid;
    gap: 6px;
}

.ts-field.full {
    grid-column: 1 / -1;
}

.ts-field label {
    font-size: 13px;
    font-weight: 700;
}

.ts-field label span {
    color: var(--muted);
    font-weight: 500;
}

.ts-field input,
.ts-field textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--input-bg);
    color: var(--ink);
}

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

.invalid_error,
.invalid {
    display: none;
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
}

.alert {
    display: none;
}

.alert,
.alert1 {
    background: #ecfdf5;
    color: var(--ok);
    border: 1px solid #a7f3d0;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 600;
}

.loader_btn { display: none; }

/* Changelog */
.ts-log {
    display: grid;
    gap: 16px;
}

.ts-log-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}

.ts-log-item time {
    display: inline-block;
    color: var(--accent-deep);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Footer */
.ts-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 64px;
}

.ts-footer h3,
.ts-footer h4 {
    color: var(--ink);
}

.ts-footer-grid h4 {
    margin-bottom: 6px;
}

.ts-footer-grid p {
    margin-top: 8px;
}

.ts-log-item p {
    color: var(--ink-soft);
    margin-top: 8px;
}

.ts-footer-top {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.ts-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 40px 0;
}

.ts-footer a:not(.ts-btn):hover { color: var(--accent); }
.ts-footer .ts-btn-primary:hover { color: var(--on-accent); }
.ts-footer img.ts-pay { height: 42px; width: auto; margin-top: 16px; }

.ts-subscribe {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.ts-subscribe input {
    flex: 1;
    border: 1px solid var(--line-strong);
    background: var(--input-bg);
    color: var(--ink);
    border-radius: 999px;
    padding: 12px 16px;
}

.ts-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.ts-cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ts-footer-top img[alt="TrafficShield"] {
    filter: var(--logo-filter);
}

.ts-theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--header-glass-border);
    background: var(--header-hover);
    color: var(--header-text);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}

.ts-theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(-8deg);
}

.ts-theme-toggle:active {
    transform: scale(0.94);
}

.ts-theme-toggle-mobile {
    display: none;
}

.ts-theme-toggle svg {
    width: 20px;
    height: 20px;
    display: none;
}

html:not([data-theme="dark"]) .ts-theme-toggle .icon-moon,
html[data-theme="dark"] .ts-theme-toggle .icon-sun {
    display: block;
}

.ts-acc > button {
    color: var(--ink);
}

.ts-legal {
    max-width: 860px;
}

.ts-legal h2 {
    margin: 40px 0 14px;
    font-size: clamp(22px, 3vw, 28px);
}

.ts-legal h3 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.ts-legal p {
    color: var(--ink-soft);
    margin: 0 0 14px;
}

.ts-legal ul,
.ts-legal ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.ts-legal ul { list-style: disc; }
.ts-legal ol { list-style: decimal; }
.ts-legal li {
    list-style: inherit;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.ts-legal a {
    color: var(--accent-deep);
    text-decoration: underline;
}

.ts-toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    margin: 8px 0 28px;
}

.ts-toc ol {
    columns: 1;
}

.ts-updated {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .ts-card-grid-4,
    .ts-stats,
    .ts-explore-grid,
    .ts-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-price-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .ts-price.is-featured {
        transform: none;
    }
}

/* Mobile */
@media (max-width: 980px) {
    .ts-logo img { width: 210px; }
    .ts-menu-btn { display: grid; place-items: center; }
    .ts-theme-toggle-mobile { display: inline-grid; }
    .ts-nav-actions .ts-theme-toggle { display: none; }
    .ts-nav,
    .ts-nav-actions {
        display: none;
    }
    .ts-header.is-open {
        height: auto;
        padding: 12px 0 16px;
        align-items: flex-start;
    }
    .ts-header.is-open .ts-header-inner {
        flex-wrap: wrap;
        align-items: center;
    }
    .ts-header.is-open .ts-nav,
    .ts-header.is-open .ts-nav-actions {
        display: grid;
        width: 100%;
        order: 3;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 8px 4px 4px;
    }
    .ts-header.is-open .ts-nav-actions {
        margin-top: 8px;
    }
    .ts-drop-menu,
    .ts-drop:hover .ts-drop-menu {
        position: static;
        display: none;
        box-shadow: none;
        min-width: 0;
    }
    .ts-drop.is-open .ts-drop-menu { display: grid; }
    .ts-hero-grid,
    .ts-split,
    .ts-card-grid,
    .ts-card-grid-3,
    .ts-card-grid-4,
    .ts-stats,
    .ts-explore-grid,
    .ts-price-grid,
    .ts-faq-layout,
    .ts-contact-grid,
    .ts-form-grid,
    .ts-footer-top,
    .ts-footer-grid,
    .ts-cta-band,
    .ts-cta-box,
    .ts-steps {
        grid-template-columns: 1fr;
    }
    .ts-price.is-featured {
        transform: none;
    }
    .ts-price.is-featured:hover {
        transform: translateY(-4px);
    }
    .ts-price-desc {
        min-height: 0;
    }
    .ts-switch button {
        min-width: 0;
        flex: 1;
    }
    .ts-header.is-open .ts-account-menu {
        position: static;
        display: grid;
    }
}

.ts-header.is-scrolled .ts-header-inner {
    background: var(--header-bg);
    box-shadow: var(--header-glass-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ts-header-inner,
    .ts-drop-menu,
    .ts-account-menu {
        background: var(--header-bg);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .ts-header-inner,
    .ts-drop-menu,
    .ts-account-menu {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--header-bg);
    }

    .ts-header-inner::before {
        display: none;
    }
}

.ts-drop-menu,
.ts-account-menu {
    animation: tsFadeDown .18s ease;
}

@keyframes tsFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.ts-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

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

.ts-hero-grid > div:first-child {
    animation: tsFadeUp .6s ease both;
}

.ts-hero-cards .ts-mini-card:nth-child(1) { animation: tsFadeUp .6s ease .1s both; }
.ts-hero-cards .ts-mini-card:nth-child(2) { animation: tsFadeUp .6s ease .2s both; }
.ts-hero-cards .ts-mini-card:nth-child(3) { animation: tsFadeUp .6s ease .3s both; }

@keyframes tsFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.ts-price-grid {
    animation: tsFadeUp .35s ease;
}

.ts-faq-panel.is-active {
    animation: tsFadeUp .3s ease;
}

.ts-acc .ts-acc-body {
    transition: none;
}

.ts-acc.is-open .ts-acc-body {
    animation: tsFadeUp .25s ease;
}

.ts-footer a,
.ts-footer-grid p a {
    transition: color .2s ease, padding-left .2s ease;
}

.ts-footer-grid p a:hover {
    padding-left: 4px;
}

.ts-partner-item img {
    transition: transform .25s ease, opacity .25s ease;
}

.ts-partner-item:hover img {
    transform: scale(1.08);
    opacity: 1;
}

@media (max-width: 700px) {
    .ts-partners-set { gap: 36px; }
    .ts-partner-item { min-width: 110px; height: 46px; }
    .ts-partner-item img { max-height: 32px; max-width: 128px; }
    .ts-partners-track { animation-duration: 32s; }
}

@media (prefers-reduced-motion: reduce) {
    .ts-partners-slider {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
    }
    .ts-partners-track {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .ts-partners-set[aria-hidden="true"] {
        display: none;
    }
    .ts-partners-set {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 32px;
        padding: 0 16px;
    }
}

.ts-field input,
.ts-field textarea,
.ts-subscribe input {
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ts-field input:focus,
.ts-field textarea:focus,
.ts-subscribe input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 124, 29, 0.15);
}

.ts-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ts-step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.ts-step-num {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 124, 29, 0.12);
    color: var(--accent-deep);
    font-weight: 800;
    margin-bottom: 14px;
}

.ts-step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.ts-step p {
    color: var(--ink-soft);
    font-size: 15px;
}

.ts-check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ts-check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--ink-soft);
    font-size: 15px;
}

.ts-check-list li::before {
    content: "✓";
    color: var(--ok);
    font-weight: 800;
    flex-shrink: 0;
}

.ts-cta-box {
    background: var(--featured-bg);
    color: var(--featured-text);
    border-radius: 24px;
    padding: 42px 36px;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 24px;
    align-items: center;
}

.ts-cta-box h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 8px 0 12px;
    color: #ffffff;
}

.ts-cta-box p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
}

.ts-prose {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
}

.ts-prose + .ts-prose {
    margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .ts-reveal {
        opacity: 1;
        transform: none;
    }
}
