@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-text-primary: #0f172b;
    --color-text-secondary: rgba(23, 25, 31, 0.72);
    --color-text-muted: rgba(23, 25, 31, 0.6);
    --color-blue: #155dfc;
    --color-border: #cbd1dd;
    --color-surface: #f4f6fa;
    --color-highlight: #f3f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow: auto;
}

body {
    min-width: 100%;
    font-weight: 400;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 24px 32px 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-width: 100%;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 32px;
}

nav {
    display: flex;
    gap: 48px;
    align-items: center;
}

nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--color-text-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 0;
}

.hero-content {
    display: flex;
    gap: 96px;
    align-items: center;
}

.hero-text {
    flex: 0 0 521px;
}

.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 505;
    font-size: 64px;
    line-height: 72px;
    letter-spacing: -0.4px;
    color: var(--color-text-primary);
    margin-bottom: 32px;
}

.hero-text h1 .highlight {
    color: #0072CE;
}

.hero-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: var(--color-text-muted);
}

.hero-image-container {
    position: relative;
    flex: 0 0 520px;
    height: 640px;
}

.hero-image {
    position: absolute;
    left: 40px;
    width: 468px;
    height: 640px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0px 20px 60px -15px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equity-card {
    position: absolute;
    left: -32px;
    top: 96px;
    width: 256px;
    min-height: 198px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: 0px 30px 60px rgba(15, 23, 43, 0.16);
    padding: 24px;
}

.equity-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.equity-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.equity-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: var(--color-text-primary);
    letter-spacing: 0.3828px;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(28, 93, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #1c5dff 0%, #0f9bff 100%);
    border-radius: 100px;
}

/* Info Section */
.info-section {
    margin: 73px 0 0;
    padding: 72px;
    background: var(--color-highlight);
    border-radius: 40px;
}

.info-content {
    max-width: 1026px;
}

.info-header {
    margin-bottom: 24px;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text-secondary);
    letter-spacing: 1.2875px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.info-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--color-border);
    margin-bottom: 24px;
}

.info-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    max-width: 982px;
}

/* Content Pages */
.content {
    padding: 191px 0 80px;
}

.page-header {
    margin-bottom: 32px;
}

.page-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1.2875px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 56px;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.section {
    margin-bottom: 56px;
}

.section h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    color: #0f172b;
    margin-bottom: 24px;
}

.section p, .section li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.section a {
    color: var(--color-text-secondary);
    text-decoration: underline;
}

.section a.nmls-link {
    color: #155dfc;
}

/* Privacy Policy */
.privacy-links {
    display: flex;
    gap: 80px;
    margin-top: 8px;
}

.privacy-links-col p {
    margin-bottom: 4px;
}

.privacy-links a {
    color: rgba(0, 114, 206, 1);
}

.privacy-subsection {
    margin-top: 24px;
    padding-left: 48px;
    position: relative;
}

.privacy-subsection::before {
    content: '└→';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 28px;
    color: #0f172b;
    letter-spacing: -2px;
}

.privacy-arrow-item {
    padding-left: 40px;
    position: relative;
}

.privacy-arrow-item::before {
    content: '└→';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 24px;
    color: #0f172b;
    letter-spacing: -2px;
}

.privacy-subsection h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #0f172b;
    margin-bottom: 8px;
}

.privacy-contact-card {
    margin: 16px 0;
    padding: 20px 24px;
    border-left: 2px solid var(--color-border);
}

.privacy-contact-card p {
    margin-bottom: 4px;
}

/* License Table */
.license-contact {
    margin-top: 24px;
}

.license-contact p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.license-table {
    margin-top: 8px;
}

.license-row {
    display: flex;
    align-items: baseline;
    padding: 32px 0;
}

.license-state {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #0f172b;
    flex: 0 0 200px;
}

.license-detail {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
}

/* Footer */
footer {
    margin-top: 137px;
    background: #f4f6fa;
    border-top: 1px solid #e2e8f0;
    padding: 64px 120px 48px;
    width: 100%;
    min-width: fit-content;
}

.footer-content {
    display: flex;
    gap: 80px;
    margin-bottom: 48px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    flex: 0 0 360px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer-nmls {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #17191f;
    margin-bottom: 4px;
}

.footer-equal-housing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.equal-housing-icon {
    height: 22px;
    width: auto;
}

.equal-housing-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #17191f;
}

.footer-licensing {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(23, 25, 31, 0.72);
}

.nmls-link {
    color: #155dfc;
    text-decoration: underline;
    transition: color 0.2s;
}

.nmls-link:hover {
    color: #0f4acc;
}

.footer-column {
    flex: 0 0 auto;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #0f172b;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #0f172b;
}

.footer-column li:last-child {
    margin-bottom: 0;
}

.footer-contact-group {
    margin-bottom: 24px;
}

.footer-contact-group:last-child {
    margin-bottom: 0;
}

.footer-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #9ca3af;
    margin-bottom: 0;
}

.footer-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: rgba(23, 25, 31, 1);
    margin-bottom: 0;

}

.footer-address-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #0f172b;
    margin-bottom: 0;
}

.footer-column a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #0f172b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #155dfc;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #cbd1dd;
    margin-bottom: 32px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.footer-legal {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(23, 25, 31, 0.72);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-image-container {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    header {
        padding: 16px 24px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
    
    .hero {
        padding: 80px 0 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text {
        flex: none;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 40px;
        line-height: 48px;
    }
    
    .hero-image-container {
        flex: none;
        width: 100%;
        height: 400px;
    }
    
    .hero-image {
        left: 0;
        width: 100%;
        height: 400px;
    }
    
    .equity-card {
        left: 20px;
        top: 60px;
        width: 220px;
    }
    
    .info-section {
        margin: 40px 0 0;
        padding: 40px 24px;
    }
    
    .info-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .content {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .section h2 {
        font-size: 24px;
        line-height: 32px;
    }
    
    footer {
        margin-top: 60px;
        padding: 40px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-brand {
        flex: none;
        width: 100%;
    }
}
