/*
Theme Name: Skeedy
Author: Skeedy
Description: Minimal WordPress theme with UIkit.
Version: 1.3.0
Text Domain: skeedy
*/

:root {
    color-scheme: light;
    --site-page: #f4f5f8;
    --site-surface: #ffffff;
    --site-surface-soft: #f5f6f9;
    --site-border: #d8dce5;
    --site-text: #24262d;
    --site-muted: #676c77;
    --site-accent: #6750dc;
    --site-accent-hover: #5842c7;
    --site-accent-soft: #ebe7ff;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --site-page: #171719;
    --site-surface: #202023;
    --site-surface-soft: #29292e;
    --site-border: #414149;
    --site-text: #f5f5f5;
    --site-muted: #a1a1aa;
    --site-accent: #6c54ee;
    --site-accent-hover: #7b65f4;
    --site-accent-soft: #3b315f;
}

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

body {
    margin: 0;
    background: var(--site-page);
    color: var(--site-text);
    min-height: 100dvh;
}

.site-header,
.site-header.uk-background-default {
    border-bottom: 1px solid var(--site-border);
    background: color-mix(in srgb, var(--site-surface) 94%, transparent) !important;
    color: var(--site-text);
    backdrop-filter: blur(12px);
}

.site-header .uk-navbar {
    min-height: 70px;
}

.site-header-mobile-nav {
    display: none;
}

.site-header .uk-logo,
.site-header .uk-navbar-item,
.site-header a {
    color: var(--site-text);
}


.site-header [data-auth-user] {
    gap: 10px;
}

.site-header [data-auth-display-name] {
    min-height: auto;
    margin-inline: 4px;
    padding-inline: 10px;
    white-space: nowrap;
}
.site-header a:hover {
    color: var(--site-accent);
}

.site-header-desktop-nav > a:hover {
    background: var(--site-accent-soft);
}

.site-logo {
    display: block;
    width: auto;
    max-height: 56px;
}

.site-theme-toggle {
    display: inline-flex;
    min-width: 132px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-color: var(--site-border);
    border-radius: 9px;
    padding: 0 14px;
    background: var(--site-surface-soft);
    color: var(--site-text);
    line-height: 1;
    text-transform: none;
}

.site-theme-toggle:hover {
    border-color: var(--site-accent);
    background: var(--site-surface);
    color: var(--site-accent);
}

.site-language-switcher {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 9px;
    background: var(--site-surface-soft);
}

.site-header .site-language-switcher a {
    display: inline-flex;
    min-width: 43px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-header .site-language-switcher a + a {
    border-left: 1px solid var(--site-border);
}

.site-header .site-language-switcher a:hover {
    color: var(--site-accent);
}

.site-header .site-language-switcher .is-active {
    background: var(--site-accent);
    color: #fff;
}

.site-header .site-language-switcher .is-active:hover {
    color: #fff;
}

.site-footer {
    border-top: 1px solid var(--site-border);
    padding: 14px 0;
    background: var(--site-surface);
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.site-footer-links a {
    color: var(--site-muted);
    text-decoration: none;
}

.site-footer-links a:hover {
    color: var(--site-accent);
    text-decoration: underline;
}

.site-footer-credit {
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.site-footer-credit a {
    color: var(--site-accent);
    font-weight: 600;
    text-decoration: none;
}

.site-footer-credit a:hover {
    text-decoration: underline;
}

.site-header-login {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 0 18px;
    font-weight: 600;
    line-height: 1;
    text-transform: none;
}

:root[data-theme="light"] .site-header-login.uk-button-default {
    border-color: var(--site-accent);
    background: var(--site-accent);
    color: #fff;
}

:root[data-theme="light"] .site-header-login.uk-button-default:hover,
:root[data-theme="light"] .site-header-login.uk-button-default:focus-visible {
    border-color: var(--site-accent-hover);
    background: var(--site-accent-hover);
    color: #fff;
}

:root[data-theme="light"] .site-my-projects-link.uk-button-default {
    border-color: var(--site-accent);
    background: var(--site-accent-soft);
    color: var(--site-accent);
}

:root[data-theme="light"] .site-my-projects-link.uk-button-default:hover,
:root[data-theme="light"] .site-my-projects-link.uk-button-default:focus-visible {
    border-color: var(--site-accent);
    background: var(--site-accent);
    color: #fff;
}

.site-header-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-color: var(--site-border);
    border-radius: 9px;
    padding: 0;
    background: var(--site-surface-soft);
    color: var(--site-text);
}

.site-header-menu-toggle:hover,
.site-header-menu-toggle:focus {
    border-color: var(--site-accent);
    background: var(--site-surface);
    color: var(--site-accent);
}

.site-mobile-menu .uk-offcanvas-bar {
    width: min(360px, calc(100vw - 24px));
    padding: 64px 20px 28px;
    background: var(--site-surface);
    color: var(--site-text);
}

.site-mobile-menu .uk-offcanvas-close,
.site-mobile-menu .uk-nav-default > li > a {
    color: var(--site-text);
}

.site-mobile-menu .uk-nav-default > li > a {
    padding: 12px 0;
    font-size: 17px;
}

.site-mobile-menu .uk-nav-default > li > a:hover {
    color: var(--site-accent);
}

.site-mobile-menu-settings {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    border-top: 1px solid var(--site-border);
    padding-top: 22px;
}

.site-mobile-menu-settings .site-theme-toggle {
    min-width: 0;
    flex: 1 1 auto;
}

.site-mobile-menu .site-language-switcher {
    flex: 0 0 auto;
}

.site-mobile-menu .site-language-switcher a {
    display: inline-flex;
    min-width: 43px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-mobile-menu .site-language-switcher a + a {
    border-left: 1px solid var(--site-border);
}

.site-mobile-menu .site-language-switcher a:hover {
    color: var(--site-accent);
}

.site-mobile-menu .site-language-switcher .is-active,
.site-mobile-menu .site-language-switcher .is-active:hover {
    background: var(--site-accent);
    color: #fff;
}

.site-mobile-auth {
    margin-top: 16px;
}

.site-mobile-auth .uk-button {
    width: 100%;
    height: 42px;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
    text-transform: none;
}

.theme-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.theme-icon-sun {
    display: none;
}

.theme-icon-moon {
    display: block;
}

:root[data-theme="dark"] .theme-icon-sun {
    display: block;
}

:root[data-theme="dark"] .theme-icon-moon {
    display: none;
}

.uk-button-primary {
    border-color: var(--site-accent);
    background: var(--site-accent);
}

.uk-button-primary:hover {
    border-color: var(--site-accent-hover);
    background: var(--site-accent-hover);
}

.uk-button-default,
.uk-modal-dialog,
.uk-card-default,
.uk-dropdown {
    border-color: var(--site-border);
    background: var(--site-surface);
    color: var(--site-text);
}

.uk-button-default:hover,
.uk-button-default:focus-visible {
    border-color: var(--site-accent);
    background: var(--site-accent-soft);
    color: var(--site-accent);
}

.uk-text-muted,
.uk-text-meta {
    color: var(--site-muted) !important;
}

.uk-placeholder {
    border-color: var(--site-border);
    color: var(--site-muted);
}

.uk-button-danger {
    border-color: #c93648;
    background: #c93648;
}

:root[data-theme="dark"] .uk-button-danger {
    border-color: #d94b5c;
    background: #a92f3e;
}

.uk-modal-title,
.uk-form-label,
.uk-heading-small,
.uk-heading-medium,
.uk-heading-large,
.uk-card-title {
    color: var(--site-text);
}

.uk-input,
.uk-select,
.uk-textarea {
    border-color: var(--site-border);
    background: var(--site-surface-soft);
    color: var(--site-text);
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    border-color: var(--site-accent);
    background: var(--site-surface);
    color: var(--site-text);
}

.uk-notification {
    width: min(420px, calc(100vw - 24px));
}

.uk-notification-message {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-left: 4px solid var(--site-accent);
    border-radius: 8px;
    padding: 15px 44px 15px 16px;
    background: color-mix(in srgb, var(--site-surface) 96%, transparent);
    color: var(--site-text);
    box-shadow: 0 16px 42px rgb(25 27 34 / 14%);
    font-size: 14px;
    line-height: 1.45;
    backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .uk-notification-message {
    box-shadow: 0 18px 46px rgb(0 0 0 / 34%);
}

.uk-notification-message-primary {
    border-left-color: var(--site-accent);
}

.uk-notification-message-success {
    border-left-color: #28a745;
}

.uk-notification-message-warning {
    border-left-color: #d99a00;
}

.uk-notification-message-danger {
    border-left-color: #d83a52;
}

.uk-notification-close {
    top: 13px;
    right: 13px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: var(--site-muted);
}

.uk-notification-close:hover {
    background: var(--site-surface-soft);
    color: var(--site-text);
}

#support-project-modal .uk-modal-dialog {
    box-sizing: border-box;
    width: min(760px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: clamp(26px, 4vw, 40px);
    overflow-x: hidden;
}

#support-project-modal .uk-modal-title {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

#support-project-modal p {
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.68;
}

:root[data-theme="dark"] .uk-modal {
    background: rgb(5 5 7 / 72%);
}

:root[data-theme="dark"] .uk-close,
:root[data-theme="dark"] .uk-button-text {
    color: var(--site-text);
}

@media (prefers-reduced-motion: no-preference) {
    body,
    .site-header,
    .site-theme-toggle,
    .uk-modal-dialog,
    .uk-card-default,
    .uk-input,
    .uk-select,
    .uk-textarea {
        transition:
            color 160ms ease,
            background-color 160ms ease,
            border-color 160ms ease;
    }
}

@media (max-width: 1180px) {
    .site-header-desktop-nav {
        display: none;
    }

    .site-header-mobile-nav {
        display: flex;
    }

    .site-header .uk-container {
        padding-inline: 16px;
    }

    .site-header .uk-navbar {
        min-height: 62px;
    }

    .site-header .uk-navbar-item {
        min-height: 62px;
    }

    .site-logo {
        max-height: 46px;
    }
}

@media (max-width: 700px) {
    .site-header .uk-container {
        padding-inline: 10px;
    }

    .site-header .uk-navbar {
        min-height: 58px;
    }

    .site-header .uk-navbar-item {
        min-height: 58px;
        padding-inline: 6px;
    }

    .site-logo {
        max-width: 120px;
        max-height: 42px;
    }

}

@media (max-width: 480px) {
    .site-header .uk-logo {
        padding-inline: 4px;
        font-size: 18px;
    }

    .site-logo {
        max-width: 88px;
    }

    [data-auth-user] > .uk-navbar-item:first-child {
        padding-inline: 4px;
        font-size: 13px;
    }
}
/* My Projects: UIkit components aligned with the site design system. */
.projects-page .uk-card-default {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgb(25 27 34 / 6%);
}

:root[data-theme="dark"] .projects-page .uk-card-default {
    box-shadow: 0 10px 32px rgb(0 0 0 / 24%);
}

.project-create-form {
    gap: 10px;
}

.project-card-preview {
    display: grid;
    aspect-ratio: 3 / 2;
    margin: -40px -40px 24px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--site-border);
    background: var(--site-surface-soft);
}

.project-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-create-form .uk-input {
    width: min(320px, 38vw);
    height: 44px;
    border-radius: 9px;
}

.projects-page .project-action {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
}

.project-create-form .project-action {
    min-height: 44px;
    flex: 0 0 auto;
}

.projects-page .project-action-primary {
    border-color: var(--site-accent);
    background: var(--site-accent);
    color: #fff;
}

.projects-page .project-action-primary:hover {
    border-color: var(--site-accent-hover);
    background: var(--site-accent-hover);
    color: #fff;
}

.projects-page .project-action-secondary {
    border-color: var(--site-border);
    background: var(--site-surface-soft);
    color: var(--site-text);
}

.projects-page .project-action-secondary:hover {
    border-color: var(--site-accent);
    background: var(--site-surface);
    color: var(--site-accent);
}

.projects-page .project-action-danger {
    border-color: color-mix(in srgb, #c93648 45%, var(--site-border));
    background: color-mix(in srgb, #c93648 9%, var(--site-surface));
    color: #b62d3e;
}

:root[data-theme="dark"] .projects-page .project-action-danger {
    border-color: #72404a;
    background: #38252a;
    color: #ff9aa5;
}

.projects-page .project-action-danger:hover {
    border-color: #c93648;
    background: #c93648;
    color: #fff;
}

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

.project-card-actions .project-action-primary {
    grid-column: 1 / -1;
}

.projects-page .project-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--site-accent) 35%, transparent);
    outline-offset: 2px;
}

.projects-page .project-action:disabled {
    cursor: wait;
    opacity: 0.55;
}

@media (max-width: 700px) {
    .project-card-preview {
        margin: -30px -30px 20px;
    }

    .project-create-form {
        width: 100%;
    }

    .project-create-form .uk-input {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .project-create-form {
        align-items: stretch;
        flex-direction: column;
    }

    .project-create-form .uk-input,
    .project-create-form .project-action {
        width: 100%;
    }

    .projects-page .uk-card-body {
        padding: 18px;
    }
}
/* Homepage guest-project entry point. */
.home-project-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: clamp(28px, 6vw, 72px);
    overflow: hidden;
    margin-bottom: 48px;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    padding: clamp(26px, 5vw, 56px);
    background:
        radial-gradient(circle at 0 0, color-mix(in srgb, var(--site-accent) 16%, transparent), transparent 45%),
        var(--site-surface);
    box-shadow: 0 18px 54px rgb(25 27 34 / 8%);
}

:root[data-theme="dark"] .home-project-cta {
    box-shadow: 0 20px 60px rgb(0 0 0 / 28%);
}

.home-project-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-project-copy h1 {
    max-width: 680px;
    margin: 0;
    color: var(--site-text);
    font-size: clamp(30px, 4.5vw, 54px);
    line-height: 1.06;
}

.home-project-copy p {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--site-muted);
    font-size: 17px;
    line-height: 1.65;
}

.home-project-form {
    border: 1px solid var(--site-border);
    border-radius: 14px;
    padding: 20px;
    background: var(--site-surface-soft);
}

.home-project-form .uk-form-label {
    margin-bottom: 8px;
    font-weight: 600;
}

.home-project-form-row {
    display: flex;
    gap: 10px;
}

.home-project-form .uk-input,
.home-project-form .uk-button {
    min-height: 46px;
    border-radius: 9px;
}

.home-project-form .uk-input {
    min-width: 0;
    flex: 1 1 auto;
}

.home-project-form .uk-button {
    flex: 0 0 auto;
    padding-inline: 18px;
    font-weight: 600;
    line-height: 44px;
    text-transform: none;
}

.home-project-autosave {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 8px 12px;
    margin-top: 14px;
    border: 1px solid var(--site-border);
    border-radius: 9px;
    padding: 12px;
    color: var(--site-muted);
    font-size: 14px;
}

.home-project-autosave-toggle {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 9px;
    color: var(--site-text);
    font-weight: 600;
    cursor: pointer;
}

.home-project-autosave .uk-select {
    height: 40px;
    border-radius: 8px;
}

.home-project-autosave .uk-select:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.home-project-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.45;
}

.home-project-terms .uk-checkbox {
    flex: 0 0 auto;
    margin-top: 2px;
}

.home-project-terms a {
    color: var(--site-accent);
    font-weight: 600;
}

.home-project-form small {
    display: block;
    margin-top: 10px;
    color: var(--site-muted);
    line-height: 1.4;
}

.home-description {
    max-width: 820px;
    margin-bottom: 42px;
}

.home-description h1 {
    margin: 0 0 18px;
    color: var(--site-text);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
}

.home-description p {
    margin: 0 0 14px;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.72;
}

.home-description a {
    color: var(--site-accent);
    font-weight: 600;
}

.help-page {
    background: var(--site-page);
}

.help-hero {
    padding: clamp(48px, 8vw, 88px) 0 clamp(34px, 6vw, 64px);
    border-bottom: 1px solid var(--site-border);
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--site-accent) 14%, transparent), transparent 42%),
        var(--site-surface);
}

.help-hero-inner {
    max-width: 820px;
}

.help-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-hero h1,
.help-shortcuts h2,
.help-faq h2 {
    margin: 0;
    color: var(--site-text);
}

.help-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
}

.help-hero p {
    max-width: 680px;
    margin: 18px 0 26px;
    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.65;
}

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

.help-guide-card,
.help-shortcuts,
.help-faq details {
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: var(--site-surface);
    box-shadow: 0 10px 32px rgb(25 27 34 / 5%);
}

:root[data-theme="dark"] .help-guide-card,
:root[data-theme="dark"] .help-shortcuts,
:root[data-theme="dark"] .help-faq details {
    box-shadow: 0 10px 32px rgb(0 0 0 / 22%);
}

.help-guide-card {
    padding: 22px;
}

.help-guide-card h2 {
    margin: 0 0 16px;
    color: var(--site-text);
    font-size: 22px;
}

.help-feature-grid {
    display: grid;
    gap: 12px;
}

.help-feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    padding: 12px;
    background: var(--site-surface-soft);
}

.help-feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--site-accent) 12%, var(--site-surface));
    color: var(--site-accent);
}

.help-feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.help-feature-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.help-feature-copy strong {
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.25;
}

.help-feature-copy span {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
}

.help-shortcuts {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    margin-top: 28px;
    padding: 24px;
}

.help-shortcuts h2,
.help-faq h2 {
    font-size: 28px;
}

.help-shortcuts dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.help-shortcuts dl > div {
    min-width: 0;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    padding: 10px;
    background: var(--site-surface-soft);
}

.help-shortcuts dt {
    margin-bottom: 4px;
    color: var(--site-accent);
    font-size: 13px;
    font-weight: 700;
}

.help-shortcuts dd {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
}

.help-faq {
    margin-top: 36px;
}

.help-faq-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.help-faq details {
    padding: 0;
}

.help-faq summary {
    cursor: pointer;
    padding: 17px 20px;
    color: var(--site-text);
    font-weight: 700;
}

.help-faq details[open] summary {
    border-bottom: 1px solid var(--site-border);
}

.help-faq p {
    margin: 0;
    padding: 16px 20px 18px;
    color: var(--site-muted);
    line-height: 1.6;
}

.legal-page {
    background: var(--site-page);
}

.legal-hero {
    padding: clamp(42px, 7vw, 76px) 0 clamp(28px, 5vw, 48px);
    border-bottom: 1px solid var(--site-border);
    background: var(--site-surface);
}

.legal-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--site-text);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.legal-hero p {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.65;
}

.legal-document {
    max-width: 860px;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 40px);
    background: var(--site-surface);
    box-shadow: 0 10px 32px rgb(25 27 34 / 5%);
}

:root[data-theme="dark"] .legal-document {
    box-shadow: 0 10px 32px rgb(0 0 0 / 22%);
}

.legal-document section + section {
    margin-top: 28px;
}

.legal-document h2 {
    margin: 0 0 10px;
    color: var(--site-text);
    font-size: 24px;
    line-height: 1.25;
}

.legal-document p,
.legal-document li {
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.72;
}

.legal-document p {
    margin: 0;
}

.legal-document ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 22px;
}

.legal-note {
    margin-top: 30px !important;
    border-top: 1px solid var(--site-border);
    padding-top: 20px;
    color: var(--site-muted) !important;
}

.legal-actions {
    margin-top: 24px;
}

.legal-actions .uk-button {
    border-radius: 8px;
    text-transform: none;
}

.project-grid-wrapper .uk-card-title{
    color: var(--site-text);
}
@media (max-width: 900px) {
    .home-project-cta {
        grid-template-columns: 1fr;
    }

    .help-section-grid,
    .help-shortcuts {
        grid-template-columns: 1fr;
    }

    .help-shortcuts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-project-cta {
        margin-inline: -5px;
        border-radius: 14px;
        padding: 22px 18px;
    }

    .home-project-copy h1 {
        font-size: 32px;
    }

    .home-project-copy p {
        font-size: 15px;
    }

    .home-project-form-row {
        flex-direction: column;
    }

    .home-project-form .uk-button {
        width: 100%;
    }

    .home-project-autosave {
        grid-template-columns: 1fr;
    }

    .home-project-autosave-toggle {
        grid-column: auto;
    }

    .help-hero {
        padding-top: 38px;
    }

    .help-hero h1 {
        font-size: 34px;
    }

    .help-guide-card,
    .help-shortcuts {
        padding: 18px;
    }

    .help-shortcuts dl {
        grid-template-columns: 1fr;
    }
}
