/* SMS Pages - Shared Styles
   Pixel-perfect clone of Vercel reference — scaled 125% */

/* Scoped resets — only affect SMS containers, not the site header/footer */
.sms-subnav,
.sms-hero,
.sms-features-section,
.sms-form-section,
.sms-info-section,
.sms-legal-page {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sms-subnav *,
.sms-hero *,
.sms-features-section *,
.sms-form-section *,
.sms-info-section *,
.sms-legal-page * {
    box-sizing: border-box;
}

/* ========================================
   SUB-NAV BAR (below the site header)
   ======================================== */
.sms-subnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    background: #112d4e;
    padding: 14px 24px;
}
.sms-subnav a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}
.sms-subnav a:hover,
.sms-subnav a.active {
    color: #fff;
}
/* SMS pages: ensure nav links follow the same scroll-based behavior as the rest of the site.
   Default state (no scroll): transparent header, white text.
   Scrolled state (has-fixed-header): white header, dark text.
   The "Speak to Us" button always keeps white text on gold bg. */
body.sms-page.has-fixed-header .nav {
    color: #0c2340;
}
body.sms-page .nav #menu-main-menu > li:last-child a {
    color: #fff;
}

/* CSS variables for legal page spacing */
body.sms-page {
    --sms-legal-header-gap: 34px;
    --sms-legal-title-meta-gap: 18px;
    --sms-legal-title-text-gap: 14px;
}

/* ========================================
   HERO
   ======================================== */
.sms-hero {
    background: #fff;
    padding: 90px 30px 70px;
    text-align: center;
}
.sms-hero__inner {
    max-width: 820px;
    margin: 0 auto;
}
.sms-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(65,143,222,0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #418FDE;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    background: rgba(65,143,222,0.1);
}
.sms-hero h1 {
    font-size: 50px;
    font-weight: 400;
    line-height: 1.18;
    color: #0c2340;
    margin: 0 0 28px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.sms-hero__desc {
    font-size: 19px;
    color: #4a5568;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.sms-features-section {
    background: #f5f5f4;
    padding: 70px 30px 75px;
}
.sms-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.sms-feature-card {
    background: #fff;
    border: 1px solid #d9d9d6;
    border-radius: 12px;
    padding: 30px 28px 32px;
    text-align: left;
}
.sms-feature-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fb;
    border-radius: 10px;
}
.sms-feature-card__icon svg {
    width: 25px;
    height: 25px;
    color: #418fde;
    stroke: #418fde;
    fill: none;
}
.sms-feature-card h3 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    color: #0c2340;
    font-family: 'Inter', sans-serif;
}
.sms-feature-card p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.55;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* ========================================
   FORM SECTION
   ======================================== */
.sms-form-section {
    padding: 56px 24px 60px;
    background: #e8e8e6;
}
.sms-form-section__inner {
    max-width: 560px;
    margin: 0 auto;
}
.sms-form-section__title {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 8px;
    color: #0c2340;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.sms-form-section__subtitle {
    text-align: center;
    color: #4a5568;
    margin: 0 0 36px;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.sms-form-box {
    background: #fff;
    border: 1px solid #d9d9d6;
    border-radius: 10px;
    padding: 36px 32px 32px;
}
.sms-form-box__heading {
    font-size: 22px;
    font-weight: 400;
    color: #0c2340;
    margin: 0 0 4px;
    text-align: center;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.sms-form-box__subheading {
    text-align: center;
    color: #374151;
    font-size: 13px;
    margin: 0 0 28px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.sms-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}
.sms-form-group {
    margin-bottom: 18px;
}
.sms-form-row .sms-form-group {
    margin-bottom: 0;
}
.sms-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
    font-family: 'Inter', sans-serif;
}
.sms-form-group label .required {
    color: #dc626b;
    font-weight: 400;
}
.sms-form-group input[type="text"],
.sms-form-group input[type="tel"],
.sms-form-group input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d6;
    border-radius: 6px;
    font-size: 13.5px;
    color: #374151;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
    font-family: inherit;
}
.sms-form-group input::placeholder {
    color: #6b7280;
}
.sms-form-group input:focus {
    border-color: #418fde;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}
.sms-form-group .sms-form-hint {
    font-size: 11.5px;
    color: #374151;
    margin-top: 5px;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

/* Consent Box */
.sms-consent {
    margin-top: 24px;
    background: #e7e5e4;
    border: 1px solid #d9d9d6;
    border-radius: 8px;
    padding: 22px 20px;
}
.sms-consent h4 {
    font-size: 12px;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 18px;
    font-family: 'Inter', sans-serif;
}
.sms-consent__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.sms-consent__item:last-child {
    margin-bottom: 0;
}
.sms-consent__item input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #418fde;
    cursor: pointer;
}
.sms-consent__item span {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.55;
    font-family: 'Inter', sans-serif;
}
.sms-consent__item span a {
    color: #418fde;
    text-decoration: underline;
    text-decoration-color: rgba(59, 125, 216, 0.4);
    text-underline-offset: 2px;
    font-weight: 400;
}
.sms-consent__item span a:hover {
    text-decoration-color: #418fde;
}
.sms-consent__item span .required {
    color: #dc626b;
}
.sms-consent__item span strong {
    color: #1e3a5f;
    font-weight: 600;
}

/* Submit Button */
.sms-submit-btn {
    width: 100%;
    margin-top: 24px;
    padding: 14px 24px;
    background: #d9d9d6;
    color: #a0a5ae;
    border: 1px solid #d9d9d6;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.sms-submit-btn:hover {
    background: #d9d9d6;
    color: #7b818c;
}

.sms-form-disclaimer {
    text-align: center;
    font-size: 11.5px;
    color: #4b5563;
    margin-top: 18px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* ========================================
   PROGRAM INFO
   ======================================== */
.sms-info-section {
    padding: 56px 24px 64px;
    background: #f5f5f4;
}
.sms-info-section__inner {
    max-width: 700px;
    margin: 0 auto;
}
.sms-info-section__title {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 36px;
    color: #0c2340;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.sms-info-card {
    background: #fff;
    border: 1px solid #d9d9d6;
    border-radius: 10px;
    padding: 32px 36px;
}
.sms-info-card__item {
    margin-bottom: 26px;
    padding-bottom: 0;
    border-bottom: none;
}
.sms-info-card__item:last-child {
    margin-bottom: 0;
}
.sms-info-card__item h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}
.sms-info-card__item p {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
.sms-info-card__item p a.sms-keyword {
    color: #418fde;
    text-decoration: underline;
    text-decoration-color: rgba(59, 125, 216, 0.4);
    text-underline-offset: 2px;
    font-weight: 400;
    cursor: default;
}
.sms-info-card__item p a.sms-keyword:hover {
    text-decoration-color: #418fde;
}

/* ========================================
   LEGAL PAGES (Privacy Policy & Terms)
   ======================================== */
.sms-legal-page {
    padding: 60px 30px 70px;
    background: #f5f5f4;
}
.sms-legal-page__inner {
    max-width: 820px;
    margin: 0 auto;
}
.sms-legal-page__header {
    margin-bottom: var(--sms-legal-header-gap);
    padding-bottom: 0;
    border-bottom: none;
}
.sms-legal-page__header h1 {
    font-size: 38px;
    font-weight: 400;
    color: #0c2340;
    margin: 0 0 var(--sms-legal-title-meta-gap);
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.sms-legal-page__header p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
.sms-legal-page__content {
    background: #fff;
    border: 1px solid #d9d9d6;
    border-radius: 10px;
    padding: 36px 38px 40px;
    font-family: 'Inter', sans-serif;
}
.sms-legal-page__content h2 {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #111827;
    margin: 34px 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.sms-legal-page__content h2:first-child {
    margin-top: 0;
}
.sms-legal-page__content p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 14px;
}
.sms-legal-page__content ul {
    padding-left: 22px;
    margin: 0 0 18px;
}
.sms-legal-page__content ul li {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 6px;
    list-style-type: disc;
}
.sms-legal-page__content ul li strong {
    color: #0c2340;
    font-weight: 700;
}
.sms-legal-page__content a.sms-keyword {
    color: #418fde;
    text-decoration: none;
    font-weight: 700;
}
.sms-legal-page__content a.sms-keyword:hover {
    text-decoration: underline;
}
.sms-legal-contact-box {
    background: #d9d9d6;
    border-radius: 8px;
    padding: 22px 26px;
    margin-top: 14px;
}
.sms-legal-contact-box p {
    margin: 0;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
}
.sms-legal-contact-box p strong {
    color: #0c2340;
    font-weight: 700;
}

/* Quick Reference Box */
.sms-quick-ref {
    background: #eef4fb;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    padding: 28px 30px;
    margin-top: 28px;
}
.sms-quick-ref h2 {
    font-size: 14px !important;
    font-weight: 700;
    color: #0c2340;
    margin: 0 0 22px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sms-quick-ref__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 30px;
}
.sms-quick-ref__item {
    display: flex;
    flex-direction: column;
}
.sms-quick-ref__item dt {
    font-size: 13px;
    font-weight: 700;
    color: #0c2340;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sms-quick-ref__item dd {
    font-size: 14px;
    color: #4a5568;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}
.sms-quick-ref__item dd a.sms-keyword {
    color: #418fde;
    text-decoration: none;
    font-weight: 700;
}
.sms-quick-ref__item dd a.sms-keyword:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .sms-subnav {
        gap: 20px;
        padding: 12px 16px;
    }
    .sms-subnav a {
        font-size: 12px;
        letter-spacing: 0.6px;
    }
    .sms-hero {
        padding: 50px 20px 40px;
    }
    .sms-hero h1 {
        font-size: 32px;
    }
    .sms-hero__desc {
        font-size: 16px;
    }
    .sms-features {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .sms-features-section {
        padding: 48px 16px;
    }
    .sms-form-section {
        padding: 48px 16px;
    }
    .sms-form-section__title {
        font-size: 30px;
    }
    .sms-form-box {
        padding: 28px 20px;
    }
    .sms-form-row {
        grid-template-columns: 1fr;
    }
    .sms-info-section {
        padding: 48px 16px;
    }
    .sms-info-section__title {
        font-size: 30px;
    }
    .sms-quick-ref__grid {
        grid-template-columns: 1fr;
    }
    .sms-legal-page {
        padding: 40px 16px 56px;
    }
    .sms-legal-page__header h1 {
        font-size: 30px;
    }
}
