:root {
    --td-bg: #000;
    --td-bg-raised: #0a0a0a;
    --td-border: #27272a;
    --td-red: #dc2626;
    --td-red-dark: #b91c1c;
    --td-text: #fff;
    --td-text-dim: #a1a1aa;
    --td-text-faint: #71717a;
}

body {
    background: var(--td-bg);
    color: var(--td-text);
}

.td-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Eyebrow / kicker */
.td-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--td-red);
    margin: 0 0 16px;
}

.td-eyebrow-num {
    padding: 2px 9px;
    border: 1px solid rgba(220, 38, 38, .4);
    border-radius: 6px;
    background: rgba(220, 38, 38, .1);
}

.td-h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
}

.td-h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0;
}

.td-h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.td-lede {
    color: var(--td-text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

/* Buttons */
.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}

.td-btn--primary {
    background: var(--td-red);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(220, 38, 38, .5);
}

.td-btn--primary:hover {
    background: var(--td-red-dark);
}

.td-btn--full {
    width: 100%;
}

/* Hero */
.td-hero {
    padding: 160px 0 80px;
}

.td-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 900px) {
    .td-hero-grid {
        grid-template-columns: 1fr;
    }

    .td-hero {
        padding-top: 120px;
    }
}

/* Forms */
.td-form-card {
    background: var(--td-bg-raised);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 24px;
}

.td-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.td-input {
    flex: 1;
    min-width: 200px;
    background: #000;
    border: 1px solid var(--td-border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--td-text);
    font-size: 14px;
}

.td-input:focus {
    outline: none;
    border-color: var(--td-red);
}

.td-form-error {
    display: none;
    color: #f87171;
    font-size: 13px;
    margin: 10px 0 0;
}

.td-form-error.is-visible {
    display: block;
}

.td-form-note {
    color: var(--td-text-faint);
    font-size: 12.5px;
    margin: 10px 0 0;
}

/* Decorative CTR mock (hero visual) */
.td-mock {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--td-border);
    background: var(--td-bg-raised);
    padding: 24px;
}

.td-mock-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.td-mock-row + .td-mock-row {
    border-top: 1px solid var(--td-border);
}

.td-mock-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 54px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-mock-thumb--before {
    background: linear-gradient(135deg, #27272a, #18181b);
    border: 1px dashed #3f3f46;
}

.td-mock-thumb--before span {
    font-family: monospace;
    font-size: 8px;
    color: #71717a;
    line-height: 1.3;
    text-align: center;
    padding: 0 4px;
    letter-spacing: -.02em;
}

.td-mock-thumb--after {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    border: 1px solid rgba(220, 38, 38, .6);
}

.td-mock-thumb--after::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 60%);
}

.td-mock-thumb--after span {
    position: relative;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.td-mock-meta {
    flex: 1;
    min-width: 0;
}

.td-mock-bar-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
    margin-top: 8px;
}

.td-mock-bar {
    height: 100%;
    border-radius: 999px;
}

.td-mock-bar--before {
    width: 22%;
    background: #52525b;
}

.td-mock-bar--after {
    width: 78%;
    background: linear-gradient(90deg, var(--td-red), #f87171);
}

.td-mock-label {
    font-size: 12px;
    color: var(--td-text-dim);
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.td-mock-ctr {
    font-family: monospace;
    font-weight: 700;
    font-size: 12px;
}

.td-mock-ctr--before {
    color: var(--td-text-faint);
}

.td-mock-ctr--after {
    color: #fca5a5;
}

/* Ticker */
.td-ticker-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid var(--td-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--td-text-dim);
    white-space: nowrap;
}

/* Sections */
.td-section {
    padding: 88px 0;
}

.td-section--tight {
    padding: 24px 0;
}

/* Grid + cards */
.td-grid {
    display: grid;
    gap: 20px;
}

.td-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.td-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.td-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {

    .td-grid--3,
    .td-grid--4,
    .td-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .td-grid--3,
    .td-grid--4,
    .td-grid--6 {
        grid-template-columns: 1fr;
    }
}

.td-card {
    background: var(--td-bg-raised);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 26px;
}

.td-card p {
    color: var(--td-text-dim);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.td-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(220, 38, 38, .3);
    color: var(--td-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.td-card-icon svg {
    width: 20px;
    height: 20px;
}

.td-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--td-red);
    background: rgba(220, 38, 38, .12);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 12px;
}

/* Pain items */
.td-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 700px) {
    .td-pain-grid {
        grid-template-columns: 1fr;
    }
}

.td-pain-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--td-border);
    background: var(--td-bg-raised);
}

.td-pain-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(220, 38, 38, .15);
    color: var(--td-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.td-pain-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.td-pain-item p {
    margin: 0;
    color: var(--td-text-dim);
    font-size: 14px;
    line-height: 1.5;
}

/* Checklist */
.td-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.td-checklist li {
    display: flex;
    gap: 12px;
}

.td-checklist .mark {
    color: var(--td-red);
    font-weight: 700;
    flex-shrink: 0;
}

.td-checklist .body {
    color: var(--td-text-dim);
    font-size: 14.5px;
}

.td-checklist .body strong {
    color: var(--td-text);
}

/* Before/after compare */
.td-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .td-compare {
        grid-template-columns: 1fr;
    }
}

.td-compare-col {
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--td-border);
    background: var(--td-bg-raised);
}

.td-compare-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.td-compare-visual--before {
    background: #18181b;
    border: 1px solid #27272a;
}

.td-compare-visual--before .clutter {
    position: absolute;
    font-family: monospace;
    font-size: 9px;
    color: #52525b;
    line-height: 1.4;
}

.td-compare-visual--before .clutter:nth-child(1) { top: 8px; left: 8px; }
.td-compare-visual--before .clutter:nth-child(2) { top: 8px; right: 8px; text-align: right; }
.td-compare-visual--before .clutter:nth-child(3) { bottom: 8px; left: 8px; }
.td-compare-visual--before .clutter:nth-child(4) { bottom: 8px; right: 8px; }
.td-compare-visual--before .clutter:nth-child(5) {
    font-size: 13px;
    color: #71717a;
    font-weight: 700;
}

.td-compare-visual--after {
    background: linear-gradient(135deg, #7f1d1d, #dc2626 60%, #7f1d1d);
    border: 1px solid rgba(220, 38, 38, .6);
}

.td-compare-visual--after::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .3), transparent 55%);
}

.td-compare-visual--after .word {
    position: relative;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.td-compare-col p {
    margin: 0;
    color: var(--td-text-dim);
    font-size: 14.5px;
    line-height: 1.6;
}

.td-compare-col--after {
    border-color: rgba(220, 38, 38, .4);
}

.td-compare-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 14px;
}

.td-compare-tag--before {
    background: rgba(255, 255, 255, .06);
    color: var(--td-text-faint);
}

.td-compare-tag--after {
    background: rgba(220, 38, 38, .15);
    color: var(--td-red);
}

/* Testimonials */
.td-testimonial {
    background: var(--td-bg-raised);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 26px;
}

.td-testimonial-stars {
    color: var(--td-red);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.td-testimonial blockquote {
    margin: 0 0 18px;
    color: #e4e4e7;
    font-size: 14.5px;
    line-height: 1.6;
}

.td-testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.td-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(220, 38, 38, .15);
    color: var(--td-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.td-testimonial-person .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--td-text);
}

.td-testimonial-person .role {
    font-size: 12.5px;
    color: var(--td-text-faint);
}

.td-illustrative-note {
    margin-top: 24px;
    color: var(--td-text-faint);
    font-size: 12.5px;
    text-align: center;
}

/* FAQ */
.td-faq-item {
    border-bottom: 1px solid var(--td-border);
    padding: 18px 0;
}

.td-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--td-text);
}

.td-faq-item summary::-webkit-details-marker {
    display: none;
}

.td-faq-item p {
    margin: 12px 0 0;
    color: var(--td-text-dim);
    font-size: 14.5px;
    line-height: 1.6;
}

.td-faq-icon {
    color: var(--td-red);
    font-size: 18px;
    font-weight: 400;
    transition: transform .2s;
    flex-shrink: 0;
}

.td-faq-item[open] .td-faq-icon {
    transform: rotate(45deg);
}

/* Sticky mobile CTA */
.td-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 16px;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--td-border);
    display: none;
}

@media (max-width: 760px) {
    .td-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 76px;
    }
}

/* Utility */
.hover-lift {
    transition: transform .2s, border-color .2s;
}

.hover-lift:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 38, 38, .35);
}
