html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.profile-about {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.member-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .member-card:hover {
        transform: translateY(-3px);
    }

.member-card-image,
.member-card-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.member-card-image {
    object-fit: cover;
}

.member-card-placeholder {
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.profile-image-preview {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: var(--bs-tertiary-bg);
}

.profile-image-placeholder {
    width: 100%;
    min-height: 320px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.member-message-content {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.unread-message {
    border-left: 5px solid var(--bs-primary) !important;
    background-color: rgba( var(--bs-primary-rgb), 0.035);
}

.profile-action-panel {
    top: 5.5rem;
    z-index: 10;
}

.profile-action-panel {
    position: sticky;
    top: 5.5rem;
}

    .profile-action-panel .btn {
        text-align: left;
        padding: 0.75rem 1rem;
    }

@media (max-width: 991.98px) {
    .profile-action-panel {
        position: static;
    }

        .profile-action-panel .d-grid {
            display: flex !important;
            flex-wrap: wrap;
        }

        .profile-action-panel .btn {
            width: auto;
            text-align: center;
        }
}

.profile-action-panel .card {
    border-radius: 0.9rem;
}

.profile-action-panel .btn {
    line-height: 1.35;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.validation-summary-valid {
    display: none;
}

.swapconnect-hero {
    background: radial-gradient( circle at top right, rgba(var(--bs-primary-rgb), 0.12), transparent 42%), linear-gradient( 180deg, var(--bs-tertiary-bg), #ffffff);
    border-bottom: 1px solid var(--bs-border-color);
}

.hero-eyebrow {
    display: inline-flex;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-support-card {
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
}

.hero-check-list {
    display: grid;
    gap: 0.9rem;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.home-section-heading {
    max-width: 760px;
}

.home-audience-card {
    border-radius: 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .home-audience-card:hover {
        transform: translateY(-3px);
    }

.home-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    border-radius: 0.8rem;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-weight: 700;
}

.home-muted-section {
    background: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

.home-step {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
}

.home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #ffffff;
    font-weight: 700;
}

.resource-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.9rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

    .resource-link-card:hover {
        border-color: var(--bs-primary);
        transform: translateY(-2px);
        color: inherit;
    }

    .resource-link-card > span {
        flex: 0 0 auto;
        color: var(--bs-primary);
        font-size: 0.78rem;
        font-weight: 700;
    }

.home-safety-notice {
    padding: 2rem;
    border-left: 5px solid var(--bs-warning);
    border-radius: 0.75rem;
    background: var(--bs-warning-bg-subtle);
}

.home-owner-section {
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

.site-brand-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

.navbar-brand {
    font-weight: 600;
}

.home-brand-header {
    display: block;
    width: 100%;
    max-width: 1050px;
    height: auto;
    margin-inline: auto;
}

.privacy-policy {
    display: grid;
    gap: 2.25rem;
}

    .privacy-policy section {
        padding-bottom: 2.25rem;
        border-bottom: 1px solid var(--bs-border-color);
    }

        .privacy-policy section:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

    .privacy-policy h2 {
        margin-bottom: 1rem;
        font-size: 1.55rem;
    }

    .privacy-policy h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        font-size: 1.15rem;
    }

    .privacy-policy p,
    .privacy-policy li {
        line-height: 1.75;
    }

    .privacy-policy ul {
        display: grid;
        gap: 0.45rem;
    }