/* ==========================================================================
   TERMS AND CONDITIONS PAGE — tc- prefix
   ========================================================================== */


/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */

.tc-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    position: relative;
    z-index: 2;
}

.tc-hero .tc-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 25px;
}

.tc-hero .tc-hero__inner .tc-hero__badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--color-primary-50);
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tc-hero .tc-hero__inner .tc-hero__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.2;
    margin: 0;
}

.tc-hero .tc-hero__inner .tc-hero__subtitle {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}


/* -------------------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------------------- */

.tc-sections {
    background: var(--color-surface);
    position: relative;
    z-index: 1;
}

.tc-sections::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,70 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

.tc-sections .content-inner {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tc-sections .content-inner .tc-card {
    background: var(--color-background);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tc-sections .content-inner .tc-card .tc-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-sections .content-inner .tc-card .tc-card__header .tc-card__number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tc-sections .content-inner .tc-card .tc-card__header .tc-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-ink);
    margin: 0;
    line-height: 1.3;
}

.tc-sections .content-inner .tc-card .tc-card__content {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}


/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */

@media (max-width: 639px) {

    .tc-sections::before {
        height: 50px;
        top: -49px;
    }

}

@media (min-width: 768px) {

    .tc-hero .tc-hero__inner .tc-hero__title {
        font-size: 36px;
    }

    .tc-hero .tc-hero__inner .tc-hero__subtitle {
        font-size: 18px;
    }

    .tc-sections .content-inner .tc-card {
        padding: 50px;
    }

    .tc-sections .content-inner .tc-card .tc-card__header .tc-card__title {
        font-size: 20px;
    }

}

@media (min-width: 1024px) {

    .tc-hero .tc-hero__inner .tc-hero__title {
        font-size: 42px;
    }

}
