*, *::before, *::after { box-sizing: border-box; }

:root {
    --me-blue: #3b71b9;
    --me-blue-dark: #2d5fa0;
    --me-blue-light: #eef4fb;
    --me-red: #c53030;
    --me-bg: #f4f6f8;
    --me-border: #d0d7e0;
    --me-text: #1e293b;
    --me-muted: #64748b;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    color: var(--me-text);
    background: var(--me-bg);
}

a { color: var(--me-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.me-topbar {
    background: var(--me-blue);
    color: #fff;
    font-size: 12px;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.me-topbar a { color: #fff; text-decoration: none; }
.me-topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.me-topbar-social { display: flex; gap: 10px; }

.me-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.me-nav-logo img { height: 44px; width: auto; }

.me-nav-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
}

.me-nav-links a {
    color: var(--me-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.me-nav-links a:hover,
.me-nav-links a.active { color: var(--me-blue); text-decoration: none; }

.me-btn-nav {
    display: inline-block;
    padding: 8px 18px;
    background: var(--me-blue);
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
}

.me-btn-nav:hover { background: var(--me-blue-dark); text-decoration: none !important; }

.me-hero {
    background: linear-gradient(135deg, var(--me-blue-dark) 0%, var(--me-blue) 100%);
    color: #fff;
    padding: 48px 24px;
    text-align: center;
}

.me-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

.me-hero p {
    margin: 0 auto;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

.me-main { max-width: 1100px; margin: 0 auto; padding: 36px 16px 48px; }

.me-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.me-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 28px 22px;
    text-align: center;
    transition: box-shadow .15s, border-color .15s;
}

.me-card:hover {
    box-shadow: 0 4px 16px rgba(59,113,185,.12);
    border-color: #b8cce8;
}

.me-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--me-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--me-blue);
}

.me-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--me-blue-dark);
}

.me-card p {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--me-muted);
    line-height: 1.5;
}

.me-card-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--me-blue);
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.me-card-link:hover { background: var(--me-blue-dark); }

.me-content-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.me-content-box h2 {
    margin: 0 0 16px;
    color: var(--me-blue-dark);
    font-size: 22px;
}

.me-content-box p,
.me-content-box li {
    line-height: 1.65;
    color: #334155;
}

.me-content-box ul { padding-left: 20px; }

.me-form-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 28px 32px 32px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.me-page-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    color: var(--me-blue-dark);
}

.me-field { margin-bottom: 18px; }

.me-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--me-red);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.me-input, .me-select {
    width: 100%;
    height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--me-border);
    border-radius: 4px;
    font-size: 14px;
}

.me-input:focus, .me-select:focus {
    outline: none;
    border-color: var(--me-blue);
    box-shadow: 0 0 0 2px rgba(59,113,185,.15);
}

.me-row { display: flex; gap: 16px; }
.me-row .me-field { flex: 1; min-width: 0; }

.me-card-logos { display: flex; gap: 10px; padding: 6px 0; flex-wrap: wrap; }
.me-card-logos img { height: 28px; }

.me-total { margin: 8px 0 6px; font-size: 15px; color: var(--me-blue-dark); }
.me-terms { font-size: 12px; margin: 0 0 20px; color: var(--me-muted); }

.me-submit {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    height: 44px;
    border: none;
    border-radius: 4px;
    background: var(--me-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.me-submit:hover:not(:disabled) { background: var(--me-blue-dark); }
.me-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.me-cancel {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--me-muted);
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

.me-error { color: var(--me-red); font-size: 13px; margin: 0 0 12px; }

.me-footer {
    background: var(--me-blue-dark);
    color: #cbd5e1;
    padding: 36px 24px 28px;
}

.me-footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px 32px;
}

.me-footer-col h4 {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.me-footer-col ul { list-style: none; margin: 0; padding: 0; }
.me-footer-col li { margin-bottom: 6px; }
.me-footer-col a { color: #cbd5e1; font-size: 12px; text-decoration: none; }
.me-footer-col a:hover { color: #fff; }

.me-footer-bottom {
    max-width: 1100px;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
}

.me-footer-logo img { height: 36px; opacity: 0.9; }

@media (max-width: 560px) {
    .me-form-box, .me-content-box { padding: 20px 16px; }
    .me-row { flex-direction: column; gap: 0; }
    .me-nav-links { gap: 12px; }
}
