/* cleaner.siebert-realty.com - shared brand styles
   Palette and type follow www.siebert-realty.com: navy bar, steel-blue actions, Raleway headings. */

:root {
    --navy: #1e3246;
    --navy-2: #2a4560;
    --steel: #5c87a3;
    --steel-hover: #4a7591;
    --steel-light: #7698b3;
    --steel-soft: #e9f1f7;
    --red: #c32026;
    --red-soft: #fdecec;
    --green: #388e39;
    --green-soft: #e8f4e8;

    --bg: #f3f6f9;
    --surface: #ffffff;
    --surface-muted: #f7f9fb;
    --border: #e1e7ed;
    --border-strong: #c9d3dc;
    --text: #1b2733;
    --text-muted: #5b6b7a;
    --text-subtle: #8a99a8;

    --font-head: 'Raleway', 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(30, 50, 70, .06);
    --shadow-md: 0 6px 18px rgba(30, 50, 70, .08);
    --shadow-lg: 0 22px 44px -14px rgba(30, 50, 70, .22);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 .5em;
}

a { color: var(--steel); }
a:hover { color: var(--navy); }

:focus-visible {
    outline: 3px solid rgba(92, 135, 163, .45);
    outline-offset: 2px;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy);
    color: #fff;
}
.topbar-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; }
.topbar-links { display: flex; gap: 18px; font-size: 14px; }
.topbar-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(118, 152, 179, .35), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
}
.hero-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 56px 16px 88px;
}
.eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b9cfe0;
}
.hero h1 {
    color: #fff;
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    max-width: 760px;
}
.hero p {
    max-width: 640px;
    margin: 0;
    font-size: 18px;
    color: rgba(255, 255, 255, .86);
}

/* ---------- Layout ---------- */
.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
}
.lift { margin-top: -56px; }
.narrow { max-width: 760px; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
}
.card + .card { margin-top: 20px; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* ---------- Role cards ---------- */
.role {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 26px;
}
.role-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--steel-soft);
    color: var(--steel);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.role-icon svg { width: 24px; height: 24px; }
.role h2 { font-size: 22px; margin-bottom: 4px; }
.role .tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 12px;
}
.role p { color: var(--text-muted); margin: 0 0 14px; }
.role ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: var(--text);
}
.role li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
}
.role li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .55em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
}
.role .btn { margin-top: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--steel); color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* ---------- Info strips ---------- */
.checklist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.checklist li {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 15px;
}
.checklist strong {
    display: block;
    font-family: var(--font-head);
    color: var(--navy);
    margin-bottom: 4px;
}

.notice {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--steel-soft);
    color: var(--navy);
    font-size: 15px;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--steel); }
.notice.is-error { background: var(--red-soft); color: #7d1418; }
.notice.is-error svg { color: var(--red); }

/* ---------- Forms ---------- */
.form-section { padding-top: 6px; }
.form-section + .form-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.form-section h2 { font-size: 20px; margin-bottom: 4px; }
.form-section .hint { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; }

.fields {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 16px;
}
.f-6 { grid-column: span 6; }
.f-4 { grid-column: span 4; }
.f-3 { grid-column: span 3; }
.f-2 { grid-column: span 2; }
.f-1 { grid-column: span 1; }

.field label,
.field .label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.req { color: var(--red); margin-left: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--steel);
    box-shadow: 0 0 0 3px rgba(92, 135, 163, .2);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: var(--red); }
.field.has-error .field-error { display: block; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.choice span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all .15s ease;
}
.choice input:checked + span {
    background: var(--steel);
    border-color: var(--steel);
    color: #fff;
}
.choice input:focus-visible + span {
    outline: 3px solid rgba(92, 135, 163, .45);
    outline-offset: 2px;
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fineprint { font-size: 13px; color: var(--text-subtle); margin: 0; }

/* ---------- Link tiles ---------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 18px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.tile:hover { border-color: var(--steel-light); background: #fff; color: inherit; }
.tile .role-icon { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
.tile .role-icon svg { width: 20px; height: 20px; }
.tile strong { display: block; font-family: var(--font-head); color: var(--navy); }
.tile span { display: block; font-size: 14px; color: var(--text-muted); }
.tile-body { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 56px;
    padding: 28px 16px 36px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}
.site-footer a { color: var(--text-muted); }
.site-footer strong { font-family: var(--font-head); color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .grid-2, .checklist, .tiles { grid-template-columns: 1fr; }
    .f-4, .f-3 { grid-column: span 6; }
    .f-2, .f-1 { grid-column: span 3; }
    .card { padding: 20px; }
    .hero-inner { padding: 40px 16px 80px; }
    .topbar-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
