/* ==========================================================================
   InspectMatch — Light theme stylesheet
   Mobile-first. System fonts. Subtle blue/green accents.
   ========================================================================== */

:root {
    --bg:        #ffffff;
    --surface:   #f7f8fa;
    --surface-2: #eef0f4;
    --border:    #e5e7eb;
    --border-2:  #d1d5db;

    --text:      #111827;
    --text-2:    #374151;
    --muted:     #6b7280;
    --muted-2:   #9ca3af;

    --primary:        #2563eb;
    --primary-hover:  #1d4ed8;
    --primary-soft:   #eff6ff;
    --accent:         #10b981;
    --accent-hover:   #059669;
    --accent-soft:    #ecfdf5;

    --warn:    #f59e0b;
    --warn-soft: #fffbeb;
    --danger:  #ef4444;
    --danger-soft: #fef2f2;
    --success: #10b981;
    --success-soft: #ecfdf5;

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 1px rgba(17, 24, 39, .03);
    --shadow:    0 1px 3px rgba(17, 24, 39, .06), 0 4px 12px rgba(17, 24, 39, .04);
    --shadow-lg: 0 4px 16px rgba(17, 24, 39, .08), 0 12px 32px rgba(17, 24, 39, .06);

    --container: 1100px;
    --container-narrow: 720px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                 Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--primary-hover); text-decoration: underline; }

h1, h2, h3, h4 {
    line-height: 1.25;
    margin: 0 0 .75rem;
    color: var(--text);
    font-weight: 650;
    letter-spacing: -0.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

p { margin: 0 0 1rem; }

code, pre {
    font-family: var(--font-mono);
    font-size: .9em;
    background: var(--surface);
    padding: .15rem .4rem;
    border-radius: 4px;
}

/* -------------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}
.container.narrow,
.section.narrow > .container,
section.section.narrow {
    max-width: var(--container-narrow);
}
.section { padding: 2.5rem 0; }
.section-alt { background: var(--surface); }
.text-center { text-align: center; }
.align-center { align-items: center; }
.center { justify-content: center; }
.inline { display: inline-block; }
.mt-xl { margin-top: 2rem; }
.m-0 { margin: 0; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }

.page-header {
    margin-bottom: 1.75rem;
}
.page-header h1 { margin-bottom: .25rem; }
.lede { font-size: 1.1rem; color: var(--text-2); }

.site-main { min-height: 60vh; }

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark {
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: .95rem;
    padding: .25rem 0;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--primary); }
.nav-user .small { white-space: nowrap; }
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .5rem .6rem;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 1rem 1rem;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a, .nav-links form, .nav-links span {
        padding: .65rem 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links form, .nav-links span { border-bottom: 0; }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
    background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
    padding: 3rem 0 4rem;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.hero .lede { font-size: 1.15rem; max-width: 540px; }
.hero-illustration {
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.rec-stub h3 { margin-top: .5rem; }
.cta-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 1.25rem 0;
}
.cta-row.center { justify-content: center; }
.trust-strip {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .9rem;
    flex-wrap: wrap;
}
.trust-strip li::before { content: "✓"; color: var(--accent); margin-right: .35rem; font-weight: 700; }

.section-title { text-align: center; margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
   Cards & grids
   ------------------------------------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.highlight-card {
    background: linear-gradient(180deg, var(--primary-soft), #fff);
    border-color: #c9def7;
}
.warn-card {
    background: var(--warn-soft);
    border-color: #fde68a;
}

.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.small-grid { gap: 1rem; }
.grid-span-2 { grid-column: span 2; }

@media (max-width: 880px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-span-2 { grid-column: span 1; }
}

.step-card .step-num {
    display: inline-flex;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: .5rem;
}

.check-list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.check-list li {
    padding: .35rem 0 .35rem 1.5rem;
    position: relative;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.ordered { padding-left: 1.25rem; margin: 0 0 1rem; }
.ordered li { padding: .25rem 0; }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.link-list li:last-child { border-bottom: 0; }

/* -------------------------------------------------------------------------
   Stats & key-value lists
   ------------------------------------------------------------------------- */
.stat {
    text-align: left;
    padding: 1rem 1.25rem;
}
.stat-label {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .35rem;
}
.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.kv-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem 1rem;
    margin: .5rem 0;
}
.kv-list dt { color: var(--muted); font-weight: 500; }
.kv-list dd { margin: 0; }

.kv-stat {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kv-stat li {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    border-bottom: 1px dashed var(--border);
}
.kv-stat li:last-child { border-bottom: 0; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem 1.1rem;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 550;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .05s;
    line-height: 1.2;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-secondary {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary); }
.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-danger {
    background: var(--danger);
    border-color: var(--danger);
}
.btn-danger:hover { background: #dc2626; border-color: #dc2626; }
.btn-danger-ghost {
    color: var(--danger);
    border-color: var(--border);
}
.btn-danger-ghost:hover { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.btn-sm { padding: .35rem .7rem; font-size: .85rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.form-card { padding: 2rem; }
.form h3 {
    margin: 1.5rem 0 .75rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .04em;
}
.form h3:first-of-type { margin-top: 0; }
.field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1rem;
}
.field label {
    font-size: .9rem;
    font-weight: 550;
    color: var(--text-2);
}
.field small { color: var(--muted); }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="url"], input[type="number"], input[type="date"], input[type="time"],
input[type="search"], input[type="file"], textarea, select {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
input.required-empty { border-color: var(--danger); }

textarea { resize: vertical; min-height: 80px; }

.form-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.checkbox-inline {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    font-weight: 500 !important;
    margin-top: 1.5rem;
}

.role-fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.role-fieldset legend {
    font-size: .9rem;
    font-weight: 550;
    color: var(--text-2);
    margin-bottom: .35rem;
    padding: 0;
}
.role-fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}
.role-fieldset legend { width: 100%; }

/* Pill-style radios / checkboxes (for questionnaire) */
.option-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.radio-pill, .check-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
    font-size: .95rem;
}
.radio-pill:hover, .check-pill:hover {
    background: var(--surface);
}
.radio-pill input, .check-pill input {
    accent-color: var(--primary);
    margin: 0;
    width: auto;
}
.radio-pill:has(input:checked), .check-pill:has(input:checked) {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-bar { padding: 1rem 1.25rem; margin-bottom: 1rem; }

/* Questionnaire layout */
.questionnaire .question {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.questionnaire .question:first-of-type { padding-top: 0; }
.questionnaire .question:last-of-type { border-bottom: 0; }
.questionnaire .question h3 { margin-bottom: 1rem; line-height: 1.5; }

/* -------------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}
.data-table th, .data-table td {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.data-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text-2);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    position: sticky;
    top: 0;
}
.data-table tbody tr:nth-child(even) { background: rgba(247, 248, 250, .5); }
.data-table tbody tr:hover { background: var(--surface); }
.data-table.compact th, .data-table.compact td { padding: .45rem .55rem; font-size: .88rem; }
.action-cell { white-space: nowrap; display: flex; gap: .35rem; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------- */
.badge {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--surface-2);
    color: var(--text-2);
    text-transform: capitalize;
    line-height: 1.5;
    vertical-align: middle;
}
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-success { background: var(--success-soft); color: var(--accent-hover); }
.badge-warn    { background: var(--warn-soft); color: #b45309; }
.badge-danger  { background: var(--danger-soft); color: #b91c1c; }
.badge-cat     { background: var(--accent-soft); color: var(--accent-hover); text-transform: capitalize; }

/* Inspector approval status colors */
.badge-approved { background: var(--success-soft); color: var(--accent-hover); }
.badge-pending  { background: var(--warn-soft); color: #b45309; }
.badge-rejected { background: var(--danger-soft); color: #b91c1c; }

/* Booking status colors */
.badge-status.badge-requested { background: var(--primary-soft); color: var(--primary); }
.badge-status.badge-accepted  { background: var(--success-soft); color: var(--accent-hover); }
.badge-status.badge-declined  { background: var(--danger-soft); color: #b91c1c; }
.badge-status.badge-completed { background: #ecfeff; color: #0e7490; }
.badge-status.badge-cancelled { background: var(--surface-2); color: var(--muted); }

/* User status */
.badge-status.badge-active    { background: var(--success-soft); color: var(--accent-hover); }
.badge-status.badge-suspended { background: var(--danger-soft); color: #b91c1c; }

.badge-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }

/* Stars */
.stars { color: var(--warn); letter-spacing: 1px; font-size: .95rem; }

/* -------------------------------------------------------------------------
   Match cards
   ------------------------------------------------------------------------- */
.match-list { display: flex; flex-direction: column; gap: 1rem; }
.match-card { padding: 1.25rem 1.5rem; }
.match-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .5rem;
}
.match-score {
    text-align: center;
    background: var(--primary-soft);
    color: var(--primary);
    padding: .4rem .75rem;
    border-radius: var(--radius);
    min-width: 64px;
}
.score-num { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.score-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

.match-breakdown {
    list-style: none;
    padding: 0;
    margin: .75rem 0 1rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: var(--muted);
}
.match-breakdown li {
    background: var(--surface);
    padding: .25rem .65rem;
    border-radius: 999px;
}
.match-breakdown li strong { color: var(--text); margin-left: .15rem; }

.inspector-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   Messages thread
   ------------------------------------------------------------------------- */
.message-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.message {
    padding: .75rem 1rem;
    background: var(--surface);
    border-left: 3px solid var(--border-2);
    border-radius: var(--radius);
}
.message-inspector { border-left-color: var(--primary); background: var(--primary-soft); }
.message-buyer    { border-left-color: var(--accent); background: var(--accent-soft); }
.message-realtor  { border-left-color: var(--accent); background: var(--accent-soft); }
.message-admin    { border-left-color: var(--warn); background: var(--warn-soft); }
.message-head { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem; }
.message-body { white-space: pre-wrap; }

/* -------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------- */
.review-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.review {
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius);
}
.review-head { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .35rem; }

/* -------------------------------------------------------------------------
   Approval cards (admin)
   ------------------------------------------------------------------------- */
.approval-stack { display: flex; flex-direction: column; gap: 1rem; }
.approval-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.approval-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   Bar chart (analytics)
   ------------------------------------------------------------------------- */
.bar-chart { display: flex; flex-direction: column; gap: .35rem; margin-top: .75rem; }
.bar-row {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
}
.bar-label { color: var(--muted); }
.bar-track {
    background: var(--surface-2);
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
    transition: width .3s ease;
    min-width: 2px;
}
.bar-value { font-weight: 600; color: var(--text); text-align: right; }

/* -------------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* -------------------------------------------------------------------------
   Flash messages
   ------------------------------------------------------------------------- */
.flash-stack { padding-top: 1rem; }
.flash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: .5rem;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    animation: flashIn .25s ease-out;
}
@keyframes flashIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.flash-success { background: var(--success-soft); border-color: #a7f3d0; color: #065f46; }
.flash-error,
.flash-danger  { background: var(--danger-soft);  border-color: #fecaca; color: #991b1b; }
.flash-warn    { background: var(--warn-soft);    border-color: #fde68a; color: #92400e; }
.flash-info    { background: var(--primary-soft); border-color: #bfdbfe; color: #1e40af; }
.flash-close {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 .25rem;
    opacity: .7;
}
.flash-close:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
    margin-top: 4rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.footer-grid h4 { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.footer-grid a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    padding: .25rem 0;
    font-size: .9rem;
}
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Misc utilities
   ------------------------------------------------------------------------- */
form.inline { display: inline-block; }
form.inline + form.inline { margin-left: .25rem; }
