/**
 * Landingpage Frontend Styles
 *
 * Aligned with Transtoyou theme design system
 * Uses --tty-* variables from theme, with --lp-* fallbacks
 * Font Awesome Pro Duotone 7 loaded site-wide
 *
 * @package Transtoyou Landingpages
 */

:root {
    --lp-accent: var(--tty-primary, #247772);
    --lp-accent-hover: var(--tty-primary-dark, #005f5f);
    --lp-accent-light: var(--tty-primary-bg, rgba(36, 119, 114, 0.1));
    --lp-secondary: var(--tty-secondary, #E5924C);
    --lp-secondary-light: var(--tty-secondary-light, #f1a968);
    --lp-text: var(--tty-text-primary, #2C2C2C);
    --lp-text-muted: var(--tty-text-muted, #56778f);
    --lp-heading: var(--tty-header-primary, #247772);
    --lp-bg: var(--tty-bg-primary, #ffffff);
    --lp-bg-light: var(--tty-bg-secondary, #edf4f6);
    --lp-bg-tertiary: var(--tty-bg-tertiary, #f9f9f9);
    --lp-border: var(--tty-border-light, #eaeaea);
    --lp-border-medium: var(--tty-border-medium, #ddd);
    --lp-radius: var(--tty-radius-md, 10px);
    --lp-radius-sm: var(--tty-radius-sm, 8px);
    --lp-radius-lg: var(--tty-radius-lg, 30px);
    --lp-shadow: var(--tty-shadow-sm, 0px 2px 4px rgba(0, 0, 0, 0.08));
    --lp-shadow-md: var(--tty-shadow-md, 0px 4px 11px rgba(0, 0, 0, 0.1));
    --lp-shadow-lg: var(--tty-shadow-lg, 0px 6px 24px rgba(0, 0, 0, 0.16));
    --lp-transition: var(--tty-transition-normal, all 0.3s ease);
    --lp-transition-fast: var(--tty-transition-fast, all 0.2s ease);
    --lp-max-width: 1200px;
}

.tty-lp-dark {
    --lp-text: #e2e8f0;
    --lp-text-muted: #94a3b8;
    --lp-bg: #0f172a;
    --lp-bg-light: #1e293b;
    --lp-border: #334155;
}

/* === WPAUTOP PARAGRAPH SPACING === */
.tty-lp-block__text p,
.tty-lp-block__highlight p,
.tty-lp-block__quote p,
.tty-lp-feature__desc p,
.tty-lp-step__desc p,
.tty-lp-testimonial__text p,
.tty-lp-variant-card__desc p {
    margin-bottom: 1em;
}
.tty-lp-block__text p:last-child,
.tty-lp-block__highlight p:last-child,
.tty-lp-block__quote p:last-child,
.tty-lp-feature__desc p:last-child,
.tty-lp-step__desc p:last-child,
.tty-lp-testimonial__text p:last-child,
.tty-lp-variant-card__desc p:last-child {
    margin-bottom: 0;
}

/* FAQ answer — tighter spacing */
.tty-lp-faq__answer p {
    margin: 0 0 0.5em;
}
.tty-lp-faq__answer p:last-child {
    margin-bottom: 0;
}

/* Lists inside content areas */
.tty-lp-block__text ul,
.tty-lp-block__text ol,
.tty-lp-block__highlight ul,
.tty-lp-block__highlight ol,
.tty-lp-faq__answer ul,
.tty-lp-faq__answer ol {
    margin: 0.4em 0 0.6em;
    padding-left: 1.4em;
}
.tty-lp-block__text li,
.tty-lp-block__highlight li,
.tty-lp-faq__answer li {
    margin-bottom: 0.25em;
}
.tty-lp-block__text li:last-child,
.tty-lp-block__highlight li:last-child,
.tty-lp-faq__answer li:last-child {
    margin-bottom: 0;
}

/* === GLOBAL === */
.tty-lp-page {
    font-family: 'Figtree', sans-serif;
    color: var(--lp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.tty-lp-page *,
.tty-lp-page *::before,
.tty-lp-page *::after {
    box-sizing: border-box;
}

/* Headings aligned with theme */
.tty-lp-page h1,
.tty-lp-page h2,
.tty-lp-page h3,
.tty-lp-page h4,
.tty-lp-page h5,
.tty-lp-page h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    color: var(--lp-heading);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Heartbeat SVG divider — uses theme SVG, we only style the container */
.tty-lp-heartbeat-container {
    margin: 0 0 15px 0;
    height: 40px;
    display: flex;
    align-items: center;
}

.tty-lp-heartbeat-container--center {
    justify-content: center;
}

/* === BUTTONS — pill shape matching theme === */
.tty-lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--lp-radius-lg);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    transition: var(--lp-transition);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.tty-lp-btn--primary {
    background: var(--lp-accent);
    color: #fff;
}

/* Shine animation on hover — matching theme buttons */
.tty-lp-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.tty-lp-btn--primary:hover::before {
    left: 150%;
}

.tty-lp-btn--primary:hover {
    background: var(--lp-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-md);
    color: #fff;
}

.tty-lp-btn--secondary {
    background: var(--lp-bg-light);
    color: var(--lp-accent);
    border: 2px solid var(--lp-accent);
}

.tty-lp-btn--outline {
    background: transparent;
    color: var(--lp-accent);
    border: 2px solid var(--lp-accent);
}

.tty-lp-btn--gradient {
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-hover));
    color: #fff;
}

.tty-lp-btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* === HERO === */
/* === HERO SECTION === */
.tty-lp-hero {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--lp-bg);
}

.tty-lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.3) 100%);
    opacity: var(--overlay-opacity, 0.5);
    z-index: 1;
}

/* Auto-set white text when bg image is present */
.tty-lp-hero[style*="background-image"] .tty-lp-hero__headline {
    color: #ffffff;
}
.tty-lp-hero[style*="background-image"] .tty-lp-hero__subheadline {
    color: rgba(255, 255, 255, 0.85);
}
.tty-lp-hero[style*="background-image"] .tty-lp-hero__price {
    color: #ffffff;
}
.tty-lp-hero[style*="background-image"] .tty-lp-hero__stock {
    color: #ffffff;
}
.tty-lp-hero[style*="background-image"] .tty-lp-hero__rating-count {
    color: rgba(255, 255, 255, 0.7);
}

.tty-lp-hero__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tty-lp-hero__content {
    position: relative;
    z-index: 2;
}

.tty-lp-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.tty-lp-hero__headline {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0;
    color: var(--lp-heading);
    letter-spacing: -0.02em;
}

.tty-lp-hero__subheadline {
    font-size: 18px;
    color: var(--tty-text-primary);
    margin: 0 0 24px;
    line-height: 1.6;
}

.tty-lp-hero__product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.tty-lp-hero__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--lp-accent);
}

.tty-lp-hero__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
}

.tty-lp-hero__rating-count {
    color: var(--lp-text-muted);
    font-size: 14px;
    margin-left: 4px;
}

.tty-lp-hero__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.tty-lp-hero__stock.in-stock { color: #22c55e; }
.tty-lp-hero__stock.out-of-stock { color: #ef4444; }

/* Product image */
.tty-lp-hero__media {
    border-radius: 24px;
    overflow: hidden;
    align-self: center;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tty-lp-hero__image {
    width: 100%;
    height: 100%;
}

/* Without bg: subtle shadow */
.tty-lp-hero:not([style*="background-image"]) .tty-lp-hero__media {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* With bg: white card for product image */
.tty-lp-hero[style*="background-image"] .tty-lp-hero__media {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 24px;
}

.tty-lp-hero[style*="background-image"] .tty-lp-hero__image {
    border-radius: 10px;
    overflow: hidden;
}

/* Works for both <img> and <picture> wrapping */
.tty-lp-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

.tty-lp-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.tty-lp-hero__video iframe,
.tty-lp-hero__video video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* === URGENCY === */
.tty-lp-urgency {
    position: relative;
    z-index: 2;
    max-width: var(--lp-max-width);
    margin: 24px auto 0;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: var(--lp-radius-sm);
}

.tty-lp-urgency__text {
    font-weight: 700;
    font-size: 15px;
}

.tty-lp-urgency__timer {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tty-lp-urgency__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.tty-lp-urgency__num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.tty-lp-urgency__label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
}

.tty-lp-urgency__sep {
    font-size: 20px;
    font-weight: 700;
    opacity: 0.5;
}

/* === TRUST BAR === */
.tty-lp-trust {
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    padding: 16px 0;
}

.tty-lp-trust__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.tty-lp-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
}

.tty-lp-trust__text {
    color: inherit;
}

.tty-lp-trust__item i {
    font-size: 20px;
    color: var(--lp-trust-icon-color, var(--lp-accent));
}

.tty-lp-trust--badges .tty-lp-trust__item {
    background: var(--lp-accent-light);
    padding: 8px 16px;
    border-radius: var(--lp-radius-sm);
}

/* === PRODUCTS / VARIANT CARDS === */
.tty-lp-products {
    padding: 80px 0;
    background: var(--lp-bg);
}

.tty-lp-products__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-products__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 4px;
}

.tty-lp-products__prescription-notice {
    text-align: center;
    background: #fef3c7;
    color: #92400e;
    padding: 12px 20px;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tty-lp-variant-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.tty-lp-variant-card {
    position: relative;
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    background: var(--lp-bg);
    transition: all var(--lp-transition);
    cursor: pointer;
}

.tty-lp-variant-card:hover {
    border-color: var(--lp-accent);
    box-shadow: var(--lp-shadow-lg);
    transform: translateY(-2px);
}

.tty-lp-variant-card--selected {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-light);
}

.tty-lp-variant-card--unavailable {
    opacity: 0.55;
    pointer-events: none;
    position: relative;
}
.tty-lp-variant-card--checking {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.tty-lp-variant-card--unavailable .tty-lp-variant-card__cart-overlay {
    display: none;
}
.tty-lp-variant-card__badge--unavailable {
    background: #6b7280 !important;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.tty-lp-variant-card__highlight,
.tty-lp-variant-card__badge {
    padding: 8px 0;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tty-lp-variant-card__body {
    padding: 20px;
}

.tty-lp-variant-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 12px;
}

.tty-lp-variant-card__name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.tty-lp-variant-card__desc p,
.tty-lp-variant-card__desc {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.tty-lp-variant-card__pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.tty-lp-variant-card__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-text);
}

.tty-lp-variant-card__price--sale del {
    font-size: 16px;
    color: var(--lp-text-muted);
    font-weight: 400;
}

.tty-lp-variant-card__price--sale ins {
    text-decoration: none;
    color: #dc2626;
    font-size: 22px;
    font-weight: 800;
}

.tty-lp-variant-card__discount {
    background: #fef2f2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.tty-lp-variant-card__per-unit {
    font-size: 13px;
    color: var(--lp-text-muted);
}

/* Cart overlay — compact bar at card bottom */
.tty-lp-variant-card__cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-radius: 0 0 calc(var(--lp-radius) - 2px) calc(var(--lp-radius) - 2px);
}

.tty-lp-variant-card--selected .tty-lp-variant-card__cart-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop: also show on hover */
@media (hover: hover) and (pointer: fine) {
    .tty-lp-variant-card:hover .tty-lp-variant-card__cart-overlay {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.tty-lp-variant-card__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--lp-radius-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tty-lp-variant-card__cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* Shine animation */
.tty-lp-variant-card__cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.tty-lp-variant-card__cart-btn:hover::before {
    left: 150%;
}

.tty-lp-variant-card__cart-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.tty-lp-variant-card__cart-btn.added {
    background: rgba(22, 163, 74, 0.8);
    border-color: rgba(22, 163, 74, 0.9);
}

.tty-lp-variant-card__action {
    display: none;
}

.tty-lp-variant-card__radio {
    display: none;
}

/* === ADD TO CART (hidden form — only holds WC fields) === */
.tty-lp-add-to-cart {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.tty-lp-social-proof {
    text-align: center;
    font-size: 13px;
    color: var(--lp-text-muted);
    margin-top: 12px;
}

.tty-lp-social-proof i {
    color: var(--lp-accent);
}

.tty-lp-products__product-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tty-lp-products__product-link:hover {
    color: var(--lp-accent);
}
.tty-lp-products__product-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}
.tty-lp-products__product-link:hover i {
    transform: translateX(3px);
}

/* === PROCESS STEPS === */
.tty-lp-steps {
    padding: 80px 0;
}
.tty-lp-steps__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.tty-lp-steps__heading {
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 4px;
}
.tty-lp-steps__subheading {
    text-align: center;
    color: var(--tty-text-primary);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto 40px;
}
.tty-lp-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Vertical Timeline */
.tty-lp-steps--vertical .tty-lp-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 32px;
}
.tty-lp-steps--vertical .tty-lp-step:last-child {
    padding-bottom: 0;
}
.tty-lp-steps--vertical .tty-lp-step__marker {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tty-lp-step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.tty-lp-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-accent-light);
    color: var(--lp-accent);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.tty-lp-step__connector {
    width: 2px;
    flex: 1;
    min-height: 20px;
    background: var(--lp-border);
    margin-top: 8px;
}
.tty-lp-step__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 6px;
}
.tty-lp-step__desc {
    font-size: 15px;
    color: var(--lp-text);
    line-height: 1.6;
    margin: 0;
}
.tty-lp-step__image {
    margin-top: 12px;
    max-width: 320px;
}
.tty-lp-step__image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}
.tty-lp-step__content {
    padding-top: 8px;
}

/* Horizontal Steps */
.tty-lp-steps--horizontal .tty-lp-steps__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.tty-lp-steps--horizontal .tty-lp-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}
.tty-lp-steps--horizontal .tty-lp-step__marker {
    margin: 0 auto 16px;
}
.tty-lp-steps--horizontal .tty-lp-step__content {
    padding-top: 0;
}
/* Horizontal arrow connectors */
.tty-lp-steps--horizontal .tty-lp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--lp-border);
}

/* Numbered Cards */
.tty-lp-steps--cards .tty-lp-steps__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.tty-lp-steps--cards .tty-lp-step {
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.tty-lp-steps--cards .tty-lp-step:hover {
    border-color: var(--lp-accent);
    box-shadow: var(--lp-shadow);
}
.tty-lp-steps--cards .tty-lp-step__marker {
    margin-bottom: 16px;
}
.tty-lp-steps--cards .tty-lp-step__content {
    padding-top: 0;
}

/* Steps responsive */
@media (max-width: 768px) {
    .tty-lp-steps--horizontal .tty-lp-steps__list {
        flex-direction: column;
    }
    .tty-lp-steps--horizontal .tty-lp-step:not(:last-child)::after {
        display: none;
    }
}

/* === CONTENT BLOCKS === */
.tty-lp-block {
    padding: 48px 0;
}

.tty-lp-content-blocks .tty-lp-block:first-child {
    padding-top: 80px;
}

.tty-lp-content-blocks .tty-lp-block:last-child {
    padding-bottom: 80px;
}

.tty-lp-block--bg-light { background: var(--lp-bg-light); }
.tty-lp-block--bg-accent { background: var(--lp-accent-light); }
.tty-lp-block--bg-dark { background: #1e293b; color: #e2e8f0; }

.tty-lp-block__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-block__heading {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 24px;
}

.tty-lp-block__text-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Image on left: swap column order */
.tty-lp-block__text-image--left .tty-lp-block__image {
    order: -1;
}

.tty-lp-block__text {
    font-size: 16px;
    line-height: 1.7;
}

.tty-lp-block__image {
    border-radius: var(--lp-radius-lg, 12px);
    overflow: hidden;
}

.tty-lp-block__image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: var(--lp-radius-lg, 12px);
}

.tty-lp-block__highlight {
    background: var(--lp-accent-light);
    border-left: 4px solid var(--lp-accent);
    padding: 20px 24px;
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
}

.tty-lp-block__quote {
    font-size: 20px;
    font-style: italic;
    border-left: 4px solid var(--lp-accent);
    padding: 20px 32px;
    position: relative;
}

.tty-lp-block__quote i {
    color: var(--lp-accent);
    opacity: 0.3;
    font-size: 32px;
    position: absolute;
    top: -8px;
    left: 8px;
}

/* Responsive video embed */
.tty-lp-block__video {
    position: relative;
    max-width: 100%;
}

.tty-lp-block__video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: var(--lp-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tty-lp-block__cta-break {
    text-align: center;
    padding: 32px;
    background: var(--lp-accent-light);
    border-radius: var(--lp-radius);
}

/* === FEATURES === */
.tty-lp-features {
    padding: 80px 0;
    background: var(--lp-bg-light);
}

.tty-lp-features__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-features__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 4px;
}

.tty-lp-features__grid {
    display: grid;
    gap: 24px;
}

.tty-lp-features__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.tty-lp-features__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tty-lp-features__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.tty-lp-feature {
    text-align: center;
    padding: 0 0 24px;
    background: var(--lp-bg);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    transition: transform var(--lp-transition);
    overflow: hidden;
}



.tty-lp-feature__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--lp-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 16px;
}

/* When icon follows an image, overlap slightly */
.tty-lp-feature__image + .tty-lp-feature__icon {
    margin-top: -30px;
    position: relative;
    z-index: 1;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.tty-lp-feature__icon i {
    font-size: 28px;
    color: var(--lp-accent);
}

.tty-lp-feature__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 0 24px;
}

.tty-lp-feature__desc {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.6;
    padding: 0 24px;
}

.tty-lp-feature__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}

/* Features: list layout — horizontal rows */
.tty-lp-features--list .tty-lp-features__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tty-lp-features--list .tty-lp-feature {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 20px 24px;
}

.tty-lp-features--list .tty-lp-feature:hover {
    transform: none;
}

.tty-lp-features--list .tty-lp-feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.tty-lp-features--list .tty-lp-feature__image {
    flex-shrink: 0;
    width: 160px;
}

.tty-lp-features--list .tty-lp-feature__image img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: var(--lp-radius-sm);
}

/* Features: alternating layout — zigzag image+text */
.tty-lp-features--alternating .tty-lp-features__grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.tty-lp-features--alternating .tty-lp-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding: 32px;
    box-shadow: none;
    border: none;
    background: transparent;
}

.tty-lp-features--alternating .tty-lp-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.tty-lp-features--alternating .tty-lp-feature:hover {
    transform: none;
}

.tty-lp-features--alternating .tty-lp-feature__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    font-size: 32px;
    margin-bottom: 0;
}

.tty-lp-features--alternating .tty-lp-feature__image {
    flex-shrink: 0;
    width: 45%;
    max-width: 480px;
}

.tty-lp-features--alternating .tty-lp-feature__image img {
    width: 100%;
    height: auto;
    border-radius: var(--lp-radius-lg);
    margin-bottom: 0;
}

.tty-lp-features--alternating .tty-lp-feature__title {
    font-size: 22px;
}

.tty-lp-features--alternating .tty-lp-feature__desc {
    font-size: 15px;
}

@media (max-width: 768px) {
    .tty-lp-features--alternating .tty-lp-feature,
    .tty-lp-features--alternating .tty-lp-feature:nth-child(even) {
        flex-direction: column;
    }

    .tty-lp-features--alternating .tty-lp-feature__image {
        width: 100%;
        max-width: none;
    }
}

/* === DATA TABLES === */
.tty-lp-tables {
    padding: 80px 0;
}

.tty-lp-tables__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-tables__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 4px;
}

.tty-lp-table-block {
    margin-bottom: 40px;
}

.tty-lp-table-block:last-child {
    margin-bottom: 0;
}

.tty-lp-table__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 16px;
    text-align: center;
}

.tty-lp-table__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tty-lp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.tty-lp-table th,
.tty-lp-table td {
    padding: 14px 20px;
}

.tty-lp-table th {
    font-weight: 700;
    color: var(--lp-text-muted);
    border-bottom: 2px solid var(--lp-border);
}

.tty-lp-table thead th {
    white-space: nowrap;
}

.tty-lp-table tbody th {
    border-bottom: 1px solid var(--lp-border);
}

.tty-lp-table td {
    border-bottom: 1px solid var(--lp-border);
    color: var(--lp-text);
}

.tty-lp-table tbody tr:last-child td,
.tty-lp-table tbody tr:last-child th {
    border-bottom: none;
}

/* Align */
.tty-lp-table--align-center th,
.tty-lp-table--align-center td {
    text-align: center;
}

.tty-lp-table--align-left th,
.tty-lp-table--align-left td {
    text-align: left;
}

/* Header styles */
.tty-lp-table--hdr-uppercase th {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.06em;
}

.tty-lp-table--hdr-bold th {
    text-transform: none;
    font-size: 15px;
    color: var(--lp-heading);
}

/* Style: striped */
.tty-lp-table--striped thead {
    background: var(--lp-bg-light);
}

.tty-lp-table--striped tbody tr:nth-child(even) {
    background: var(--lp-bg-light);
}

/* Style: clean (lines only — default look from screenshot) */
.tty-lp-table--clean thead {
    background: var(--lp-bg-light);
}

.tty-lp-table--clean tbody tr:hover {
    background: var(--lp-bg-light);
}

/* Style: bordered */
.tty-lp-table--bordered {
    border: 1px solid var(--lp-border);
}

.tty-lp-table--bordered th,
.tty-lp-table--bordered td {
    border: 1px solid var(--lp-border);
}

.tty-lp-table--bordered thead {
    background: var(--lp-bg-light);
}

/* Style: minimal */
.tty-lp-table--minimal th {
    border-bottom: 1px solid var(--lp-border);
}

.tty-lp-table--minimal td {
    border-bottom: none;
}

.tty-lp-table--minimal tbody tr + tr td {
    padding-top: 8px;
}

/* Highlight column */
.tty-lp-table__cell--highlight {
    background: var(--lp-accent-light);
    font-weight: 600;
}

/* Highlight row */
.tty-lp-table__row--highlight {
    background: var(--lp-accent-light) !important;
}

.tty-lp-table__row--highlight td {
    font-weight: 600;
}

/* Caption — inside <table> for proper semantics */
.tty-lp-table__caption {
    font-size: 12px;
    color: var(--lp-text-muted);
    text-align: center;
    padding: 12px 20px;
    font-style: italic;
    caption-side: bottom;
}

/* Row headers (first column <th scope="row">) */
.tty-lp-table tbody th[scope="row"] {
    font-weight: 500;
    color: var(--lp-text);
    text-align: inherit;
    border-bottom: 1px solid var(--lp-border);
}

/* Mobile scroll indicator */
.tty-lp-table-block--scroll .tty-lp-table__wrap {
    position: relative;
}

@media (max-width: 768px) {
    .tty-lp-table-block--scroll .tty-lp-table__wrap::after {
        content: '→';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to left, var(--lp-bg) 40%, transparent);
        color: var(--lp-text-muted);
        font-size: 18px;
        pointer-events: none;
    }

    .tty-lp-table-block--scroll .tty-lp-table__wrap.is-scrolled::after {
        display: none;
    }

    .tty-lp-table th,
    .tty-lp-table td {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* === COMPARISON TABLE === */
.tty-lp-comparison {
    padding: 80px 0;
    background: var(--lp-bg);
}

.tty-lp-comparison__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-comparison__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 4px;
}

.tty-lp-comparison__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tty-lp-comparison__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tty-lp-comparison__table th,
.tty-lp-comparison__table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--lp-border);
    font-size: 14px;
    vertical-align: middle;
}

.tty-lp-comparison__table thead th {
    border-bottom: 2px solid var(--lp-border);
}

.tty-lp-comparison__feature-col {
    min-width: 160px;
    width: 25%;
}

.tty-lp-comparison__product-col {
    min-width: 200px;
    max-width: 280px;
    vertical-align: top;
    padding: 24px 16px;
    text-align: center;
}

.tty-lp-comparison__product-col strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.tty-lp-comparison__product-col--highlighted {
    background: var(--lp-accent-light);
    position: relative;
}

.tty-lp-comparison__product-col--highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lp-accent);
    border-radius: 3px 3px 0 0;
}

.tty-lp-comparison__cell--highlighted {
    background: var(--lp-accent-light);
}

.tty-lp-comparison__product-img {
    margin: 0 auto 12px;
    display: block;
}

.tty-lp-comparison__product-img img {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    border-radius: var(--lp-radius-sm);
    margin: 0 auto 12px;
    display: block;
    background: #ffffff;
    padding: 4px;
    border: 1px solid var(--lp-border);
}

.tty-lp-comparison__variant-name {
    display: block;
    font-size: 13px;
    color: var(--lp-text-muted);
    margin-bottom: 4px;
}

.tty-lp-comparison__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tty-lp-comparison__price {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-accent);
    margin-top: 8px;
}

.tty-lp-comparison__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #f59e0b;
    font-size: 13px;
    margin-top: 6px;
}

.tty-lp-comparison__feature-name {
    text-align: left;
    font-weight: 600;
}

.tty-lp-comparison__feature-name i {
    margin-right: 8px;
    color: var(--lp-accent);
}

.tty-lp-comparison__yes {
    color: #22c55e;
    font-size: 20px;
}

.tty-lp-comparison__no {
    color: #e2e8f0;
    font-size: 20px;
}

.tty-lp-comparison__form {
    margin-top: 12px;
}

/* Alternating row bg */
.tty-lp-comparison__table tbody tr:nth-child(even) td {
    background: var(--lp-bg-light);
}

.tty-lp-comparison__table tbody tr:nth-child(even) .tty-lp-comparison__cell--highlighted {
    background: var(--lp-accent-light);
}

/* === TESTIMONIALS === */
.tty-lp-testimonials {
    padding: 80px 0;
    background: var(--lp-bg-light);
}

.tty-lp-testimonials__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-testimonials__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 4px;
}

.tty-lp-testimonials__grid {
    display: grid;
    gap: 20px;
}

.tty-lp-testimonials--grid .tty-lp-testimonials__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tty-lp-testimonials--carousel .tty-lp-testimonials__grid {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}

.tty-lp-testimonials--carousel .tty-lp-testimonial {
    min-width: 100%;
    scroll-snap-align: start;
}

.tty-lp-testimonial {
    background: var(--lp-bg);
    border-radius: var(--lp-radius);
    padding: 24px;
    box-shadow: var(--lp-shadow);
}

.tty-lp-testimonial__header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.tty-lp-testimonial__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tty-lp-testimonial__avatar--placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-text-muted);
}

.tty-lp-testimonial__name {
    display: block;
    font-size: 15px;
}

.tty-lp-testimonial__verified {
    font-size: 12px;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tty-lp-testimonial__date {
    font-size: 12px;
    color: var(--lp-text-muted);
}

.tty-lp-testimonial__rating {
    color: #f59e0b;
    margin-bottom: 8px;
}

.tty-lp-testimonial__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--lp-text);
}

.tty-lp-testimonial__source {
    font-size: 12px;
    color: var(--lp-text-muted);
    margin-top: 8px;
    display: block;
}

.tty-lp-testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
}

.tty-lp-testimonials__prev,
.tty-lp-testimonials__next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lp-border);
    background: var(--lp-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--lp-transition);
}

.tty-lp-testimonials__prev:hover,
.tty-lp-testimonials__next:hover {
    border-color: var(--lp-accent);
    color: var(--lp-accent);
}

/* === FAQ === */
.tty-lp-faq {
    padding: 80px 0;
    background: var(--lp-bg-light);
}

.tty-lp-faq__container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-faq__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 4px;
}

.tty-lp-faq__item {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.tty-lp-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--lp-faq-q-bg, var(--lp-bg));
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    color: var(--lp-text);
    transition: background var(--lp-transition);
    gap: 12px;
}

.tty-lp-faq__question:hover { background: var(--lp-faq-q-bg, var(--lp-bg-light)); }

.tty-lp-faq__question[aria-expanded="true"] { background: var(--lp-faq-q-bg, var(--lp-bg-light)); }

.tty-lp-faq__icon {
    transition: transform 0.3s ease;
    color: var(--lp-accent);
    flex-shrink: 0;
}

.tty-lp-faq__question[aria-expanded="true"] .tty-lp-faq__icon {
    transform: rotate(180deg);
}

.tty-lp-faq__answer {
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text-muted);
    background: var(--lp-faq-a-bg, transparent);
}

/* === RELATED === */
.tty-lp-related {
    padding: 80px 0;
    background: var(--lp-bg-light);
}

.tty-lp-related__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-related__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 4px;
}

.tty-lp-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tty-lp-related__card {
    display: block;
    text-decoration: none;
    color: var(--lp-text);
    background: var(--lp-bg);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow);
    transition: all var(--lp-transition);
}

.tty-lp-related__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-lg);
}

.tty-lp-related__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tty-lp-related__info {
    padding: 16px 20px;
}

.tty-lp-related__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.tty-lp-related__subtitle {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin: 0 0 8px;
}

.tty-lp-related__verified {
    font-size: 12px;
    color: #22c55e;
    display: block;
    margin-bottom: 8px;
}

.tty-lp-related__link {
    color: var(--lp-accent);
    font-weight: 600;
    font-size: 14px;
}

/* List layout: horizontal rows */
.tty-lp-related--list .tty-lp-related__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tty-lp-related--list .tty-lp-related__card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 24px;
    border-radius: var(--lp-radius-sm);
    box-shadow: none;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    padding: 0;
}

.tty-lp-related--list .tty-lp-related__card:hover {
    transform: none;
    border-color: var(--lp-accent);
    background: var(--lp-accent-light);
    box-shadow: none;
}

.tty-lp-related--list .tty-lp-related__image {
    width: 120px;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
}

.tty-lp-related--list .tty-lp-related__image img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    display: block;
}

.tty-lp-related--list .tty-lp-related__info {
    padding: 16px 0;
}

.tty-lp-related--list .tty-lp-related__title {
    font-size: 17px;
    margin: 0 0 4px;
}

.tty-lp-related--list .tty-lp-related__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.tty-lp-related--list .tty-lp-related__end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 16px 20px 16px 0;
    white-space: nowrap;
}

.tty-lp-related--list .tty-lp-related__verified {
    margin: 0;
    font-size: 12px;
}

.tty-lp-related--list .tty-lp-related__link {
    font-size: 13px;
}

@media (max-width: 600px) {
    .tty-lp-related--list .tty-lp-related__card {
        grid-template-columns: 90px 1fr;
        gap: 16px;
    }

    .tty-lp-related--list .tty-lp-related__image {
        width: 90px;
    }

    .tty-lp-related--list .tty-lp-related__end {
        display: none;
    }

    .tty-lp-related--list .tty-lp-related__verified,
    .tty-lp-related--list .tty-lp-related__link {
        display: inline;
    }
}

/* === SOURCES === */
.tty-lp-sources {
    padding: 80px 0;
}

.tty-lp-sources__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-sources__heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 4px;
}

.tty-lp-sources__list {
    list-style: none;
    counter-reset: source;
    display: grid;
    gap: 12px;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-sources__item {
    counter-increment: source;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lp-text);
    padding: 12px 20px;
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    transition: border-color 0.2s ease;
}

.tty-lp-sources__item:hover {
    border-color: var(--lp-accent);
}

.tty-lp-sources__item::before {
    content: counter(source);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tty-lp-sources__link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    color: var(--lp-text);
}

.tty-lp-sources__link:hover {
    color: var(--lp-accent-hover);
    text-decoration: underline;
}

.tty-lp-sources__link i {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.5;
}

.tty-lp-sources__text {
    color: var(--lp-text);
}

/* === STICKY CTA === */
.tty-lp-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tty-lp-sticky-cta.visible {
    transform: translateY(0);
}

.tty-lp-sticky-cta__container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.tty-lp-sticky-cta__info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tty-lp-sticky-cta__thumb {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: var(--lp-radius-sm);
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--lp-border);
    flex-shrink: 0;
}

.tty-lp-sticky-cta__name {
    font-weight: 600;
    font-size: 14px;
}

.tty-lp-sticky-cta__price {
    font-size: 13px;
    color: var(--lp-accent);
    font-weight: 700;
}

.tty-lp-sticky-cta__btn {
    padding: 10px 24px;
    font-size: 15px;
    white-space: nowrap;
}

/* === SR-ONLY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   LAYOUT STYLES
   ========================================================================== */

/* --- MEDICAL: clean, clinical, structured --- */
.tty-lp-layout-medical {
    --lp-max-width: 1080px;
    font-family: 'Figtree', sans-serif;
}

.tty-lp-layout-medical .tty-lp-hero {
    border-bottom: 3px solid var(--lp-accent);
}

.tty-lp-layout-medical .tty-lp-variant-card {
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: none;
}

.tty-lp-layout-medical .tty-lp-variant-card--selected {
    border-color: var(--lp-accent);
    background: var(--lp-accent-light);
}

/* Medical layout — team section gets subtle medical styling */
.tty-lp-layout-medical .tty-lp-team {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafe 100%);
}

.tty-lp-layout-medical .tty-lp-testimonial {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: none;
}

.tty-lp-layout-medical .tty-lp-faq__question {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
}

.tty-lp-layout-medical section {
    border-bottom: 1px solid #f1f5f9;
}

.tty-lp-layout-medical .tty-lp-btn--primary {
    border-radius: 4px;
}

/* --- MINIMAL: spacious, clean, subtle --- */
.tty-lp-layout-minimal {
    --lp-max-width: 960px;
    --lp-radius-sm: 0;
    --lp-radius-lg: 0;
}

.tty-lp-layout-minimal .tty-lp-hero {
    background: var(--lp-bg) !important;
    text-align: center;
    padding: 80px 24px;
}

.tty-lp-layout-minimal .tty-lp-hero__overlay {
    display: none;
}

.tty-lp-layout-minimal .tty-lp-hero__headline {
    font-weight: 300;
    letter-spacing: -0.02em;
}

.tty-lp-layout-minimal .tty-lp-variant-card {
    border: 1px solid #e5e7eb;
    box-shadow: none;
    border-radius: 0;
}

.tty-lp-layout-minimal .tty-lp-variant-card--selected {
    border-color: var(--lp-accent);
    box-shadow: none;
}

.tty-lp-layout-minimal .tty-lp-btn {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
}

.tty-lp-layout-minimal .tty-lp-trust-bar {
    background: transparent;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.tty-lp-layout-minimal .tty-lp-team {
    text-align: center;
}

.tty-lp-layout-minimal .tty-lp-testimonial {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    padding-bottom: 32px;
}

.tty-lp-layout-minimal .tty-lp-faq__question {
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
}

.tty-lp-layout-minimal .tty-lp-features__grid {
    gap: 48px;
}

.tty-lp-layout-minimal .tty-lp-feature {
    box-shadow: none;
    border: none;
    text-align: center;
}

/* --- PREMIUM: bold, high-impact, dramatic --- */
.tty-lp-layout-premium {
    --lp-max-width: 1280px;
    --lp-radius-sm: 12px;
    --lp-radius-lg: 20px;
}

.tty-lp-layout-premium .tty-lp-hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tty-lp-layout-premium .tty-lp-variant-card {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tty-lp-layout-premium .tty-lp-variant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tty-lp-layout-premium .tty-lp-variant-card--selected {
    border-color: var(--lp-accent);
    box-shadow: 0 8px 32px rgba(var(--lp-accent-rgb, 0, 102, 204), 0.2);
}

.tty-lp-layout-premium .tty-lp-btn--primary {
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-hover));
    box-shadow: 0 4px 16px rgba(var(--lp-accent-rgb, 0, 102, 204), 0.35);
}

.tty-lp-layout-premium .tty-lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--lp-accent-rgb, 0, 102, 204), 0.45);
}

.tty-lp-layout-premium .tty-lp-team {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.tty-lp-layout-premium .tty-lp-testimonial {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tty-lp-layout-premium .tty-lp-faq__question {
    border-radius: 12px;
    background: var(--lp-bg-light);
}

.tty-lp-layout-premium .tty-lp-feature {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tty-lp-layout-premium .tty-lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.tty-lp-layout-premium .tty-lp-trust-bar {
    background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-hover) 100%);
    color: #ffffff;
    border-radius: 16px;
    max-width: var(--lp-max-width);
    margin: 24px auto;
    padding: 20px 32px;
}

.tty-lp-layout-premium .tty-lp-trust-item__text {
    color: #ffffff;
}

.tty-lp-layout-premium .tty-lp-trust-item i {
    color: #ffffff;
    opacity: 0.85;
}

.tty-lp-layout-premium .tty-lp-sticky-cta {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .tty-lp-hero__container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    .tty-lp-hero { padding: 48px 0 24px; }

    .tty-lp-variant-cards {
        grid-template-columns: 1fr;
    }

    .tty-lp-team__container { text-align: center; }

    .tty-lp-block__text-image {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tty-lp-features__grid--cols-3,
    .tty-lp-features__grid--cols-4 {
        grid-template-columns: 1fr;
    }

    .tty-lp-comparison__table-wrap {
        margin: 0 -16px;
    }

    .tty-lp-trust__container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .tty-lp-urgency {
        flex-direction: column;
        gap: 8px;
    }

    .tty-lp-sticky-cta__info { display: none; }
}


/* ============================================================
   PROCESS STEPS
   ============================================================ */

.tty-lp-steps {
    padding: 80px 0;
}

.tty-lp-steps__container {
    max-width: var(--lp-max-width, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-steps__heading {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 4px;
}

.tty-lp-steps__subheading {
    text-align: center;
    font-size: 17px;
    color: var(--tty-text-primary);
    max-width: 640px;
    margin: 0 auto 40px;
}

.tty-lp-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --- Vertical Timeline --- */
.tty-lp-steps--vertical .tty-lp-step {
    display: flex;
    gap: 24px;
    position: relative;
}

.tty-lp-steps--vertical .tty-lp-step + .tty-lp-step {
    margin-top: 0;
}

.tty-lp-steps--vertical .tty-lp-step__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tty-lp-steps--vertical .tty-lp-step__number,
.tty-lp-steps--vertical .tty-lp-step__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(var(--lp-accent-rgb), 0.25);
}

.tty-lp-steps--vertical .tty-lp-step__icon i {
    font-size: 22px;
}

.tty-lp-steps--vertical .tty-lp-step__connector {
    width: 3px;
    flex: 1;
    min-height: 32px;
    background: linear-gradient(to bottom, var(--lp-accent), var(--lp-border));
    border-radius: 2px;
}

.tty-lp-steps--vertical .tty-lp-step__content {
    padding-bottom: 40px;
    flex: 1;
}

.tty-lp-step__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 8px;
}

.tty-lp-step__desc {
    font-size: 15px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin: 0;
}

.tty-lp-step__image {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.tty-lp-step__image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* --- Horizontal Steps --- */
.tty-lp-steps--horizontal .tty-lp-steps__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
}

.tty-lp-steps--horizontal .tty-lp-step {
    flex: 1 0 200px;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    scroll-snap-align: start;
    position: relative;
}

.tty-lp-steps--horizontal .tty-lp-step__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.tty-lp-steps--horizontal .tty-lp-step__number,
.tty-lp-steps--horizontal .tty-lp-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(var(--lp-accent-rgb), 0.25);
}

.tty-lp-steps--horizontal .tty-lp-step__connector {
    display: none;
}

/* Arrow between horizontal steps */
.tty-lp-steps--horizontal .tty-lp-step + .tty-lp-step::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--lp-accent);
    border-bottom: 2px solid var(--lp-accent);
    transform: rotate(-45deg);
}

/* --- Numbered Cards --- */
.tty-lp-steps--cards .tty-lp-steps__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tty-lp-steps--cards .tty-lp-step {
    background: var(--lp-bg);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--lp-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tty-lp-steps--cards .tty-lp-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.tty-lp-steps--cards .tty-lp-step__marker {
    margin-bottom: 16px;
}

.tty-lp-steps--cards .tty-lp-step__number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--lp-accent-light);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.tty-lp-steps--cards .tty-lp-step__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--lp-accent-light);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tty-lp-steps--cards .tty-lp-step__connector {
    display: none;
}


/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.tty-lp-toc {
    padding: 40px 0;
}

.tty-lp-toc__container {
    max-width: var(--lp-max-width, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-toc__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-heading);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tty-lp-toc__title i {
    color: var(--lp-accent);
    font-size: 18px;
}

.tty-lp-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-counter;
}

.tty-lp-toc__item {
    counter-increment: toc-counter;
}

.tty-lp-toc__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--lp-text);
    text-decoration: none;
    font-size: 15px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.tty-lp-toc__link::before {
    content: counter(toc-counter);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lp-accent-light);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.tty-lp-toc__link:hover {
    background: var(--lp-accent-light);
    color: var(--lp-accent);
}

.tty-lp-toc__link:hover::before {
    background: var(--lp-accent);
    color: #fff;
}

.tty-lp-toc__item.is-active .tty-lp-toc__link {
    color: var(--lp-accent);
    font-weight: 600;
}

.tty-lp-toc__item.is-active .tty-lp-toc__link::before {
    background: var(--lp-accent);
    color: #fff;
}

/* Overflow collapse */
.tty-lp-toc__item--hidden {
    display: none;
}

.tty-lp-toc.is-expanded .tty-lp-toc__item--hidden {
    display: list-item;
}

.tty-lp-toc__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 16px;
    border: 1px solid var(--lp-border);
    border-radius: 30px;
    background: transparent;
    color: var(--lp-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tty-lp-toc__toggle:hover {
    background: var(--lp-accent-light);
    border-color: var(--lp-accent);
}

.tty-lp-toc__toggle i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.tty-lp-toc__toggle-less {
    display: none;
}

.tty-lp-toc.is-expanded .tty-lp-toc__toggle-more {
    display: none;
}

.tty-lp-toc.is-expanded .tty-lp-toc__toggle-less {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Box style (default) — clean card with vertical list --- */
.tty-lp-toc--box .tty-lp-toc__box {
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 28px 32px;
    max-width: 680px;
}

.tty-lp-toc--box .tty-lp-toc__list {
    columns: 1;
}

/* --- Inline style — horizontal navigation strip --- */
.tty-lp-toc--inline {
    padding: 24px 0;
    background: var(--lp-bg-light);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.tty-lp-toc--inline .tty-lp-toc__box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tty-lp-toc--inline .tty-lp-toc__title {
    margin: 0;
    white-space: nowrap;
    font-size: 14px;
    color: var(--lp-text-muted);
}

.tty-lp-toc--inline .tty-lp-toc__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tty-lp-toc--inline .tty-lp-toc__link {
    padding: 6px 16px;
    border: 1px solid var(--lp-border);
    border-radius: 30px;
    font-size: 14px;
    gap: 8px;
    background: var(--lp-bg);
}

.tty-lp-toc--inline .tty-lp-toc__link::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.tty-lp-toc--inline .tty-lp-toc__link:hover {
    border-color: var(--lp-accent);
    background: var(--lp-accent-light);
}

.tty-lp-toc--inline .tty-lp-toc__item.is-active .tty-lp-toc__link {
    border-color: var(--lp-accent);
    background: var(--lp-accent-light);
}



/* ============================================================
   MEDICAL TEAM CAROUSEL (matches front-page expert carousel)
   ============================================================ */

.tty-lp-team {
    padding: 80px 0;
    overflow: hidden;
}

.tty-lp-team__container {
    max-width: var(--lp-max-width, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-lp-team__heading {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 4px;
}

.tty-lp-team__lead {
    text-align: center;
    font-size: 17px;
    color: var(--tty-text-primary);
    max-width: 640px;
    margin: 0 auto 40px;
}

/* Carousel wrapper */
.tty-lp-team__carousel-wrapper {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.tty-lp-team__carousel {
    overflow: visible;
    cursor: grab;
}

.tty-lp-team__carousel.is-dragging {
    cursor: grabbing;
}

/* Track — flex row, animated via translateX */
.tty-lp-team__track {
    display: flex;
    gap: 30px;
    padding: 20px 60px 40px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Nav buttons — same as front-page */
.tty-lp-team__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--lp-accent);
    font-size: 18px;
}

.tty-lp-team__nav:hover {
    background: var(--lp-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
}

.tty-lp-team__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tty-lp-team__nav:disabled:hover {
    background: #fff;
    color: var(--lp-accent);
    transform: translateY(-50%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tty-lp-team__nav--prev { left: 0; }
.tty-lp-team__nav--next { right: 0; }

/* Dots */
.tty-lp-team__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.tty-lp-team__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lp-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tty-lp-team__dot.is-active {
    background: var(--lp-accent);
    transform: scale(1.2);
}

/* Card — matches front-page .tty-expert-card */
.tty-lp-team__card {
    flex: 0 0 280px;
    min-width: 280px;
    background: var(--lp-bg);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.tty-lp-team__card:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

/* Visibility states — same as front-page */
.tty-lp-team__card.out-of-view {
    opacity: 0;
    transform: scale(0.9) translateZ(0);
    pointer-events: none;
}

.tty-lp-team__card.partial-view {
    opacity: 0.3;
    transform: scale(0.95) translateZ(0);
}

/* Photo — matches front-page .tty-expert-image */
.tty-lp-team__photo {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 -40px 60px -40px rgba(0, 0, 0, 0.15);
}

.tty-lp-team__img,
picture.tty-lp-team__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* picture element itself needs to fill container */
picture.tty-lp-team__img {
    display: block;
    width: 100%;
    height: 100%;
}

.tty-lp-team__card:hover .tty-lp-team__img,
.tty-lp-team__card:hover picture.tty-lp-team__img img {
    transform: scale(1.08) translateZ(0);
}

.tty-lp-team__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
}

/* Badge — matches front-page .tty-expert-badge */
.tty-lp-team__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--lp-accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Content — matches front-page .tty-expert-content */
.tty-lp-team__info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tty-lp-team__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--lp-heading);
    margin: 5px 0 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.tty-lp-team__card:hover .tty-lp-team__name {
    color: var(--lp-accent);
}

/* Title — pipe separator → line breaks (same as front-page) */
.tty-lp-team__title {
    font-size: 14px;
    color: var(--lp-text-muted);
    line-height: 1.45;
    margin-top: 12px;
    margin-bottom: 12px;
}

.tty-lp-team__title p {
    font-size: 14px;
    color: var(--lp-text-muted);
    line-height: 1.45;
}

.tty-lp-team__specialty {
    font-size: 13px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Link — full-width button at bottom + stretched over entire card */
.tty-lp-team__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: calc(100% + 40px);
    margin: auto -20px -20px -20px;
    padding: 18px;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent));
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s ease;
    position: static;
    border-radius: 0 0 20px 20px;
}

/* Stretched link — covers entire card for click */
.tty-lp-team__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
}

.tty-lp-team__link:hover {
    opacity: 0.9;
    color: #fff;
}

.tty-lp-team__link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Mobile — native scroll instead of JS carousel */
@media (max-width: 768px) {
    .tty-lp-team__nav { display: none; }
    .tty-lp-team__dots { display: none; }

    .tty-lp-team__carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .tty-lp-team__carousel::-webkit-scrollbar { display: none; }

    .tty-lp-team__track {
        padding: 10px 20px 20px;
        transition: none;
    }

    .tty-lp-team__card {
        flex: 0 0 210px;
        min-width: 210px;
        scroll-snap-align: start;
        transform: none !important;
        opacity: 1 !important;
    }
    .tty-lp-team__card:hover {
        transform: none !important;
    }
    .tty-lp-team__card.out-of-view,
    .tty-lp-team__card.partial-view {
        opacity: 1 !important;
        transform: none !important;
    }

    .tty-lp-team__photo {
        height: 150px;
    }
    .tty-lp-team__badge {
        width: 35px;
        height: 35px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    .tty-lp-team__info {
        padding: 15px;
    }
    .tty-lp-team__name {
        font-size: 16px;
    }
    .tty-lp-team__title {
        font-size: 12px;
        margin-bottom: 0;
        line-height: 1.3;
    }
    .tty-lp-team__title p {
        font-size: 12px;
        line-height: 1.3;
    }
    .tty-lp-team__specialty {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .tty-lp-team__link {
        margin: 15px -15px -15px;
        padding: 12px;
        font-size: 13px;
    }
}


/* ============================================================
   SMOOTH SCROLL for TOC links
   ============================================================ */
html {
    scroll-behavior: smooth;
}


@media (max-width: 480px) {
    .tty-lp-hero__headline { font-size: 24px; }
    .tty-lp-products__heading,
    .tty-lp-features__heading,
    .tty-lp-testimonials__heading,
    .tty-lp-faq__heading,
    .tty-lp-comparison__heading,
    .tty-lp-related__heading,
    .tty-lp-steps__heading {
        font-size: 22px;
    }
    .tty-lp-steps--horizontal .tty-lp-step {
        flex: 1 0 180px;
        min-width: 180px;
    }
    .tty-lp-toc--inline .tty-lp-toc__box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
