/*
 * RaidPop styles, loaded by resources/views/blocks/layout.blade.php on top of Bootstrap 5.3.
 * Admin has its own layout and never loads this file.
 * Font weights stay at 400 and 500 on purpose.
 */

:root {
    --rp-blue: #155eef;
    --rp-blue-hover: #0b4fd8;
    --rp-blue-soft: #eef4ff;
    --rp-blue-line: #c7d7fe;
    --rp-ink: #0a1324;
    --rp-ink-2: #344054;
    --rp-muted: #667085;
    --rp-subtle: #98a2b3;
    --rp-line: #e4e7ec;
    --rp-line-soft: #eef0f4;
    --rp-surface: #f8fafc;
    --rp-twitch: #9146ff;
    --rp-kick: #53fc18;
    --rp-live: #eb0400;
    --rp-green: #12b76a;
    --rp-radius-lg: 20px;
    --rp-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --rp-shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
    --rp-shadow: 0 16px 40px -16px rgba(16, 24, 40, .16);
    --rp-shadow-blue: 0 40px 90px -40px rgba(21, 94, 239, .4);
    --rp-header-space: 92px;

    --bs-primary: #155eef;
    --bs-primary-rgb: 21, 94, 239;
    --bs-body-font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-font-weight: 400;
    --bs-body-color: #344054;
    --bs-body-color-rgb: 52, 64, 84;
    --bs-body-bg: #fff;
    --bs-heading-color: #0a1324;
    --bs-emphasis-color: #0a1324;
    --bs-secondary-color: #667085;
    --bs-border-color: #e4e7ec;
    --bs-link-color: #155eef;
    --bs-link-color-rgb: 21, 94, 239;
    --bs-link-hover-color: #0b4fd8;
    --bs-link-hover-color-rgb: 11, 79, 216;
    --bs-border-radius: 10px;
    --bs-focus-ring-color: rgba(21, 94, 239, .25);
}

/* ---------- Base ---------- */

html {
    scroll-padding-top: var(--rp-header-space);
}

body {
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--rp-ink);
    text-wrap: balance;
}

b, strong {
    font-weight: 500;
}

a {
    text-decoration: none;
}

::selection {
    background: rgba(21, 94, 239, .16);
}

.text-blue {
    color: var(--rp-blue) !important;
}

.dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-twitch {
    background: var(--rp-twitch);
}

.dot-kick {
    background: var(--rp-kick);
    box-shadow: inset 0 0 0 1px rgba(10, 19, 36, .12);
}

.dot-running {
    background: var(--rp-green);
}

.live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rp-live);
}

/* ---------- Buttons ---------- */

.btn {
    --bs-btn-font-weight: 500;
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .75rem;
    --bs-btn-border-radius: 12px;
    --bs-btn-focus-box-shadow: 0 0 0 4px rgba(21, 94, 239, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn .ph {
    font-size: 1.1em;
}

.btn-primary {
    --bs-btn-bg: #155eef;
    --bs-btn-border-color: #155eef;
    --bs-btn-hover-bg: #0b4fd8;
    --bs-btn-hover-border-color: #0b4fd8;
    --bs-btn-active-bg: #0a45bd;
    --bs-btn-active-border-color: #0a45bd;
    --bs-btn-disabled-bg: #155eef;
    --bs-btn-disabled-border-color: #155eef;
}

.btn-outline-rp {
    --bs-btn-color: #0a1324;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #e4e7ec;
    --bs-btn-hover-color: #0a1324;
    --bs-btn-hover-bg: #f8fafc;
    --bs-btn-hover-border-color: #d0d5dd;
    --bs-btn-active-color: #0a1324;
    --bs-btn-active-bg: #eef0f4;
    --bs-btn-active-border-color: #d0d5dd;
    box-shadow: var(--rp-shadow-xs);
}

.btn-ink {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0a1324;
    --bs-btn-border-color: #0a1324;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1d2939;
    --bs-btn-hover-border-color: #1d2939;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
}

.btn-small {
    --bs-btn-font-size: .9375rem;
    --bs-btn-padding-x: 1.125rem;
    --bs-btn-padding-y: .5625rem;
    --bs-btn-border-radius: 10px;
}

/* ---------- Header: floating bar ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 12px 0;
}

.site-header-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    height: 64px;
    padding: 0 .625rem 0 1.125rem;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: var(--rp-shadow-xs);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled .site-header-bar {
    box-shadow: 0 12px 32px -16px rgba(16, 24, 40, .18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    color: var(--rp-ink);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.brand:hover {
    color: var(--rp-ink);
}

.brand-mark {
    flex: none;
    width: 30px;
    height: 30px;
}

.site-nav {
    align-items: center;
    gap: .125rem;
}

.site-nav > a,
.nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .5rem .75rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--rp-ink-2);
    font-size: .9375rem;
    white-space: nowrap;
    transition: color .15s ease, background-color .15s ease;
}

.site-nav > a:hover,
.site-nav > a.is-current,
.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
    color: var(--rp-ink);
    background: var(--rp-line-soft);
}

.nav-menu-toggle .ph {
    font-size: .75rem;
    transition: transform .2s ease;
}

.nav-menu-toggle[aria-expanded="true"] .ph {
    transform: rotate(180deg);
}

.site-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rp-ink);
    font-size: 1.25rem;
}

.nav-menu {
    min-width: 240px;
    padding: .5rem;
    margin-top: .625rem !important;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    box-shadow: var(--rp-shadow);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5625rem .75rem;
    border-radius: 9px;
    color: var(--rp-ink);
    font-size: .9375rem;
}

.menu-link:hover {
    color: var(--rp-ink);
    background: var(--rp-surface);
}

.menu-link .ph {
    color: var(--rp-blue);
    font-size: 1.125rem;
}

.menu-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: .5rem .75rem .375rem;
    color: var(--rp-subtle);
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-offcanvas {
    --bs-offcanvas-width: min(360px, 88vw);
}

.site-offcanvas .offcanvas-header {
    height: 76px;
    border-bottom: 1px solid var(--rp-line-soft);
}

.mobile-nav-group + .mobile-nav-group {
    margin-top: 1.25rem;
}

.mobile-nav-actions {
    display: grid;
    gap: .5rem;
    margin-top: 1.75rem;
}

.menu-link.is-current {
    background: var(--rp-blue-soft);
}

@media (min-width: 1200px) {
    .site-header-bar {
        grid-template-columns: auto 1fr auto;
    }

    .site-nav {
        justify-self: center;
    }
}

/* ---------- Shared bits ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.125rem;
    padding: .25rem .75rem;
    border: 1px solid var(--rp-blue-line);
    border-radius: 999px;
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
    font-size: .875rem;
    line-height: 1.5;
}

.segmented {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: var(--rp-line-soft);
}

.segmented button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--rp-muted);
    font: inherit;
    font-size: .9375rem;
    white-space: nowrap;
    transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.segmented button:hover {
    color: var(--rp-ink);
}

.segmented button.is-active {
    background: #fff;
    color: var(--rp-ink);
    box-shadow: var(--rp-shadow-sm);
}

.segmented button:focus-visible {
    outline: 2px solid var(--rp-blue);
    outline-offset: 2px;
}

.segmented-fill {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    width: 100%;
}

.segmented-fill button {
    padding-inline: .5rem;
}

.icon-tile {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
    font-size: 1.375rem;
}

.check-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    color: var(--rp-ink-2);
}

.check-list .ph-fill {
    flex: none;
    margin-top: .1875rem;
    color: var(--rp-ink);
    font-size: 1.125rem;
}

.check-list strong {
    color: var(--rp-ink);
}

.choosing-for {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .875rem;
    border: 1px solid var(--rp-blue-line);
    border-radius: 999px;
    background: var(--rp-blue-soft);
    color: var(--rp-ink);
    font-size: .9375rem;
}

.choosing-for[hidden] {
    display: none;
}

.choosing-for .ph {
    color: var(--rp-blue);
}

/* ---------- Channel form ---------- */

.channel-form {
    max-width: 36rem;
}

.channel-form .segmented {
    margin-bottom: .875rem;
}

.channel-field {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: 5px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--rp-shadow-xs);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.channel-field:focus-within {
    border-color: var(--rp-blue);
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .14);
}

.channel-input {
    flex: 1;
    min-width: 0;
    padding: .75rem .875rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rp-ink);
    font: inherit;
    font-size: 1.0625rem;
}

.channel-input::placeholder {
    color: var(--rp-subtle);
}

.channel-field .btn {
    flex: none;
    padding: .8125rem 1.375rem;
}

.channel-note {
    display: flex;
    gap: .75rem;
    margin: 1.25rem 0 0;
    font-size: .9375rem;
    line-height: 1.5;
}

.channel-note > .ph {
    flex: none;
    margin-top: .125rem;
    color: var(--rp-blue);
    font-size: 1.375rem;
}

.channel-note-title {
    color: var(--rp-ink-2);
}

.channel-note-text {
    color: var(--rp-muted);
}

@media (max-width: 575.98px) {
    .channel-field {
        flex-wrap: wrap;
    }

    .channel-field .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Hero ---------- */

.hero {
    padding: 2.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    align-items: center;
    gap: 3rem;
}

.hero-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 30rem;
    margin-bottom: 1.75rem;
    color: var(--rp-muted);
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 3rem;
}

.trust-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem 1rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    display: block;
    width: 38px;
    height: 38px;
    margin-left: -11px;
    border: 2.5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--rp-shadow-xs);
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-stars {
    display: inline-flex;
    gap: 3px;
}

.trust-stars span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #10b981;
    color: #fff;
    font-size: .9375rem;
}

.trust-count {
    color: var(--rp-muted);
    font-size: 1.0625rem;
}

.trust-count strong {
    color: var(--rp-ink);
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.trust-password {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    color: var(--rp-muted);
    font-size: 1.0625rem;
}

.trust-password strong {
    color: var(--rp-ink);
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.trust-password-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 1.0625rem;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--rp-line);
}

.trust-payments {
    display: flex;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-payments img {
    display: block;
    width: auto;
    height: 30px;
}

@media (max-width: 767.98px) {
    .trust-divider {
        display: none;
    }
}


@media (min-width: 992px) {
    .hero {
        padding: 3.5rem 0 6rem;
    }

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

@media (min-width: 1200px) {
    .hero-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 3.5rem;
    }
}

/* ---------- Stream card (hero visual, desktop only) ---------- */

.stream-canvas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--rp-line);
    border-radius: 22px;
    background: #f2f5fa;
    box-shadow: var(--rp-shadow-blue), var(--rp-shadow-xs);
}

.stream-video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    background: #9fc3ec;
}

.stream-scene {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-chat {
    position: relative;
    display: none;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    background: #fff;
}

/* The chat card only fits beside the video on wide screens. */
@media (min-width: 1200px) {
    .stream-canvas {
        grid-template-columns: minmax(0, 1fr) 31%;
    }

    .stream-chat {
        display: block;
    }
}

.stream-chat-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.stream-chat-head {
    padding: .625rem .875rem;
    border-bottom: 1px solid var(--rp-line-soft);
    color: var(--rp-subtle);
    font-size: .6875rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stream-chat-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: .4375rem;
    min-height: 0;
    overflow: hidden;
    padding: .75rem .875rem;
    font-size: .78rem;
    line-height: 1.4;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
}

.stream-msg {
    color: var(--rp-ink-2);
    overflow-wrap: anywhere;
    animation: rp-chat-in .45s cubic-bezier(.2, .7, .2, 1) both;
}

.stream-msg-time {
    margin-right: .375rem;
    color: var(--rp-subtle);
    font-variant-numeric: tabular-nums;
}

.stream-msg-name {
    font-weight: 500;
}

.stream-msg.is-system {
    display: flex;
    align-items: center;
    gap: .375rem;
    color: var(--rp-muted);
}

.stream-msg.is-system .ph {
    color: var(--rp-twitch);
}

@keyframes rp-chat-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.stream-chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: .625rem;
    padding: .375rem .375rem .375rem .75rem;
    border: 1px solid var(--rp-line);
    border-radius: 9px;
    color: var(--rp-subtle);
    font-size: .75rem;
}

.stream-chat-send {
    padding: .1875rem .625rem;
    border-radius: 6px;
    background: var(--rp-blue);
    color: #fff;
    font-size: .6875rem;
}

.stream-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem .375rem .25rem;
}

.stream-avatar {
    position: relative;
    flex: none;
}

.stream-avatar-image {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(140deg, #155eef, #6f9bff);
    color: #fff;
    font-size: 1.375rem;
    box-shadow: 0 0 0 2px #f2f5fa, 0 0 0 4px var(--rp-live);
}

.stream-avatar-live {
    position: absolute;
    left: 50%;
    bottom: -7px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--rp-live);
    color: #fff;
    font-size: .625rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    transform: translateX(-50%);
}

.stream-info-text {
    flex: 1;
    min-width: 0;
    font-size: .8125rem;
    line-height: 1.45;
}

.stream-info-name {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: var(--rp-ink);
    font-size: .9375rem;
    font-weight: 500;
}

.stream-info-name span,
.stream-info-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.stream-info-name i {
    flex: none;
    color: var(--rp-twitch);
}

.stream-info-title {
    color: var(--rp-ink-2);
}

.stream-info-game {
    overflow: hidden;
    color: var(--rp-blue);
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.stream-info-side {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
}

.stream-info-buttons {
    display: flex;
    gap: .375rem;
}

.stream-follow,
.stream-subscribe {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    border-radius: 7px;
    font-size: .75rem;
    font-weight: 500;
}

.stream-follow {
    background: var(--rp-twitch);
    color: #fff;
}

.stream-subscribe {
    border: 1px solid var(--rp-line);
    color: var(--rp-ink);
}

.stream-info-stats {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}

.stream-viewers {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--rp-live);
}

.stream-uptime {
    color: var(--rp-muted);
}

/* ---------- Sections ---------- */

.section {
    padding: 4.5rem 0;
}

.section-muted {
    background: var(--rp-surface);
    border-block: 1px solid var(--rp-line-soft);
}

.section-head {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 1.45rem + 2vw, 2.875rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-lead {
    margin: 0;
    color: var(--rp-muted);
    font-size: 1.125rem;
}

.section-head .choosing-for {
    margin-top: 1.25rem;
}

@media (min-width: 992px) {
    .section {
        padding: 6.5rem 0;
    }

    .section-head {
        margin-bottom: 3.5rem;
    }
}

/* ---------- Bundle picker ---------- */

.picker {
    max-width: 68rem;
    margin: 0 auto;
}

.picker-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.75rem;
}

.picker-durations {
    max-width: 26rem;
}

.picker-body {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--rp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--rp-shadow);
}

.picker-label {
    margin-bottom: .875rem;
    color: var(--rp-ink);
    font-size: 1.0625rem;
    font-weight: 500;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .625rem;
}

@media (min-width: 576px) {
    .tier-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tier-grid[hidden] {
    display: none;
}

.tier {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    background: #fff;
    color: var(--rp-ink);
    font: inherit;
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.tier:hover {
    border-color: #d0d5dd;
}

.tier.is-active {
    border-color: var(--rp-blue);
    background: var(--rp-blue-soft);
    box-shadow: 0 0 0 1px var(--rp-blue);
}

.tier:focus-visible {
    outline: 2px solid var(--rp-blue);
    outline-offset: 2px;
}

.tier-badge {
    position: absolute;
    top: -.625rem;
    right: .75rem;
    padding: .0625rem .5rem;
    border-radius: 999px;
    background: var(--rp-blue);
    color: #fff;
    font-size: .6875rem;
    line-height: 1.6;
}

.tier-number {
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.tier-unit {
    margin-bottom: .75rem;
    color: var(--rp-ink-2);
    font-size: .875rem;
}

.tier-extras {
    display: grid;
    gap: .125rem;
    width: 100%;
    padding-top: .625rem;
    border-top: 1px solid var(--rp-line-soft);
    color: var(--rp-muted);
    font-size: .8125rem;
    line-height: 1.45;
}

.tier.is-active .tier-unit {
    color: var(--rp-blue);
}

.tier.is-active .tier-extras {
    border-top-color: var(--rp-blue-line);
}

.picker-note {
    display: flex;
    gap: .5rem;
    margin: 1.25rem 0 0;
    color: var(--rp-muted);
    font-size: .875rem;
}

.picker-note .ph {
    flex: none;
    margin-top: .1875rem;
}

.picker-detail {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    background: var(--rp-surface);
}

.picker-detail-title {
    margin-bottom: .5rem;
    color: var(--rp-ink);
    font-size: 1.125rem;
    font-weight: 500;
}

.picker-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .25rem .625rem;
    margin-bottom: 1.25rem;
}

.picker-amount {
    color: var(--rp-ink);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.picker-per-day {
    color: var(--rp-muted);
    font-size: .9375rem;
}

.picker-detail .check-list {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rp-line);
    font-size: .9375rem;
}

.pricing-foot {
    margin: 1.5rem 0 0;
    color: var(--rp-muted);
    font-size: .9375rem;
    text-align: center;
}

@media (min-width: 992px) {
    .picker-body {
        grid-template-columns: minmax(0, 1fr) 22rem;
        gap: 2rem;
        padding: 2rem;
    }
}

/* ---------- Feature blocks (text beside a UI mockup) ---------- */

.feature {
    display: grid;
    align-items: center;
    gap: 2.5rem;
}

.feature-text .section-title {
    font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
}

.feature-text .section-lead {
    margin-bottom: 1.75rem;
}

.feature-text .check-list {
    font-size: 1.0625rem;
}

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.feature-visual {
    padding: 2rem 1.25rem;
    border-radius: 24px;
    background: var(--rp-blue-soft);
}

.mockup {
    max-width: 26rem;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue);
}

.mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1.125rem;
    border-bottom: 1px solid var(--rp-line-soft);
    color: var(--rp-ink);
    font-size: .9375rem;
    font-weight: 500;
}

.mockup-count,
.mockup-status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--rp-muted);
    font-size: .8125rem;
    font-weight: 400;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.125rem;
    border-bottom: 1px solid var(--rp-line-soft);
    font-size: .9375rem;
}

.mockup-avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: .8125rem;
    font-weight: 500;
}

.mockup-name {
    flex: 1;
    color: var(--rp-ink);
}

.mockup-tag {
    padding: .125rem .5rem;
    border-radius: 999px;
    background: var(--rp-line-soft);
    color: var(--rp-ink-2);
    font-size: .75rem;
}

.mockup-more {
    padding: .75rem 1.125rem;
    color: var(--rp-muted);
    font-size: .8125rem;
}

.mockup-control {
    padding: 1rem 1.125rem;
    border-bottom: 1px solid var(--rp-line-soft);
    color: var(--rp-ink);
    font-size: .9375rem;
}

.mockup-control-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: .625rem;
}

.mockup-control-top span:last-child {
    color: var(--rp-muted);
    font-size: .875rem;
}

.mockup-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-slider {
    height: 6px;
    border-radius: 999px;
    background: var(--rp-line-soft);
}

.mockup-slider span {
    position: relative;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--rp-blue);
}

.mockup-slider span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--rp-blue);
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}

.mockup-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--rp-line);
}

.mockup-toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--rp-shadow-sm);
}

.mockup-lines {
    display: grid;
    gap: .5rem;
}

.mockup-lines span {
    height: 10px;
    border-radius: 999px;
    background: var(--rp-line-soft);
}

.mockup-lines span:nth-child(1) { width: 85%; }
.mockup-lines span:nth-child(2) { width: 70%; }
.mockup-lines span:nth-child(3) { width: 55%; }

.mockup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: 1rem 1.125rem;
}

.mockup-button {
    padding: .4375rem .875rem;
    border: 1px solid var(--rp-line);
    border-radius: 9px;
    color: var(--rp-ink);
    font-size: .8125rem;
}

.mockup-button.is-primary {
    border-color: var(--rp-blue);
    background: var(--rp-blue);
    color: #fff;
}

@media (min-width: 992px) {
    .feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5rem;
    }

    .feature-reverse .feature-visual {
        order: 2;
    }

    .feature-visual {
        padding: 3.5rem 2.5rem;
    }
}

/* ---------- Privacy card ---------- */

.needs-card {
    max-width: 26rem;
    margin-inline: auto;
    padding: 1.75rem;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--rp-shadow-blue);
}

.needs-card-title {
    margin-bottom: .25rem;
    color: var(--rp-ink);
    font-size: 1.0625rem;
}

.needs-card-sub {
    margin-bottom: 1.25rem;
    color: var(--rp-muted);
    font-size: .875rem;
}

.needs-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 0;
    border-top: 1px solid var(--rp-line-soft);
}

.needs-row > .ph {
    color: var(--rp-muted);
    font-size: 1.25rem;
}

.needs-label {
    flex: 1;
    color: var(--rp-ink);
}

.needs-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    font-size: .8125rem;
}

.needs-tag.is-yes {
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
}

.needs-tag.is-never {
    background: #fef3f2;
    color: #d92d20;
}

/* ---------- How it works ---------- */

.steps {
    display: grid;
    gap: 1rem;
}

.step {
    padding: 1.5rem;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    border: 1px solid var(--rp-line-soft);
    border-radius: 14px;
    background: var(--rp-surface);
}

.step-top {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
}

.step-number {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
    font-size: .875rem;
}

.step-title {
    margin: 0;
    font-size: 1.1875rem;
}

.step-text {
    margin: 0;
    color: var(--rp-muted);
}

.mini-input {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 15rem;
    padding: .5rem .75rem;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rp-ink);
    font-size: .875rem;
    box-shadow: var(--rp-shadow-xs);
}

.mini-caret {
    width: 1.5px;
    height: 1rem;
    margin-left: 1px;
    background: var(--rp-blue);
    animation: rp-caret 1s steps(1) infinite;
}

@keyframes rp-caret {
    50% { opacity: 0; }
}

.mini-chips {
    display: flex;
    gap: .375rem;
}

.mini-chips span {
    padding: .375rem .75rem;
    border: 1px solid var(--rp-line);
    border-radius: 9px;
    background: #fff;
    color: var(--rp-ink-2);
    font-size: .8125rem;
}

.mini-chips .is-active {
    border-color: var(--rp-blue);
    color: var(--rp-blue);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.mini-live {
    display: flex;
    align-items: center;
    gap: .625rem;
    color: var(--rp-ink);
    font-size: .875rem;
}

.mini-live-badge {
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--rp-live);
    color: #fff;
    font-size: .6875rem;
    letter-spacing: .06em;
}

.mini-live .ph {
    color: var(--rp-live);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ---------- RaidPop vs others ---------- */

.vs {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    max-width: 48rem;
    margin: 0 auto;
}

.vs-card {
    padding: 0 1.75rem .75rem;
    border-radius: 24px;
}

.vs-card.is-us {
    position: relative;
    z-index: 1;
    border: 1px solid var(--rp-blue-line);
    background: #fff;
    box-shadow: var(--rp-shadow-blue), 0 0 0 5px rgba(21, 94, 239, .05);
}

.vs-card.is-them {
    margin-left: -24px;
    padding-left: calc(1.5rem + 24px);
    padding-right: 1.5rem;
    border: 1.5px dashed #d0d5dd;
    border-radius: 0 22px 22px 0;
    background: #fafbfc;
}

.is-them .vs-head {
    min-height: 76px;
}

.is-them .vs-logo {
    width: 32px;
    height: 32px;
}

.is-them .vs-name {
    font-size: 1.3125rem;
}

.is-them .vs-item {
    min-height: 76px;
}

.vs-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 80px;
    border-bottom: 1px solid var(--rp-line);
}

.is-them .vs-head {
    border-bottom-style: dashed;
}

.vs-logo {
    flex: none;
    width: 34px;
    height: 34px;
}

.vs-logo-empty {
    border: 1.5px dashed #d0d5dd;
    border-radius: 11px;
}

.vs-name {
    color: var(--rp-ink);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.is-them .vs-name {
    color: var(--rp-muted);
}

.vs-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    min-height: 80px;
}

.vs-item + .vs-item {
    border-top: 1px solid var(--rp-line-soft);
}

.is-them .vs-item + .vs-item {
    border-top-style: dashed;
}

.vs-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--rp-blue-soft);
    color: var(--rp-blue);
    font-size: 1.25rem;
}

.vs-label {
    margin-bottom: .125rem;
    color: var(--rp-muted);
    font-size: .8125rem;
}

.vs-value {
    display: flex;
    align-items: center;
    gap: .4375rem;
    color: var(--rp-ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.is-us .vs-value i {
    flex: none;
    color: var(--rp-blue);
    font-size: 1.125rem;
}

.is-them .vs-value {
    color: var(--rp-muted);
    font-weight: 400;
}

.is-them .vs-value i {
    flex: none;
    color: var(--rp-subtle);
    font-size: .875rem;
}

@media (max-width: 575.98px) {
    .vs {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .vs-card {
        padding: 0 .875rem .5rem;
        border-radius: 18px;
    }

    .vs-card.is-them {
        margin-left: -14px;
        padding-left: calc(.75rem + 14px);
        padding-right: .75rem;
        border-radius: 0 16px 16px 0;
    }

    .is-them .vs-name {
        font-size: 1rem;
    }

    .is-them .vs-logo {
        width: 24px;
        height: 24px;
    }

    .is-them .vs-item {
        min-height: 60px;
    }

    .is-them .vs-value {
        font-size: .8125rem;
    }

    .vs-head {
        gap: .5rem;
        min-height: 68px;
    }

    .vs-logo {
        width: 28px;
        height: 28px;
    }

    .vs-name {
        font-size: 1.125rem;
    }

    .vs-icon {
        display: none;
    }

    .vs-item {
        min-height: 72px;
    }

    .vs-value {
        font-size: .875rem;
    }
}

/* ---------- Pricing page ---------- */

.page-hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.page-title {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.page-lead {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--rp-muted);
    font-size: 1.125rem;
}

.page-hero .choosing-for {
    margin-top: 1.5rem;
}

.service-columns {
    display: grid;
    gap: 1.5rem;
}

.service-list {
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-lg);
    background: #fff;
}

.service-list-head {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--rp-line-soft);
    background: var(--rp-surface);
    color: var(--rp-ink);
    font-weight: 500;
}

.service-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--rp-line-soft);
    color: var(--rp-ink);
    transition: background-color .15s ease;
}

.service-list-head + .service-row {
    border-top: 0;
}

.service-row:hover {
    background: var(--rp-surface);
    color: var(--rp-ink);
}

.service-row .icon-tile {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.125rem;
}

.service-row-name {
    flex: 1;
}

.service-row-price {
    color: var(--rp-muted);
    font-size: .9375rem;
}

.service-row-price span {
    color: var(--rp-ink);
}

.service-row .ph-arrow-right {
    color: var(--rp-subtle);
    transition: transform .15s ease, color .15s ease;
}

.service-row:hover .ph-arrow-right {
    color: var(--rp-blue);
    transform: translateX(2px);
}

.includes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.include-item {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    background: #fff;
    color: var(--rp-ink);
    font-size: .9375rem;
}

.include-item .ph {
    color: var(--rp-blue);
    font-size: 1.375rem;
}

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

@media (min-width: 992px) {
    .page-hero {
        padding: 4.5rem 0 3rem;
    }

    .includes {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 48rem;
    margin: 0 auto;
}

.faq .accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: #e4e7ec;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 1.375rem;
    --bs-accordion-btn-color: #0a1324;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.75' stroke-linecap='round'%3e%3cpath d='M12 5v14M5 12h14'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155eef' stroke-width='1.75' stroke-linecap='round'%3e%3cpath d='M12 5v14M5 12h14'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-transform: rotate(45deg);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: #0a1324;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
}

.faq .accordion-item {
    border-width: 0 0 1px;
}

.faq .accordion-item:first-of-type {
    border-top-width: 1px;
}

.faq .accordion-button {
    gap: 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
}

.faq .accordion-body {
    max-width: 42rem;
    padding-bottom: 1.375rem;
    color: var(--rp-muted);
}

/* ---------- Call to action ---------- */

.cta-panel {
    padding: 3rem 1.25rem;
    border-radius: 28px;
    background: var(--rp-blue);
    color: #fff;
    text-align: center;
}

.cta-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2rem, 1.45rem + 2vw, 2.875rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-lead {
    max-width: 32rem;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1.125rem;
}

.cta-panel .channel-form {
    margin: 0 auto;
    text-align: left;
}

.cta-panel .channel-field {
    border-color: transparent;
    box-shadow: 0 20px 40px -20px rgba(4, 20, 60, .5);
}

.cta-panel .segmented {
    background: rgba(255, 255, 255, .16);
}

.cta-panel .segmented button {
    color: rgba(255, 255, 255, .85);
}

.cta-panel .segmented button.is-active {
    background: #fff;
    color: var(--rp-ink);
}

.cta-panel .channel-note > .ph,
.cta-panel .channel-note-title {
    color: #fff;
}

.cta-panel .channel-note-text {
    color: rgba(255, 255, 255, .75);
}

@media (min-width: 768px) {
    .cta-panel {
        padding: 4.5rem 3rem;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--rp-line);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

.footer-about {
    max-width: 20rem;
    margin: 1rem 0 0;
    color: var(--rp-muted);
    font-size: .9375rem;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--rp-subtle);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: .625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--rp-ink-2);
    font-size: .9375rem;
}

.footer-links a:hover {
    color: var(--rp-ink);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rp-line-soft);
    color: var(--rp-subtle);
    font-size: .875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(4, 1fr);
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .mini-caret,
    .stream-msg {
        animation: none !important;
    }
}
