/* Remove number input spinner */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* ── Shared legal / content page typography ─────────────────────── */

/* Page title (e.g. "Privacy Policy") */
.terms-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    padding: 0;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Section heading */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 16px 0 8px;
    line-height: 1.35;
}

/* First section directly after the page title — no extra top gap */
.terms-title + .section .section-title,
.terms-title + div .section-title,
.terms-container > .section:first-of-type .section-title {
    margin-top: 4px;
}

/* Body paragraphs */
.section p,
.contact-us p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 16px;
}

/* Lists */
.contact_us_list,
.terms_of_service_list {
    padding: 0 0 0 20px;
    margin: 0 0 16px;
}

.contact_us_list li,
.terms_of_service_list li {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-body);
    padding-bottom: 10px;
}

/* Contact email link — pill style */
.contact-email,
.email_text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    background: var(--primary-bg);
    border: 1px solid rgba(5,150,105,0.25);
    border-radius: 20px;
    padding: 6px 14px;
    line-height: 1.4;
}
.contact-email:hover,
.email_text:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ── Contact form ─────────────────────────────────────────────── */
section.contact-us {
    margin-bottom: 25px;
}

.five_blog_input,
textarea#message {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 12px;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-heading);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.five_blog_input:focus,
textarea#message:focus {
    border-color: var(--primary);
}

.five_blog_input::placeholder,
textarea#message::placeholder {
    color: var(--text-muted);
}

textarea {
    resize: none;
    width: 100%;
    height: 150px;
}

.five_blog_btn {
    width: 100%;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 30px;
    transition: background 0.2s, color 0.2s;
}

.five_blog_btn:hover {
    background-color: transparent;
    color: var(--primary);
}
