:root {
    --color-ink: #0b0b0b;
    --color-paper: #f3f4ee;
    --color-panel: #fffef8;
    --color-muted: #e7e8df;
    --color-copy: #3f403b;
    --color-primary: #ff5a5f;
    --color-primary-dark: #e74449;
    --color-accent: #ffd447;
    --color-success: #16865a;
    --color-danger: #c8323c;
    --border-ink: 2px solid var(--color-ink);
    --shadow-hard-sm: 3px 3px 0 var(--color-ink);
    --shadow-hard: 5px 5px 0 var(--color-ink);
    --shadow-hard-lg: 7px 7px 0 var(--color-ink);
    --workflow-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg stroke='%230b0b0b' stroke-width='5' stroke-linejoin='round'%3E%3Crect x='8' y='42' width='88' height='112' rx='6' fill='%23fffef8'/%3E%3Crect x='20' y='56' width='64' height='42' fill='%23ffd447'/%3E%3Cpath d='M20 115h52M20 128h42' fill='none'/%3E%3Ccircle cx='160' cy='100' r='34' fill='%23ff5a5f'/%3E%3Cpath d='M151 83l26 17-26 17z' fill='%230b0b0b' stroke='none'/%3E%3Cpath d='M98 100h24M115 91l9 9-9 9M198 100h24M215 91l9 9-9 9' fill='none'/%3E%3Crect x='224' y='28' width='88' height='126' rx='6' fill='%23fffef8'/%3E%3Crect x='236' y='42' width='64' height='66' fill='%230b0b0b'/%3E%3Cpath d='M252 62l26 17-26 17z' fill='%23fffef8' stroke='none'/%3E%3Cpath d='M236 121h52M236 134h38' fill='none'/%3E%3Cpath d='M45 174h232' fill='none'/%3E%3Ccircle cx='80' cy='174' r='9' fill='%23ff5a5f'/%3E%3Ccircle cx='160' cy='174' r='9' fill='%23ffd447'/%3E%3Ccircle cx='240' cy='174' r='9' fill='%23fffef8'/%3E%3C/g%3E%3C/svg%3E");
}

html * {
    letter-spacing: 0;
}

::selection {
    color: var(--color-ink);
    background: var(--color-accent);
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.site-body {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    color: var(--color-ink);
    background:
        linear-gradient(90deg, rgb(11 11 11 / 4%) 1px, transparent 1px),
        linear-gradient(180deg, rgb(11 11 11 / 4%) 1px, transparent 1px),
        var(--color-paper);
    background-size: 34px 34px;
}

.site-body::before {
    position: fixed;
    right: -5.5rem;
    bottom: 9rem;
    z-index: 0;
    display: grid;
    width: 11rem;
    aspect-ratio: 1;
    place-items: center;
    border: 3px solid var(--color-ink);
    border-radius: 50%;
    content: "\25B6";
    color: var(--color-ink);
    background: var(--color-accent);
    box-shadow:
        inset -11px -8px 0 rgb(11 11 11 / 16%),
        inset 6px 5px 0 rgb(255 255 255 / 28%),
        var(--shadow-hard-lg);
    font-size: 3.5rem;
    line-height: 1;
    pointer-events: none;
}

.site-body:has(.site-main > .max-w-6xl.space-y-8)::before,
.site-body:has(.site-main > .max-w-6xl.space-y-12)::before,
.site-body:has(.site-main > section.max-w-md)::before {
    display: none;
}

.container {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 40;
    border-top: 0;
    border-bottom: var(--border-ink);
    color: var(--color-ink);
    background: var(--color-panel);
    box-shadow: 0 4px 0 var(--color-ink);
}

.site-nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-height: 4.4rem;
}

.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.site-brand-wrap {
    min-width: 0;
    padding-block: 0.35rem;
}

.site-brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    filter: drop-shadow(2px 2px 0 var(--color-ink));
    transition: transform 0.18s ease;
}

.site-brand-wordmark {
    color: var(--color-ink);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.site-brand:hover .site-brand-mark {
    transform: translate(-1px, -1px) rotate(-1deg);
}

.site-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.site-primary-nav a,
.site-tool-menu-trigger,
.site-account-link,
.site-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border-radius: 6px;
    padding: 0.55rem 0.6rem;
    color: var(--color-ink);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.site-primary-nav a:hover,
.site-tool-menu-trigger:hover,
.site-account-link:hover {
    color: var(--color-ink);
    background: var(--color-accent);
}

.site-primary-nav > a.is-active,
.site-tool-menu.is-active > .site-tool-menu-trigger,
.site-tool-submenu a.is-active {
    border: var(--border-ink);
    color: var(--color-ink);
    background: var(--color-accent);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.site-tool-menu {
    position: relative;
    display: grid;
}

.site-tool-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.6rem;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.site-tool-menu-trigger::-webkit-details-marker {
    display: none;
}

.site-tool-menu-chevron {
    width: 0.46rem;
    height: 0.46rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    transition: transform 0.16s ease;
}

.site-tool-menu[open] .site-tool-menu-chevron {
    transform: translateY(0.1rem) rotate(225deg);
}

.site-tool-submenu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    z-index: 50;
    display: grid;
    width: 16rem;
    padding: 0.45rem;
    border: var(--border-ink);
    border-radius: 6px;
    background: var(--color-panel);
    box-shadow: var(--shadow-hard);
    transform: translateX(-50%);
}

.site-tool-submenu a {
    width: 100%;
    padding: 0.65rem 0.75rem;
    text-align: left;
    white-space: normal;
}

.site-account-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
}

.site-account-button,
.site-account-link {
    min-height: 2.35rem;
    padding: 0.55rem 0.75rem;
    font-weight: 800;
}

.site-account-button {
    border: var(--border-ink);
    color: var(--color-ink);
    background: var(--color-primary);
    box-shadow: var(--shadow-hard-sm);
}

.site-account-button:hover {
    color: var(--color-ink);
    background: var(--color-primary);
    box-shadow: var(--shadow-hard);
    transform: translate(-2px, -2px);
}

.site-main {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
    padding-block: 2rem 4rem;
    color: var(--color-copy);
}

.site-main.container {
    width: min(100% - 2rem, 72rem);
}

.site-main > :first-child {
    animation: gum-page-enter 0.35s ease-out both;
}

.site-main > section:first-child:not(.max-w-md) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: var(--border-ink);
    border-radius: 8px;
    background:
        radial-gradient(circle, var(--color-primary) 0 3px, transparent 3.5px) 0.85rem 0.58rem / 0.9rem 0.9rem no-repeat,
        radial-gradient(circle, var(--color-accent) 0 3px, transparent 3.5px) 1.75rem 0.58rem / 0.9rem 0.9rem no-repeat,
        radial-gradient(circle, var(--color-success) 0 3px, transparent 3.5px) 2.65rem 0.58rem / 0.9rem 0.9rem no-repeat,
        linear-gradient(var(--color-ink), var(--color-ink)) 4.2rem 1.03rem / calc(100% - 5.1rem) 2px no-repeat,
        linear-gradient(var(--color-ink), var(--color-ink)) 0 1.58rem / 100% 2px no-repeat,
        linear-gradient(#efeee7, #efeee7) 0 0 / 100% 1.58rem no-repeat,
        var(--color-panel);
    box-shadow: var(--shadow-hard-lg);
}

.site-main > section:first-child:not(.max-w-md):not(.video-studio-section)::before {
    position: absolute;
    top: 50%;
    right: 2.25rem;
    z-index: 1;
    width: min(19rem, 31vw);
    aspect-ratio: 16 / 11;
    border: var(--border-ink);
    border-radius: 8px;
    content: "";
    background-color: var(--color-panel);
    background-image: var(--workflow-illustration);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: var(--shadow-hard-lg);
    transform: translateY(-50%) rotate(1.5deg);
    animation: gum-workflow-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.site-main > section:first-child:not(.max-w-md):not(.video-studio-section) > :first-child {
    padding-top: 1.15rem;
    padding-right: clamp(18rem, 32vw, 21.5rem);
}

.site-main > section:first-child.max-w-5xl:not(.video-studio-section) > :first-child {
    padding: 3.5rem clamp(18rem, 32vw, 21.5rem) 2.25rem 2rem;
}

.site-main > .max-w-6xl:first-child > header:first-child {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: var(--border-ink);
    border-radius: 8px;
    padding: 3rem 2rem 2rem;
    background:
        radial-gradient(circle, var(--color-primary) 0 3px, transparent 3.5px) 0.85rem 0.58rem / 0.9rem 0.9rem no-repeat,
        radial-gradient(circle, var(--color-accent) 0 3px, transparent 3.5px) 1.75rem 0.58rem / 0.9rem 0.9rem no-repeat,
        radial-gradient(circle, var(--color-success) 0 3px, transparent 3.5px) 2.65rem 0.58rem / 0.9rem 0.9rem no-repeat,
        linear-gradient(var(--color-ink), var(--color-ink)) 4.2rem 1.03rem / calc(100% - 5.1rem) 2px no-repeat,
        linear-gradient(var(--color-ink), var(--color-ink)) 0 1.58rem / 100% 2px no-repeat,
        linear-gradient(#efeee7, #efeee7) 0 0 / 100% 1.58rem no-repeat,
        var(--color-panel);
    box-shadow: var(--shadow-hard-lg);
}

.site-main > .max-w-6xl.space-y-12:first-child > header:first-child > .grid > :last-child {
    position: relative;
    padding-bottom: 11rem;
}

.site-main > .max-w-6xl.space-y-12:first-child > header:first-child > .grid > :last-child::after {
    position: absolute;
    right: 50%;
    bottom: 1.25rem;
    width: min(14rem, calc(100% - 3rem));
    aspect-ratio: 16 / 11;
    border: var(--border-ink);
    border-radius: 8px;
    content: "";
    background: var(--workflow-illustration) center / cover no-repeat var(--color-panel);
    box-shadow: var(--shadow-hard-sm);
    transform: translateX(50%) rotate(1deg);
}

.site-main > section:first-child:not(.max-w-md) > *,
.site-main > .max-w-6xl:first-child > header:first-child > * {
    position: relative;
    z-index: 1;
}

.site-main > section:first-child:not(.max-w-md)::after,
.site-main > .max-w-6xl:first-child > header:first-child::after {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: grid;
    width: 4.75rem;
    aspect-ratio: 1;
    place-items: center;
    border: 3px solid var(--color-ink);
    border-radius: 50%;
    content: "\25B6";
    color: var(--color-ink);
    background: var(--color-primary);
    box-shadow:
        inset -9px -9px 0 rgb(11 11 11 / 14%),
        inset 5px 4px 0 rgb(255 255 255 / 30%),
        var(--shadow-hard-lg);
    font-size: 1.65rem;
    line-height: 1;
    animation: gum-badge-drift 6.8s ease-in-out infinite;
}

.site-main :where(h1, h2, h3, h4, strong) {
    color: var(--color-ink);
}

.site-main h1 {
    font-weight: 900;
    line-height: 1.05;
}

.site-main h2 {
    font-weight: 850;
    line-height: 1.12;
}

.site-main :where(input, textarea, select) {
    border: var(--border-ink);
    border-radius: 6px;
    color: var(--color-ink);
    background: var(--color-panel);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.site-main > :where(section.max-w-md, .max-w-md) :where(input, textarea, select) {
    border: var(--border-ink);
    border-radius: 6px;
    background: var(--color-panel);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.site-main input,
.site-main textarea,
.site-main select {
    border: var(--border-ink);
    border-radius: 6px;
    background: var(--color-panel);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.site-main :where(input, textarea, select):focus {
    border-color: var(--color-ink);
    outline: 0;
    box-shadow: 4px 4px 0 var(--color-accent);
}

.site-main :where(input, textarea, select):disabled {
    color: #696a64;
    background: var(--color-muted);
    opacity: 1;
}

.site-main :where(.rounded-xl, .rounded-2xl, .rounded-3xl, [class*="rounded-["]) {
    border-radius: 8px;
}

.site-main .shadow-sm {
    box-shadow: var(--shadow-hard-sm);
}

.site-main .ring-1 {
    border: var(--border-ink);
    box-shadow: var(--shadow-hard-sm);
}

.site-main :where(article, li, dl).border,
.site-main :where(article, li).rounded-2xl,
.site-main > .max-w-md > .border,
.site-main section > .overflow-hidden.border {
    border: var(--border-ink);
    border-radius: 8px;
    background: var(--color-panel);
    box-shadow: var(--shadow-hard);
}

.site-main :where(article, li).border,
.site-main :where(article, li).rounded-2xl,
.site-main :where(article, li).rounded-3xl,
.site-main :where(.rounded-lg, .rounded-xl)[class*="border"] {
    animation: gum-card-pop 0.34s ease-out both;
}

.site-main :where(article, li):nth-child(2) {
    animation-delay: 45ms;
}

.site-main :where(article, li):nth-child(3) {
    animation-delay: 90ms;
}

.site-main :where(article, li):nth-child(4) {
    animation-delay: 135ms;
}

.site-main :where(article, li, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl)[class*="border"]
    :where(article, li, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl)[class*="border"] {
    box-shadow: none;
    animation: none;
}

.site-main :where(article, li).border {
    transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.site-main :where(article, li).border:hover {
    box-shadow: var(--shadow-hard-lg);
    transform: translate(-2px, -2px);
}

.site-main :where(a, button):active:not(:disabled),
.site-primary-nav a.is-active,
.site-tool-menu.is-active > .site-tool-menu-trigger {
    box-shadow: 1px 1px 0 var(--color-ink);
    transform: translate(2px, 2px);
}

.site-main :where(a, button).border,
.site-main :where(a, button).border-2,
.site-main :where(a, button).bg-slate-900,
.site-main :where(a, button).bg-slate-950 {
    border: var(--border-ink);
    border-radius: 6px;
    box-shadow: var(--shadow-hard-sm);
    transition: box-shadow 0.14s ease, transform 0.14s ease;
}

.site-main :where(a, button).border:hover,
.site-main :where(a, button).border-2:hover,
.site-main :where(a, button).bg-slate-900:hover,
.site-main :where(a, button).bg-slate-950:hover {
    box-shadow: var(--shadow-hard);
    transform: translate(-2px, -2px);
}

.site-main a.rounded-full {
    border-radius: 6px;
}

.site-main > section:not(:first-child) {
    border-top: var(--border-ink);
}

.site-main > .max-w-6xl.space-y-8 :where(.rounded-lg, .rounded-xl).border,
.site-main > .max-w-6xl.space-y-12 :where(.rounded-lg, .rounded-xl).border {
    border: var(--border-ink);
    background: var(--color-panel);
    box-shadow: var(--shadow-hard-sm);
}

.site-main > .max-w-6xl.space-y-8 :where(.rounded-lg, .rounded-xl).border:hover {
    box-shadow: var(--shadow-hard);
    transform: translate(-1px, -1px);
}

.site-main > .max-w-md,
.site-main > section.max-w-md,
.site-main > section.max-w-md > div {
    position: relative;
}

.site-main > section.max-w-md > .border,
.site-main > section.max-w-md > div > .border,
.site-main > .max-w-md > .border {
    border: var(--border-ink);
    border-radius: 8px;
    background: var(--color-panel);
    box-shadow: var(--shadow-hard-lg);
}

.site-main > article.max-w-3xl {
    border: var(--border-ink);
    border-radius: 8px;
    background: var(--color-panel);
    box-shadow: var(--shadow-hard-lg);
}

.site-main > section:first-child.max-w-5xl + section article {
    border: var(--border-ink);
    border-radius: 8px;
    box-shadow: var(--shadow-hard);
}

.site-main > section:first-child + section > .container > .space-y-8 {
    border: var(--border-ink);
    border-radius: 8px;
    box-shadow: var(--shadow-hard);
}

.site-footer {
    border-top: var(--border-ink);
    color: #ffffff;
    background: var(--color-ink);
}

.site-footer-inner {
    padding-block: 2.5rem 1.5rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.site-footer-about p,
.site-footer li {
    margin-top: 0.55rem;
}

.site-footer-brand,
.site-footer h3 {
    color: var(--color-accent);
}

.site-footer h3 {
    font-size: 0.875rem;
    font-weight: 800;
}

.site-footer a {
    display: inline-flex;
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-footer-brand {
    font-size: 1.15rem;
    font-weight: 900;
}

.site-footer a:not(.site-footer-brand),
.site-footer p {
    color: #f3f4ee;
}

.site-footer a:not(.site-footer-brand) {
    transition: color 0.14s ease, transform 0.14s ease;
}

.site-footer a:not(.site-footer-brand):hover {
    color: var(--color-primary);
    transform: translateX(2px);
}

.site-footer-bottom {
    margin-top: 2rem;
    border-top: 2px solid #ffffff;
    padding-top: 1rem;
    font-size: 0.8rem;
}

@keyframes gum-page-enter {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gum-card-pop {
    from {
        opacity: 0;
        transform: translateY(9px) rotate(0.35deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes gum-workflow-pulse {
    0%,
    100% {
        transform: translateY(-50%) rotate(1.5deg);
    }
    50% {
        transform: translateY(calc(-50% - 4px)) rotate(0.5deg);
    }
}

@keyframes gum-badge-drift {
    0%,
    100% {
        transform: translateY(0) rotate(-8deg);
    }
    50% {
        transform: translateY(-8px) rotate(-4deg);
    }
}

@media (max-width: 1040px) {
    .site-nav {
        grid-template-columns: 1fr auto;
        padding-block: 0.75rem 0.65rem;
    }

    .site-primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        border-top: var(--border-ink);
        padding-top: 0.4rem;
    }

    .site-tool-submenu {
        left: auto;
        right: 0;
        transform: none;
    }

    .site-main > section:first-child:not(.max-w-md)::after,
    .site-main > .max-w-6xl:first-child > header:first-child::after {
        right: 1rem;
        width: 6rem;
        opacity: 0.42;
    }

    .site-main > section:first-child:not(.max-w-md):not(.video-studio-section)::before {
        right: 1.25rem;
        width: 16rem;
    }

    .site-main > section:first-child:not(.max-w-md):not(.video-studio-section) > :first-child {
        padding-right: 17.5rem;
    }
}

@media (max-width: 820px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.25rem;
    }

    .site-footer-grid > div {
        min-width: 0;
    }

    .site-footer-about,
    .site-footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .site-footer-grid a {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 640px) {
    .container,
    .site-main,
    .site-main.container {
        width: min(100% - 2rem, 72rem);
    }

    .site-main {
        padding-block: 1rem 3.5rem;
    }

    .site-body::before {
        right: -4.25rem;
        bottom: 5rem;
        width: 8rem;
        font-size: 2.4rem;
        opacity: 0.6;
    }

    .site-nav {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        gap: 0.55rem 0.65rem;
        padding-block: 0.55rem 0.7rem;
    }

    .site-brand-wrap {
        align-self: center;
        justify-self: start;
        padding-block: 0;
    }

    .site-brand {
        gap: 0.4rem;
    }

    .site-brand-mark {
        width: 2.15rem;
        height: 2.15rem;
    }

    .site-brand-wordmark {
        font-size: 0.92rem;
    }

    .site-account-nav {
        grid-column: 2;
        grid-row: 1;
        flex-wrap: nowrap;
        gap: 0.25rem;
    }

    .site-account-button,
    .site-account-link {
        min-height: 2rem;
        padding: 0.4rem 0.5rem;
        font-size: 0.72rem;
    }

    .site-primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.25rem;
        border-top: var(--border-ink);
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
        scrollbar-color: var(--color-ink) transparent;
        scrollbar-width: thin;
    }

    .site-primary-nav > * {
        flex: 0 0 auto;
    }

    .site-primary-nav a,
    .site-primary-nav a:last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
        min-height: 2rem;
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .site-tool-menu {
        grid-column: auto;
        order: initial;
        width: auto;
    }

    .site-tool-menu-trigger {
        justify-content: center;
        width: auto;
        min-height: 2rem;
        border: 0;
        padding: 0.4rem 0.5rem;
        background: transparent;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .site-primary-nav:has(.site-tool-menu[open]) {
        overflow: visible;
        flex-wrap: wrap;
    }

    .site-tool-menu[open] {
        width: 100%;
    }

    .site-tool-submenu {
        position: relative;
        top: auto;
        right: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-top: 0.35rem;
        box-shadow: var(--shadow-hard-sm);
    }

    .site-tool-submenu a {
        min-width: 0;
        padding: 0.65rem 0.4rem;
        text-align: center;
    }

    .site-main > section:first-child:not(.max-w-md) {
        box-shadow: var(--shadow-hard);
    }

    .site-main > section:first-child:not(.max-w-md)::after,
    .site-main > .max-w-6xl:first-child > header:first-child::after {
        top: 1rem;
        right: -1.4rem;
        width: 5.5rem;
        opacity: 0.32;
    }

    .site-main > section:first-child:not(.max-w-md):not(.video-studio-section) {
        padding-bottom: 15rem;
    }

    .site-main > section:first-child.max-w-5xl:not(.video-studio-section) {
        padding-bottom: 0;
    }

    .site-main > section:first-child:not(.max-w-md):not(.video-studio-section)::before {
        top: auto;
        right: 50%;
        bottom: 1.25rem;
        width: min(18rem, calc(100% - 3rem));
        transform: translateX(50%) rotate(1deg);
        animation-name: gum-workflow-pulse-mobile;
    }

    .site-main > section:first-child.max-w-5xl:not(.video-studio-section)::before {
        bottom: 1rem;
        width: min(14.5rem, calc(100% - 3rem));
    }

    .site-main > section:first-child:not(.max-w-md):not(.video-studio-section) > :first-child {
        padding-top: 1rem;
        padding-right: 1rem;
    }

    .site-main > section:first-child.max-w-5xl:not(.video-studio-section) > :first-child {
        padding: 2.75rem 1.25rem 12rem;
    }

    .site-main > .max-w-6xl:first-child > header:first-child {
        padding: 2.75rem 1.25rem 1.35rem;
        box-shadow: var(--shadow-hard);
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child {
        padding: 2.35rem 1rem 1.25rem;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child h1 {
        font-size: 2rem;
        line-height: 1.02;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child p {
        line-height: 1.6;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child .mt-5 {
        margin-top: 0.9rem;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child .mt-6 {
        margin-top: 0.9rem;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child .mt-7 {
        margin-top: 0.9rem;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child .gap-3 {
        gap: 0.45rem;
    }

    .site-main > .max-w-6xl.space-y-12:first-child > header:first-child .inline-flex {
        min-height: 2.35rem;
        padding-block: 0.45rem;
    }

    .site-main > .max-w-md > .border {
        padding: 1.35rem;
    }
}

@keyframes gum-workflow-pulse-mobile {
    0%,
    100% {
        transform: translateX(50%) rotate(1deg);
    }
    50% {
        transform: translateX(50%) translateY(-3px) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
