:root {
    --navy: #102b55;
    --blue: #1768a5;
    --yellow: #ffc857;
    --bg: #f5f7fb;
    --ink: #1d2939;
    --muted: #667085;
    --line: #e4e9f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

.site-header {
    background: var(--navy);
    color: #fff;
    padding: 17px 20px;
}

.header-inner {
    max-width: 1050px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
}

.header-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.header-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

main {
    max-width: 900px;
    margin: 34px auto;
    padding: 0 16px 40px;
}

.page-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(20px, 4vw, 38px);
    box-shadow: 0 5px 20px rgba(16,43,85,.05);
}

h1, h2 {
    color: var(--navy);
}

h1 {
    font-size: clamp(27px, 4vw, 36px);
    line-height: 1.2;
    margin: 0 0 10px;
}

h2 {
    font-size: 20px;
    margin: 28px 0 8px;
}

.lead {
    color: var(--muted);
}

.site-footer {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 25px 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin: 12px auto;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.notice {
    background: #fff8e7;
    border-left: 4px solid var(--yellow);
    padding: 12px 15px;
    border-radius: 7px;
    margin: 18px 0;
}

a {
    color: var(--blue);
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.field {
    margin-bottom: 17px;
}

label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

textarea {
    min-height: 145px;
}

button {
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 13px 20px;
    font-weight: bold;
    cursor: pointer;
}

.success {
    background: #eaf8ef;
    border: 1px solid #b8e2c5;
    color: #176536;
    padding: 13px;
    border-radius: 8px;
}

.error {
    background: #fff0f0;
    border: 1px solid #f2c2c2;
    color: #9d2020;
    padding: 13px;
    border-radius: 8px;
}

@media(max-width:600px) {
    .header-inner {
        align-items: flex-start;
    }

    .header-links {
        gap: 10px;
    }
}