/* ==========================================================================
   Rovads — Premium design system
   Visual language derived from the RevAd reference (light violet / zinc).
   Palette, spacing, radii, elevation and motion follow the reference build;
   all copy, artwork and data are Rovads'.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Violet brand ramp */
    --rev-50: #f7f0fe;
    --rev-100: #ead5fc;
    --rev-200: #d5abf9;
    --rev-300: #c080f3;
    --rev-400: #b256f7;
    --rev-500: #7a31f7;
    --rev-600: #5a2bbe;
    --rev-700: #43208e;
    --rev-900: #0b0020;

    /* Neutral ramp */
    --rev-zinc-50: #fafafa;
    --rev-zinc-100: #f4f4f5;
    --rev-zinc-200: #e4e4e7;
    --rev-zinc-300: #d4d4d8;
    --rev-zinc-400: #a1a1aa;
    --rev-zinc-500: #71717a;
    --rev-zinc-600: #52525b;
    --rev-zinc-700: #3f3f46;
    --rev-zinc-800: #27272a;
    --rev-zinc-900: #18181b;

    /* Support colours */
    --rev-emerald: #10b981;
    --rev-blue: #3b82f6;
    --rev-blue-400: #60a5fa;
    --rev-rose: #f43f5e;

    /* Semantic */
    --rv-bg: #fff;
    --rv-bg-soft: #fafafa;
    --rv-ink: #0b0020;
    --rv-ink-soft: #52525b;
    --rv-ink-muted: #71717a;
    --rv-line: #e4e4e7;
    --rv-accent: var(--rev-500);
    --rv-accent-2: var(--rev-400);
    --rv-accent-ink: var(--rev-600);

    /* Elevation */
    --rv-shadow-soft: 0 6px 30px -6px rgba(113, 53, 237, .15);
    --rv-shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 24px -8px rgba(113, 53, 237, .14);
    --rv-shadow-lift: 0 18px 40px -12px rgba(113, 53, 237, .28);
    --rv-shadow-btn: 0 10px 15px -3px rgba(122, 49, 247, .25);

    /* Radii */
    --rv-r-sm: .75rem;
    --rv-r-md: 1rem;
    --rv-r-lg: 1.25rem;
    --rv-r-xl: 1.5rem;
    --rv-r-pill: 9999px;

    /* Layout */
    --rv-container: 80rem;

    /* Motion */
    --rv-ease: cubic-bezier(.4, 0, .2, 1);
    --rv-fast: .2s;
    --rv-base: .3s;

    /* Admin-driven accents (kept alive for legacy components) */
    --base: var(--rev-500);
    --second: var(--rev-900);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--rv-bg);
    color: var(--rv-ink);
    font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .5em;
    color: var(--rv-ink);
    /* Reset the legacy template's heading font so every level uses the
       design-system face inherited from <body>. */
    font-family: inherit;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
    font-family: inherit;
    color: inherit;
}

label {
    font-family: inherit;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--rv-accent-ink);
    text-decoration: none;
    transition: color var(--rv-fast) var(--rv-ease);
}

a:hover {
    color: var(--rev-500);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--rv-line);
    margin: 2rem 0;
}

:focus-visible {
    outline: 3px solid rgba(122, 49, 247, .55);
    outline-offset: 2px;
    border-radius: 6px;
}

::selection {
    background: var(--rev-200);
    color: var(--rev-900);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.rv-container {
    width: 100%;
    max-width: var(--rv-container);
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .rv-container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .rv-container {
        padding-inline: 2rem;
    }
}

.rv-section {
    position: relative;
    padding-block: 3rem;
}

@media (min-width: 768px) {
    .rv-section {
        padding-block: 4rem;
    }
}

@media (min-width: 1024px) {
    .rv-section {
        padding-block: 5rem;
    }
}

.rv-section--tint {
    background: linear-gradient(135deg, rgba(247, 240, 254, .6), #fff 70%);
}

.rv-section--tint-rev {
    background: linear-gradient(135deg, #fff 30%, rgba(247, 240, 254, .55));
}

.rv-section--center {
    text-align: center;
}

.rv-section-head {
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.rv-section-head--left {
    margin-inline: 0;
    text-align: left;
}

.rv-section-head__title {
    margin-bottom: .75rem;
}

.rv-section-head__lede {
    color: var(--rv-ink-soft);
    font-size: 1.0625rem;
    margin: 0;
}

@media (min-width: 1024px) {
    .rv-section-head__lede {
        font-size: 1.125rem;
    }
}

.rv-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .rv-grid--2,
    .rv-grid--3,
    .rv-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rv-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rv-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rv-split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .rv-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

    .rv-split--media-first .rv-split__media {
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid transparent;
    border-radius: var(--rv-r-md);
    padding: .75rem 1.5rem;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--rv-fast) var(--rv-ease);
    white-space: nowrap;
}

.rv-btn:hover {
    transform: translateY(-1px);
}

.rv-btn:active {
    transform: scale(.95);
}

.rv-btn svg {
    flex: none;
}

.rv-btn--primary {
    background: linear-gradient(135deg, var(--rev-500), var(--rev-400));
    color: #fff;
    box-shadow: var(--rv-shadow-btn);
}

.rv-btn--primary:hover {
    color: #fff;
    box-shadow: 0 20px 30px -10px rgba(122, 49, 247, .45);
}

.rv-btn--ghost {
    background: #fff;
    color: var(--rev-600);
    box-shadow: 0 0 0 1px rgba(122, 49, 247, .2);
}

.rv-btn--ghost:hover {
    color: var(--rev-600);
    background: linear-gradient(135deg, var(--rev-50), #fff);
    box-shadow: 0 0 0 1px rgba(122, 49, 247, .32);
}

.rv-btn--outline {
    background: transparent;
    color: var(--rev-600);
    box-shadow: inset 0 0 0 1.5px var(--rev-200);
}

.rv-btn--outline:hover {
    color: var(--rev-700);
    box-shadow: inset 0 0 0 1.5px var(--rev-300);
}

.rv-btn--solid {
    background: linear-gradient(135deg, var(--rev-blue), var(--rev-blue-400));
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, .25);
}

.rv-btn--solid:hover {
    color: #fff;
}

.rv-btn--sm {
    padding: .5rem 1rem;
    font-size: .8125rem;
}

.rv-btn--lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

.rv-btn--block {
    width: 100%;
}

.rv-btn[disabled],
.rv-btn.is-disabled {
    opacity: .55;
    pointer-events: none;
}

.rv-link-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: var(--rv-r-md);
    color: var(--rev-600);
    font-size: .875rem;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(122, 49, 247, .2);
    background: #fff;
    transition: all var(--rv-fast) var(--rv-ease);
}

.rv-link-ghost:hover {
    color: var(--rev-600);
    background: linear-gradient(135deg, var(--rev-50), #fff);
    box-shadow: 0 0 0 1px rgba(122, 49, 247, .32);
}

/* --------------------------------------------------------------------------
   5. Surfaces
   -------------------------------------------------------------------------- */
.rv-card {
    position: relative;
    border-radius: var(--rv-r-xl);
    border: 1px solid hsla(240, 6%, 90%, .6);
    background: hsla(0, 0%, 100%, .82);
    box-shadow: var(--rv-shadow-soft);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all var(--rv-base) var(--rv-ease);
}

.rv-card__body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .rv-card__body {
        padding: 2rem;
    }
}

.rv-card__title {
    margin-bottom: .5rem;
    font-size: 1.125rem;
}

.rv-card__text {
    color: var(--rv-ink-soft);
    font-size: .9375rem;
    margin: 0;
}

/* Feature card (publisher / advertiser 2x2 blocks) */
.rv-feature {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: var(--rv-r-xl);
    border: 1px solid hsla(240, 6%, 90%, .6);
    background: hsla(0, 0%, 100%, .82);
    box-shadow: var(--rv-shadow-soft);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all var(--rv-base) var(--rv-ease);
}

.rv-feature__glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    border-bottom-left-radius: 100%;
    background: linear-gradient(135deg, rgba(178, 86, 247, 0), rgba(122, 49, 247, 0));
    transition: background var(--rv-base) var(--rv-ease);
    pointer-events: none;
}

.rv-feature:hover {
    transform: scale(1.03);
    border-color: var(--rev-300);
    box-shadow: var(--rv-shadow-lift);
}

.rv-feature:hover .rv-feature__glow {
    background: linear-gradient(135deg, rgba(178, 86, 247, .12), rgba(122, 49, 247, .08));
}

.rv-feature__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.rv-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border-radius: .5rem;
    background: var(--rev-50);
    color: var(--rev-500);
    transition: all var(--rv-base) var(--rv-ease);
}

.rv-feature:hover .rv-feature__icon {
    background: var(--rev-100);
    transform: scale(1.1);
}

.rv-feature__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rev-zinc-900);
    transition: color var(--rv-base) var(--rv-ease);
}

.rv-feature:hover .rv-feature__title {
    color: var(--rev-600);
}

.rv-feature__text {
    position: relative;
    margin: .5rem 0 0;
    color: var(--rv-ink-soft);
    font-size: .875rem;
}

/* --------------------------------------------------------------------------
   6. Chips, pills, gradient text
   -------------------------------------------------------------------------- */
.rv-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 1rem;
    border-radius: var(--rv-r-pill);
    border: 1px solid rgba(213, 171, 249, .5);
    background: linear-gradient(to right, var(--rev-100), var(--rev-50));
    color: var(--rev-600);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
}

.rv-chip--lg {
    padding: .5rem 1.25rem;
    font-size: .8125rem;
}

.rv-pill {
    display: inline-block;
    padding: .375rem 1rem;
    border-radius: var(--rv-r-pill);
    background: linear-gradient(90deg, var(--rev-500), var(--rev-400));
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
    letter-spacing: .02em;
    box-shadow: 0 10px 20px -8px rgba(122, 49, 247, .55);
}

.rv-pill--blue {
    background: linear-gradient(90deg, var(--rev-blue), var(--rev-blue-400));
    box-shadow: 0 10px 20px -8px rgba(59, 130, 246, .5);
}

.rv-pill--upper {
    text-transform: uppercase;
    letter-spacing: .12em;
}

.rv-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .25rem .625rem;
    border-radius: var(--rv-r-pill);
    font-size: .75rem;
    font-weight: 700;
    background: var(--rev-50);
    color: var(--rev-600);
}

.rv-badge--success {
    background: rgba(16, 185, 129, .12);
    color: #047857;
}

.rv-badge--danger {
    background: rgba(244, 63, 94, .12);
    color: #be123c;
}

.rv-badge--warning {
    background: rgba(245, 158, 11, .14);
    color: #b45309;
}

.rv-badge--info {
    background: rgba(59, 130, 246, .12);
    color: #1d4ed8;
}

.rv-gradient-text {
    background-image: linear-gradient(to right, var(--rev-600), var(--rev-500), var(--rev-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rv-eyebrow {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rev-500);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.rv-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 75% 10%, rgba(234, 213, 252, .55), transparent 60%),
        radial-gradient(50% 50% at 10% 90%, rgba(247, 240, 254, .9), transparent 65%),
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.rv-hero__orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.rv-hero__orb--tr {
    top: 0;
    right: 0;
    background: rgba(178, 86, 247, .12);
}

.rv-hero__orb--bl {
    bottom: 0;
    left: 0;
    background: rgba(122, 49, 247, .1);
}

.rv-hero__inner {
    position: relative;
    display: grid;
    gap: 2rem;
    align-items: center;
    padding-block: 3rem;
}

@media (min-width: 768px) {
    .rv-hero__inner {
        padding-block: 4rem;
    }
}

@media (min-width: 1024px) {
    .rv-hero__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
        padding-block: 5rem;
    }
}

.rv-hero__title {
    margin: 1rem 0 0;
    font-size: clamp(2.1rem, 5.2vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}

@media (min-width: 1280px) {
    .rv-hero__title {
        font-size: 4.25rem;
    }
}

.rv-hero__title span {
    display: block;
    margin-top: .5rem;
}

.rv-hero__lede {
    margin: 1.25rem 0 0;
    color: var(--rv-ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .rv-hero__lede {
        font-size: 1.125rem;
    }
}

.rv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.rv-hero__dots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--rv-ink-soft);
    font-size: .8125rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .rv-hero__dots {
        flex-direction: row;
        gap: 2rem;
        font-size: .875rem;
    }
}

.rv-hero__dot {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.rv-hero__dot::before {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--rev-emerald);
    animation: rv-pulse 2s var(--rv-ease) infinite;
}

.rv-hero__dot--brand::before {
    background: var(--rev-500);
}

.rv-hero__media {
    position: relative;
    margin: 0;
}

.rv-hero__media img {
    width: 100%;
    height: auto;
    border-radius: var(--rv-r-xl);
    box-shadow: var(--rv-shadow-lift);
}

/* Page hero used by interior pages */
.rv-pagehead {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 60% at 80% 0%, rgba(234, 213, 252, .5), transparent 60%),
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    padding-block: 3rem 2.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .rv-pagehead {
        padding-block: 4rem 3.5rem;
    }
}

.rv-pagehead__title {
    margin: .75rem 0 .5rem;
}

.rv-pagehead__lede {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--rv-ink-soft);
    font-size: 1.0625rem;
}

.rv-crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .375rem;
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0;
    font-size: .8125rem;
    color: var(--rv-ink-muted);
}

.rv-crumbs li {
    display: flex;
    align-items: center;
    gap: .375rem;
}

.rv-crumbs li + li::before {
    content: '/';
    color: var(--rev-300);
}

.rv-crumbs a {
    color: var(--rv-ink-muted);
}

.rv-crumbs a:hover {
    color: var(--rev-600);
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.rv-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 1024px) {
    .rv-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.rv-stat {
    padding: 1rem;
    border-radius: var(--rv-r-lg);
    border: 1px solid rgba(213, 171, 249, .4);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--rv-shadow-soft);
}

@media (min-width: 768px) {
    .rv-stat {
        padding: 1.5rem;
    }
}

.rv-stat__value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

@media (min-width: 1024px) {
    .rv-stat__value {
        font-size: 1.875rem;
    }
}

.rv-stat__label {
    margin-top: .25rem;
    color: var(--rv-ink-soft);
    font-size: .8125rem;
    font-weight: 500;
}

.rv-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.rv-metric {
    padding: 1.25rem;
    border-radius: var(--rv-r-lg);
    background: #fff;
    border: 1px solid var(--rv-line);
    box-shadow: var(--rv-shadow-card);
}

.rv-metric__value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--rev-600);
}

.rv-metric__label {
    color: var(--rv-ink-muted);
    font-size: .8125rem;
}

/* --------------------------------------------------------------------------
   9. Header / navigation
   -------------------------------------------------------------------------- */
.rv-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--rv-line);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rv-header__inner {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rv-brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.rv-brand img {
    height: 2rem;
    width: auto;
}

.rv-nav {
    display: none;
    align-items: center;
    gap: .25rem;
}

/* The desktop navigation needs the full width once the primary calls to
   action and the language switcher are on the row, so it only appears from
   the large breakpoint up. Below that the drawer carries the same links. */
@media (min-width: 1024px) {
    .rv-nav {
        display: flex;
    }
}

.rv-nav__link,
.rv-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .5rem .75rem;
    border: 0;
    border-radius: .75rem;
    background: transparent;
    color: var(--rev-zinc-700);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--rv-fast) var(--rv-ease), color var(--rv-fast) var(--rv-ease);
}

.rv-nav__link:hover,
.rv-nav__trigger:hover,
.rv-nav__link.is-active,
.rv-nav__trigger.is-active {
    background: var(--rev-zinc-100);
    color: var(--rev-zinc-900);
}

.rv-nav__chev {
    transition: transform var(--rv-fast) var(--rv-ease);
}

.rv-nav__item {
    position: relative;
}

.rv-nav__item.is-open .rv-nav__chev {
    transform: rotate(180deg);
}

.rv-nav__dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    min-width: 14rem;
    padding: .5rem;
    border-radius: var(--rv-r-lg);
    border: 1px solid var(--rv-line);
    background: #fff;
    box-shadow: var(--rv-shadow-lift);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--rv-fast) var(--rv-ease);
}

.rv-nav__item.is-open .rv-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rv-nav__dropdown a {
    display: block;
    padding: .5rem .75rem;
    border-radius: .625rem;
    color: var(--rev-zinc-700);
    font-size: .9375rem;
    font-weight: 600;
}

.rv-nav__dropdown a:hover {
    background: var(--rev-50);
    color: var(--rev-600);
}

.rv-header__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rv-header__cta {
    display: none;
}

@media (min-width: 768px) {
    .rv-header__cta {
        display: inline-flex;
    }
}

/* The language switcher is a Rovads-only control, so it is kept out of the
   header until there is room for it next to the primary calls to action.
   It stays available in the drawer and in the footer at every width. */
.rv-lang--desktop {
    display: none;
}

@media (min-width: 1280px) {
    .rv-lang--desktop {
        display: inline-flex;
    }
}

.rv-lang select {
    height: 2.25rem;
    padding: 0 1.75rem 0 .625rem;
    border-radius: .625rem;
    border: 1px solid var(--rv-line);
    background: #fff;
    font-family: inherit;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--rev-zinc-700);
}

.rv-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: var(--rv-r-md);
    background: transparent;
    color: var(--rev-zinc-700);
    cursor: pointer;
    transition: background var(--rv-fast) var(--rv-ease);
}

/* From the large breakpoint the desktop navigation is on the row, so the
   drawer toggle steps aside. */
@media (min-width: 1024px) {
    .rv-menu-btn {
        display: none;
    }
}

.rv-menu-btn:hover {
    background: var(--rev-zinc-100);
}

.rv-menu-btn .rv-icon-close {
    display: none;
}

.rv-menu-btn[aria-expanded='true'] .rv-icon-open {
    display: none;
}

.rv-menu-btn[aria-expanded='true'] .rv-icon-close {
    display: block;
}

.rv-mobile-nav {
    display: none;
    border-top: 1px solid var(--rv-line);
    background: #fff;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.rv-mobile-nav.is-open {
    display: block;
}

.rv-mobile-nav__inner {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-block: 1rem 1.5rem;
}

.rv-mobile-nav__link {
    padding: .625rem .75rem;
    border-radius: .75rem;
    color: var(--rev-zinc-700);
    font-weight: 600;
}

.rv-mobile-nav__link:hover,
.rv-mobile-nav__link.is-active {
    background: var(--rev-50);
    color: var(--rev-600);
}

.rv-mobile-nav__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rv-line);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.rv-footer {
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
    border-top: 1px solid var(--rv-line);
    background: linear-gradient(135deg, var(--rev-zinc-50), #fff);
}

.rv-footer__inner {
    position: relative;
    padding-block: 4rem 0;
}

.rv-footer__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .rv-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rv-footer__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 2rem;
    }
}

.rv-footer__brand {
    grid-column: span 4;
}

.rv-footer__col {
    grid-column: span 2;
}

@media (max-width: 639px) {

    .rv-footer__brand,
    .rv-footer__col {
        grid-column: span 1;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {

    .rv-footer__brand {
        grid-column: span 2;
    }
}

.rv-footer__about {
    margin: 1rem 0 0;
    max-width: 22rem;
    color: var(--rv-ink-soft);
    font-size: .875rem;
    line-height: 1.7;
}

.rv-footer__title {
    margin: 0 0 1rem;
    font-size: .875rem;
    font-weight: 700;
    color: var(--rev-zinc-900);
}

.rv-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.rv-footer__list a {
    color: var(--rv-ink-soft);
    font-size: .875rem;
}

.rv-footer__list a:hover {
    color: var(--rev-600);
}

.rv-footer__social {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem;
}

.rv-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: .75rem;
    border: 1px solid var(--rev-200);
    background: var(--rev-50);
    color: var(--rev-600);
    transition: background var(--rv-fast) var(--rv-ease);
}

.rv-footer__social a:hover {
    background: var(--rev-100);
    color: var(--rev-700);
}

.rv-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--rv-line);
    color: var(--rev-zinc-500);
    font-size: .875rem;
    text-align: center;
}

@media (min-width: 640px) {
    .rv-footer__bottom {
        flex-direction: row;
        text-align: left;
    }
}

.rv-footer__lang {
    display: flex;
    align-items: center;
    flex: none;
}

.rv-footer__lang select {
    height: 2.25rem;
    padding: 0 1.75rem 0 .625rem;
    border-radius: .625rem;
    border: 1px solid var(--rv-line);
    background: #fff;
    font-family: inherit;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--rev-zinc-700);
}

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.rv-field {
    margin-bottom: 1rem;
}

.rv-label {
    display: block;
    margin-bottom: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--rev-zinc-700);
}

.rv-label .required {
    color: var(--rev-500);
}

.rv-input,
.rv-select,
.rv-textarea {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--rev-zinc-300);
    border-radius: var(--rv-r-sm);
    background: #fff;
    font-family: inherit;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--rev-zinc-900);
    transition: border-color var(--rv-fast) var(--rv-ease), box-shadow var(--rv-fast) var(--rv-ease);
}

.rv-textarea {
    resize: vertical;
    min-height: 8rem;
}

.rv-input::placeholder,
.rv-textarea::placeholder {
    color: var(--rev-zinc-400);
}

.rv-input:focus,
.rv-select:focus,
.rv-textarea:focus {
    outline: 0;
    border-color: var(--rev-500);
    box-shadow: 0 0 0 4px rgba(122, 49, 247, .12);
}

.rv-input[readonly] {
    background: var(--rev-zinc-50);
    color: var(--rev-zinc-600);
}

.rv-check {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: .875rem;
    color: var(--rv-ink-soft);
}

.rv-check input[type='checkbox'],
.rv-check input[type='radio'] {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: .2rem;
    accent-color: var(--rev-500);
    flex: none;
}

.rv-password {
    position: relative;
}

.rv-password .rv-input {
    padding-right: 2.75rem;
}

.rv-password__toggle {
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: var(--rev-zinc-500);
    cursor: pointer;
}

.rv-password__toggle:hover {
    color: var(--rev-600);
    background: var(--rev-zinc-100);
}

/*
 * Password strength tooltip (legacy `secure_password.js` + `.input-popup`
 * from custom.css). It is positioned by the legacy sheet; these rules only
 * keep it inside the card and lift it above the following fields.
 */
.rv-field .input-popup {
    z-index: 5;
    width: min(17.5rem, calc(100vw - 2.5rem));
    border-radius: var(--rv-r-md);
}

.rv-help {
    display: block;
    margin-top: .375rem;
    color: var(--rev-zinc-500);
    font-size: .8125rem;
}

/* --------------------------------------------------------------------------
   12. Auth (split screen)
   -------------------------------------------------------------------------- */
.rv-auth {
    position: relative;
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--rev-zinc-50), #fff);
}

.rv-auth__aside {
    display: none;
    position: relative;
    width: 50%;
    overflow: hidden;
    padding: 3rem;
    background: linear-gradient(135deg, var(--rev-500), var(--rev-600) 45%, var(--rev-900));
    color: #fff;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .rv-auth__aside {
        display: flex;
        position: fixed;
        inset: 0 auto 0 0;
    }
}

.rv-auth__orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    filter: blur(48px);
    animation: rv-pulse 6s var(--rv-ease) infinite;
}

.rv-auth__orb--1 {
    top: 0;
    right: 0;
}

.rv-auth__orb--2 {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.rv-auth__orb--3 {
    top: 45%;
    left: 45%;
    width: 20rem;
    height: 20rem;
    background: rgba(192, 128, 243, .2);
    animation-delay: 2s;
}

.rv-auth__shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    animation: rv-float 6s ease-in-out infinite;
}

.rv-auth__shape--1 {
    top: 5rem;
    right: 5rem;
    width: 5rem;
    height: 5rem;
    border-radius: var(--rv-r-lg);
    transform: rotate(12deg);
}

.rv-auth__shape--2 {
    bottom: 8rem;
    right: 10rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    animation-delay: 1.5s;
}

.rv-auth__shape--3 {
    top: 10rem;
    left: 5rem;
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    transform: rotate(45deg);
    animation-delay: .5s;
}

.rv-auth__aside-inner {
    position: relative;
    z-index: 2;
    max-width: 30rem;
}

.rv-auth__chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 1rem;
    border-radius: var(--rv-r-pill);
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
}

.rv-auth__title {
    margin: 1.25rem 0 .75rem;
    font-size: 2.25rem;
    color: #fff;
    letter-spacing: -.03em;
}

@media (min-width: 1280px) {
    .rv-auth__title {
        font-size: 2.75rem;
    }
}

.rv-auth__lede {
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    line-height: 1.7;
}

.rv-auth__features {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.rv-auth__features li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .92);
}

.rv-auth__features svg {
    flex: none;
    margin-top: .25rem;
}

.rv-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.rv-auth__stat {
    padding: 1rem;
    border-radius: var(--rv-r-lg);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rv-auth__stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
}

.rv-auth__stat span {
    display: block;
    margin-top: .125rem;
    font-size: .75rem;
    color: rgba(255, 255, 255, .78);
}

.rv-auth__panel {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

@media (min-width: 1024px) {
    .rv-auth__panel {
        margin-left: 50%;
        width: 50%;
        padding: 3rem 2rem;
    }
}

.rv-auth__form {
    width: 100%;
    max-width: 26rem;
}

.rv-auth__head {
    margin-bottom: 1.75rem;
    text-align: center;
}

.rv-auth__head h1 {
    margin-bottom: .375rem;
    font-size: 1.875rem;
}

.rv-auth__head p {
    margin: 0;
    color: var(--rv-ink-soft);
    font-size: .9375rem;
}

.rv-auth__logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.rv-auth__logo img {
    height: 2.25rem;
    width: auto;
}

.rv-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem;
    padding: .25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--rv-r-lg);
    background: var(--rev-zinc-100);
}

.rv-segmented a,
.rv-segmented button {
    border: 0;
    border-radius: .875rem;
    padding: .625rem .75rem;
    background: transparent;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 600;
    color: var(--rev-zinc-600);
    text-align: center;
    cursor: pointer;
    transition: all var(--rv-fast) var(--rv-ease);
}

.rv-segmented a:hover {
    color: var(--rev-700);
}

.rv-segmented .is-active {
    background: #fff;
    color: var(--rev-600);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}

/* Bootstrap tab markup re-skinned as the segmented control */
.rv-segmented.nav-tabs {
    border: 0;
    flex-wrap: nowrap;
}

.rv-segmented.nav-tabs .nav-item {
    width: 100%;
}

.rv-segmented.nav-tabs .nav-link {
    border: 0;
    border-radius: .875rem;
    background: transparent;
    color: var(--rev-zinc-600);
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--rv-fast) var(--rv-ease);
}

.rv-segmented.nav-tabs .nav-link:hover {
    color: var(--rev-700);
    background: transparent;
}

.rv-segmented.nav-tabs .nav-link.active {
    background: #fff;
    color: var(--rev-600);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}

.rv-inline-link {
    color: var(--rev-600);
    font-weight: 600;
}

.rv-inline-link:hover {
    color: var(--rev-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rv-auth__divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.5rem 0;
    color: var(--rev-zinc-400);
    font-size: .8125rem;
}

.rv-auth__divider::before,
.rv-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rv-line);
}

.rv-auth__foot {
    margin-top: 1.75rem;
    text-align: center;
    color: var(--rv-ink-soft);
    font-size: .875rem;
}

/* --- Shared auth-form fragments ------------------------------------------- */

/* Row of secondary actions below the primary submit button. */
.rv-auth__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: .875rem;
    color: var(--rv-ink-soft);
}

/* Small helper text under a field or a form. */
.rv-auth__note {
    margin: 1rem 0 0;
    color: var(--rv-ink-soft);
    font-size: .8125rem;
    line-height: 1.6;
}

/* Consent / remember-me row. */
.rv-auth__check {
    margin-bottom: 1rem;
}

/* Inline validation text produced by the duplicate-account lookup. */
.rv-field__error {
    display: block;
    margin-top: .375rem;
    color: var(--rv-danger, #dc2626);
    font-size: .8125rem;
    font-weight: 600;
}

.rv-field__error:empty {
    display: none;
}

/* Dialling-code prefix joined to a mobile number input. */
.rv-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--rev-zinc-300);
    border-radius: var(--rv-r-sm);
    background: #fff;
    overflow: hidden;
    transition: border-color var(--rv-fast) var(--rv-ease), box-shadow var(--rv-fast) var(--rv-ease);
}

.rv-input-group:focus-within {
    border-color: var(--rev-500);
    box-shadow: 0 0 0 4px rgba(122, 49, 247, .12);
}

.rv-input-group__prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 .875rem;
    border-right: 1px solid var(--rev-zinc-200);
    background: var(--rev-zinc-50);
    color: var(--rev-zinc-600);
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
}

.rv-input-group__prefix:empty {
    display: none;
}

.rv-input-group .rv-input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.rv-input-group .rv-input:focus {
    box-shadow: none;
}

/* Single-column variant of the auth shell (ban notice, error screens). */
@media (min-width: 1024px) {
    .rv-auth--single .rv-auth__panel {
        margin-left: 0;
        width: 100%;
    }
}

.rv-auth--single .rv-auth__form {
    max-width: 30rem;
}

.rv-banned__img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
}

.rv-banned__reason {
    margin-bottom: 1.5rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-r-sm);
    background: var(--rev-zinc-50);
}

.rv-banned__label {
    display: block;
    margin-bottom: .25rem;
    color: var(--rev-zinc-500);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rv-banned__reason p {
    margin: 0;
    color: var(--rev-zinc-800);
    font-size: .9375rem;
}

/* Modals opened from an auth screen inherit the app surface treatment. */
.rv-auth .modal-content {
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-r-lg);
    box-shadow: var(--rv-shadow-soft);
}

.rv-auth .modal-header,
.rv-auth .modal-footer {
    border-color: var(--rv-line);
}

.rv-auth .modal-title {
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--rev-zinc-900);
}

/* One-time-code widget: recolour the legacy box grid onto the design system. */
.rv-auth .verification-code {
    /* The legacy sheet sizes the input at calc(100% + 40px) to spread the six
       digits; clip the surplus so the widget cannot scroll the page sideways. */
    overflow: hidden;
    border-radius: .75rem;
}

.rv-auth .verification-code::after {
    display: none;
}

.rv-auth .verification-code span {
    border-radius: .75rem;
    border: 1px solid var(--rev-zinc-200);
    background: var(--rev-zinc-50);
    color: var(--rev-zinc-400);
}

.rv-auth .verification-code input {
    color: var(--rev-zinc-900) !important;
}

/* --------------------------------------------------------------------------
   13. Editorial / prose / listing
   -------------------------------------------------------------------------- */
.rv-prose {
    max-width: 48rem;
    color: var(--rev-zinc-700);
    font-size: 1rem;
    line-height: 1.8;
}

.rv-prose h2,
.rv-prose h3,
.rv-prose h4 {
    color: var(--rev-zinc-900);
    margin-top: 2rem;
}

.rv-prose ul,
.rv-prose ol {
    padding-left: 1.25rem;
}

.rv-prose li {
    margin-bottom: .5rem;
}

.rv-prose img {
    border-radius: var(--rv-r-lg);
}

.rv-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--rev-400);
    border-radius: 0 var(--rv-r-md) var(--rv-r-md) 0;
    background: var(--rev-50);
    color: var(--rev-zinc-700);
}

.rv-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.rv-prose th,
.rv-prose td {
    padding: .625rem .75rem;
    border-bottom: 1px solid var(--rv-line);
    text-align: left;
    font-size: .9375rem;
}

.rv-prose th {
    color: var(--rev-zinc-900);
    font-weight: 700;
}

.rv-posts {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.rv-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--rv-r-xl);
    border: 1px solid var(--rv-line);
    background: #fff;
    box-shadow: var(--rv-shadow-card);
    transition: all var(--rv-base) var(--rv-ease);
}

.rv-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--rv-shadow-lift);
}

.rv-post__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rev-50);
}

.rv-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rv-base) var(--rv-ease);
}

.rv-post:hover .rv-post__media img {
    transform: scale(1.05);
}

.rv-post__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.rv-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: .5rem;
    color: var(--rev-zinc-500);
    font-size: .75rem;
}

.rv-post__title {
    margin: 0 0 .5rem;
    font-size: 1.125rem;
}

.rv-post__title a {
    color: var(--rev-zinc-900);
}

.rv-post:hover .rv-post__title a {
    color: var(--rev-600);
}

.rv-post__excerpt {
    margin: 0 0 1rem;
    color: var(--rv-ink-soft);
    font-size: .9375rem;
    flex: 1;
}

.rv-post__more {
    font-size: .875rem;
    font-weight: 700;
    color: var(--rev-600);
}

.rv-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .375rem;
    margin-top: 2.5rem;
}

.rv-pagination a,
.rv-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding-inline: .625rem;
    border-radius: .75rem;
    border: 1px solid var(--rv-line);
    background: #fff;
    color: var(--rev-zinc-700);
    font-size: .875rem;
    font-weight: 600;
}

.rv-pagination .is-current {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rev-500), var(--rev-400));
    color: #fff;
}

/* --------------------------------------------------------------------------
   14. Panels, checklist, quotes
   -------------------------------------------------------------------------- */
.rv-panel {
    padding: 1.5rem;
    border-radius: var(--rv-r-xl);
    border: 1px solid var(--rv-line);
    background: #fff;
    box-shadow: var(--rv-shadow-card);
}

.rv-panel__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
}

.rv-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.rv-checklist li {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    color: var(--rv-ink-soft);
    font-size: .9375rem;
}

.rv-checklist svg {
    flex: none;
    margin-top: .3rem;
    color: var(--rev-500);
}

.rv-quotes {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.rv-quote {
    padding: 1.5rem;
    border-radius: var(--rv-r-xl);
    border: 1px solid var(--rv-line);
    background: #fff;
    box-shadow: var(--rv-shadow-card);
}

.rv-quote__text {
    margin: 0 0 1rem;
    color: var(--rev-zinc-700);
    font-size: .9375rem;
    line-height: 1.75;
}

.rv-quote__author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.rv-quote__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rev-500), var(--rev-400));
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
}

.rv-quote__name {
    font-weight: 700;
    font-size: .9375rem;
    color: var(--rev-zinc-900);
}

.rv-quote__role {
    font-size: .8125rem;
    color: var(--rev-zinc-500);
}

.rv-brandrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2.5rem;
}

.rv-brandrow__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rv-brandrow img {
    max-height: 2.75rem;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity var(--rv-base) var(--rv-ease);
}

.rv-brandrow a:hover img {
    opacity: 1;
}

.rv-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
}

/* --------------------------------------------------------------------------
   15. Contact / cookie / misc
   -------------------------------------------------------------------------- */
.rv-contact__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .rv-contact__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }
}

.rv-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.rv-contact__list li {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
}

.rv-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    border-radius: var(--rv-r-md);
    background: var(--rev-50);
    color: var(--rev-500);
}

.rv-contact__label {
    display: block;
    font-size: .8125rem;
    color: var(--rev-zinc-500);
}

.rv-contact__value {
    font-weight: 700;
    color: var(--rev-zinc-900);
    word-break: break-word;
}

.rv-cookies {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: auto;
    max-width: 32rem;
    padding: 1rem 1.25rem;
    border-radius: var(--rv-r-xl);
    border: 1px solid var(--rev-200);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--rv-shadow-lift);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity var(--rv-base) var(--rv-ease), transform var(--rv-base) var(--rv-ease);
}

.rv-cookies.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
}

.rv-cookies__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border-radius: 50%;
    background: var(--rev-50);
    color: var(--rev-600);
}

.rv-cookies__text {
    margin: 0;
    color: var(--rev-zinc-700);
    font-size: .875rem;
    text-align: left;
}

.rv-cookies__text a {
    font-weight: 700;
}

@media (max-width: 639px) {
    .rv-cookies {
        flex-direction: column;
        align-items: flex-start;
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        max-width: none;
    }
}

.rv-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity .7s var(--rv-ease), transform .7s var(--rv-ease);
}

.rv-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.rv-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--rv-r-md) 0;
    background: var(--rev-600);
    color: #fff;
    font-weight: 700;
}

.rv-skip-link:focus {
    left: 0;
    color: #fff;
}

.rv-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   16. Keyframes
   -------------------------------------------------------------------------- */
@keyframes rv-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(1.06);
    }
}

@keyframes rv-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rv-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes rv-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --------------------------------------------------------------------------
   17. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .rv-reveal {
        opacity: 1;
        transform: none;
    }

    .rv-btn:hover,
    .rv-feature:hover,
    .rv-post:hover {
        transform: none;
    }
}
