:root {
    color-scheme: light;
    --bg: #fff;
    --text: #000;
    --muted: rgba(0, 0, 0, 0.58);
    --line: rgba(0, 0, 0, 0.18);
    --panel: rgba(255, 255, 255, 0.92);
    --shadow: rgba(0, 0, 0, 0.08);
    --dashboard-left: clamp(1rem, 5vw, 4rem);
    --dashboard-right: clamp(1rem, 7vw, 8rem);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

.theme-dark {
    color-scheme: dark;
    --bg: #000;
    --text: #fff;
    --muted: rgba(255, 255, 255, 0.62);
    --line: rgba(255, 255, 255, 0.2);
    --panel: rgba(0, 0, 0, 0.92);
    --shadow: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: dark) {
    .theme-auto {
        color-scheme: dark;
        --bg: #000;
        --text: #fff;
        --muted: rgba(255, 255, 255, 0.62);
        --line: rgba(255, 255, 255, 0.2);
        --panel: rgba(0, 0, 0, 0.92);
        --shadow: rgba(255, 255, 255, 0.08);
    }
}

html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg) fixed;
    color: var(--text);
    font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.mobile-brand-header {
    display: none;
}

.coming-soon {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem) calc(9rem + env(safe-area-inset-bottom));
    text-align: center;
}

.brand-panel {
    width: min(100%, 70rem);
    min-height: min(40rem, calc(100svh - 3rem));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2.6vw, 2rem);
    padding: clamp(2rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4rem);
}

.brand-mark {
    width: min(9.5rem, 42vw);
    max-height: 2.8rem;
    object-fit: contain;
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    animation: enter-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: clamp(0.75rem, 1.8vw, 1.25rem);
    animation: enter-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    animation: badge-breathe 3.6s ease-in-out 1.4s infinite;
}

.login-pill {
    color: var(--text);
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.login-pill:hover,
.login-pill:focus-visible {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
    outline: none;
}

.pill-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: none;
    animation: spin 1.8s linear infinite;
    transform-origin: center;
}

.action-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
    fill: currentColor;
}

@keyframes enter-up {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badge-breathe {
    0%,
    100% {
        border-color: var(--line);
    }

    50% {
        border-color: rgba(0, 0, 0, 0.34);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes menu-pop {
    from {
        opacity: 0;
        transform: translateY(-0.3rem) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(2.35rem, 7.6vw, 6.75rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    animation: enter-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.intro {
    max-width: 42rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    line-height: 1.65;
    animation: enter-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 240ms both;
}

.login-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem) calc(9rem + env(safe-area-inset-bottom));
}

.login-panel {
    width: min(100%, 28rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.35rem, 3vw, 1.85rem);
    text-align: center;
}

.login-brand {
    display: inline-flex;
    align-self: center;
    color: var(--text);
    text-decoration: none;
    animation: enter-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.login-brand img {
    width: min(9rem, 42vw);
    max-height: 2.75rem;
    object-fit: contain;
}

.login-heading {
    display: grid;
    gap: 0.65rem;
    animation: enter-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.login-heading h1 {
    font-size: clamp(2.25rem, 6vw, 4.4rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.login-form {
    display: grid;
    gap: 0.9rem;
    animation: enter-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 240ms both;
}

.login-alert {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
}

.login-alert p {
    margin: 0;
}

.field-group {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.2rem;
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 160ms ease;
}

.input-shell:focus-within {
    border-color: var(--text);
}

.input-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    outline: none;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-align: left;
}

.remember-option input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--text);
}

.submit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.15rem;
    border: 1px solid var(--text);
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.submit-pill:hover,
.submit-pill:focus-visible {
    background: var(--bg);
    color: var(--text);
    outline: none;
}

.account-heading {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    left: var(--dashboard-left);
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: 3.15rem;
    color: var(--text);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-navbar {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    right: var(--dashboard-right);
    z-index: 10;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.4rem);
    width: min(calc(100% - 2rem), 32rem);
    min-height: 3.15rem;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
}

.dashboard-enter .account-heading,
.dashboard-enter .account-navbar {
    animation: enter-up 640ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.account-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
}

.account-brand img {
    width: 7.4rem;
    max-height: 2rem;
    object-fit: contain;
}

.theme-dark .account-brand img {
    filter: invert(1);
}

@media (prefers-color-scheme: dark) {
    .theme-auto .account-brand img {
        filter: invert(1);
    }
}

.profile-menu {
    position: relative;
    justify-self: end;
}

.profile-menu summary {
    list-style: none;
}

.profile-menu summary::-webkit-details-marker {
    display: none;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.profile-trigger:hover,
.profile-trigger:focus-visible,
.profile-menu[open] .profile-trigger {
    background: var(--bg);
    border-color: var(--text);
    color: var(--text);
    outline: none;
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--text);
    color: var(--bg);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    object-fit: cover;
}

.profile-avatar--image {
    display: block;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    display: grid;
    gap: 0.35rem;
    width: 12.5rem;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--bg);
    box-shadow: 0 1rem 2.4rem var(--shadow);
    transform-origin: top right;
}

.profile-menu[open] .profile-dropdown {
    animation: menu-pop 160ms ease-out both;
}

.profile-dropdown a,
.profile-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.62rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown a:focus-visible,
.profile-dropdown button:hover,
.profile-dropdown button:focus-visible {
    background: var(--text);
    color: var(--bg);
    outline: none;
}

.logout-form {
    margin: 0;
}

.account-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(6.5rem + env(safe-area-inset-top)) var(--dashboard-right) calc(9rem + env(safe-area-inset-bottom)) var(--dashboard-left);
    text-align: center;
}

.account-page--content {
    align-items: flex-start;
}

.account-content {
    width: 100%;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    padding-top: clamp(2rem, 8vw, 5rem);
    text-align: left;
}

.account-welcome {
    display: grid;
    gap: 0.55rem;
}

.account-welcome p,
.panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-welcome h1 {
    margin: 0;
    font-size: clamp(2rem, 5.8vw, 4.6rem);
    letter-spacing: 0.02em;
    text-align: left;
    text-transform: uppercase;
}

.account-data-panel,
.settings-panel {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--panel);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2 {
    margin: 0.2rem 0 0;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.outline-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0.58rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.outline-pill:hover,
.outline-pill:focus-visible {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
    outline: none;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0;
}

.profile-grid div {
    min-width: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
}

.profile-grid dt {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-grid dd {
    margin: 0.3rem 0 0;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
    font-weight: 700;
}

.profile-modal {
    width: min(100% - 2rem, 48rem);
}

.profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.profile-form label,
.theme-options label {
    display: grid;
    gap: 0.42rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-form input,
.profile-form select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
}

.profile-form input[type="file"] {
    border-radius: 1rem;
}

.profile-form .submit-pill {
    grid-column: 1 / -1;
}

.field-hint,
.errorlist {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
}

.errorlist {
    margin: 0;
    padding-left: 1rem;
    color: var(--text);
}

.settings-content {
    width: 100%;
}

.theme-options ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.theme-options label {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 2.8rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
}

.theme-options input {
    accent-color: var(--text);
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(clamp(1.25rem, 3vw, 2rem) + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    width: min(100% - 2rem, 78rem);
    margin: 0 auto;
}

.copyright {
    justify-self: start;
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.45;
    animation: enter-up 640ms cubic-bezier(0.2, 0.8, 0.2, 1) 640ms both;
}

.social-links,
.legal-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
}

.social-links {
    justify-self: center;
}

.legal-links {
    justify-self: end;
}

.social-links a,
.legal-links button,
.modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.social-links a {
    width: 2.55rem;
    height: 2.55rem;
    animation: enter-up 640ms cubic-bezier(0.2, 0.8, 0.2, 1) 520ms both;
}

.legal-links button {
    gap: 0.42rem;
    min-height: 2.35rem;
    padding: 0.6rem 0.92rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: enter-up 640ms cubic-bezier(0.2, 0.8, 0.2, 1) 520ms both;
}

.legal-icon {
    width: 0.92rem;
    height: 0.92rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.social-links a:nth-child(2),
.legal-links button:nth-child(2) {
    animation-delay: 600ms;
}

.social-links a:nth-child(3),
.legal-links button:nth-child(3) {
    animation-delay: 680ms;
}

.social-links a:nth-child(4) {
    animation-delay: 760ms;
}

.dashboard-shell .social-links a,
.dashboard-shell .legal-links button,
.dashboard-shell .copyright {
    animation: none;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: none;
}

.contact-icon--facebook {
    width: 0.95rem;
    height: 0.95rem;
    transform: translateX(0.04rem);
}

.social-links a:hover,
.social-links a:focus-visible,
.legal-links button:hover,
.legal-links button:focus-visible,
.modal-close:hover,
.modal-close:focus-visible {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
    outline: none;
}

.legal-modal {
    width: min(100% - 2rem, 34rem);
    max-height: min(86svh, 42rem);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

.legal-modal::backdrop {
    background: rgba(0, 0, 0, 0.36);
}

.modal-panel {
    position: relative;
    max-height: min(86svh, 42rem);
    overflow: auto;
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.modal-panel h2 {
    margin: 0 2.25rem 1rem 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.1;
}

.modal-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.modal-copy {
    display: grid;
    gap: 0.85rem;
}

.modal-copy a {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.modal-copy a:hover,
.modal-copy a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 640px) {
    :root {
        --dashboard-left: 1rem;
        --dashboard-right: 1rem;
    }

    body {
        min-height: 100svh;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .mobile-brand-header {
        display: flex;
        justify-content: center;
        padding: clamp(1.25rem, 6vw, 2rem) 1rem 0;
    }

    .mobile-brand-mark {
        width: min(8rem, 44vw);
        max-height: 2.6rem;
        object-fit: contain;
        animation: enter-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .coming-soon,
    .login-page,
    .account-page {
        min-height: 0;
        align-self: center;
        padding: 1rem 1rem;
    }

    .brand-panel {
        min-height: auto;
        gap: 0.95rem;
        padding: 0;
    }

    .brand-mark {
        display: none;
    }

    h1 {
        width: 100%;
        font-size: clamp(1.72rem, 8.5vw, 2.12rem);
        letter-spacing: 0;
        white-space: nowrap;
    }

    .intro {
        max-width: 20rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hero-actions {
        width: 100%;
        gap: 0.55rem;
        margin-top: 0.45rem;
    }

    .status-pill {
        padding: 0.62rem 0.95rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .login-panel {
        width: min(100%, 22rem);
        gap: 1.05rem;
    }

    .login-brand {
        display: none;
    }

    .login-heading {
        gap: 0.45rem;
    }

    .login-heading h1 {
        font-size: clamp(1.95rem, 9vw, 2.5rem);
        letter-spacing: 0.01em;
        white-space: normal;
    }

    .field-group,
    .login-options,
    .submit-pill {
        font-size: 0.66rem;
    }

    .input-shell {
        min-height: 2.85rem;
        padding-inline: 0.9rem;
    }

    .submit-pill {
        min-height: 2.9rem;
    }

    .account-navbar {
        position: static;
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: space-between;
        gap: 0.65rem;
        width: auto;
        min-height: 2.8rem;
        margin: calc(0.85rem + env(safe-area-inset-top)) 1rem 0;
        padding: 0.28rem 0.28rem 0.28rem 0.75rem;
        transform: none;
    }

    .account-heading {
        position: static;
        min-height: auto;
        padding: calc(0.85rem + env(safe-area-inset-top)) 1rem 0;
        font-size: 0.62rem;
        letter-spacing: 0.05em;
    }

    .account-brand {
        display: inline-flex;
        justify-self: start;
    }

    .account-brand img {
        width: min(7rem, 42vw);
        max-height: 1.8rem;
    }

    .profile-trigger {
        width: 2.2rem;
        height: 2.2rem;
    }

    .profile-dropdown {
        width: min(12rem, calc(100vw - 2rem));
    }

    .profile-dropdown a,
    .profile-dropdown button {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
    }

    .site-footer {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.7rem;
        width: auto;
        align-self: end;
        padding: 0 1rem calc(1.25rem + env(safe-area-inset-bottom));
    }

    .copyright {
        order: 3;
        justify-self: center;
        max-width: 20rem;
        text-align: center;
    }

    .social-links,
    .legal-links {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem;
    }

    .social-links {
        order: 1;
    }

    .legal-links {
        order: 2;
    }

    .legal-links button {
        min-height: 2.05rem;
        padding: 0.48rem 0.66rem;
        font-size: 0.58rem;
        gap: 0.3rem;
        letter-spacing: 0.02em;
    }

    .social-links a {
        width: 2.2rem;
        height: 2.2rem;
    }

    .contact-icon {
        width: 0.9rem;
        height: 0.9rem;
    }

    .legal-icon {
        width: 0.78rem;
        height: 0.78rem;
    }

    .copyright {
        font-size: 0.66rem;
        line-height: 1.4;
    }

    .legal-modal {
        width: min(100% - 1.5rem, 32rem);
    }

    .account-page--content {
        align-items: flex-start;
        align-self: start;
    }

    .account-content {
        padding-top: 1rem;
    }

    .account-data-panel,
    .settings-panel,
    .profile-grid div {
        text-align: left;
    }

    .account-welcome h1 {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        text-align: left;
        white-space: normal;
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-grid,
    .profile-form {
        grid-template-columns: 1fr;
    }

    .outline-pill,
    .profile-form .submit-pill,
    .settings-panel .submit-pill {
        width: 100%;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: clamp(1.52rem, 8vw, 1.86rem);
        letter-spacing: 0;
    }

    .legal-links button {
        padding-inline: 0.56rem;
        font-size: 0.55rem;
    }

    .hero-actions {
        gap: 0.45rem;
    }

    .status-pill {
        padding-inline: 0.75rem;
    }

}

@media (min-width: 641px) and (max-height: 760px) {
    .coming-soon,
    .login-page,
    .account-page {
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    }

    .brand-panel {
        min-height: auto;
        gap: 1rem;
    }

    h1 {
        font-size: clamp(2.1rem, 6vw, 4.8rem);
    }
}

@media (max-width: 860px) {
    .coming-soon,
    .login-page,
    .account-page {
        padding-bottom: 1rem;
    }

    .site-footer {
        position: static;
        grid-template-columns: 1fr;
        justify-items: center;
        width: auto;
        padding: 0 1rem calc(1.5rem + env(safe-area-inset-bottom));
    }

    .copyright,
    .social-links,
    .legal-links {
        justify-self: center;
    }

    .copyright {
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-panel,
    .brand-mark,
    .mobile-brand-mark,
    .hero-actions,
    .status-pill,
    .pill-icon,
    .login-brand,
    .login-heading,
    .login-form,
    .account-navbar,
    h1,
    .intro,
    .social-links a,
    .legal-links button,
    .copyright {
        animation: none;
    }

    .profile-menu[open] .profile-dropdown {
        animation: none;
    }
}
