:root {
    --navy: #0b2545;
    --navy-dark: #071a33;
    --navy-soft: #1d3d6b;
    --blue: #3d9be0;
    --blue-light: #e3f2fd;
    --blue-pale: #f3f9fe;
    --blue-border: #c5e0f5;
    --text: #24364d;
    --muted: #5d6f85;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 6px 20px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-soft); }
a:hover { color: var(--blue); }
img { max-width: 100%; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--navy); color: #d6e6f7; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #d6e6f7; text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: var(--white); }
.topbar-contact a:first-child { margin-left: 0; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--blue-border); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-name { font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: .3px; }
.brand-tag { font-size: .78rem; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; }

.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 500; padding: 8px 13px; border-radius: 6px; font-size: .95rem; }
.site-nav a:hover, .site-nav a.active { background: var(--blue-light); color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue-light) 0%, #cfe8fb 100%); padding: 80px 0; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--navy-soft); max-width: 560px; }
.eyebrow { display: inline-block; background: var(--white); color: var(--navy); border: 1px solid var(--blue-border); border-radius: 30px; padding: 5px 14px; font-size: .82rem; font-weight: 600; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.reg-card { background: var(--navy); color: #d6e6f7; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.reg-card h3 { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 12px; }
.reg-card dl { margin: 0; }
.reg-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: #8fc4ee; margin-top: 12px; }
.reg-card dd { margin: 2px 0 0; font-weight: 600; color: var(--white); }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-light); color: var(--navy); }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--blue-pale); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }

.page-banner { background: var(--navy); color: var(--white); padding: 48px 0; }
.page-banner h1 { color: var(--white); margin: 0; font-size: 2rem; }
.page-banner p { margin: 8px 0 0; color: #b9d9f3; }

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

.card { background: var(--white); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.card-accent { border-top: 4px solid var(--blue); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; margin-bottom: 26px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step p { color: var(--muted); margin: 0; }

.cta { background: var(--navy); color: var(--white); text-align: center; padding: 60px 0; }
.cta h2 { color: var(--white); }
.cta p { color: #b9d9f3; max-width: 600px; margin: 0 auto 24px; }

/* Content pages */
.content { max-width: 860px; }
.content h2 { margin-top: 1.6em; font-size: 1.4rem; }
.content h2:first-child { margin-top: 0; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 1em; }
.content li { margin-bottom: .45em; }

.note { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 6px; margin: 0 0 1.4em; }
.note p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin-bottom: 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { border: 1px solid var(--blue-border); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: var(--white); font-weight: 600; }
tbody tr:nth-child(even) { background: var(--blue-pale); }

/* Forms */
.form-row { margin-bottom: 16px; }
label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-size: .92rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--blue-border); border-radius: 6px; font: inherit; color: var(--text); background: var(--white);
}
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; }
.alert-success { background: #e4f6ea; border: 1px solid #a9dcb9; color: #1c5a31; }
.alert-error { background: #fdeaea; border: 1px solid #f1b5b5; color: #8a1f1f; }
.alert ul { margin: 0; padding-left: 20px; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--blue-border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9cde3; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 36px; padding-top: 50px; padding-bottom: 30px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer a { color: #b9cde3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.plain-list li { margin-bottom: 6px; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 10px; font-size: .82rem; color: #93abc6; }
.footer-bottom { background: #04111f; text-align: center; padding: 14px 0; font-size: .82rem; }

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 1.9rem; }
    .hero { padding: 50px 0; }
    .hero-inner, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }

    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--blue-border); box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .topbar-contact a:first-child { margin-left: 0; }
}
