/* Teeth Research: legal / informational pages.
   Pairs with site.css. .container is defined here because the old site got it
   from style.css, which this site does not use. */

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.legal_header .brand { text-decoration: none; }

/* Shared styles for the legal / informational pages (terms, privacy, disclaimer, contact). */

.legal_header {
    float: left;
    width: 100%;
    background: #fff;
    padding: 11px 0 10px;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.1);
}

.legal_header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal_header .header_logo {
    float: none;
    display: block;
}

.legal_header .site_name {
    font-size: 14px;
    line-height: 18px;
    color: #444;
}

.legal_header .site_name a:hover {
    text-decoration: underline;
}

.legal_wrap {
    float: left;
    width: 100%;
    padding: 40px 0 50px;
    text-align: left;
}

.legal_wrap .container {
    max-width: 860px;
    width: 100%;
    padding: 0 15px;
}

.legal_wrap h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 8px;
}

.legal_wrap .effective {
    font-size: 14px;
    line-height: 20px;
    color: #666;
    margin-bottom: 28px;
}

.legal_wrap h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    margin: 34px 0 10px;
}

.legal_wrap h3 {
    font-weight: 600;
    font-size: 17px;
    line-height: 25px;
    margin: 22px 0 8px;
}

.legal_wrap p,
.legal_wrap li {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 14px;
}

.legal_wrap ul,
.legal_wrap ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.legal_wrap ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.legal_wrap ol li {
    list-style: decimal;
    margin-bottom: 6px;
}

.legal_wrap a {
    color: #1488ff;
    text-decoration: underline;
    word-break: break-word;
}

.legal_wrap .notice {
    background: #fff8e1;
    border: 1px solid #f5d77a;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 22px;
}

.legal_wrap .toc {
    background: #f5f7fa;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 28px;
}

.legal_wrap .toc li {
    list-style: none;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 24px;
}

.legal_wrap table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 15px;
}

.legal_wrap th,
.legal_wrap td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    line-height: 22px;
}

.legal_wrap th {
    background: #f5f7fa;
}

.legal_wrap .table_scroll {
    overflow-x: auto;
}

.legal_wrap .contact_card {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 22px 26px;
    margin: 10px 0 24px;
}

.legal_wrap .contact_card p {
    margin-bottom: 6px;
}

.legal_wrap .btn_mail {
    display: inline-block;
    background: #1488ff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    margin-top: 8px;
}

.legal_wrap .btn_mail:hover {
    background: #0f6fd1;
}

.footer_text a {
    color: #000;
    padding: 0 8px;
}

.footer_text a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .legal_wrap {
        padding: 25px 0 35px;
    }

    .legal_wrap h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .legal_wrap h2 {
        font-size: 19px;
        line-height: 27px;
        margin-top: 28px;
    }

    .legal_wrap p,
    .legal_wrap li {
        font-size: 15px;
        line-height: 24px;
    }

    .legal_header .site_name {
        font-size: 12px;
    }
}
