:root {
    --color-primary: #ff7000;
    --color-primary-soft: rgba(255, 112, 0, 0.08);
    --color-secondary: #8a00ff;

    --color-bg: #05060a;
    --color-bg-elevated: #0b0d13;
    --color-bg-footer: #05060a;

    --color-surface: rgba(15, 18, 26, 0.9);
    --color-border-subtle: rgba(148, 163, 184, 0.28);
    --color-border-soft: rgba(148, 163, 184, 0.16);

    --color-text: #f9fafb;
    --color-text-muted: #9ca3af;

    --hero-metric-bg: rgba(11, 15, 25, 0.96);
    --hero-metric-border: rgba(148, 163, 184, 0.32);
    --hero-metric-icon-bg: linear-gradient(135deg,
            rgba(255, 112, 0, 0.3),
            rgba(138, 0, 255, 0.4));

    --shadow-soft: 0 1.125rem 3rem rgba(0, 0, 0, 0.45);
    --shadow-light: 0 0.9rem 2.5rem rgba(0, 0, 0, 0.4);

    --radius-xl: 0.8594vw;
    --radius-lg: 0.7031vw;
    --radius-md: 0.4688vw;
    --radius-sm: 0.3125vw;
    --radius-pill: 39.0234vw;

    --transition-fast: 0.16s ease-out;
    --transition-med: 0.22s ease-out;

    --blur-strong: 0.9375vw;
    --font-scale-base: min(calc(100vw / 160), calc(100vh / 90));
    --font-scale-boost: 1.2;
}

[data-theme="light"] {
    --color-bg: #f1f5f9;
    --color-bg-elevated: #e5e7eb;
    --color-bg-footer: #f9fafb;

    --color-surface: #f9fafb;
    --color-border-subtle: rgba(148, 163, 184, 0.6);
    --color-border-soft: rgba(148, 163, 184, 0.35);

    --color-text: #020617;
    --color-text-muted: #4b5563;

    --hero-metric-bg: #f9fafb;
    --hero-metric-border: rgba(148, 163, 184, 0.55);
    --hero-metric-icon-bg: linear-gradient(135deg, #ffe4c4, #f5d1ff);

    --shadow-soft: 0 1.125rem 2.5rem rgba(15, 23, 42, 0.23);
    --shadow-light: 0 0.625rem 1.625rem rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    font-size: calc(var(--font-scale-base) * var(--font-scale-boost));
}

main {
    flex: 1;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    position: relative;
    transition:
        background-color 0.26s ease,
        color 0.26s ease;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 112, 0, 0.14), transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(138, 0, 255, 0.14), transparent 60%);
    opacity: 0.9;
    z-index: -1;
}

[data-theme="light"] .page-bg {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 199, 155, 0.7), transparent 65%),
        radial-gradient(circle at 100% 0%, rgba(244, 214, 255, 0.7), transparent 65%);
    opacity: 1;
}

.container {
    width: 70vw;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-header {
    margin-bottom: 2.2rem;
}

.section-header h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.section-header p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}


.rv-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(0.7031vw);
    background: linear-gradient(to bottom,
            rgba(5, 6, 10, 0.9),
            rgba(5, 6, 10, 0.75));
    border-bottom: 0.0391vw solid var(--color-border-soft);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

[data-theme="light"] .rv-header {
    background: linear-gradient(to bottom,
            rgba(243, 244, 246, 0.96),
            rgba(243, 244, 246, 0.9));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-img {
    width: 1.25vw;
    height: 1.25vw;
    border-radius: 0.4297vw;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    position: relative;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.0098vw;
    width: 100%;
    height: 0.0781vw;
    border-radius: 39.0234vw;
    background: linear-gradient(90deg,
            var(--color-primary),
            var(--color-secondary));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}


.btn {
    position: relative;
    border-radius: var(--radius-pill);
    border: 0.0391vw solid transparent;
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-med),
        color var(--transition-med),
        border-color var(--transition-med),
        box-shadow var(--transition-med),
        transform var(--transition-med);
    white-space: nowrap;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.45);
    color: var(--color-text);
    box-shadow: var(--shadow-light);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0.0391vw;
    border-radius: inherit;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 112, 0, 0.35), transparent 55%),
        radial-gradient(circle at 100% 100%,
            rgba(138, 0, 255, 0.28),
            transparent 55%);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-0.0391vw);
    box-shadow: var(--shadow-soft);
    border-color: rgba(249, 250, 251, 0.7);
}

.btn-secondary {
    background: rgba(15, 18, 26, 0.96);
    border-color: var(--color-border-subtle);
    color: var(--color-text);
}

[data-theme="light"] .btn-secondary {
    background: #ffffff;
}

.btn-secondary:hover {
    border-color: rgba(249, 250, 251, 0.8);
    box-shadow: var(--shadow-light);
}

.btn-ghost {
    background: transparent;
    border-color: var(--color-border-subtle);
    color: var(--color-text);
}

.btn-ghost:hover {
    border-color: rgba(249, 250, 251, 0.7);
}

.btn-accent {
    background: linear-gradient(135deg, #ff8a1a, #ff7000);
    border-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    box-shadow: 0 0.4688vw 1.1719vw rgba(0, 0, 0, 0.45);
}

.btn-accent:hover {
    transform: translateY(-0.0391vw);
    box-shadow: 0 0.625vw 1.4844vw rgba(0, 0, 0, 0.6);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.btn-link {
    padding: 0.2rem 0;
    border-radius: 0;
    border: none;
    background: none;
    font-size: 0.88rem;
    color: var(--color-text);
}

.btn-link i {
    font-size: 0.8rem;
}

.btn-link:hover {
    color: var(--color-primary);
}


.icon-button {
    border-radius: var(--radius-pill);
    border: 0.0391vw solid var(--color-border-subtle);
    padding: 0.35rem 0.75rem;
    background: rgba(15, 18, 26, 0.9);
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
    overflow: hidden;
    font-size: 0.85rem;
}

.icon-button i {
    font-size: 0.82em;
    line-height: 1;
}

.icon-button-square {
    width: 1.3281vw;
    height: 1.3281vw;
    padding: 0;
    font-size: 0.9rem;
}

.icon-button:hover {
    color: var(--color-text);
    border-color: rgba(249, 250, 251, 0.8);
    background: rgba(15, 18, 26, 1);
    transform: translateY(-0.0391vw);
}

[data-theme="light"] .icon-button {
    background: #ffffff;
}

.header-discord,
.header-discord:visited,
.header-discord:hover,
.header-discord:focus {
    text-decoration: none;
}


.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 1.3281vw;
    min-width: 2.5vw;
    padding: 0 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 18, 26, 0.95);
}

[data-theme="light"] .lang-toggle {
    background: #ffffff;
}

.lang-toggle span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.lang-toggle i {
    font-size: 0.7rem;
    margin-top: 0.0391vw;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 4.6875vw;
    padding: 0.35rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 0.0391vw solid var(--color-border-soft);
    box-shadow: var(--shadow-soft);
    list-style: none;
    margin: 0;
    opacity: 0;
    transform: translateY(0.1562vw);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 30;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.lang-option.is-active {
    background: rgba(255, 112, 0, 0.1);
    color: var(--color-text);
}

.lang-option:hover {
    background: rgba(148, 163, 184, 0.16);
    color: var(--color-text);
}

.lang-menu .lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle #lang-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-menu .lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lang-flag-img {
    width: 1.2rem;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.lang-code {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero {
    padding-top: 3.4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-title {
    margin: 0 0 0.8rem;
    font-size: clamp(2.3rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
}

.hero-line-1 {
    color: var(--color-text);
}

.hero-line-2 {
    background: linear-gradient(120deg,
            var(--color-primary),
            var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 32rem;
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1.6rem 0 0;
}


.hero-showcase {
    display: flex;
    justify-content: flex-end;
}

.hero-metas {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}

.hero-meta-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-radius: 39.0234vw;
    background: var(--hero-metric-bg);
    border: 0.0391vw solid var(--hero-metric-border);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition:
        background-color var(--transition-med),
        border-color var(--transition-med),
        box-shadow var(--transition-med),
        transform var(--transition-med);
}

.hero-meta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%,
            rgba(255, 112, 0, 0.25),
            transparent 55%);
    opacity: 0.4;
    pointer-events: none;
}


[data-theme="light"] .hero-meta-card {
    background-color: #f9fafb;
    background-image: none;
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: 0 0.5469vw 1.0156vw rgba(148, 163, 184, 0.25);
}

[data-theme="light"] .hero-meta-card::before {
    content: none;
}

[data-theme="light"] .hero-meta-icon {
    background-color: #ffffff;
    border-radius: 0.5859vw;
    border: 0.0391vw solid rgba(248, 171, 96, 0.9);
    box-shadow: 0 0.3125vw 0.7031vw rgba(15, 23, 42, 0.12);
    color: #ea580c;
}

[data-theme="light"] .hero-meta-label {
    color: #6b7280;
}

[data-theme="light"] .hero-meta-value {
    color: #0f172a;
}

.hero-meta-card:hover {
    transform: translateY(-0.0391vw);
    box-shadow: var(--shadow-soft);
}

.hero-meta-icon {
    position: relative;
    width: 1.7188vw;
    height: 1.7188vw;
    border-radius: 0.5859vw;
    background: var(--hero-metric-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.hero-meta-icon i {
    font-size: 1.1rem;
}

.hero-meta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-meta-value {
    font-size: 0.94rem;
}


.card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 0.0391vw solid var(--color-border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.5rem;
    backdrop-filter: blur(var(--blur-strong));
    transition:
        background-color 0.26s ease,
        border-color 0.26s ease,
        box-shadow 0.26s ease;
}


.grid {
    display: grid;
    gap: 1.5rem;
}


.scripts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.scripts-header-copy {
    max-width: 20.3125vw;
}

.btn-scripts-link {
    padding: 0.5rem 1.2rem;
    font-size: 0.86rem;
}

.scripts-grid-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.script-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    cursor: pointer;
    transition:
        transform var(--transition-med),
        box-shadow var(--transition-med),
        border-color var(--transition-med);
}

.script-card:hover {
    transform: translateY(-0.1172vw);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .script-card:hover {
    border-color: rgba(148, 163, 184, 0.7);
}

.script-card h3 {
    margin: 0;
    font-size: 1rem;
}

.script-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.script-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.7rem;
    border-radius: 39.0234vw;
    font-size: 0.75rem;
    border: 0.0391vw solid var(--color-border-subtle);
    color: var(--color-text-muted);
    position: relative;
}

.chip-soft {
    background: rgba(15, 18, 26, 0.9);
}

[data-theme="light"] .chip-soft {
    background: #ffffff;
}

.chip-outline {
    background: transparent;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.3rem 0 0.7rem;
    padding: 0;
    list-style: none;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 18, 26, 0.9);
    border: none;
    font-size: 0.78rem;
    white-space: nowrap;
}

.tag-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--color-border-subtle);
    flex-shrink: 0;
    display: inline-block;
}

.fw-esx .tag-dot {
    background: #FF9400;
}

.fw-qb .tag-dot {
    background: #DB133E;
}

.fw-standalone .tag-dot {
    background: #3B82F6;
}

.fw-generic .tag-dot {
    background: #9ca3af;
}

[data-theme="light"] .tag-dot {
    background: var(--color-border-subtle);
}

[data-theme="light"] .fw-esx .tag-dot {
    background: #FF9400;
}

[data-theme="light"] .fw-qb .tag-dot {
    background: #DB133E;
}

[data-theme="light"] .fw-standalone .tag-dot {
    background: #3B82F6;
}

[data-theme="light"] .fw-generic .tag-dot {
    background: #9ca3af;
}

.script-modal-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 0.0391vw solid var(--color-border-soft);
    background: #020617;
}

.script-modal-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, #ff700040, #8800ff40);
}

.script-modal-frameworks,
.script-banner-frameworks {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.script-modal-frameworks .tag-row,
.script-banner-frameworks .tag-row {
    margin: 0;
    flex-wrap: nowrap;
    gap: 0.4rem;
}

.script-modal-frameworks .tag-pill,
.script-banner-frameworks .tag-pill {
    pointer-events: auto;
}

.script-modal-frameworks {
    z-index: 2;
}

.modal-carousel {
    z-index: 1;
}

[data-theme="light"] .tag-row span,
[data-theme="light"] .tag-row li {
    background: #ffffff;
}

.script-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.86rem;
}

.script-modal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    gap: 0.8rem;
    font-size: 0.86rem;
}

.script-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.script-link-btn.is-hidden {
    display: none;
}

.script-link-btn {
    border: 0.0391vw solid rgba(255, 112, 0, 0.7);
    color: #ff7000;
}

.script-link-btn:hover {
    background: rgba(255, 112, 0, 0.12);
    border-color: #ff7000;
    color: #ffb366;
}

.script-link-btn i {
    font-size: 0.8rem;
}

.script-label {
    color: var(--color-text-muted);
}

.script-price {
    font-weight: 500;
}

.quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 2.2rem;
}

.quality-card h3 {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
}

.quality-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.icon-circle {
    width: 1.4062vw;
    height: 1.4062vw;
    border-radius: 39.0234vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: rgba(15, 18, 26, 0.9);
    border: 0.0391vw solid var(--color-border-subtle);
    color: var(--color-primary);
}

[data-theme="light"] .icon-circle {
    background: #ffffff;
}

.process-card {
    padding: 1.3rem 1.4rem;
}

.process-card h3 {
    margin: 0 0 1rem;
    font-size: 0.98rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.6rem 1rem;
    padding: 0.7rem 0;
    border-top: 0.0391vw solid var(--color-border-soft);
}

.process-step:first-child {
    border-top: none;
}

.step-index {
    width: 0.9375vw;
    height: 0.9375vw;
    border-radius: 39.0234vw;
    border: 0.0391vw solid var(--color-border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.process-step h4 {
    margin: 0 0 0.15rem;
    font-size: 0.9rem;
}

.process-step p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.rv-footer {
    border-top: 0.0391vw solid var(--color-border-soft);
    background: var(--color-bg-footer);
    transition:
        background-color 0.26s ease,
        border-color 0.26s ease;
    padding: 2rem 0 1.4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-brand-block {
    max-width: 12.5vw;
}

.footer-logo {
    margin-bottom: 0.3rem;
}

.footer-tagline {
    margin: 0.2rem 0 0.6rem;
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.footer-disclaimer {
    margin: 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.footer-column {
    min-width: 5.4688vw;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-column-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
    margin-bottom: 0.1rem;
}

.footer-link-button,
.footer-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    text-decoration: none;
    text-align: left;
}

.footer-link-button:hover,
.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    margin-top: 1.4rem;
    border-top: 0.0391vw solid var(--color-border-soft);
}

.footer-bottom-inner {
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}


.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.1172vw;
    overflow: hidden;
}

.scroll-progress-inner {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,
            var(--color-primary),
            var(--color-secondary));
    transition: width 0.12s linear;
}


.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 112, 0, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(138, 0, 255, 0.18), transparent 55%),
        rgba(4, 6, 14, 0.8);
    backdrop-filter: blur(0.625vw);
}

[data-theme="light"] .modal-backdrop {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 199, 155, 0.5), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 214, 255, 0.5), transparent 55%),
        rgba(15, 23, 42, 0.3);
}

.modal-dialog {
    position: relative;
    max-width: 50vw;
    width: calc(100% - 3rem);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 0.0391vw solid var(--color-border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.4rem 1.3rem;
    transform: translateY(0.1562vw);
    transition: transform 0.18s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1rem;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.modal-body p {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.modal-body h1,
.modal-body h2,
.modal-body h3 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.modal-body h1 {
    font-size: 1.05rem;
}

.modal-body h2 {
    font-size: 1rem;
}

.modal-body h3 {
    font-size: 0.95rem;
}

.modal-body ul {
    margin: 0 0 0.9rem 1.1rem;
    padding: 0;
    list-style: disc;
}

.modal-body li {
    margin: 0.15rem 0;
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.modal-body hr {
    border: 0;
    border-top: 0.0391vw solid var(--color-border-soft);
    margin: 0.9rem 0;
}


.modal-body a {
    color: var(--color-primary);
    text-decoration: none;
}

body a:hover {
    border-bottom-color: rgba(255, 112, 0, 0.8);
}

.modal-body blockquote {
    margin: 0 0 0.9rem;
    padding: 0.5rem 0.75rem;
    border-left: 0.1172vw solid var(--color-border-subtle);
    background: rgba(15, 23, 42, 0.4);
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

[data-theme="light"] .modal-body blockquote {
    background: #e5e7eb;
}

.modal-body::-webkit-scrollbar {
    width: 0.25rem;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 39.0234vw;
}

.modal-close {
    padding: 0.3rem 0.55rem;
}


.script-modal-dialog {
    width: 50vw;
}

.script-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.2rem;
}

.script-modal-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.modal-body.script-modal-body {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.script-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.2rem;
}

.script-modal-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.script-modal-content::-webkit-scrollbar {
    width: 0.25rem;
}

.script-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.script-modal-content::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 999px;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.hidden .modal-dialog {
    transform: translateY(0.3906vw);
}

.cookie-banner {
    position: fixed;
    right: 0.5vw;
    bottom: 0.5vw;
    z-index: 35;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.cookie-card {
    width: 14.8438vw;
    max-width: 90vw;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 0.0391vw solid var(--color-border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1rem 1.1rem 0.95rem;
    font-size: 0.8rem;
}

.cookie-text p {
    margin: 0 0 0.85rem;
    color: var(--color-text-muted);
}


.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.cookie-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(5, 6, 12, 0.9);
    border: 0.0391vw solid rgba(148, 163, 184, 0.35);
}

.cookie-pill:hover {
    cursor: pointer;
}

[data-theme="light"] .cookie-pill {
    background: #f9fafb;
    border-color: rgba(148, 163, 184, 0.7);
}

.cookie-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-switch {
    position: relative;
    width: 1.5625vw;
    height: 0.8594vw;
    border-radius: 39.0234vw;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0.1562vw 0.3906vw rgba(0, 0, 0, 0.35) inset;
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease;
    flex-shrink: 0;
}

.cookie-switch::before {
    content: "";
    position: absolute;
    top: 0.1172vw;
    left: 0.1172vw;
    width: 0.625vw;
    height: 0.625vw;
    border-radius: 39.0234vw;
    background: #ffffff;
    box-shadow: 0 0.0781vw 0.2344vw rgba(0, 0, 0, 0.45);
    transition:
        transform 0.18s ease,
        background-color 0.18s ease;
}

.cookie-pill input:checked+.cookie-switch {
    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-secondary));
    box-shadow: 0 0.1562vw 0.4688vw rgba(0, 0, 0, 0.45) inset;
}

.cookie-pill input:checked+.cookie-switch::before {
    transform: translateX(0.625vw);
    background: #ffffff;
}

.cookie-pill input:disabled+.cookie-switch {
    opacity: 0.8;
}

.cookie-pill-label {
    font-size: 0.82rem;
    color: var(--color-text);
}


.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.cookie-actions .btn {
    width: 100%;
    justify-content: center;
}

#cookie-save.btn {
    background: linear-gradient(135deg, #ff8a1a, #ff7000);
    border-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}


.cookie-privacy-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    text-align: left;
}

.cookie-privacy-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.0031vw;
    width: 100%;
    height: 0.0391vw;
    background: currentColor;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.cookie-privacy-link:hover {
    color: var(--color-text);
}

.cookie-privacy-link:hover::after {
    opacity: 1;
}


.cookie-pill-disabled {
    opacity: 0.7;
}

.cookie-pill-disabled .cookie-pill-label {
    color: var(--color-text-muted);
}

.cookie-pill-disabled input:checked+.cookie-switch {
    background: #111827;
    box-shadow: 0 0.1562vw 0.3906vw rgba(0, 0, 0, 0.45) inset;
}

.cookie-pill-disabled input:checked+.cookie-switch::before {
    transform: translateX(0.625vw);
    background: #9ca3af;
}


.cookie-settings-button {
    position: fixed;
    right: 0.5vw;
    bottom: 0.5vw;
    z-index: 30;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-pill);
    border: 0.0391vw solid var(--color-border-subtle);
    background: rgba(15, 18, 26, 0.98);
    color: var(--color-text-muted);
    padding: 0;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.cookie-settings-button:hover {
    color: var(--color-text);
    border-color: rgba(249, 250, 251, 0.75);
    transform: translateY(-0.0391vw);
}



[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-main {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-inner {
    direction: rtl;
}

[dir="rtl"] .section-header,
[dir="rtl"] .modal-body {
    text-align: right;
}

.scripts-grid-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.script-card-banner {
    padding: 0;
    overflow: hidden;
}

.script-card-banner .script-card-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.script-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.7031vw 0.7031vw 0 0;
    border-bottom: 0.0391vw solid var(--color-border-soft);
    background: radial-gradient(circle at 0% 0%, rgba(255, 112, 0, 0.2), transparent 60%);
}

.script-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.script-banner-tag {
    position: absolute;
    left: 0.3516vw;
    bottom: 0.2734vw;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 39.0234vw;
    background: rgba(15, 18, 26, 0.9);
    border: 0.0391vw solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .script-banner-tag {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(248, 250, 252, 0.3);
}

.scripts-grid-all .script-card {
    box-shadow: 0 0.625vw 1.5625vw rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .scripts-grid-all .script-card {
    box-shadow: 0 0.8594vw 2.1875vw rgba(148, 163, 184, 0.6);
}

.nav-link.is-active {
    color: var(--color-text);
}

.nav-link.is-active::after {
    transform: scaleX(1);
}

.script-carousel,
.modal-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 0.0391vw solid var(--color-border-soft);
    background: #020617;
    aspect-ratio: 1 / 1;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.carousel-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    border: 0.0391vw solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    font-size: .5rem;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn.prev {
    left: 0.5rem;
}

.carousel-btn.next {
    right: 0.5rem;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.carousel-btn.is-hidden {
    display: none;
}

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

.team-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}


.team-card-founder {
    position: relative;
    border: 0.0391vw solid rgba(255, 176, 0, 0.85);
    box-shadow: 0 0 1.8rem rgba(255, 176, 0, 0.25);
}

.team-card-founder::before {
    content: "Founder";
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-size: 0.75rem;
    padding: 0.18rem 0.6rem;
    border-radius: 39.0234vw;
    background: linear-gradient(135deg, #ffb400, #ff7000);
    color: #050509;
    font-weight: 600;
}


.team-card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.team-avatar-wrap {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 39.0234vw;
    overflow: hidden;
    flex-shrink: 0;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 39.0234vw;
    object-fit: cover;
    display: block;
}


.team-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 39.0234vw;
    border: 0.0781vw solid var(--color-bg-elevated);
    background: #666;
    transform: translate(25%, 25%);
}

.team-status-dot.is-online {
    background: #3ba55d;
}

.team-status-dot.is-idle {
    background: #faa81a;
}

.team-status-dot.is-dnd {
    background: #ed4245;
}

.team-status-dot.is-offline {
    background: #747f8d;
}

.team-main h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.team-role-line {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.team-role-label {
    font-weight: 500;
}

.team-role-sep {
    margin: 0 0.25rem;
    opacity: 0.4;
}

.team-name-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.team-name-row h3 {
    margin: 0;
    font-size: 1rem;
}

.team-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.team-status-text.is-online {
    color: #3ba55d;
}

.team-status-text.is-idle {
    color: #faa81a;
}

.team-status-text.is-dnd {
    color: #ed4245;
}

.team-status-text.is-offline {
    color: #747f8d;
}

.team-chat-link {
    text-decoration: none;
}

.team-chat-link.icon-button.icon-button-square {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
}

.team-chat-link i {
    font-size: 0.9rem;
}

.team-name-link {
    color: inherit;
    text-decoration: none;
}

.team-name-link:hover {
    color: var(--color-primary);
    cursor: pointer;
}




.docs-main {
    padding: 3rem 0 4rem;
}

.docs-shell {
    max-width: 54.6875vw;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.docs-sidebar {
    flex: 0 0 10.1563vw;
    border-radius: 0.7813vw;
    background: #39393915;
    border: 0.0391vw solid rgba(255, 112, 0, 0.22);
    box-shadow: 0 0.5469vw 1.4844vw rgba(0, 0, 0, 0.75);
    padding: 1.4rem 1.2rem 1.6rem;
    color: var(--color-text);
}

.docs-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.docs-sidebar-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.docs-sidebar-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.docs-sidebar-subtitle {
    margin: 0;
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

.docs-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.docs-sidebar-section-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.docs-content-outer {
    flex: 1;
    display: flex;
    justify-content: center;
}

.docs-content-card {
    width: 100%;
    max-width: 37.5vw;
    border-radius: 0.9375vw;
    padding: 1.6rem 2.1rem 2.2rem;
    background: #39393915;
    border: 0.0391vw solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 0.7031vw 1.7578vw rgba(0, 0, 0, 0.7);
    color: var(--color-text);
    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.docs-content-card h1:first-child,
.docs-content-card h2:first-child {
    margin-top: 0;
}

.docs-content-card.docs-content-transition-out {
    opacity: 0;
    transform: translateY(0.2344vw);
}

.docs-content-card.docs-content-transition-in {
    opacity: 1;
    transform: translateY(0);
}


.docs-content-header {
    margin-bottom: 1.4rem;
}

.docs-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.docs-content-header h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.64rem, 2.1vw, 1.94rem);
}

.docs-intro {
    margin: 0;
    font-size: 0.96rem;
    color: var(--color-text-muted);
}

.docs-home-body {
    margin-top: 1.4rem;
    font-size: 0.94rem;
}

.docs-home-list {
    padding-left: 1.2rem;
    margin: 0 0 1rem;
}

.docs-home-callout {
    margin-top: 1.4rem;
    padding: 0.95rem 1.1rem;
    border-radius: 0.7031vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.38);
    background: rgba(15, 10, 6, 0.6);
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.docs-home-callout-icon {
    width: 1.9rem;
    height: 1.9rem;
    aspect-ratio: 1 / 1;
    border-radius: 39.0234vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb366;
    background: rgba(15, 10, 6, 0.9);
}


.docs-pill {
    width: 100%;
    border-radius: 39.0234vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.45);
    background: #FF700005;
    color: var(--color-text);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    transition:
        border-color 0.14s ease,
        background-color 0.14s ease,
        box-shadow 0.14s ease,
        transform 0.14s ease;
}

.docs-pill:not(.is-active):hover {
    border-color: rgba(255, 112, 0, 0.8);
    box-shadow: 0 0 0 0.0391vw #FF700020;
    transform: translateY(-0.0391vw);
}

.docs-pill.is-active {
    background: rgba(255, 112, 0, 0.2);
    border-color: rgba(255, 112, 0, 0.9);
    box-shadow: 0 0 0 0.0391vw rgba(255, 177, 97, 0.45);
}

.docs-pill-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-pill-icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 39.0234vw;
    background: #FF700005;
    border: 0.0391vw solid rgba(255, 112, 0, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffb366;
    flex-shrink: 0;
}

.docs-pill-spacer {
    flex: 1;
}

.docs-pill-home {
    justify-content: flex-start;
}

.docs-script-group {
    border-radius: 0.9766vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.45);
    background: #FF700005;
    padding: 0;
    overflow: hidden;
    margin-bottom: 0.45rem;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease;
}

.docs-pill-script {
    border-radius: 39.0234vw;
    border: none;
    padding: 0.55rem 0.85rem;
    background: transparent;
}

.docs-script-pages {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 0.55rem 0.2rem;
    transition:
        max-height 0.2s ease,
        opacity 0.2s ease;
}

.docs-script-group.is-open .docs-script-pages {
    padding-top: 0.15rem;
    padding-bottom: 1rem;
}

.docs-pill-page {
    margin-top: 0.15rem;
    border-radius: 39.0234vw;
    border-color: rgba(255, 112, 0, 0.55);
    background: #FF700010;
    font-size: 0.88rem;
}

.docs-pill-caret {
    width: 1.5rem;
    height: 1.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 39.0234vw;
    border: 0.0391vw solid rgba(148, 163, 184, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF700005;
    flex-shrink: 0;
}

.docs-script-caret-icon {
    font-size: 0.74rem;
    transition: transform 0.16s ease;
}

.docs-script-caret-icon.is-open {
    transform: rotate(180deg);
}


#docs-content h1 {
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.44rem;
}

#docs-content h2 {
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 1.09rem;
}

#docs-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
}

#docs-content p {
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

#docs-content li {
    font-size: 0.94rem;
    color: var(--color-text-muted);
}

.docs-hr {
    border: 0;
    border-top: 0.0391vw solid rgba(148, 163, 184, 0.28);
    margin: 1.4rem 0;
}


.docs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0.8rem 0 1.2rem;
    border-radius: 0.7031vw;
    overflow: hidden;
    background: #080611;
    font-size: 0.9rem;
    border: 0.0391vw solid rgba(138, 0, 255, 0.55);
    box-shadow: 0 0 0 0.0391vw rgba(138, 0, 255, 0.16);
}

.docs-table thead {
    background: #8A00FF26;
}

.docs-table tbody {
    background: #05040b;
}

.docs-table th,
.docs-table td {
    padding: 0.55rem 0.9rem;
    border: none;
}

.docs-table tbody tr+tr td {
    border-top: 0.0391vw solid rgba(148, 163, 184, 0.12);
}

.docs-table th {
    text-align: left;
    font-weight: 500;
    color: var(--color-text);
}

.docs-table td {
    color: var(--color-text-muted);
}


.docs-table-wrapper {
    position: relative;
    display: block;
    border-radius: 0.7031vw;
}

.docs-table-wrapper .docs-table {
    border-radius: 0.7031vw;
}

.docs-table-copy {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 1.0156vw;
    height: 1.0156vw;
    border-radius: 0.3516vw;
    border: 0.0391vw solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 17, 28, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.12s ease,
        background-color 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease,
        transform 0.12s ease;
}

.docs-table-wrapper:hover .docs-table-copy {
    opacity: 1;
    pointer-events: auto;
}

.docs-table-copy:hover {
    background: rgba(255, 112, 0, 0.16);
    border-color: rgba(255, 112, 0, 0.9);
    color: #ffe8cf;
    transform: translateY(-0.0391vw);
}

.docs-table-copy.is-done {
    border-color: rgba(34, 197, 94, 0.9);
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}


.docs-callout {
    margin: 1rem 0 1.2rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.7031vw;
    border: 0.0391vw solid rgba(148, 163, 184, 0.7);
    background: rgba(9, 10, 18, 0.96);
    font-size: 0.88rem;
}

.docs-callout-info {
    border-color: rgba(138, 0, 255, 0.9);
    background: rgba(34, 9, 61, 0.96);
}

.docs-callout-warning {
    border-color: rgba(255, 112, 0, 0.95);
    background: rgba(24, 16, 8, 0.96);
}

.docs-callout-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
}

.docs-callout-icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 39.0234vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    color: #ffb366;
}

.docs-callout-info .docs-callout-icon {
    background: rgba(138, 0, 255, 0.9);
    color: #f4e9ff;
}

.docs-callout-warning .docs-callout-icon {
    background: rgba(180, 83, 9, 0.95);
    color: #fff7ed;
}

.docs-callout-title {
    font-weight: 600;
    font-size: 0.94rem;
}

.docs-callout-body p {
    margin: 0.2rem 0;
}


.docs-code {
    position: relative;
    margin: 0.7rem 0 1.1rem;
    border-radius: 0.7031vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.55);
    background: #8A00FF05;
    overflow: hidden;
    padding: 0.55rem 0.9rem;
}

.docs-code-pre {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    background: transparent;
    border-radius: 0;
    white-space: pre;
    overflow-x: auto;
    padding-right: 4.5rem;
}

.docs-code-pre code {
    font-family: Menlo, Monaco, Consolas, "SF Mono", monospace;
}

.docs-code-toolbar {
    position: absolute;
    top: 0.4rem;
    right: 0.45rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.docs-code:hover .docs-code-toolbar {
    opacity: 1;
    pointer-events: auto;
}

.docs-code-btn {
    width: 1.0156vw;
    height: 1.0156vw;
    border-radius: 0.3516vw;
    border: 0.0391vw solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 17, 28, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    transition:
        background-color 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease,
        transform 0.12s ease;
}

.docs-code-btn:hover {
    background: rgba(255, 112, 0, 0.16);
    border-color: rgba(255, 112, 0, 0.9);
    color: #ffe8cf;
    transform: translateY(-0.0391vw);
}

.docs-code-btn.is-hidden {
    display: none;
}

.docs-code-btn-copy.is-done {
    border-color: rgba(34, 197, 94, 0.9);
    background: rgba(22, 163, 74, 0.15);
    color: #bbf7d0;
}

.docs-code.is-wrapped .docs-code-pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: hidden;
}


.docs-code-pre::-webkit-scrollbar {
    height: 0.2344vw;
}

.docs-code-pre::-webkit-scrollbar-track {
    background: transparent;
}

.docs-code-pre::-webkit-scrollbar-thumb {
    background: rgba(255, 112, 0, 0.6);
    border-radius: 39.0234vw;
}

.docs-code-pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 140, 40, 0.9);
}

#docs-content h1,
#docs-content h2,
#docs-content h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.docs-heading-text {
    flex: 0 0 auto;
}

.docs-heading-link {
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 0.1rem;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    opacity: 0;
    transform: translateY(0.0391vw);
    transition:
        opacity 0.12s ease,
        color 0.12s ease,
        transform 0.12s ease;
}

#docs-content h1:hover .docs-heading-link,
#docs-content h2:hover .docs-heading-link,
#docs-content h3:hover .docs-heading-link {
    opacity: 1;
    transform: translateY(0);
}

.docs-heading-link:hover {
    color: var(--color-primary);
}

.docs-heading-link.is-done {
    color: rgba(34, 197, 94, 0.9);
}

[data-theme="light"] .docs-content-card {
    background: radial-gradient(140% 140% at 0% 0%, #fff7ed 0, #f9fafb 45%, #f4f4ff 100%);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 1.25vw 3.125vw rgba(15, 23, 42, 0.24);
}

[data-theme="light"] .docs-home-callout {
    background: linear-gradient(135deg, #fff3e0, #fef3c7);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0.7031vw 1.7578vw rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .docs-home-callout-icon {
    background: radial-gradient(circle at 0 0, #fed7aa, #fb923c);
    border-color: transparent;
    color: #7c2d12;
}

[data-theme="light"] .docs-callout {
    background: #f9fafb;
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 0.7031vw 1.7578vw rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .docs-callout-info {
    background: linear-gradient(135deg, #f5f3ff, #fdf2ff);
    border-color: rgba(129, 140, 248, 0.9);
}

[data-theme="light"] .docs-callout-info .docs-callout-icon {
    background: linear-gradient(135deg, #c4b5fd, #a855f7);
    color: #312e81;
}

[data-theme="light"] .docs-callout-warning {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-color: rgba(249, 115, 22, 0.9);
}

[data-theme="light"] .docs-callout-warning .docs-callout-icon {
    background: linear-gradient(135deg, #fed7aa, #f97316);
    color: #7c2d12;
}

[data-theme="light"] .docs-table {
    background: #f9fafb;
    border-color: rgba(129, 140, 248, 0.75);
    box-shadow: 0 0 0 0.0391vw rgba(129, 140, 248, 0.18);
}

[data-theme="light"] .docs-table thead {
    background: linear-gradient(135deg, #ede9fe, #f3e8ff);
}

[data-theme="light"] .docs-table tbody {
    background: #ffffff;
}

[data-theme="light"] .docs-table th {
    color: #111827;
}

[data-theme="light"] .docs-table td {
    color: #4b5563;
}

[data-theme="light"] .docs-table tbody tr+tr td {
    border-top-color: rgba(148, 163, 184, 0.35);
}

[data-theme="light"] .docs-table-copy {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(129, 140, 248, 0.9);
}

[data-theme="light"] .docs-table-copy:hover {
    background: rgba(129, 140, 248, 0.18);
    border-color: rgba(129, 140, 248, 1);
    color: #1f2937;
}

.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 87.5vh;
    padding: 2rem;
    text-align: center;
}

.error-box {
    position: relative;
    background: linear-gradient(90deg, rgba(255, 112, 0, 0.08), rgba(138, 0, 255, 0.1));
    border: 0.0391vw solid rgba(255, 112, 0, 0.25);
    box-shadow: 0 0 2.3438vw rgba(0, 0, 0, 0.75);
    border-radius: 0.7813vw;
    padding: 2.5rem 3rem;
    max-width: 23.4375vw;
    text-align: center;
    backdrop-filter: blur(0.3906vw);
}

.error-box * {
    pointer-events: auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: linear-gradient(90deg, rgba(255, 112, 0, 0.18), rgba(138, 0, 255, 0.18));
    border: 0.0391vw solid rgba(255, 112, 0, 0.45);
    border-radius: 0.3906vw;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-text);
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.back-btn::before {
    content: none;
}

.back-btn:hover {
    background: linear-gradient(90deg, rgba(255, 140, 40, 0.3), rgba(168, 80, 255, 0.3));
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0.3906vw 1.1719vw rgba(0, 0, 0, 0.7);
    transform: translateY(-0.0391vw);
}

.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 0.2344vw 0.7031vw rgba(0, 0, 0, 0.6);
}

.docs-content-card a {
    color: #FF7000;
}

.docs-sidebar-search {
    margin-top: 0.4rem;
}

.docs-search-trigger {
    width: 100%;
    border-radius: 39.0234vw;
    border: 0.0391vw solid var(--color-border-soft);
    background: rgba(5, 6, 12, 0.92);
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.docs-search-trigger-main {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.docs-search-trigger-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 39.0234vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.65);
    background: #FF700010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffb366;
    font-size: 0.78rem;
}

.docs-search-trigger-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-search-trigger-kbd {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    border: 0.0391vw solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.docs-search-trigger-kbd-key {
    padding: 0.05rem 0.32rem;
    border-radius: 0.25rem;
    background: rgba(15, 23, 42, 0.96);
    border: 0.0391vw solid rgba(148, 163, 184, 0.7);
    font-size: 0.68rem;
}

.docs-search-trigger-kbd-plus {
    opacity: 0.6;
    font-size: 0.68rem;
}

.docs-search-trigger:hover {
    border-color: rgba(255, 112, 0, 0.9);
    background: rgba(15, 10, 6, 0.96);
    box-shadow: 0 0.3516vw 1.3672vw rgba(0, 0, 0, 0.7);
    transform: translateY(-0.0391vw);
    color: var(--color-text);
}

.docs-search-trigger:focus-visible {
    outline: 0.0781vw solid rgba(255, 112, 0, 0.9);
    outline-offset: 0.0781vw;
}

[data-theme="light"] .docs-search-trigger {
    background: #f9fafb;
    border-color: rgba(148, 163, 184, 0.75);
}

[data-theme="light"] .docs-search-trigger-kbd {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.8);
}

[data-theme="light"] .docs-search-trigger-kbd-key {
    background: #f3f4f6;
    border-color: rgba(148, 163, 184, 0.9);
}

.docs-search-modal .modal-dialog.docs-search-dialog {
    max-width: 40rem;
    width: calc(100% - 3rem);
    padding: 0.95rem 1.1rem 1.05rem;
    border-radius: var(--radius-lg);
}

.docs-search-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.docs-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 39.0234vw;
    border: 0.0391vw solid var(--color-border-soft);
    background: rgba(5, 6, 12, 0.96);
    padding: 0.45rem 0.8rem;
}

.docs-search-input-icon {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

#docs-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: inherit;
    min-width: 0;
}

#docs-search-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.8;
}

.docs-search-results {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.docs-search-empty {
    padding: 0.55rem 0.2rem 0.5rem;
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

.docs-search-empty-query {
    color: var(--color-text);
    font-weight: 500;
}

.docs-search-result {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    padding: 0.55rem 0.4rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.docs-search-result-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: var(--color-text);
}

.docs-search-result-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-search-result-snippet {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.docs-search-result:hover {
    background: rgba(255, 112, 0, 0.12);
    transform: translateY(-0.0391vw);
    box-shadow: 0 0.2734vw 0.8203vw rgba(0, 0, 0, 0.65);
}

.docs-search-view-all {
    margin-top: 0.45rem;
    padding-top: 0.4rem;
    border-top: 0.0391vw solid var(--color-border-soft);
    display: flex;
    justify-content: flex-end;
}

.docs-search-view-all-btn {
    border-radius: 39.0234vw;
    border: 0.0391vw solid rgba(255, 112, 0, 0.75);
    background: transparent;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    color: #ffb366;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.docs-search-view-all-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.docs-search-view-all-btn:hover {
    background: rgba(255, 112, 0, 0.16);
    border-color: #ff7000;
    box-shadow: 0 0.2734vw 0.8203vw rgba(0, 0, 0, 0.65);
    transform: translateY(-0.0391vw);
}

body.docs-search-open {
    overflow: hidden;
}

.docs-search-hit-target {
    position: relative;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, rgba(255, 112, 0, 0.24), rgba(138, 0, 255, 0.22));
    box-shadow: 0 0 0 0.0781vw rgba(255, 112, 0, 0.7);
    transition:
        background-color 0.6s ease,
        box-shadow 0.6s ease;
}

.docs-search-hit-target-active {
    background: transparent;
    box-shadow: 0 0 0 0 transparent;
}

@media (max-width: 768px) {
    .docs-search-trigger {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }

    .docs-search-trigger-kbd {
        padding: 0.16rem 0.42rem;
        font-size: 0.7rem;
    }

    .docs-search-modal .modal-dialog.docs-search-dialog {
        max-width: 100%;
        width: calc(100% - 2rem);
        margin: 0.9rem;
        border-radius: 11px;
    }

    .docs-search-input-wrap {
        padding: 0.4rem 0.7rem;
    }

    #docs-search-input {
        font-size: 0.86rem;
    }

    .docs-search-results {
        max-height: 65vh;
    }

    .docs-search-result {
        padding: 0.5rem 0.3rem;
    }

    .docs-search-result-title {
        font-size: 0.84rem;
    }

    .docs-search-result-snippet {
        font-size: 0.78rem;
    }

    .docs-search-view-all-btn {
        padding: 0.32rem 0.8rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    :root {
        --radius-xl: 12px;
        --radius-lg: 9px;
        --radius-md: 7px;
        --radius-sm: 5px;
        --radius-pill: 999px;
        --blur-strong: 12px;
        --shadow-soft: 0 12px 26px rgba(0, 0, 0, 0.45);
        --shadow-light: 0 8px 18px rgba(0, 0, 0, 0.35);
    }

    html {
        font-size: 15px;
        scrollbar-width: none;
    }

    body {
        min-height: 100vh;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
    }

    .section {
        padding: 2.4rem 0;
    }

    .section-header {
        margin-bottom: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .rv-header {
        border-bottom-width: 1px;
        backdrop-filter: blur(10px);
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        row-gap: 0.6rem;
        column-gap: 0.8rem;
        padding: 0.5rem 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .logo {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        align-items: center;
    }

    .logo-img {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 0.5rem;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .header-controls {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 100%;
        justify-content: flex-end;
        gap: 0.45rem;
        flex-wrap: nowrap;
    }

    .nav-main {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
    }

    .nav-main::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
        padding: 0.25rem 0;
    }

    .btn,
    .btn-sm {
        padding: 0.38rem 0.9rem;
        font-size: 0.9rem;
    }

    .btn-link {
        font-size: 0.9rem;
    }

    .icon-button {
        padding: 0.32rem 0.7rem;
        font-size: 0.9rem;
    }

    .icon-button-square,
    .team-chat-link.icon-button.icon-button-square {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.9rem;
    }

    .lang-toggle {
        height: 1.9rem;
        min-width: 3.1rem;
        padding: 0 0.7rem;
    }

    .lang-toggle span {
        font-size: 0.74rem;
    }

    .lang-menu {
        min-width: 5.4rem;
        padding: 0.25rem;
    }

    .lang-option {
        font-size: 0.78rem;
        padding: 0.25rem 0.55rem;
    }

    .hero {
        padding-top: 1.9rem;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.6rem;
    }

    .eyebrow {
        font-size: 0.64rem;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        max-width: 100%;
    }

    .hero-actions {
        margin-top: 1rem;
        gap: 0.55rem;
        flex-wrap: wrap;
    }

    .hero-showcase {
        justify-content: flex-start;
    }

    .hero-metas {
        gap: 0.7rem;
    }

    .hero-meta-card {
        border-radius: 999px;
        padding: 0.6rem 0.7rem;
    }

    .hero-meta-icon {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 0.7rem;
    }

    [data-theme="light"] .hero-meta-icon {
        border-radius: 0.7rem;
    }

    .hero-meta-label {
        font-size: 0.68rem;
    }

    .hero-meta-value {
        font-size: 0.9rem;
    }

    .card {
        padding: 1.05rem 1.1rem;
        border-radius: 12px;
    }

    .grid {
        gap: 1.1rem;
    }

    .scripts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.2rem;
    }

    .scripts-header-copy {
        max-width: 100%;
    }

    .btn-scripts-link {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.42rem 0.9rem;
    }

    .scripts-grid-main,
    .scripts-grid-all {
        grid-template-columns: minmax(0, 1fr);
    }

    .script-card h3 {
        font-size: 0.94rem;
    }

    .script-card p {
        font-size: 0.84rem;
    }

    .script-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        font-size: 0.8rem;
    }

    .script-modal-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        font-size: 0.8rem;
    }

    .chip {
        font-size: 0.74rem;
        padding: 0.16rem 0.55rem;
    }

    .tag-row {
        gap: 0.3rem;
    }

    .tag-pill {
        font-size: 0.78rem;
        padding: 0.18rem 0.6rem;
    }

    .quality-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .quality-card h3 {
        font-size: 0.94rem;
    }

    .quality-card p {
        font-size: 0.84rem;
    }

    .icon-circle {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.6rem;
    }

    .process-card {
        padding: 1.05rem 1.05rem;
    }

    .process-step {
        gap: 0.5rem 0.8rem;
    }

    .step-index {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.74rem;
    }

    .team-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .team-card-inner {
        gap: 0.7rem;
    }

    .team-avatar-wrap {
        width: 2.4rem;
        height: 2.4rem;
    }

    .team-main h3 {
        font-size: 0.96rem;
    }

    .team-role-line {
        font-size: 0.82rem;
    }

    .team-meta-row {
        font-size: 0.8rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .rv-footer {
        padding: 1.8rem 0 1.3rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.3rem;
    }

    .footer-brand-block {
        max-width: none;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    .footer-disclaimer {
        font-size: 0.76rem;
    }

    .footer-columns {
        width: 100%;
        gap: 1rem 1.5rem;
    }

    .footer-column {
        min-width: 0;
        flex: 1 1 45%;
        gap: 0.35rem;
    }

    .footer-column-title {
        font-size: 0.8rem;
    }

    .footer-link-button,
    .footer-link {
        font-size: 0.8rem;
    }

    .footer-bottom {
        margin-top: 1rem;
    }

    .footer-bottom-inner {
        font-size: 0.76rem;
        padding-top: 1.2rem;
    }

    .scroll-progress {
        height: 2px;
    }

    .modal-dialog,
    .script-modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 0.9rem;
        border-radius: 12px;
        padding: 0.95rem 0.95rem 1.05rem;
    }

    .script-modal-dialog {
        margin: 0.9rem;
    }

    .modal-header {
        margin-bottom: 0.7rem;
        gap: 0.75rem;
    }

    .modal-header h2 {
        font-size: 0.9rem;
    }

    .modal-body {
        max-height: 70vh;
        padding-right: 0;
    }

    .modal-body p,
    .modal-body li {
        font-size: 0.84rem;
    }

    .modal-body h1 {
        font-size: 1.02rem;
    }

    .modal-body h2 {
        font-size: 0.96rem;
    }

    .modal-body h3 {
        font-size: 0.9rem;
    }

    .script-modal-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.95rem;
    }

    .script-modal-banner,
    .script-carousel,
    .modal-carousel {
        border-radius: 11px;
        aspect-ratio: 16 / 9;
    }

    .modal-body ul {
        margin-left: 1.1rem;
    }

    .cookie-banner {
        right: 0;
        left: 0;
        bottom: 0;
        padding: 0 0.9rem 0.9rem;
        display: flex;
        justify-content: center;
    }

    .cookie-card {
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 10px 10px;
        padding: 0.8rem 0.95rem 0.85rem;
        font-size: 0.8rem;
    }

    .cookie-text p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .cookie-options {
        gap: 0.35rem;
        margin-bottom: 0.6rem;
    }

    .cookie-pill {
        padding: 0.45rem 0.7rem;
    }

    .cookie-switch {
        width: 2.1rem;
        height: 1.15rem;
    }

    .cookie-switch::before {
        top: 0.13rem;
        left: 0.13rem;
        width: 0.9rem;
        height: 0.9rem;
    }

    .cookie-pill input:checked+.cookie-switch::before {
        transform: translateX(0.9rem);
    }

    .cookie-actions {
        gap: 0.3rem;
        margin-bottom: 0.3rem;
    }

    .cookie-actions .btn {
        width: 100%;
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .cookie-privacy-link {
        font-size: 0.78rem;
    }

    .cookie-settings-button {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
    }

    .docs-main {
        padding: 2.1rem 0 2.5rem;
    }

    .docs-shell {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        flex-direction: column;
        gap: 1.4rem;
    }

    .docs-sidebar {
        width: 100%;
        flex: none;
        border-radius: 11px;
        padding: 1rem 0.95rem 1.15rem;
    }

    .docs-sidebar-eyebrow {
        font-size: 0.68rem;
    }

    .docs-sidebar-subtitle {
        font-size: 0.82rem;
    }

    .docs-sidebar-section-label {
        font-size: 0.72rem;
    }

    .docs-content-outer {
        width: 100%;
        justify-content: stretch;
    }

    .docs-content-card {
        max-width: 100%;
        width: 100%;
        padding: 1.15rem 1.25rem 1.45rem;
        border-radius: 12px;
    }

    .docs-content-header {
        margin-bottom: 1.05rem;
    }

    .docs-kicker {
        font-size: 0.72rem;
    }

    .docs-content-header h1 {
        font-size: 1.28rem;
    }

    .docs-intro,
    .docs-home-body,
    #docs-content p,
    #docs-content li {
        font-size: 0.86rem;
    }

    .docs-home-callout {
        margin-top: 1rem;
        padding: 0.7rem 0.85rem;
        border-radius: 10px;
        gap: 0.6rem;
    }

    .docs-home-callout-icon {
        width: 1.8rem;
        height: 1.8rem;
    }

    .docs-pill,
    .docs-pill-page {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }

    .docs-pill-label {
        max-width: 11.5rem;
    }

    .docs-script-group {
        border-radius: 11px;
    }

    .docs-script-pages {
        padding: 0.15rem 0.5rem 0.45rem;
    }

    .docs-hr {
        margin: 1.2rem 0;
    }

    #docs-content h1,
    #docs-content h2,
    #docs-content h3 {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .docs-heading-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .docs-heading-link {
        font-size: 1rem;
        margin-left: 0;
        flex: 0 0 auto;
    }

    .docs-table-wrapper {
        overflow-x: auto;
    }

    .docs-table {
        min-width: 600px;
        font-size: 0.82rem;
    }

    .docs-table-copy {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 0.5rem;
        font-size: 0.74rem;
    }

    .docs-code {
        border-radius: 10px;
        padding: 0.5rem 0.75rem;
    }

    .docs-code-pre {
        font-size: 0.8rem;
        padding-right: 3.6rem;
    }

    .docs-code-toolbar {
        gap: 0.25rem;
    }

    .docs-code-btn {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 0.5rem;
        font-size: 0.74rem;
    }

    #docs-content h1 {
        font-size: 1.28rem;
    }

    #docs-content h2 {
        font-size: 1.02rem;
    }

    #docs-content h3 {
        font-size: 0.92rem;
    }

    .error-section {
        padding: 1.7rem 1rem;
        min-height: calc(100vh - 3.2rem);
    }

    .error-box {
        max-width: 100%;
        width: 100%;
        padding: 1.6rem 1.3rem;
        border-radius: 11px;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.5rem 1.1rem;
    }

    .modal-body.script-modal-body {
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 0;
    }

    .script-modal-content {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}