﻿*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

.cts-landing {
    min-height: 100vh;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    color: #172033;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 32%), linear-gradient(180deg, #f8fafc 0%, #ffffff 48%);
    padding-bottom: 72px;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 250, 252, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: #2563eb;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 16px 36px rgba(37, 99, 235, .26);
}

.brand-text strong {
    display: block;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.15;
}

.brand-text small {
    display: block;
    color: #64748b;
    margin-top: 3px;
    font-weight: 700;
    line-height: 1.2;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
}

    .desktop-nav a,
    .login-link,
    .mobile-nav a {
        color: #475569;
        text-decoration: none;
        font-weight: 800;
    }

        .desktop-nav a:hover,
        .login-link:hover,
        .mobile-nav a:hover {
            color: #2563eb;
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link {
    color: #2563eb;
}

.header-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #2563eb;
    color: #fff;
    padding: 11px 18px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
    white-space: nowrap;
}

.mobile-nav {
    display: none;
}

.hero-section,
.content-section,
.download-banner,
.notice-banner {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.hero-section {
    padding: 72px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 42px;
    align-items: center;
}

.eyebrow {
    color: #2563eb;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    margin: 0 0 14px;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    color: #0f172a;
    margin: 0 0 20px;
}

.hero-subtitle {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 720px;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hero-supporting {
    color: #64748b;
    line-height: 1.65;
    max-width: 760px;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    min-height: 48px;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .25);
}

.btn-secondary {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.hero-card,
.info-card,
.download-banner,
.notice-banner,
.pricing-card {
    background: rgba(255,255,255,.96);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.hero-card {
    padding: 28px;
}

.card-label {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 900;
    margin-bottom: 18px;
}

.flow-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .flow-step:last-child {
        border-bottom: 0;
    }

    .flow-step span {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: #eff6ff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

    .flow-step strong {
        color: #0f172a;
    }

    .flow-step p {
        color: #64748b;
        line-height: 1.55;
        margin: 4px 0 0;
    }

.content-section {
    padding: 42px 0;
}

.section-header {
    max-width: 820px;
    margin-bottom: 24px;
}

    .section-header h2,
    .download-banner h2,
    .notice-banner h2 {
        color: #0f172a;
        font-size: clamp(2rem, 3vw, 3rem);
        letter-spacing: -0.045em;
        line-height: 1.08;
        margin: 0 0 14px;
    }

    .section-header p:not(.eyebrow),
    .download-banner p,
    .notice-banner p {
        color: #64748b;
        line-height: 1.7;
        margin: 0;
    }

.cards,
.audience-grid,
.pricing-cards {
    display: grid;
    gap: 18px;
}

.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
    padding: 24px;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.info-card h3 {
    color: #0f172a;
    margin: 0 0 8px;
}

.info-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .audience-grid div {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 18px;
        font-weight: 900;
        color: #0f172a;
        text-align: center;
    }

.download-banner,
.notice-banner {
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 18px;
    margin-bottom: 18px;
}

.pricing-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .pricing-card.featured {
        border: 2px solid #2563eb;
    }

.badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #2563eb;
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
}

.plan-top h3 {
    color: #0f172a;
    font-size: 1.35rem;
    margin: 0 0 4px;
}

.plan-top p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.price {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 900;
}

    .price span {
        display: block;
        color: #64748b;
        font-size: .92rem;
        font-weight: 800;
        margin-top: 4px;
    }

.pricing-card ul {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    line-height: 1.75;
    flex: 1;
}

.pricing-card .btn {
    width: 100%;
}

.desktop-comparison {
    margin-top: 28px;
    overflow-x: auto;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15,23,42,.08);
}

    .desktop-comparison table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
    }

    .desktop-comparison th,
    .desktop-comparison td {
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
        text-align: center;
        white-space: nowrap;
    }

        .desktop-comparison th:first-child,
        .desktop-comparison td:first-child {
            text-align: left;
            color: #0f172a;
            font-weight: 800;
        }

    .desktop-comparison thead th {
        background: #f8fafc;
        color: #0f172a;
    }

@@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        width: min(1180px, calc(100% - 48px));
        margin: 0 auto;
        padding: 0 0 16px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

        .mobile-nav a {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px;
            text-align: center;
            font-size: .92rem;
        }

    .hero-section {
        grid-template-columns: 1fr;
    }

    .four-col,
    .audience-grid,
    .pricing-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@@media (max-width: 760px) {
    .cts-landing {
        padding-bottom: 42px;
    }

    .header-inner {
        width: 100%;
        padding: 16px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .brand-lockup {
        align-items: flex-start;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .login-link,
    .header-cta {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .login-link {
        background: #fff;
        border: 1px solid #bfdbfe;
    }

    .mobile-nav {
        width: calc(100% - 32px);
        grid-template-columns: 1fr 1fr;
        padding-bottom: 14px;
    }

    .hero-section,
    .content-section,
    .download-banner,
    .notice-banner {
        width: calc(100% - 32px);
    }

    .hero-section {
        padding: 30px 0 26px;
        gap: 22px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-actions .btn,
    .download-banner .btn,
    .notice-banner .btn {
        width: 100%;
    }

    .hero-card,
    .info-card,
    .download-banner,
    .notice-banner,
    .pricing-card {
        padding: 18px;
        border-radius: 18px;
    }

    .content-section {
        padding: 28px 0;
    }

    .section-header h2,
    .download-banner h2,
    .notice-banner h2 {
        font-size: 1.75rem;
        line-height: 1.15;
        letter-spacing: -0.035em;
    }

    .four-col,
    .audience-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .download-banner,
    .notice-banner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .desktop-comparison {
        display: none;
    }

    .flow-step {
        grid-template-columns: 40px 1fr;
    }
}
.public-shell {
    min-height: 100vh;
    background: #ffffff;
}

.public-header {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

    .public-brand .brand-mark {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        background: #2563eb;
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: 1.15rem;
    }

    .public-brand strong {
        display: block;
        color: #0f172a;
        font-size: 1.15rem;
    }

    .public-brand small {
        display: block;
        color: #64748b;
        font-weight: 700;
        margin-top: 2px;
    }

.public-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .public-nav a {
        color: #475569;
        font-weight: 800;
        text-decoration: none;
    }

        .public-nav a:hover {
            color: #2563eb;
        }

.public-main {
    width: 100%;
}

.public-footer {
    max-width: 1180px;
    margin: 40px auto 0;
    padding: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #64748b;
}

    .public-footer a {
        color: #2563eb;
        font-weight: 800;
        text-decoration: none;
    }

@media (max-width: 760px) {
    .public-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .public-nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .public-nav a {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px;
            text-align: center;
        }

    .public-footer {
        flex-direction: column;
        padding: 18px 16px;
    }

    .back-to-top-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

.pay-review-warning {
    color: #b45309;
    font-weight: 700;
    cursor: help;
}

.pay-review-ok {
    color: #15803d;
    font-weight: 700;
}