:root {
    --standardRadius: .25rem;
    --standardSpacing: 1rem;
    --standardFontSize: 1rem;
    --standardPadding: 1rem;

    --theme: #615FFF;
    --white: #FFFFFF;
    --red-500: #fb2c36;
    --green-500: #00c951;
    --blue-500: #2b7fff;
    --yellow-500: #efb100;
    --emerald-500: #00bc7d;
    --violet-500: #8E51FF;

    --background: #0F172A;
    --background-accent: color-mix(in srgb, var(--background) 94%, white 6%);
    --foreground: oklch(0.95 0 0);

    --accentBackground: oklch(23% 0.008 285.885);

    --border-color: color-mix(in srgb,
        color-mix(in srgb, var(--theme) 75%, #FFFFFF 25%) 15%,
        transparent 85%);

    --borderColor: var(--border-color);

    --accentBorderColor: color-mix(in srgb,
        var(--border-color) 78%,
        var(--theme) 22%);

    --layout-max-width: 85rem;
    --layout-gutter: clamp(1rem, 3vw, 1.5rem);
    --section-padding-y: clamp(3.25rem, 6vw, 5rem);
    --header-height: 4rem;
    --section-scroll-offset: calc(var(--header-height) + 1rem);

    --transitionMs: 150ms;
    --borderRadius: .25rem;

    --textPrimary: color-mix(in srgb, var(--white) 90%, var(--theme) 10%);
    --textSecondary: color-mix(in srgb, var(--white) 80%, var(--theme) 20%);

    --font-sans: 'Inter';
}

html[data-theme='dark'] {
    color-scheme: dark;
}

html[data-theme='light'] {
    color-scheme: light;
}

html[data-theme='light'] {
    --background: #F4F7FF;
    --background-accent: #FFFFFF;
    --foreground: oklch(0.24 0.02 264);

    --accentBackground: color-mix(in srgb, var(--theme) 8%, white 92%);

    --border-color: color-mix(in srgb, var(--theme) 14%, #94A3B8 86%);
    --accentBorderColor: color-mix(in srgb, var(--border-color) 70%, var(--theme) 30%);

    --textPrimary: color-mix(in srgb, #0F172A 88%, var(--theme) 12%);
    --textSecondary: color-mix(in srgb, #1E293B 68%, var(--theme) 32%);
}

html {
    font-size: 1rem;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scrollbar-color: var(--background-accent) transparent;
}

.l-page {
    position: relative;
    overflow: overlay;
    overflow-x: clip;

    color: var(--foreground);
    font-family: var(--font-sans), sans-serif;

    background-color: var(--background);
    background-image:
        radial-gradient(at 0% 0%,
            color-mix(in srgb, var(--theme) 10%, transparent 90%) 0px,
            transparent 50%),
        radial-gradient(at 100% 100%,
            color-mix(in srgb, var(--violet-500) 5%, transparent 95%) 0px,
            transparent 50%);

    background-repeat: no-repeat;
    background-attachment: fixed;

    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

html[data-theme='light'] .l-page {
    background-color: var(--background);
    background-image:
        radial-gradient(at 0% 0%,
            color-mix(in srgb, var(--theme) 14%, white 86%) 0px,
            transparent 52%),
        radial-gradient(at 100% 100%,
            color-mix(in srgb, var(--blue-500) 10%, white 90%) 0px,
            transparent 56%);
}

.l-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.l-page a {
    color: inherit;
    text-decoration: none;
}

.l-main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

/* ============ Buttons ============ */

.l-btn {
    --button-radius: 1rem;
    --button-border: transparent;
    --button-background: transparent;
    --button-foreground: var(--textPrimary);

    all: unset;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    position: relative;
    align-items: center;
    display: inline-flex;
    box-sizing: border-box;
    justify-content: center;
    -webkit-user-drag: none;

    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--button-radius);
    padding: calc(var(--standardPadding) * .5);

    color: var(--button-foreground);
    border: .1rem solid var(--button-border);
    background-color: var(--button-background);

    transition:
        scale 150ms ease,
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        opacity 150ms ease;
}

.l-btn-fill {
    --button-border: transparent;
    --button-background: var(--theme);
    --button-foreground: color-mix(in srgb, var(--white) 90%, var(--theme) 10%);
}

.l-btn-fill:not(:disabled):hover {
    background-color: color-mix(in srgb, var(--theme) 90%, white 10%);
}

.l-btn-outline {
    --button-border: var(--theme);
    --button-background: transparent;
    --button-foreground: var(--theme);
}

.l-btn-ghost {
    --button-border: transparent;
    --button-background: transparent;
    --button-foreground: var(--textPrimary);
}

.l-btn:not(:disabled):hover.l-btn-outline {
    background-color: color-mix(in srgb, var(--theme) 12%, transparent);
}

.l-btn:not(:disabled):hover.l-btn-ghost {
    background-color: color-mix(in srgb, var(--theme) 90%, white 10%);
}

.l-btn:not(:disabled):active {
    scale: .975;
}

.l-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.l-ripple {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    pointer-events: none;
}

.l-ripple span {
    position: absolute;
    transform: scale(0);
    border-radius: 100%;
    background-color: rgba(255, 255, 255, .1);
    animation: l-ripple-anim 500ms ease-in-out;
}

@keyframes l-ripple-anim {
    to {
        opacity: 0;
        transform: scale(2);
    }
}

/* ============ Tooltip ============ */

.l-tooltip {
    display: inline-flex;
    position: relative;
    align-items: center;
}

.l-tooltip-content {
    z-index: 120;
    width: max-content;
    position: absolute;
    max-width: min(18rem, calc(100vw - 1rem));
    border-radius: .65rem;
    padding: .42rem .62rem;
    border: 1px solid var(--borderColor);
    background: var(--background-accent);
    box-shadow: 0 .55rem 1.45rem rgba(0, 0, 0, .38);
    color: var(--textPrimary);
    font-size: .74rem;
    line-height: 1.32;
    white-space: normal;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
    backface-visibility: hidden;
    left: 50%;
    top: calc(100% + .55rem);
    transform: translate3d(-50%, -.12rem, 0);
    transition:
        opacity 110ms ease-out,
        transform 110ms cubic-bezier(.22, 1, .36, 1);
}

.l-tooltip:hover .l-tooltip-content,
.l-tooltip:focus-within .l-tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, 0, 0);
}

@media (hover: none) and (pointer: coarse) {
    .l-tooltip-content {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .l-tooltip-content {
        transition: none;
    }
}

/* ============ Theme toggle ============ */

.l-theme-toggle {
    all: unset;
    min-height: 2.24rem;
    padding: 0.16rem;
    border-radius: 999rem;
    color: var(--textSecondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    user-select: none;
    transition:
        border-color var(--transitionMs) ease,
        background-color var(--transitionMs) ease,
        box-shadow var(--transitionMs) ease,
        transform var(--transitionMs) ease;
}

.l-theme-toggle:hover {
    border-color: color-mix(in oklch, var(--theme) 34%, transparent);
    background: color-mix(in oklch, var(--theme) 10%, transparent);
}

.l-theme-toggle:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--theme) 24%, transparent);
}

.l-theme-track {
    width: 3.2rem;
    height: 1.72rem;
    border-radius: 999rem;
    border: 1px solid color-mix(in oklch, var(--textSecondary) 20%, transparent);
    background: color-mix(in oklch, var(--background-accent) 90%, var(--theme) 10%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 0.14rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        background-color 230ms ease,
        border-color 230ms ease,
        box-shadow 230ms ease;
}

.l-theme-track::after {
    content: '';
    position: absolute;
    inset: 0.12rem;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(110deg,
            color-mix(in oklch, var(--theme) 58%, white 42%),
            color-mix(in oklch, var(--blue-500) 35%, transparent 65%) 52%,
            transparent);
    opacity: 0.24;
    transform: translateX(-26%);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), opacity 260ms ease;
}

.l-edge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: color-mix(in oklch, var(--textSecondary) 88%, transparent);
    transition:
        color var(--transitionMs) ease,
        opacity var(--transitionMs) ease,
        transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.l-edge-icon svg {
    width: 0.7rem;
    height: 0.7rem;
}

.l-theme-toggle[data-theme='light'] .l-edge-sun {
    color: color-mix(in oklch, var(--theme) 70%, black 30%);
    transform: scale(1);
}

.l-theme-toggle[data-theme='light'] .l-edge-moon {
    opacity: 0.45;
    transform: scale(0.9);
}

.l-theme-toggle[data-theme='dark'] .l-edge-moon {
    color: color-mix(in oklch, var(--theme) 78%, white 22%);
    transform: scale(1);
}

.l-theme-toggle[data-theme='dark'] .l-edge-sun {
    opacity: 0.45;
    transform: scale(0.9);
}

.l-theme-thumb {
    --thumb-x: 0rem;
    width: 1.34rem;
    height: 1.34rem;
    border-radius: 999rem;
    border: 1px solid color-mix(in oklch, var(--textSecondary) 20%, transparent);
    background: color-mix(in oklch, var(--background) 90%, var(--theme) 10%);
    color: var(--textPrimary);
    display: grid;
    place-items: center;
    position: absolute;
    top: 0.12rem;
    left: 0.14rem;
    z-index: 2;
    transform: translateX(var(--thumb-x));
    transition:
        transform 320ms cubic-bezier(0.22, 0.68, 0.22, 1),
        background-color var(--transitionMs) ease,
        border-color var(--transitionMs) ease,
        box-shadow var(--transitionMs) ease;
    box-shadow: 0 5px 14px color-mix(in oklch, black 35%, transparent);
    will-change: transform;
}

.l-theme-toggle[data-theme='light'] .l-theme-thumb {
    --thumb-x: 1.48rem;
}

.l-theme-toggle[data-theme='dark'] .l-theme-thumb {
    --thumb-x: 0rem;
}

.l-theme-toggle[data-theme='light'] .l-theme-track::after {
    opacity: 0.55;
    transform: translateX(26%);
}

.l-theme-toggle[data-theme='dark'] .l-theme-track::after {
    opacity: 0.24;
    transform: translateX(-26%);
}

.l-sun-icon,
.l-moon-icon {
    position: absolute;
    width: 0.76rem;
    height: 0.76rem;
    transition:
        opacity 190ms ease,
        transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.l-theme-toggle[data-theme='light'] .l-sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.l-theme-toggle[data-theme='light'] .l-moon-icon {
    opacity: 0;
    transform: scale(0.62) rotate(-26deg);
}

.l-theme-toggle[data-theme='dark'] .l-sun-icon {
    opacity: 0;
    transform: scale(0.62) rotate(26deg);
}

.l-theme-toggle[data-theme='dark'] .l-moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.l-theme-toggle[data-interacted='false'] .l-theme-track::after,
.l-theme-toggle[data-interacted='false'] .l-edge-icon,
.l-theme-toggle[data-interacted='false'] .l-theme-thumb,
.l-theme-toggle[data-interacted='false'] .l-sun-icon,
.l-theme-toggle[data-interacted='false'] .l-moon-icon {
    transition: none;
}

.l-theme-toggle:active {
    transform: scale(0.98);
}

.l-theme-toggle:active .l-theme-thumb {
    transform: translateX(var(--thumb-x)) scale(0.94);
}

.l-theme-toggle[data-interacted='true'][data-theme='light'] .l-theme-thumb {
    animation: l-thumb-to-light 390ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.l-theme-toggle[data-interacted='true'][data-theme='dark'] .l-theme-thumb {
    animation: l-thumb-to-dark 390ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.l-theme-toggle[data-interacted='true'][data-theme='light'] .l-theme-track::after {
    animation: l-glow-to-light 390ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.l-theme-toggle[data-interacted='true'][data-theme='dark'] .l-theme-track::after {
    animation: l-glow-to-dark 390ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes l-thumb-to-light {
    0% {
        transform: translateX(0rem) scale(0.92);
    }

    58% {
        transform: translateX(1.58rem) scale(1.03);
    }

    100% {
        transform: translateX(1.48rem) scale(1);
    }
}

@keyframes l-thumb-to-dark {
    0% {
        transform: translateX(1.48rem) scale(0.92);
    }

    58% {
        transform: translateX(-0.1rem) scale(1.03);
    }

    100% {
        transform: translateX(0rem) scale(1);
    }
}

@keyframes l-glow-to-light {
    0% {
        opacity: 0.24;
        transform: translateX(-26%);
    }

    100% {
        opacity: 0.55;
        transform: translateX(26%);
    }
}

@keyframes l-glow-to-dark {
    0% {
        opacity: 0.55;
        transform: translateX(26%);
    }

    100% {
        opacity: 0.24;
        transform: translateX(-26%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .l-theme-toggle,
    .l-theme-track,
    .l-theme-track::after,
    .l-edge-icon,
    .l-theme-thumb,
    .l-sun-icon,
    .l-moon-icon {
        transition: none !important;
        animation: none !important;
    }
}

/* ============ Header ============ */

.l-header {
    top: 0;
    width: 100%;
    z-index: 50;
    position: fixed;
    padding: 0 1rem;
    backdrop-filter: blur(.35rem);
    border-bottom: .05rem solid var(--borderColor);
    background-color: color-mix(in oklch, var(--background-accent) 25%, transparent 75%);
}

.l-header-container {
    margin: 0 auto;
    max-width: 85rem;
}

.l-header-inner {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l-header-left {
    gap: 2rem;
    display: flex;
    align-items: center;
}

.l-brand {
    gap: .5rem;
    display: flex;
    overflow: hidden;
    isolation: isolate;
    position: relative;
    align-items: center;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 750;
}

.l-brand svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--theme);
}

.l-brand span {
    display: inline-block;
    position: relative;
}

.l-brand span::after {
    inset: 0;
    opacity: 0;
    content: attr(data-brand);
    position: absolute;
    color: transparent;
    pointer-events: none;
    background-image: linear-gradient(115deg,
            transparent 36%,
            rgba(255, 255, 255, .95) 50%,
            transparent 64%);
    background-repeat: no-repeat;
    background-size: 240% 100%;
    background-position: 150% 0;
    -webkit-background-clip: text;
    background-clip: text;
}

.l-brand:hover span::after {
    animation: l-header-shine-text 780ms ease 1;
}

.l-header-middle {
    gap: 2rem;
    display: flex;
    align-items: center;
}

.l-links {
    gap: .6rem;
    display: flex;
    isolation: isolate;
    position: relative;
    align-items: center;
    justify-content: center;
}

.l-link {
    gap: .45rem;
    min-height: 2.35rem;
    display: inline-flex;
    padding: .48rem .78rem;
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    color: var(--textSecondary);
    align-items: center;
    justify-content: center;
    border-radius: .72rem;
    text-decoration: none;
    transition:
        color var(--transitionMs) ease,
        border-color var(--transitionMs) ease;
}

.l-link-active-bg {
    top: 0;
    left: 0;
    width: var(--link-active-width, 0px);
    height: 100%;
    opacity: 0;
    position: absolute;
    pointer-events: none;
    border-radius: .72rem;
    background: var(--theme);
    border: 1px solid color-mix(in oklch, var(--theme) 38%, var(--borderColor) 62%);
    box-shadow: 0 .45rem 1.05rem color-mix(in oklch, var(--theme) 26%, transparent 74%);
    transform: translateX(var(--link-active-x, 0px));
    transition:
        transform 340ms cubic-bezier(.22, 1, .36, 1),
        width 340ms cubic-bezier(.22, 1, .36, 1),
        opacity 180ms ease;
}

.l-link-active-bg[data-visible='true'] {
    opacity: 1;
}

.l-link:hover {
    color: var(--textPrimary);
}

.l-link:not([data-active='true']):hover {
    background: color-mix(in oklch, var(--background-accent) 88%, transparent 12%);
}

.l-links[data-indicator-moving='true'] .l-link:not([data-active='true']):hover {
    background: transparent;
}

.l-link[data-active='true'] {
    color: color-mix(in oklch, white 90%, var(--textPrimary) 10%);
    border-color: transparent;
}

.l-link[data-active='true']:hover {
    color: color-mix(in oklch, white 90%, var(--textPrimary) 10%);
    background: transparent;
}

.l-link[data-active='true'] .l-link-icon {
    opacity: 1;
}

.l-link-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    opacity: .92;
    transition: opacity var(--transitionMs) ease;
}

.l-link-icon svg {
    width: 100%;
    height: 100%;
}

.l-link-label {
    line-height: 1;
    font-size: .92rem;
    font-weight: 560;
}

.l-link:focus-visible {
    outline: 2px solid color-mix(in oklch, var(--theme) 72%, white 28%);
    outline-offset: 2px;
}

.l-controls {
    gap: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-actions {
    gap: .75rem;
    display: flex;
    align-items: center;
}

.l-theme-toggle-slot {
    display: inline-flex;
    align-items: center;
}

.l-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    display: none;
    padding: 0;
    border: 1px solid var(--borderColor);
    border-radius: .65rem;
    background: color-mix(in oklch, var(--background) 72%, transparent 28%);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .24rem;
    cursor: pointer;
}

.l-menu-toggle-line {
    width: 1.1rem;
    height: .12rem;
    border-radius: 999rem;
    background: var(--textPrimary);
    transition:
        transform var(--transitionMs) ease,
        opacity var(--transitionMs) ease;
}

.l-menu-toggle[data-open='true'] .l-menu-toggle-line:nth-child(1) {
    transform: translateY(.36rem) rotate(45deg);
}

.l-menu-toggle[data-open='true'] .l-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.l-menu-toggle[data-open='true'] .l-menu-toggle-line:nth-child(3) {
    transform: translateY(-.36rem) rotate(-45deg);
}

.l-menu-toggle:focus-visible {
    outline: 2px solid color-mix(in oklch, var(--theme) 70%, white 30%);
    outline-offset: 2px;
}

.l-mobile-menu {
    display: none;
}

.l-mobile-menu-inner {
    display: grid;
    gap: .85rem;
    padding: .8rem 0 1rem;
}

.l-mobile-links {
    display: grid;
    gap: .45rem;
}

.l-mobile-link {
    gap: .58rem;
    min-height: 2.65rem;
    display: flex;
    border: 1px solid var(--borderColor);
    color: var(--textSecondary);
    align-items: center;
    border-radius: .7rem;
    text-decoration: none;
    background: color-mix(in oklch, var(--background) 85%, transparent 15%);
    padding: .55rem .75rem;
    transition:
        color var(--transitionMs) ease,
        border-color var(--transitionMs) ease,
        background-color var(--transitionMs) ease;
}

.l-mobile-link:hover {
    color: var(--textPrimary);
    border-color: color-mix(in oklch, var(--theme) 20%, var(--borderColor) 80%);
    background: color-mix(in oklch, var(--background) 70%, transparent 30%);
}

.l-mobile-link[data-active='true'] {
    border-color: color-mix(in oklch, var(--theme) 45%, var(--borderColor) 55%);
    background: color-mix(in oklch, var(--theme) 10%, transparent 90%);
}

.l-mobile-link[data-active='true'] .l-mobile-link-icon {
    opacity: 1;
}

.l-mobile-link-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    opacity: .92;
    transition: opacity var(--transitionMs) ease;
}

.l-mobile-link-icon svg {
    width: 100%;
    height: 100%;
}

.l-mobile-link-text {
    display: flex;
    line-height: 1.2;
    flex-direction: column;
}

.l-mobile-link-label {
    font-size: .94rem;
    font-weight: 560;
}

.l-mobile-theme-toggle {
    display: none;
    width: fit-content;
    justify-self: flex-start;
}

.l-mobile-actions {
    gap: .65rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.l-mobile-action {
    text-decoration: none;
}

.l-mobile-btn {
    width: 100%;
}

@keyframes l-header-shine-text {
    0% {
        opacity: 0;
        background-position: 150% 0;
    }

    16% {
        opacity: 1;
    }

    84% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        background-position: -150% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .l-link-active-bg {
        transition: none;
    }
}

@media (max-width: 72rem) {
    .l-header-inner {
        height: 3.9rem;
    }

    .l-header-left {
        gap: .85rem;
    }

    .l-header-middle,
    .l-actions {
        display: none;
    }

    .l-controls {
        gap: .45rem;
        margin-left: auto;
    }

    .l-theme-toggle-slot {
        display: none;
    }

    .l-menu-toggle {
        display: inline-flex;
    }

    .l-mobile-menu {
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-.35rem);
        transition:
            max-height 280ms ease,
            opacity var(--transitionMs) ease,
            transform var(--transitionMs) ease;
    }

    .l-mobile-menu[data-open='true'] {
        max-height: 40rem;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        border-top: .05rem solid var(--borderColor);
    }

    .l-mobile-theme-toggle {
        display: flex;
    }
}

@media (max-width: 42rem) {
    .l-brand span {
        font-size: 1.1rem;
    }

    .l-mobile-actions {
        grid-template-columns: 1fr;
    }
}

/* ============ Hero ============ */

.l-hero {
    width: 100%;
    display: flex;
    overflow: hidden;
    isolation: isolate;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: clamp(5rem, 10vw, 8rem);
    margin-bottom: clamp(3rem, 10vw, 5rem);
    scroll-margin-top: var(--section-scroll-offset);
}

.l-hero-container {
    width: min(var(--layout-max-width), calc(100% - (var(--layout-gutter) * 2)));
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    min-width: 0;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .l-hero {
        margin-top: 4.8rem;
    }
}

@media (min-width: 60rem) {
    .l-hero-container {
        gap: 2.2rem;
        grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    }
}

@media (min-width: 72rem) {
    .l-hero-container {
        gap: 2.5rem;
        grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    }
}

.l-content-col {
    min-width: 0;
    max-width: 42rem;
    text-align: left;
}

.l-badge {
    gap: .5rem;
    font-weight: 600;
    border-radius: 1rem;
    font-size: .83rem;
    letter-spacing: .02em;
    color: color-mix(in srgb, var(--theme) 78%, white 22%);
    align-items: center;
    display: inline-flex;
    margin-bottom: 1.3rem;
    padding: .3rem .78rem;
    border: .1rem solid color-mix(in srgb, var(--theme) 30%, transparent);
    background: color-mix(in srgb, var(--theme) 13%, transparent);
}

.l-badge svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
}

.l-badge-text {
    display: inline-block;
    position: relative;
}

.l-badge-text::after {
    inset: 0;
    content: attr(data-text);
    opacity: 0;
    position: absolute;
    color: transparent;
    pointer-events: none;
    background-image: linear-gradient(115deg,
            transparent 36%,
            rgba(255, 255, 255, .95) 50%,
            transparent 64%);
    background-repeat: no-repeat;
    background-size: 240% 100%;
    background-position: 150% 0;
    -webkit-background-clip: text;
    background-clip: text;
    animation: l-badge-shine-text 2.8s linear infinite;
}

.l-title {
    line-height: 1.03;
    font-weight: 790;
    font-size: clamp(2.15rem, 7vw, 4.6rem);
    text-wrap: balance;
    max-width: 12ch;
    margin-bottom: 1.2rem;
    color: var(--textPrimary);
}

.l-subtitle {
    line-height: 1.58;
    font-size: 1.08rem;
    margin-bottom: 2.1rem;
    max-width: 38rem;
    color: color-mix(in srgb, var(--textSecondary) 92%, var(--theme) 8%);
}

.l-hero-actions {
    gap: .75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.l-hero-actions a {
    display: inline-flex;
}

.l-hero-actions .l-btn {
    min-height: 2.75rem;
    padding: .65rem 1.25rem;
    border-radius: .6rem;
}

.l-word {
    display: inline-block;
    white-space: nowrap;
}

.l-letter {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
}

.l-inview .l-letter {
    animation: l-reveal .5s cubic-bezier(.21, .8, .33, 1) forwards;
}

.l-visual-col {
    width: min(40rem, 100%);
    min-width: 0;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .l-visual-col {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 60rem) {
    .l-title {
        max-width: 14ch;
        font-size: clamp(2rem, 11vw, 3.8rem);
    }

    .l-subtitle {
        font-size: 1rem;
        margin-bottom: 1.65rem;
    }
}

@media (max-width: 40rem) {
    .l-badge {
        font-size: .75rem;
        padding: .28rem .66rem;
    }

    .l-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.l-metrics-stage {
    width: 100%;
    display: grid;
    gap: .9rem;
    overflow: hidden;
    isolation: isolate;
    min-width: 0;
    border-radius: 1.05rem;
    position: relative;
    padding: clamp(.95rem, 2.6vw, 1.2rem);
    border: .1rem solid color-mix(in srgb, var(--borderColor, var(--border-color)) 72%, var(--theme) 28%);
    background: linear-gradient(155deg,
            color-mix(in srgb, var(--background-accent) 92%, var(--theme) 8%) 0%,
            color-mix(in srgb, var(--background) 95%, black 5%) 100%);
    box-shadow:
        inset 0 .06rem color-mix(in srgb, white 10%, transparent),
        0 1.2rem 2.5rem color-mix(in srgb, black 42%, transparent);
}

.l-metrics-stage::before {
    inset: 0;
    content: '';
    z-index: -2;
    opacity: .75;
    position: absolute;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--blue-500) 26%, transparent) 0%, transparent 46%),
        radial-gradient(circle at 82% 76%, color-mix(in srgb, var(--violet-500) 20%, transparent) 0%, transparent 48%);
}

.l-metrics-stage::after {
    inset: 0;
    content: '';
    z-index: -1;
    opacity: .18;
    position: absolute;
    pointer-events: none;
    background: linear-gradient(180deg,
            color-mix(in srgb, white 12%, transparent) 0%,
            transparent 32%,
            transparent 100%);
}

.l-metrics-header {
    gap: .75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 .12rem;
}

.l-metrics-eyebrow {
    line-height: 1;
    font-size: .72rem;
    font-weight: 730;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--textSecondary) 86%, var(--theme) 14%);
}

.l-metrics-grid {
    gap: .8rem;
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.l-metric-card {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--theme) 70%, white 30%);
    gap: .85rem;
    display: grid;
    min-width: 0;
    min-height: 8.25rem;
    border-radius: .88rem;
    position: relative;
    align-content: space-between;
    padding: .95rem;
    opacity: 0;
    overflow: hidden;
    transform: translateY(.6rem);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
    border: .1rem solid color-mix(in srgb, var(--borderColor, var(--border-color)) 72%, var(--card-tone) 28%);
    background: linear-gradient(162deg,
            color-mix(in srgb, var(--background-accent) 88%, var(--card-tone) 12%) 0%,
            color-mix(in srgb, var(--background) 95%, black 5%) 100%);
}

.l-inview .l-metric-card {
    animation: l-metric-enter 560ms cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--card-index) * 90ms + 70ms);
}

.l-metric-card::before {
    left: .95rem;
    right: .95rem;
    top: 0;
    content: '';
    height: .11rem;
    position: absolute;
    border-radius: 999rem;
    background: color-mix(in srgb, var(--card-tone) 84%, white 16%);
    opacity: .9;
}

.l-metric-card[data-tone='blue'] {
    --card-tone: var(--blue-500);
    --card-tone-strong: color-mix(in srgb, var(--blue-500) 68%, white 32%);
}

.l-metric-card[data-tone='violet'] {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--violet-500) 70%, white 30%);
}

.l-metric-card[data-tone='emerald'] {
    --card-tone: var(--emerald-500);
    --card-tone-strong: color-mix(in srgb, var(--emerald-500) 72%, white 28%);
}

.l-metric-card[data-tone='amber'] {
    --card-tone: var(--yellow-500);
    --card-tone-strong: color-mix(in srgb, var(--yellow-500) 70%, white 30%);
}

.l-metric-card:hover {
    transform: translateY(-.22rem);
    border-color: color-mix(in srgb, var(--card-tone) 62%, var(--borderColor, var(--border-color)) 38%);
    box-shadow: 0 .9rem 1.8rem color-mix(in srgb, var(--card-tone) 22%, transparent);
}

.l-metric-card-top {
    gap: .7rem;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
}

.l-metric-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    border-radius: .75rem;
    justify-content: center;
    color: var(--card-tone-strong);
    border: .1rem solid color-mix(in srgb, var(--card-tone) 34%, transparent);
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--card-tone) 24%, transparent),
            color-mix(in srgb, var(--background-accent) 80%, var(--card-tone) 20%));
}

.l-metric-icon svg {
    width: 1.28rem;
    height: 1.28rem;
}

.l-metric-value {
    line-height: 1;
    white-space: nowrap;
    font-size: clamp(1.24rem, 2.2vw, 1.84rem);
    font-weight: 790;
    letter-spacing: .012em;
    font-variant-numeric: tabular-nums;
    color: var(--textPrimary);
}

.l-metric-label {
    line-height: 1;
    font-size: .78rem;
    font-weight: 720;
    white-space: nowrap;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--textSecondary) 80%, var(--card-tone-strong) 20%);
}

@keyframes l-metric-enter {
    0% {
        opacity: 0;
        transform: translateY(.6rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes l-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes l-badge-shine-text {
    0% {
        opacity: 0;
        background-position: 150% 0;
    }

    18% {
        opacity: 1;
    }

    82% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        background-position: -150% 0;
    }
}

@media (min-width: 640px) {
    .l-metrics-stage {
        gap: 1rem;
    }

    .l-metrics-grid {
        gap: .9rem;
    }
}

@media (min-width: 1280px) {
    .l-metrics-header {
        padding: 0 .08rem;
    }

    .l-metrics-grid {
        gap: .82rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .l-metric-card {
        min-height: 8rem;
        padding: .9rem .82rem;
    }

    .l-metric-value {
        font-size: clamp(1.08rem, 1.28vw, 1.54rem);
    }

    .l-metric-label {
        font-size: .72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .l-letter {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .l-metric-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .l-metric-card:hover {
        transform: none;
    }

    .l-badge-text::after {
        animation: none;
        opacity: 0;
    }
}

/* ============ Features ============ */

.l-features {
    width: 100%;
    display: flex;
    overflow: hidden;
    isolation: isolate;
    position: relative;
    align-items: center;
    justify-content: center;
    scroll-margin-top: var(--section-scroll-offset);
    padding: var(--section-padding-y) 0;
}

.l-section-container {
    width: min(var(--layout-max-width), calc(100% - (var(--layout-gutter) * 2)));
    margin: 0 auto;
    position: relative;
}

.l-section-header {
    width: 100%;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.l-eyebrow {
    opacity: .62;
    display: inline-flex;
    align-items: center;
    border-radius: 999rem;
    letter-spacing: .28em;
    margin-bottom: .8rem;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 740;
    color: var(--textSecondary);
}

.l-heading {
    line-height: 1.08;
    font-weight: 780;
    text-wrap: balance;
    color: var(--textPrimary);
    font-size: clamp(1.5rem, 4.5vw, 2rem);
}

.l-section-subtitle {
    margin-top: .75rem;
    max-width: 58ch;
    font-size: 1.05rem;
    line-height: 1.56;
    color: var(--textSecondary);
}

.l-grid {
    gap: 1rem;
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: 1fr;
}

.l-feature-card {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--theme) 70%, white 30%);
    display: flex;
    height: 100%;
    padding: 1.3rem;
    min-height: 100%;
    opacity: 0;
    border-radius: 1rem;
    flex-direction: column;
    transform: translateY(.95rem);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
    background: linear-gradient(150deg,
            color-mix(in srgb, var(--background-accent) 90%, var(--card-tone) 10%) 0%,
            color-mix(in srgb, var(--background) 94%, black 6%) 100%);
}

.l-inview .l-feature-card {
    animation: l-card-enter 560ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.l-feature-card[data-tone='violet'] {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--violet-500) 70%, white 30%);
}

.l-feature-card[data-tone='blue'] {
    --card-tone: var(--blue-500);
    --card-tone-strong: color-mix(in srgb, var(--blue-500) 68%, white 32%);
}

.l-feature-card[data-tone='emerald'] {
    --card-tone: var(--emerald-500);
    --card-tone-strong: color-mix(in srgb, var(--emerald-500) 72%, white 28%);
}

.l-feature-card:nth-child(2) {
    animation-delay: 110ms;
}

.l-feature-card:nth-child(3) {
    animation-delay: 220ms;
}

.l-feature-card:hover {
    transform: translateY(-.25rem);
    box-shadow: 0 .8rem 2rem color-mix(in srgb, var(--card-tone) 23%, transparent);
}

.l-card-top {
    gap: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l-icon-wrap {
    width: 2.9rem;
    height: 2.9rem;
    display: flex;
    flex-shrink: 0;
    border-radius: .8rem;
    align-items: center;
    justify-content: center;
    transition:
        transform 220ms ease,
        border-color 220ms ease;
    border: .1rem solid color-mix(in srgb, var(--card-tone) 30%, transparent);
    color: var(--card-tone-strong);
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--card-tone) 20%, transparent),
            color-mix(in srgb, var(--background-accent) 78%, var(--card-tone) 22%));
}

.l-icon-wrap svg {
    width: 1.35rem;
    height: 1.35rem;
}

.l-feature-card:hover .l-icon-wrap {
    transform: translateY(-.1rem) scale(1.04);
    border-color: color-mix(in srgb, var(--card-tone) 62%, transparent);
}

.l-pill {
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--card-tone-strong);
    border: .1rem solid color-mix(in srgb, var(--card-tone) 45%, transparent);
    padding: .42rem .62rem;
    background: color-mix(in srgb, var(--card-tone) 14%, transparent);
}

.l-card-title {
    margin-top: 1rem;
    line-height: 1.2;
    font-size: 1.28rem;
    font-weight: 750;
    color: var(--textPrimary);
}

.l-description {
    margin-top: .75rem;
    line-height: 1.5;
    color: var(--textSecondary);
}

.l-points {
    gap: .6rem;
    display: grid;
    list-style: none;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: .1rem solid color-mix(in srgb, var(--card-tone) 20%, var(--borderColor, var(--border-color)) 80%);
}

.l-point {
    font-size: .95rem;
    line-height: 1.35;
    position: relative;
    padding-left: .95rem;
    color: color-mix(in srgb, var(--textSecondary) 88%, var(--card-tone-strong) 12%);
}

.l-point::before {
    left: 0;
    top: .43rem;
    width: .42rem;
    height: .42rem;
    content: '';
    position: absolute;
    border-radius: 999rem;
    background: color-mix(in srgb, var(--card-tone) 80%, white 20%);
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--card-tone) 18%, transparent);
}

@keyframes l-card-enter {
    0% {
        opacity: 0;
        transform: translateY(.95rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ Pricing ============ */

.l-pricing {
    width: 100%;
    display: flex;
    overflow: hidden;
    isolation: isolate;
    position: relative;
    align-items: center;
    justify-content: center;
    scroll-margin-top: var(--section-scroll-offset);
    padding: var(--section-padding-y) 0;
}

.l-card {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--theme) 70%, white 30%);
    display: flex;
    padding: 1.3rem;
    min-height: 100%;
    opacity: 0;
    border-radius: 1rem;
    flex-direction: column;
    transform: translateY(.95rem);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
    border: .1rem solid color-mix(in srgb, var(--borderColor, var(--border-color)) 70%, var(--card-tone) 30%);
    background: linear-gradient(150deg,
            color-mix(in srgb, var(--background-accent) 90%, var(--card-tone) 10%) 0%,
            color-mix(in srgb, var(--background) 94%, black 6%) 100%);
}

.l-inview .l-card {
    animation: l-card-enter 560ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.l-card[data-tone='basic'] {
    --card-tone: var(--blue-500);
    --card-tone-strong: color-mix(in srgb, var(--blue-500) 68%, white 32%);
}

.l-card[data-tone='standard'] {
    --card-tone: var(--theme);
    --card-tone-strong: color-mix(in srgb, var(--violet-500) 70%, white 30%);
}

.l-card[data-tone='advanced'] {
    --card-tone: var(--emerald-500);
    --card-tone-strong: color-mix(in srgb, var(--emerald-500) 72%, white 28%);
}

.l-card:nth-child(2) {
    animation-delay: 110ms;
}

.l-card:nth-child(3) {
    animation-delay: 220ms;
}

.l-card:hover {
    transform: translateY(-.25rem);
    border-color: color-mix(in srgb, var(--card-tone) 62%, var(--borderColor, var(--border-color)) 38%);
    box-shadow: 0 .8rem 2rem color-mix(in srgb, var(--card-tone) 23%, transparent);
}

.l-plan-meta {
    gap: .45rem;
    display: flex;
    flex-direction: column;
}

.l-plan-name {
    line-height: 1.2;
    font-size: 1.28rem;
    font-weight: 750;
    color: var(--textPrimary);
}

.l-price {
    gap: .22rem;
    display: inline-flex;
    align-items: baseline;
    font-size: 1.03rem;
    line-height: 1;
    font-weight: 760;
    color: var(--card-tone-strong);
}

.l-price small {
    opacity: .85;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--textSecondary);
}

.l-cta {
    width: 100%;
    display: inline-flex;
    min-height: 2.9rem;
    margin-top: 1.2rem;
    font-weight: 750;
    border-radius: .6rem;
    align-items: center;
    justify-content: center;
    letter-spacing: .01em;
    color: var(--textPrimary);
    border: .1rem solid color-mix(in srgb, var(--card-tone) 45%, var(--borderColor, var(--border-color)) 55%);
    background: color-mix(in srgb, var(--card-tone) 16%, transparent);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.l-cta:hover {
    transform: translateY(-.08rem);
    border-color: color-mix(in srgb, var(--card-tone) 65%, var(--borderColor, var(--border-color)) 35%);
    background: color-mix(in srgb, var(--card-tone) 24%, transparent);
    box-shadow: 0 .6rem 1.35rem color-mix(in srgb, var(--card-tone) 25%, transparent);
}

.l-cta:active {
    transform: translateY(0);
}

.l-cta:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--card-tone) 60%, white 40%);
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .l-pricing .l-grid {
        margin-top: 1.6rem;
    }
}

@media (min-width: 768px) {
    .l-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l-feature-card,
    .l-card {
        padding: 1.35rem;
    }
}

@media (min-width: 1100px) {
    .l-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {

    .l-feature-card,
    .l-card {
        opacity: 1;
        animation: none;
        transform: none;
    }

    .l-feature-card,
    .l-icon-wrap,
    .l-card,
    .l-cta {
        transition: none;
    }
}

/* ============ Footer ============ */

.l-footer {
    width: 100%;
    position: relative;
    isolation: isolate;
    padding: clamp(2.5rem, 5vw, 3.2rem) 0 2rem;
    border-top: .01rem solid var(--border-color);
}

.l-footer-container {
    width: min(var(--layout-max-width), calc(100% - (var(--layout-gutter) * 2)));
    margin: 0 auto;
    position: relative;
}

.l-footer-panel {
    gap: 1.5rem;
    display: grid;
    border-radius: 1rem;
    padding: 0;
    background: transparent;
}

.l-footer-grid {
    gap: 1.2rem;
    display: grid;
}

.l-brand-block {
    gap: .9rem;
    display: grid;
    align-content: start;
}

.l-footer-brand {
    gap: .65rem;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 780;
    color: var(--textPrimary);
}

.l-footer-brand-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    border-radius: .72rem;
    align-items: center;
    justify-content: center;
    border: .1rem solid color-mix(in srgb, var(--theme) 44%, transparent);
    background: color-mix(in srgb, var(--theme) 16%, transparent);
    color: color-mix(in srgb, var(--theme) 72%, white 28%);
}

.l-footer-brand-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.l-footer-description {
    max-width: 34ch;
    line-height: 1.5;
    color: var(--textSecondary);
}

.l-badges {
    gap: .55rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.l-footer-badge {
    gap: .35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    border-radius: 999rem;
    padding: .42rem .62rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--theme) 72%, white 28%);
    border: .1rem solid color-mix(in srgb, var(--theme) 36%, transparent);
    background: color-mix(in srgb, var(--theme) 12%, transparent);
}

.l-footer-badge svg {
    width: .85rem;
    height: .85rem;
}

.l-footer-column {
    gap: .75rem;
    display: grid;
    align-content: start;
}

.l-column-title {
    opacity: .66;
    font-size: .74rem;
    font-weight: 760;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--textSecondary);
}

.l-footer-links {
    gap: .42rem;
    display: grid;
    list-style: none;
}

.l-footer-link {
    gap: .45rem;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    color: var(--textSecondary);
    transition: color 180ms ease;
}

.l-footer-link svg {
    width: .8rem;
    height: .8rem;
    opacity: .6;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.l-footer-link:hover {
    color: var(--textPrimary);
}

.l-footer-link:hover svg {
    opacity: 1;
    transform: translateX(.1rem);
}

.l-bottom-row {
    gap: .8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
}

.l-copy {
    opacity: .76;
    font-size: .84rem;
    line-height: 1.4;
    color: var(--textSecondary);
}

.l-bottom-links {
    gap: .7rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.l-bottom-link {
    opacity: .72;
    font-size: .82rem;
    font-weight: 620;
    color: var(--textSecondary);
    transition:
        opacity 180ms ease,
        color 180ms ease;
}

.l-bottom-link:hover {
    opacity: 1;
    color: var(--textPrimary);
}

@media (min-width: 768px) {
    .l-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }

    .l-brand-block {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .l-footer-grid {
        grid-template-columns: minmax(0, 1fr) auto auto;
        column-gap: clamp(1.5rem, 4vw, 4rem);
        row-gap: 1.2rem;
    }

    .l-brand-block {
        grid-column: auto;
    }

    .l-footer-column {
        justify-self: end;
    }
}

@media (max-width: 680px) {
    .l-bottom-row {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .l-bottom-links {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .l-footer-link svg,
    .l-bottom-link {
        transition: none;
    }
}

/* ============ ToS ============ */

.l-tos-main {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + clamp(.9rem, 2.5vw, 1.5rem));
}

.l-tos-hero {
    width: 100%;
    padding: 0 0 1.2rem;
}

.l-tos-card {
    gap: 1.35rem;
    display: grid;
    border-radius: 1rem;
    padding: clamp(1rem, 2.5vw, 1.8rem);
    border: .1rem solid color-mix(in srgb, var(--theme) 24%, var(--borderColor) 76%);
    background: linear-gradient(150deg,
            color-mix(in srgb, var(--background-accent) 91%, var(--theme) 9%) 0%,
            color-mix(in srgb, var(--background) 94%, black 6%) 100%);
    box-shadow:
        inset 0 .06rem color-mix(in srgb, white 12%, transparent),
        0 1.2rem 2.4rem color-mix(in srgb, black 35%, transparent);
}

.l-tos-brand-block {
    gap: .9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: .95rem;
    border-bottom: .07rem solid color-mix(in srgb, var(--borderColor) 85%, transparent);
}

.l-tos-brand-link {
    gap: .62rem;
    display: inline-flex;
    align-items: center;
    font-size: 1.12rem;
    font-weight: 760;
    color: var(--textPrimary);
}

.l-tos-brand-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    color: color-mix(in srgb, var(--theme) 72%, white 28%);
    border: .09rem solid color-mix(in srgb, var(--theme) 36%, transparent);
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--theme) 21%, transparent),
            color-mix(in srgb, var(--background-accent) 80%, var(--theme) 20%));
}

.l-tos-brand-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.l-tos-updated-at {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--textSecondary) 86%, var(--theme) 14%);
}

.l-tos-body {
    display: grid;
    gap: .72rem;
}

.l-tos-kicker {
    width: fit-content;
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--theme) 76%, white 24%);
}

.l-tos-body h1 {
    line-height: 1.08;
    font-size: clamp(1.6rem, 4.8vw, 2.4rem);
    font-weight: 790;
    color: var(--textPrimary);
    text-wrap: balance;
}

.l-tos-subtitle {
    max-width: 70ch;
    line-height: 1.58;
    color: var(--textSecondary);
}

.l-tos-actions {
    gap: .6rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: .22rem;
}

.l-tos-cta-primary {
    gap: .42rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: .62rem;
    padding: 0 .92rem;
    font-size: .9rem;
    font-weight: 760;
    color: var(--textPrimary);
    border: .1rem solid color-mix(in srgb, var(--theme) 50%, var(--borderColor) 50%);
    background: color-mix(in srgb, var(--theme) 16%, transparent);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.l-tos-cta-primary svg {
    width: .95rem;
    height: .95rem;
    transition: transform 180ms ease;
}

.l-tos-cta-primary:hover {
    transform: translateY(-.08rem);
    border-color: color-mix(in srgb, var(--theme) 68%, var(--borderColor) 32%);
    background: color-mix(in srgb, var(--theme) 22%, transparent);
}

.l-tos-cta-primary:hover svg {
    transform: translateX(.08rem);
}

.l-tos-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: .62rem;
    padding: 0 .92rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--textSecondary);
    border: .1rem solid color-mix(in srgb, var(--borderColor) 86%, transparent);
    background: color-mix(in srgb, var(--background-accent) 55%, transparent);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.l-tos-cta-secondary:hover {
    color: var(--textPrimary);
    border-color: color-mix(in srgb, var(--theme) 36%, var(--borderColor) 64%);
    background: color-mix(in srgb, var(--theme) 10%, var(--background-accent) 90%);
}

.l-tos-terms {
    width: 100%;
    padding: .25rem 0 1rem;
}

.l-tos-grid {
    gap: 1rem;
    display: grid;
    grid-template-columns: 1fr;
}

.l-tos-section-card {
    --card-tone: var(--theme);
    opacity: 0;
    padding: 1.15rem;
    border-radius: 1rem;
    transform: translateY(.72rem);
    animation: l-tos-card-enter 500ms cubic-bezier(.22, 1, .36, 1) forwards;
    border: .1rem solid color-mix(in srgb, var(--card-tone) 28%, var(--borderColor) 72%);
    background: linear-gradient(150deg,
            color-mix(in srgb, var(--background-accent) 92%, var(--card-tone) 8%) 0%,
            color-mix(in srgb, var(--background) 95%, black 5%) 100%);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.l-tos-section-card[data-tone='violet'] {
    --card-tone: var(--theme);
}

.l-tos-section-card[data-tone='blue'] {
    --card-tone: var(--blue-500);
}

.l-tos-section-card[data-tone='emerald'] {
    --card-tone: var(--emerald-500);
}

.l-tos-section-card[data-tone='amber'] {
    --card-tone: var(--yellow-500);
}

.l-tos-section-card:nth-child(2) {
    animation-delay: 70ms;
}

.l-tos-section-card:nth-child(3) {
    animation-delay: 140ms;
}

.l-tos-section-card:nth-child(4) {
    animation-delay: 210ms;
}

.l-tos-section-card:nth-child(5) {
    animation-delay: 280ms;
}

.l-tos-section-card:nth-child(6) {
    animation-delay: 350ms;
}

.l-tos-section-card:hover {
    transform: translateY(-.15rem);
    border-color: color-mix(in srgb, var(--card-tone) 54%, var(--borderColor) 46%);
    box-shadow: 0 .8rem 2rem color-mix(in srgb, var(--card-tone) 18%, transparent);
}

.l-tos-card-title {
    line-height: 1.12;
    font-size: 1.3rem;
    font-weight: 770;
    color: var(--textPrimary);
}

.l-tos-list {
    gap: .82rem;
    display: grid;
    list-style: none;
    margin-top: 1rem;
}

.l-tos-item {
    gap: .68rem;
    display: grid;
    align-items: start;
    grid-template-columns: auto 1fr;
}

.l-tos-item-id {
    min-width: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999rem;
    font-size: .74rem;
    font-weight: 760;
    line-height: 1;
    letter-spacing: .03em;
    color: color-mix(in srgb, var(--card-tone) 70%, white 30%);
    border: .1rem solid color-mix(in srgb, var(--card-tone) 45%, transparent);
    background: color-mix(in srgb, var(--card-tone) 12%, transparent);
    padding: .33rem .5rem;
}

.l-tos-item p {
    line-height: 1.5;
    color: color-mix(in srgb, var(--textSecondary) 90%, var(--card-tone) 10%);
}

@keyframes l-tos-card-enter {
    from {
        opacity: 0;
        transform: translateY(.72rem);
    }

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

@media (min-width: 960px) {
    .l-tos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .l-tos-section-card {
        opacity: 1;
        animation: none;
        transform: none;
    }

    .l-tos-section-card,
    .l-tos-cta-primary,
    .l-tos-cta-primary svg,
    .l-tos-cta-secondary {
        transition: none;
    }
}

/* ============ Domain notice (no Tailwind on landing pages) ============ */

#domain-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 85;
}

#domain-notice .dn-inner {
    background: #0f172a;
    border-bottom: .06rem solid rgba(245, 158, 11, .6);
}

#domain-notice .dn-row {
    max-width: 80rem;
    margin: 0 auto;
    padding: .625rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

#domain-notice .dn-icon {
    color: #f59e0b;
    flex-shrink: 0;
    display: inline-flex;
}

#domain-notice .dn-text {
    color: #e2e8f0;
    font-size: .875rem;
    line-height: 1.375;
    text-align: left;
    flex: 1;
    min-width: 0;
}

#domain-notice .dn-text a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: underline;
}

#domain-notice .dn-text a:hover {
    color: #fcd34d;
}

#domain-notice .dn-close {
    color: #475569;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
    flex-shrink: 0;
    display: inline-flex;
    transition: color 150ms ease;
}

#domain-notice .dn-close:hover {
    color: #94a3b8;
}
