html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.city-request-page {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

.city-request-card {
    width: min(100%, 620px);
    padding: 2rem;
    border: 1px solid rgba(90, 110, 135, 0.28);
    border-radius: 16px;
    background: #ffffff;
    color: #17243a;
    box-shadow: 0 12px 30px rgba(15, 30, 50, 0.12);
}

    .city-request-card h1 {
        margin-bottom: 1rem;
    }

    .city-request-card form {
        display: grid;
        gap: 0.85rem;
        margin-top: 1.5rem;
    }

.verification-email {
    font-weight: 700;
    word-break: break-word;
}

.verified-email-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: #eef4ff;
}

.verified-email-label {
    font-weight: 700;
}

.verified-email-value {
    word-break: break-word;
}

.request-city-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.request-city-field {
    display: grid;
    gap: 0.4rem;
}

.request-city-notes {
    margin-top: 1rem;
}

.request-city-submit {
    width: 100%;
    margin-top: 1.25rem;
}

.request-city-footnote {
    margin-top: 1rem;
    color: #68758a;
    text-align: center;
}

@media (max-width: 700px) {
    .request-city-form-grid {
        grid-template-columns: 1fr;
    }
}

.verification-code-input {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: .35rem;
    text-align: center;
}

.verification-note {
    margin-top: 1rem;
    color: #68758a;
    font-size: 0.95rem;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* ------------------------------------ */
/* MarketAnalyzer Home Page Styles */
/* ------------------------------------ */

.index-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 1.75rem;
    align-items: stretch;
}

.index-action-panel {
    padding: 1.5rem;
    border: 1px solid rgba(90, 110, 135, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.index-action-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.contractor-search-form,
.city-request-form {
    display: grid;
    gap: 0.75rem;
}

.index-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.city-request-copy {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.city-request-button {
    margin-top: 0.5rem;
    width: 100%;
}

@media (max-width: 850px) {
    .index-action-grid {
        grid-template-columns: 1fr;
    }
}

.ma-hero {
    background: linear-gradient( 135deg, #23424b 0%, #3f6662 55%, #587d77 100%);
    color: white;
    padding: 80px 60px;
    border-radius: 0 0 24px 24px;
    margin-bottom: 36px;
}

.ma-hero-content {
    max-width: 1150px;
}

.ma-hero h1 {
    font-size: 72px;
    font-weight: 300;
    margin-bottom: 20px;
}

.ma-hero h2 {
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 28px;
    color: #f6c445;
}

.ma-hero p {
    font-size: 24px;
    line-height: 1.5;
    max-width: 1000px;
}

.ma-hero-buttons {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ma-demo-strip {
    background: #fff4cc;
    border-left: 10px solid #f6c445;
    padding: 28px 36px;
    margin: 0 40px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

    .ma-demo-strip h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .ma-demo-strip p {
        font-size: 22px;
        margin-bottom: 22px;
    }

.ma-story-section,
.ma-proof-section {
    padding: 20px 40px 40px 40px;
}

    .ma-story-section h2,
    .ma-proof-section h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

.ma-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ma-story-card {
    flex: 1;
    min-width: 260px;
    background: #f5f7f8;
    border-left: 8px solid #3f8a5f;
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

    .ma-story-card h3 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .ma-story-card p,
    .ma-proof-section p {
        font-size: 21px;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .ma-hero {
        padding: 45px 28px;
    }

        .ma-hero h1 {
            font-size: 48px;
        }

        .ma-hero h2 {
            font-size: 32px;
        }

        .ma-hero p {
            font-size: 20px;
        }

    .ma-demo-strip {
        margin: 0 20px 30px 20px;
    }
}
.ma-hero {
    min-height: calc(100vh - 80px);
    padding: 70px 80px;
    color: #f4f7f7;
    background: radial-gradient(circle at 35% 35%, rgba(86, 133, 121, 0.85), transparent 38%), linear-gradient(135deg, #103844 0%, #1d514d 45%, #0b2f40 100%);
}

.ma-brand {
    font-size: 4.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 90px;
}

.ma-card {
    max-width: 900px;
    margin-left: 40px;
}

.ma-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.ma-list {
    margin-left: 60px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.9;
}

    .ma-list span,
    .ma-tagline span,
    .ma-arrow {
        color: #a9d8df;
        margin-right: 18px;
    }

.ma-most {
    margin-top: 28px;
    font-size: 2rem;
    font-weight: 800;
    color: #ffc83d;
}

.ma-predict {
    margin-top: 20px;
    font-size: 2.8rem;
    font-weight: 800;
}

.ma-tagline {
    margin-top: 18px;
    margin-left: 60px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffc83d;
    max-width: 720px;
}

.ma-demo-button-wrap {
    margin-top: 55px;
    margin-left: 60px;
}

.ma-demo-button {
    font-size: 1.35rem;
    font-weight: 800;
    padding: 14px 38px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);

    .market-banner {
        background: linear-gradient(90deg, #0f172a, #1e3a8a);
        color: white;
        padding: 20px 24px;
        text-align: center;
        box-shadow: 0 3px 8px rgba(0,0,0,.20);
        margin-bottom: 20px;
    }

    .market-name {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .market-subtitle {
        margin-top: 4px;
        color: #cbd5e1;
        font-size: 1rem;
        font-weight: 400;
    }

    
}

.partner-brand {
    width: 100%;
    margin: 1rem 0 1.5rem;
    padding: .75rem 0;
    text-align: center;
    background: rgba(240, 248, 235, 0.42);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 20px rgba(0,0,0,.08);
}

.partner-caption {
    color: rgba(255,255,255,.95);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: .35rem;
}

.partner-logo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}