/* Home page + subscription-success page. Depends on tokens.css and base.css. */

.tc-hero {
    background: linear-gradient(155deg, var(--tc-brand-500), var(--tc-brand-600) 70%);
    padding: 72px 40px 84px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tc-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -60% -10%;
    height: 220px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent 70%);
}

.tc-hero-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.tc-hero-logo {
    max-height: 88px;
    width: auto;
    margin-bottom: 20px;
}

.tc-hero-eyebrow {
    font-weight: var(--tc-fw-semibold);
    font-size: var(--tc-fs-xs);
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
    margin: 0 0 14px;
}

.tc-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    margin: 0 0 16px;
    text-wrap: balance;
}

.tc-hero p {
    font-size: 1.2rem;
    line-height: 1.65;
    opacity: .94;
    max-width: 46ch;
    margin: 0 auto 32px;
}

.tc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .65);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.tc-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 32px;
}

.tc-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 52px;
}

.tc-benefit {
    background: var(--tc-surface);
    border: 1px solid var(--tc-line-soft);
    border-radius: var(--tc-radius-md);
    padding: 28px 26px 30px;
    box-shadow: var(--tc-shadow-sm);
}

.tc-benefit-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--tc-brand-100);
    color: var(--tc-brand-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tc-font-display);
    font-weight: var(--tc-fw-bold);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.tc-benefit h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.tc-benefit p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--tc-ink-soft);
    margin: 0;
}

.tc-cta-line {
    text-align: center;
}

.tc-cta-line p {
    color: var(--tc-ink-soft);
    margin: 0 0 20px;
    font-size: 1.1rem;
}

.tc-panel {
    background: var(--tc-surface);
    border: 1px solid var(--tc-line-soft);
    border-radius: var(--tc-radius-lg);
    padding: 40px;
    box-shadow: var(--tc-shadow-sm);
}

.tc-panel + .tc-panel {
    margin-top: var(--tc-space-6);
}

.tc-panel h2 {
    font-size: 1.35rem;
    text-align: center;
    margin: 0 0 4px;
}

.tc-panel > p.tc-panel-sub {
    text-align: center;
    color: var(--tc-ink-soft);
    margin: 0 0 28px;
}

@media (max-width: 860px) {
    .tc-benefits {
        grid-template-columns: 1fr;
    }

    .tc-panel {
        padding: 28px 22px;
    }
}
