html {
    scroll-behavior: smooth;
}

:root {
    color-scheme: light;
}

html.dark {
    color-scheme: dark;
}

body {
    background:
        radial-gradient(circle at top right, rgba(244, 116, 12, 0.18), transparent 26%),
        radial-gradient(circle at 15% 80%, rgba(244, 116, 12, 0.08), transparent 24%),
        linear-gradient(180deg, #fcfbf9 0%, #f3f5f8 100%);
    transition: background 0.35s ease, color 0.35s ease;
}

html.dark body {
    background:
        radial-gradient(circle at top right, rgba(244, 116, 12, 0.18), transparent 22%),
        radial-gradient(circle at 16% 88%, rgba(61, 99, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #0f1725 0%, #090f1a 100%);
}

.grid-wash::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 24, 40, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 24, 40, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
    opacity: 0.6;
}

html.dark .grid-wash::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 0.42;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.08s;
}

.delay-2 {
    animation-delay: 0.16s;
}

.delay-3 {
    animation-delay: 0.24s;
}

.float-slow {
    animation: drift 10s ease-in-out infinite;
}

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

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 12px, 0) scale(1.04);
    }
}

.surface-panel,
.surface-soft,
.accent-panel,
.button-secondary,
.eyebrow-pill,
.theme-switch,
.theme-option,
.browser-shell,
.mobile-stage-shell,
.tablet-stage-shell,
.placeholder-stage-shell,
.gallery-frame {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

html.dark .text-ink {
    color: #f8fafc !important;
}

html.dark .text-mist {
    color: #94a3b8 !important;
}

html.dark .border-black\/5 {
    border-color: rgba(148, 163, 184, 0.16) !important;
}

html.dark .surface-panel {
    background: rgba(15, 23, 42, 0.76) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.36);
}

html.dark .surface-soft {
    background: rgba(15, 23, 42, 0.62) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.3);
}

html.dark .accent-panel {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.82)) !important;
    border-color: rgba(244, 116, 12, 0.22) !important;
}

html.dark .eyebrow-pill {
    background: rgba(244, 116, 12, 0.12) !important;
    border-color: rgba(244, 116, 12, 0.24) !important;
}

html.dark .button-secondary {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(244, 116, 12, 0.18) !important;
    color: #f8fafc !important;
}

html.dark .button-secondary:hover {
    border-color: rgba(244, 116, 12, 0.38) !important;
    background: rgba(30, 41, 59, 0.92) !important;
}

.theme-switch {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html.dark .theme-switch {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.4);
}

.theme-option {
    color: #657084;
}

.theme-option:hover {
    color: #121826;
}

.theme-option.is-active {
    background: #f4740c;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(244, 116, 12, 0.24);
}

.theme-option.is-active i {
    color: #ffffff;
}

.logo-dark {
    display: none;
}

html.dark .logo-light {
    display: none;
}

html.dark .logo-dark {
    display: block;
}

html.dark .theme-option {
    color: #94a3b8;
}

html.dark .theme-option:hover {
    color: #f8fafc;
}

html.dark .browser-shell {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.9)) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px rgba(2, 6, 23, 0.42);
}

html.dark .browser-shell .browser-window {
    background: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .browser-shell .browser-bar {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.86)) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .browser-shell .browser-address {
    background: rgba(15, 23, 42, 0.78) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .mobile-stage-shell {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.88)) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px rgba(2, 6, 23, 0.42);
}

html.dark .tablet-stage-shell {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.88)) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px rgba(2, 6, 23, 0.42);
}

html.dark .placeholder-stage-shell {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.84)) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .placeholder-stage-shell .placeholder-panel {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .placeholder-stage-shell .placeholder-note {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .gallery-frame {
    background: rgba(15, 23, 42, 0.82) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
}

.product-badge[data-product="uiworkshop"] {
    background: #e8efff;
    color: #2647bf;
}

.product-badge[data-product="manuspad"] {
    background: #eaf0ff;
    color: #3656c8;
}

.product-badge[data-product="vety"],
.product-badge[data-product="jigris"] {
    background: #e9faf4;
    color: #1e7a5b;
}

.product-accent-soft[data-product="uiworkshop"] {
    background: rgba(61, 99, 255, 0.13);
}

.product-accent-soft[data-product="manuspad"] {
    background: rgba(95, 124, 255, 0.13);
}

.product-accent-soft[data-product="vety"] {
    background: rgba(47, 166, 125, 0.13);
}

.product-accent-soft[data-product="jigris"] {
    background: rgba(255, 138, 87, 0.13);
}

.product-accent-strong[data-product="uiworkshop"] {
    background: rgba(61, 99, 255, 0.2);
}

.product-accent-strong[data-product="manuspad"] {
    background: rgba(95, 124, 255, 0.2);
}

.product-accent-strong[data-product="vety"] {
    background: rgba(47, 166, 125, 0.2);
}

.product-accent-strong[data-product="jigris"] {
    background: rgba(255, 138, 87, 0.2);
}

.placeholder-accent-surface[data-product="uiworkshop"] {
    background: linear-gradient(145deg, rgba(61, 99, 255, 0.13), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-surface[data-product="manuspad"] {
    background: linear-gradient(145deg, rgba(95, 124, 255, 0.13), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-surface[data-product="vety"] {
    background: linear-gradient(145deg, rgba(47, 166, 125, 0.13), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-surface[data-product="jigris"] {
    background: linear-gradient(145deg, rgba(255, 138, 87, 0.13), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-block[data-product="uiworkshop"] {
    background: linear-gradient(145deg, rgba(61, 99, 255, 0.11), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-block[data-product="manuspad"] {
    background: linear-gradient(145deg, rgba(95, 124, 255, 0.11), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-block[data-product="vety"] {
    background: linear-gradient(145deg, rgba(47, 166, 125, 0.11), rgba(255, 255, 255, 0.96));
}

.placeholder-accent-block[data-product="jigris"] {
    background: linear-gradient(145deg, rgba(255, 138, 87, 0.11), rgba(255, 255, 255, 0.96));
}

.gallery-frame-placeholder {
    background-image:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 30%),
        linear-gradient(155deg, rgba(244, 116, 12, 0.15), rgba(255, 255, 255, 0.95));
}

.policy-copy h2,
.policy-copy h3,
.policy-copy p,
.policy-copy ul {
    margin: 0;
}

.policy-copy h2 {
    margin-top: 2rem;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: 0.6px;
    color: #121826;
}

.policy-copy h3 {
    margin-top: 1.4rem;
    font-size: 1.15rem;
    line-height: 1.35;
    letter-spacing: 0.4px;
    color: #121826;
}

.policy-copy p,
.policy-copy li {
    color: #657084;
    font-size: 1rem;
    line-height: 1.95;
}

.policy-copy p + p,
.policy-copy ul + p,
.policy-copy p + ul,
.policy-copy ul + ul {
    margin-top: 1rem;
}

.policy-copy ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.policy-copy li + li {
    margin-top: 0.45rem;
}

.policy-copy code {
    border-radius: 999px;
    background: rgba(244, 116, 12, 0.1);
    padding: 0.16rem 0.5rem;
    font-size: 0.92em;
    color: #121826;
}

.policy-copy a {
    color: #f4740c;
    text-decoration: none;
}

.policy-copy a:hover {
    text-decoration: underline;
}

html.dark .policy-copy h2,
html.dark .policy-copy h3,
html.dark .policy-copy code {
    color: #f8fafc;
}

html.dark .policy-copy p,
html.dark .policy-copy li {
    color: #94a3b8;
}

html.dark .policy-copy code {
    background: rgba(244, 116, 12, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
