* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    color: #4b5563;
}

.nav-links a:hover {
    color: #111827;
}

.nav-button {
    background: #17365d;
    color: white !important;
    padding: 10px 18px;
    border-radius: 5px;
}

.nav-button:hover {
    background: #102a49;
}

.hero {
    padding: 100px 0;
    background: #f7f9fc;
    border-bottom: 1px solid #e5e7eb;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    color: #536b89;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    margin: 15px 0 22px;
    color: #172033;
}

h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-top: 0;
    color: #172033;
}

h3 {
    color: #172033;
}

.hero p {
    font-size: 19px;
    color: #596579;
    max-width: 680px;
}

.button {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 22px;
    border-radius: 5px;
    background: #17365d;
    color: white;
    font-weight: bold;
}

.button:hover {
    background: #102a49;
}

.button.secondary {
    background: white;
    color: #17365d;
    border: 1px solid #cbd5e1;
    margin-left: 10px;
}

.section {
    padding: 75px 0;
}

.section.gray {
    background: #f7f9fc;
}

.section-intro {
    max-width: 700px;
    margin-bottom: 40px;
}

.section-intro p {
    color: #657184;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    border: 1px solid #e1e5eb;
    border-radius: 7px;
    padding: 30px;
    background: white;
}

.card p {
    color: #667085;
}

.icon {
    width: 44px;
    height: 44px;
    background: #eef3f8;
    color: #17365d;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-header {
    background: #f7f9fc;
    border-bottom: 1px solid #e5e7eb;
    padding: 65px 0;
}

.page-header p {
    color: #667085;
    max-width: 700px;
    font-size: 18px;
}

.content {
    max-width: 850px;
}

.content p {
    color: #596579;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-box {
    border: 1px solid #e1e5eb;
    padding: 28px;
    border-radius: 7px;
}

.contact-box strong {
    display: block;
    margin-bottom: 6px;
}

.contact-box a {
    color: #17365d;
}

.form-container {
    border: 1px solid #e1e5eb;
    border-radius: 7px;
    padding: 15px;
    background: white;
}

iframe {
    width: 100%;
    border: none;
    min-height: 650px;
}

footer {
    background: #172033;
    color: #cbd5e1;
    padding: 45px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    color: white;
    margin-top: 0;
}

footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #30394a;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 14px;
    color: #94a3b8;
}

@media (max-width: 750px) {
    .nav {
        height: auto;
        padding: 16px 0;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 65px 0;
    }

    .cards,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .button.secondary {
        margin-left: 0;
    }
}

/* Photon Client Login Button */
.client-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    margin-left: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4169ff, #705cff);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 8px 25px rgba(65,105,255,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.client-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(65,105,255,.4);
}

.client-login-fallback {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 999;
}

@media (max-width: 768px) {
    .client-login-btn {
        margin: 8px 0;
        width: 100%;
    }
}
