@font-face {
    font-family: 'Neuropol';
    font-style: normal;
    font-weight: 400;
    src: local('Neuropol'),
         url('../fonts/fonts/neuropol.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/6213/NEUROPOL.woff') format('woff');
    font-display: swap;
}

h1[tabindex="-1"]:focus {
    outline: none;
}

/* Account layout follows the local Block account-profile and nav-account templates. */
.account-page-heading {
    margin-bottom: 1.75rem;
}

.account-page-description {
    max-width: 65ch;
    margin-bottom: 0;
    color: var(--bs-secondary-color);
    line-height: 1.7;
}

.account-panel .card-body {
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.account-panel-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.account-panel-heading .account-shortcut-icon {
    flex-shrink: 0;
}

.account-eyebrow {
    margin: 0 0 0.375rem;
    color: var(--bs-heading-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.account-panel-copy,
.subscription-copy {
    max-width: 65ch;
    color: var(--bs-body-color);
    line-height: 1.7;
}

.account-panel-copy {
    color: var(--bs-secondary-color);
}

.subscription-copy {
    margin-bottom: 1rem;
}

.subscription-offer p,
.subscription-offer li {
    color: var(--bs-heading-color);
    line-height: 1.7;
}

.subscription-notice {
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    line-height: 1.65;
}

.subscription-notice strong,
.subscription-notice span {
    display: block;
}

.subscription-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
}

.subscription-actions form {
    margin: 0;
}

.subscription-actions .btn {
    min-height: 2.75rem;
    white-space: normal;
}

.subscription-actions .btn-outline-secondary {
    --bs-btn-color: var(--bs-heading-color);
    --bs-btn-border-color: var(--bs-secondary-color);
    --bs-btn-hover-color: var(--bs-heading-color);
    --bs-btn-hover-bg: var(--bs-secondary-bg);
    --bs-btn-hover-border-color: var(--bs-secondary-color);
    --bs-btn-active-color: var(--bs-heading-color);
    --bs-btn-active-bg: var(--bs-secondary-bg);
    --bs-btn-active-border-color: var(--bs-secondary-color);
}

.subscription-actions .btn:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .subscription-actions > *,
    .subscription-actions form .btn {
        width: 100%;
    }
}

.account-area {
    min-height: 65vh;
}

.account-avatar,
.account-shortcut-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-size: 1.75rem;
}

.account-shortcut-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
}

.account-shortcut {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.account-shortcut:hover {
    transform: translateY(-3px);
    box-shadow: var(--bs-box-shadow) !important;
}

.account-shortcut:focus-visible,
.account-area .nav-link:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 4px;
}

.account-area .form-control[readonly] {
    background-color: var(--bs-tertiary-bg);
}

@media (prefers-reduced-motion: reduce) {
    .account-shortcut {
        transition: none;
    }

    .account-shortcut:hover {
        transform: none;
    }
}

.btn-scroll-top {
    border: 0;
    padding: 0;
    background-color: var(--bs-body-bg);
}

.btn-scroll-top:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 3px;
}

.booth-hero {
    --hero-background: #171719;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(40rem, calc(100svh - 9rem));
    padding: 3rem 0;
    background: var(--hero-background);
    color: #fff;
}

.booth-hero-image,
.booth-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.booth-hero-image {
    object-fit: cover;
    object-position: right top;
}

.booth-hero::after {
    content: "";
    background: linear-gradient(90deg, rgb(15 15 18 / 88%) 0%, rgb(15 15 18 / 70%) 30%, transparent 62%);
    pointer-events: none;
}

.booth-hero-content {
    max-width: 27rem;
    letter-spacing: 0;
}

.booth-hero-eyebrow {
    margin-bottom: 1rem;
    color: #e4e0eb;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.booth-hero-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.gopro-compatibility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    margin: -0.25rem 0 1.25rem;
    color: #e4e0eb;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.gopro-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.125rem;
    height: 1.5rem;
    color: #fff;
    font-family: 'Neuropol', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.gopro-squares {
    display: inline-flex;
    align-self: stretch;
    justify-content: space-between;
}

.gopro-squares i {
    display: block;
    width: 22%;
    height: 0.375rem;
    background: #00a8e1;
}

.gopro-squares i:nth-child(2) {
    background: #56c2e9;
}

.gopro-squares i:nth-child(3) {
    background: #a4ddf1;
}

.gopro-squares i:nth-child(4) {
    background: #fff;
}

.microsoft-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 1.5rem;
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.microsoft-symbol {
    display: inline-grid;
    grid-template-columns: repeat(2, 0.6875rem);
    gap: 0.125rem;
}

.microsoft-symbol i {
    width: 0.6875rem;
    height: 0.6875rem;
    background: #0078d4;
}

.dropbox-wordmark {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    color: #0061fe;
    font-size: 1.5rem;
    line-height: 1;
}

.neewer-wordmark {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    color: #fff;
    font-family: "Arial Black", "Arial Narrow", sans-serif;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.0625rem;
    transform: scaleX(1.08);
    transform-origin: left center;
}

.booth-hero-tagline {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.booth-hero-description {
    margin-bottom: 1.75rem;
    color: #eeeaf0;
    font-size: 1rem;
    line-height: 1.65;
}

.booth-hero-actions {
    margin-bottom: 1.5rem;
}

.booth-hero-actions .btn.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #171719;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #171719;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-border-color: #fff;
}

.booth-hero-actions .btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.booth-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 1.25rem;
    color: #e4e0eb;
    font-size: 0.75rem;
}

.booth-hero-details .bi {
    color: #b9e4ce;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .booth-hero-content {
        max-width: 24rem;
    }

    .booth-hero-title {
        font-size: 3rem;
    }
}

/* Keep the image-above-text layout on phones only. */
@media (max-width: 767.98px) {
    .booth-hero {
        --hero-image-height: 21rem;
        min-height: 0;
        padding: calc(var(--hero-image-height) - 2rem) 0 2rem;
    }

    .booth-hero-image,
    .booth-hero::after {
        height: var(--hero-image-height);
    }

    .booth-hero::after {
        background: linear-gradient(180deg, transparent 55%, var(--hero-background) 100%);
    }

    .booth-hero-content {
        max-width: 36rem;
    }

    .booth-hero-title {
        font-size: 2.5rem;
    }

    .booth-hero-eyebrow {
        margin-bottom: 0.75rem;
    }

    .gopro-compatibility {
        margin-bottom: 1rem;
    }

    .booth-hero-tagline {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .booth-hero-description {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .booth-hero {
        --hero-image-height: 17rem;
    }

    .booth-hero-container {
        padding-inline: 1.25rem;
    }

    .booth-hero-title {
        font-size: 2.25rem;
    }

    .booth-hero-description {
        font-size: 0.875rem;
    }

    .booth-hero-actions {
        gap: 0.75rem !important;
    }
}

/* Retain full-color branding icon across themes and navbar states */
.navbar-brand,
.text-inverse {
    filter: none !important;
}
