
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #17212b;
    --muted: #617080;
    --line: #d8e0ea;
    --primary: #153e75;
    --primary-dark: #0f2e58;
    --success-bg: #e2f4e8;
    --success-text: #17653f;
    --warning-bg: #fff1d8;
    --warning-text: #8c5d00;
    --danger-bg: #fde5e5;
    --danger-text: #a12222;
    --info-bg: #e8f0fb;
    --info-text: #234b74;
    --shadow: 0 10px 30px rgba(15, 35, 60, 0.08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 Arial, Helvetica, sans-serif;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    background: linear-gradient(135deg, #123969 0%, #1d4c8f 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(10, 25, 45, 0.15);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}
.site-brand:hover { text-decoration: none; }
.site-brand__logo {
    height: 56px;
    width: auto;
    max-width: min(340px, 55vw);
    display: block;
}
.site-brand__text {
    display: none;
    flex-direction: column;
}
.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.site-nav a {
    color: #fff;
    opacity: 0.96;
    font-weight: 700;
}
.site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-main { padding: 32px 0 60px; }
.hero { margin-bottom: 24px; }
.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}
.hero p {
    margin: 0;
    color: var(--muted);
    max-width: 860px;
    font-size: 1.08rem;
}
.hero--home { margin-bottom: 32px; }
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 24px;
    align-items: center;
}
.hero-split--wide {
    background: linear-gradient(145deg, #ffffff 0%, #eef4fb 100%);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 34px 30px;
}
.hero-panel {
    background: linear-gradient(135deg, #123969 0%, #2a5b9d 100%);
    color: #fff;
    border-radius: 22px;
    padding: 24px;
}
.hero-panel strong,
.hero-panel li,
.hero-panel p,
.hero-panel h2,
.hero-panel h3 {
    color: #fff;
}
.hero-panel ul { margin: 12px 0 0; padding-left: 20px; }
.hero-panel__logo {
    display: block;
    width: min(100%, 380px);
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.hero-trust span,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4fb;
    color: #24496f;
    font-size: 0.92rem;
    font-weight: 600;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #3d6fb0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.eyebrow--light { color: rgba(255,255,255,0.82); }

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.card h2, .card h3 { margin-top: 0; }
.section-head { margin-bottom: 12px; }
.section-head h2 { margin-bottom: 0; }
.section-subhead { max-width: 860px; color: var(--muted); }

.form-grid,
.result-grid,
.feature-grid,
.home-metrics,
.footer-grid,
.info-grid {
    display: grid;
    gap: 18px;
}
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-grid,
.feature-grid,
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--three,
.home-metrics,
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field { margin-bottom: 16px; }
.field--full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-weight: 700; }
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7ea8db;
    box-shadow: 0 0 0 4px rgba(80, 138, 214, 0.12);
}
textarea { min-height: 120px; resize: vertical; }
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
}
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}
.actions { margin-top: 12px; }
.actions--inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
    display: inline-block;
    border: 0;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s ease, transform .05s ease;
}
.button:hover { background: var(--primary-dark); text-decoration: none; }
.button:active { transform: translateY(1px); }
.button--secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--line);
}
.button--secondary:hover { background: #f3f7fc; }
.text-link { display: inline-flex; align-items: center; font-weight: 700; }
.help-text { color: var(--muted); font-size: 0.95rem; }
.notice {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
}
.notice--success { background: var(--success-bg); border-color: #b8dec5; color: var(--success-text); }
.notice--error { background: var(--danger-bg); border-color: #efc3c3; color: var(--danger-text); }
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
}
.badge--success { background: var(--success-bg); color: var(--success-text); }
.badge--warning { background: var(--warning-bg); color: var(--warning-text); }
.badge--danger { background: var(--danger-bg); color: var(--danger-text); }
.badge--info { background: var(--info-bg); color: var(--info-text); }
.result-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.result-summary { font-size: 1.05rem; margin-bottom: 18px; }
.panel,
.feature-card,
.metric-card,
.info-card {
    background: #f8fbff;
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    padding: 20px;
}
.metric-card h2,
.feature-card h3,
.info-card h3,
.panel h3 { margin: 0 0 10px; }
.metric-card p,
.feature-card p,
.info-card p { margin: 0; color: var(--muted); }
.panel ul,
.feature-card ul,
.seo-content ul,
.copy-list { padding-left: 20px; }
.panel li + li,
.seo-content li + li,
.copy-list li + li { margin-top: 6px; }
.kv-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 8px 16px;
    margin: 0;
}
.kv-list dt { font-weight: 700; }
.kv-list dd { margin: 0; color: var(--muted); }
.highlight-box {
    background: linear-gradient(135deg, #123969 0%, #2a5b9d 100%);
    color: #fff;
    border-radius: 22px;
    padding: 24px;
}
.highlight-box h2, .highlight-box p, .highlight-box li, .highlight-box strong { color: #fff; }
.site-footer {
    margin-top: 36px;
    background: #0f2748;
    color: #dbe6f2;
    padding: 38px 0 20px;
}
.footer-block h3 { color: #fff; margin-bottom: 10px; }
.footer-block p, .footer-block li, .footer-block a { color: #dbe6f2; }
.footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .95rem;
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 980px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    .site-brand__logo { height: 46px; max-width: 72vw; }
    .hero-split,
    .home-metrics,
    .result-grid,
    .footer-grid,
    .form-grid,
    .feature-grid,
    .feature-grid--three,
    .info-grid {
        grid-template-columns: 1fr;
    }
    .kv-list { grid-template-columns: 1fr; }
}
